mshtml: Implement performance.timing.msFirstPaint.
[wine.git] / configure
blob74727004efdeaa3ed442d9dc6fd03feac0c7a91b
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 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LDAP_PE_LIBS
726 LDAP_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 PE_ARCHS
739 LIBWINE_DEPENDS
740 PRELINK
741 WINELOADER_DEPENDS
742 LIBWINE_LDFLAGS
743 LIBWINE_SHAREDLIB
744 METAL_LIBS
745 CARBON_LIBS
746 OPENCL_LIBS
747 COREAUDIO_LIBS
748 SECURITY_LIBS
749 DISKARBITRATION_LIBS
750 SYSTEMCONFIGURATION_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 IOKIT_LIBS
755 COREFOUNDATION_LIBS
756 ac_ct_OBJC
757 OBJCFLAGS
758 OBJC
759 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_media
1450 enable_windows_networking
1451 enable_windowscodecs
1452 enable_windowscodecsext
1453 enable_winealsa_drv
1454 enable_wineandroid_drv
1455 enable_winebus_sys
1456 enable_winecoreaudio_drv
1457 enable_winecrt0
1458 enable_wined3d
1459 enable_winegstreamer
1460 enable_winehid_sys
1461 enable_winemac_drv
1462 enable_winemapi
1463 enable_wineoss_drv
1464 enable_wineps_drv
1465 enable_winepulse_drv
1466 enable_wineusb_sys
1467 enable_winevulkan
1468 enable_winex11_drv
1469 enable_winexinput_sys
1470 enable_wing32
1471 enable_winhttp
1472 enable_wininet
1473 enable_winmm
1474 enable_winnls32
1475 enable_winprint
1476 enable_winscard
1477 enable_winspool_drv
1478 enable_winsta
1479 enable_wintab32
1480 enable_wintrust
1481 enable_wintypes
1482 enable_winusb
1483 enable_wlanapi
1484 enable_wlanui
1485 enable_wldap32
1486 enable_wmasf
1487 enable_wmi
1488 enable_wmiutils
1489 enable_wmp
1490 enable_wmphoto
1491 enable_wmvcore
1492 enable_wnaspi32
1493 enable_wow64
1494 enable_wow64cpu
1495 enable_wow64win
1496 enable_wpc
1497 enable_wpcap
1498 enable_ws2_32
1499 enable_wsdapi
1500 enable_wshom_ocx
1501 enable_wsnmp32
1502 enable_wsock32
1503 enable_wtsapi32
1504 enable_wuapi
1505 enable_wuaueng
1506 enable_x3daudio1_0
1507 enable_x3daudio1_1
1508 enable_x3daudio1_2
1509 enable_x3daudio1_3
1510 enable_x3daudio1_4
1511 enable_x3daudio1_5
1512 enable_x3daudio1_6
1513 enable_x3daudio1_7
1514 enable_xactengine2_0
1515 enable_xactengine2_4
1516 enable_xactengine2_7
1517 enable_xactengine2_9
1518 enable_xactengine3_0
1519 enable_xactengine3_1
1520 enable_xactengine3_2
1521 enable_xactengine3_3
1522 enable_xactengine3_4
1523 enable_xactengine3_5
1524 enable_xactengine3_6
1525 enable_xactengine3_7
1526 enable_xapofx1_1
1527 enable_xapofx1_2
1528 enable_xapofx1_3
1529 enable_xapofx1_4
1530 enable_xapofx1_5
1531 enable_xaudio2_0
1532 enable_xaudio2_1
1533 enable_xaudio2_2
1534 enable_xaudio2_3
1535 enable_xaudio2_4
1536 enable_xaudio2_5
1537 enable_xaudio2_6
1538 enable_xaudio2_7
1539 enable_xaudio2_8
1540 enable_xaudio2_9
1541 enable_xinput1_1
1542 enable_xinput1_2
1543 enable_xinput1_3
1544 enable_xinput1_4
1545 enable_xinput9_1_0
1546 enable_xinputuap
1547 enable_xmllite
1548 enable_xolehlp
1549 enable_xpsprint
1550 enable_xpssvcs
1551 enable_fonts
1552 enable_include
1553 enable_adsiid
1554 enable_dmoguids
1555 enable_dxerr8
1556 enable_dxerr9
1557 enable_dxguid
1558 enable_faudio
1559 enable_gsm
1560 enable_jpeg
1561 enable_jxr
1562 enable_lcms2
1563 enable_ldap
1564 enable_mfuuid
1565 enable_mpg123
1566 enable_png
1567 enable_strmbase
1568 enable_strmiids
1569 enable_tiff
1570 enable_uuid
1571 enable_vkd3d
1572 enable_wbemuuid
1573 enable_wine
1574 enable_wmcodecdspuuid
1575 enable_xml2
1576 enable_xslt
1577 enable_zlib
1578 enable_loader
1579 enable_nls
1580 enable_po
1581 enable_arp
1582 enable_aspnet_regiis
1583 enable_attrib
1584 enable_cabarc
1585 enable_cacls
1586 enable_certutil
1587 enable_chcp_com
1588 enable_clock
1589 enable_cmd
1590 enable_conhost
1591 enable_control
1592 enable_cscript
1593 enable_dism
1594 enable_dllhost
1595 enable_dplaysvr
1596 enable_dpnsvr
1597 enable_dpvsetup
1598 enable_dxdiag
1599 enable_eject
1600 enable_expand
1601 enable_explorer
1602 enable_extrac32
1603 enable_fc
1604 enable_find
1605 enable_findstr
1606 enable_fsutil
1607 enable_hh
1608 enable_hostname
1609 enable_icacls
1610 enable_icinfo
1611 enable_iexplore
1612 enable_ipconfig
1613 enable_lodctr
1614 enable_mofcomp
1615 enable_mshta
1616 enable_msidb
1617 enable_msiexec
1618 enable_msinfo32
1619 enable_net
1620 enable_netsh
1621 enable_netstat
1622 enable_ngen
1623 enable_notepad
1624 enable_oleview
1625 enable_ping
1626 enable_plugplay
1627 enable_powershell
1628 enable_presentationfontcache
1629 enable_progman
1630 enable_reg
1631 enable_regasm
1632 enable_regedit
1633 enable_regini
1634 enable_regsvcs
1635 enable_regsvr32
1636 enable_robocopy
1637 enable_rpcss
1638 enable_rundll32
1639 enable_sc
1640 enable_schtasks
1641 enable_sdbinst
1642 enable_secedit
1643 enable_servicemodelreg
1644 enable_services
1645 enable_setx
1646 enable_shutdown
1647 enable_spoolsv
1648 enable_start
1649 enable_subst
1650 enable_svchost
1651 enable_systeminfo
1652 enable_taskkill
1653 enable_tasklist
1654 enable_taskmgr
1655 enable_termsv
1656 enable_uninstaller
1657 enable_unlodctr
1658 enable_view
1659 enable_wevtutil
1660 enable_where
1661 enable_whoami
1662 enable_wineboot
1663 enable_winebrowser
1664 enable_winecfg
1665 enable_wineconsole
1666 enable_winedbg
1667 enable_winedevice
1668 enable_winefile
1669 enable_winemenubuilder
1670 enable_winemine
1671 enable_winemsibuilder
1672 enable_winepath
1673 enable_winetest
1674 enable_winhlp32
1675 enable_winmgmt
1676 enable_winver
1677 enable_wmic
1678 enable_wmplayer
1679 enable_wordpad
1680 enable_write
1681 enable_wscript
1682 enable_wuauserv
1683 enable_wusa
1684 enable_xcopy
1685 enable_server
1686 enable_tools
1687 enable_sfnt2fon
1688 enable_widl
1689 enable_winebuild
1690 enable_winedump
1691 enable_winegcc
1692 enable_winemaker
1693 enable_wmc
1694 enable_wrc
1696 ac_precious_vars='build_alias
1697 host_alias
1698 target_alias
1700 CFLAGS
1701 LDFLAGS
1702 LIBS
1703 CPPFLAGS
1705 CXXFLAGS
1707 OBJC
1708 OBJCFLAGS
1709 FAUDIO_PE_CFLAGS
1710 FAUDIO_PE_LIBS
1711 GSM_PE_CFLAGS
1712 GSM_PE_LIBS
1713 JPEG_PE_CFLAGS
1714 JPEG_PE_LIBS
1715 JXR_PE_CFLAGS
1716 JXR_PE_LIBS
1717 LCMS2_PE_CFLAGS
1718 LCMS2_PE_LIBS
1719 LDAP_PE_CFLAGS
1720 LDAP_PE_LIBS
1721 MPG123_PE_CFLAGS
1722 MPG123_PE_LIBS
1723 PNG_PE_CFLAGS
1724 PNG_PE_LIBS
1725 TIFF_PE_CFLAGS
1726 TIFF_PE_LIBS
1727 VKD3D_PE_CFLAGS
1728 VKD3D_PE_LIBS
1729 XML2_PE_CFLAGS
1730 XML2_PE_LIBS
1731 XSLT_PE_CFLAGS
1732 XSLT_PE_LIBS
1733 ZLIB_PE_CFLAGS
1734 ZLIB_PE_LIBS
1735 XMKMF
1737 INOTIFY_CFLAGS
1738 INOTIFY_LIBS
1739 DBUS_CFLAGS
1740 DBUS_LIBS
1741 GNUTLS_CFLAGS
1742 GNUTLS_LIBS
1743 SANE_CFLAGS
1744 SANE_LIBS
1745 USB_CFLAGS
1746 USB_LIBS
1747 GPHOTO2_CFLAGS
1748 GPHOTO2_LIBS
1749 GPHOTO2_PORT_CFLAGS
1750 GPHOTO2_PORT_LIBS
1751 FREETYPE_CFLAGS
1752 FREETYPE_LIBS
1753 PULSE_CFLAGS
1754 PULSE_LIBS
1755 GSTREAMER_CFLAGS
1756 GSTREAMER_LIBS
1757 UDEV_CFLAGS
1758 UDEV_LIBS
1759 UNWIND_CFLAGS
1760 UNWIND_LIBS
1761 SDL2_CFLAGS
1762 SDL2_LIBS
1763 CAPI20_CFLAGS
1764 CAPI20_LIBS
1765 CUPS_CFLAGS
1766 CUPS_LIBS
1767 FONTCONFIG_CFLAGS
1768 FONTCONFIG_LIBS
1769 KRB5_CFLAGS
1770 KRB5_LIBS
1771 GSSAPI_CFLAGS
1772 GSSAPI_LIBS
1773 NETAPI_CFLAGS
1774 NETAPI_LIBS'
1777 # Initialize some variables set by options.
1778 ac_init_help=
1779 ac_init_version=false
1780 ac_unrecognized_opts=
1781 ac_unrecognized_sep=
1782 # The variables have the same names as the options, with
1783 # dashes changed to underlines.
1784 cache_file=/dev/null
1785 exec_prefix=NONE
1786 no_create=
1787 no_recursion=
1788 prefix=NONE
1789 program_prefix=NONE
1790 program_suffix=NONE
1791 program_transform_name=s,x,x,
1792 silent=
1793 site=
1794 srcdir=
1795 verbose=
1796 x_includes=NONE
1797 x_libraries=NONE
1799 # Installation directory options.
1800 # These are left unexpanded so users can "make install exec_prefix=/foo"
1801 # and all the variables that are supposed to be based on exec_prefix
1802 # by default will actually change.
1803 # Use braces instead of parens because sh, perl, etc. also accept them.
1804 # (The list follows the same order as the GNU Coding Standards.)
1805 bindir='${exec_prefix}/bin'
1806 sbindir='${exec_prefix}/sbin'
1807 libexecdir='${exec_prefix}/libexec'
1808 datarootdir='${prefix}/share'
1809 datadir='${datarootdir}'
1810 sysconfdir='${prefix}/etc'
1811 sharedstatedir='${prefix}/com'
1812 localstatedir='${prefix}/var'
1813 runstatedir='${localstatedir}/run'
1814 includedir='${prefix}/include'
1815 oldincludedir='/usr/include'
1816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1817 infodir='${datarootdir}/info'
1818 htmldir='${docdir}'
1819 dvidir='${docdir}'
1820 pdfdir='${docdir}'
1821 psdir='${docdir}'
1822 libdir='${exec_prefix}/lib'
1823 localedir='${datarootdir}/locale'
1824 mandir='${datarootdir}/man'
1826 ac_prev=
1827 ac_dashdash=
1828 for ac_option
1830 # If the previous option needs an argument, assign it.
1831 if test -n "$ac_prev"; then
1832 eval $ac_prev=\$ac_option
1833 ac_prev=
1834 continue
1837 case $ac_option in
1838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1839 *=) ac_optarg= ;;
1840 *) ac_optarg=yes ;;
1841 esac
1843 case $ac_dashdash$ac_option in
1845 ac_dashdash=yes ;;
1847 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1848 ac_prev=bindir ;;
1849 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1850 bindir=$ac_optarg ;;
1852 -build | --build | --buil | --bui | --bu)
1853 ac_prev=build_alias ;;
1854 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1855 build_alias=$ac_optarg ;;
1857 -cache-file | --cache-file | --cache-fil | --cache-fi \
1858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1859 ac_prev=cache_file ;;
1860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1862 cache_file=$ac_optarg ;;
1864 --config-cache | -C)
1865 cache_file=config.cache ;;
1867 -datadir | --datadir | --datadi | --datad)
1868 ac_prev=datadir ;;
1869 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1870 datadir=$ac_optarg ;;
1872 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1873 | --dataroo | --dataro | --datar)
1874 ac_prev=datarootdir ;;
1875 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1876 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1877 datarootdir=$ac_optarg ;;
1879 -disable-* | --disable-*)
1880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1881 # Reject names that are not valid shell variable names.
1882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1883 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1884 ac_useropt_orig=$ac_useropt
1885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1886 case $ac_user_opts in
1888 "enable_$ac_useropt"
1889 "*) ;;
1890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1891 ac_unrecognized_sep=', ';;
1892 esac
1893 eval enable_$ac_useropt=no ;;
1895 -docdir | --docdir | --docdi | --doc | --do)
1896 ac_prev=docdir ;;
1897 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1898 docdir=$ac_optarg ;;
1900 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1901 ac_prev=dvidir ;;
1902 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1903 dvidir=$ac_optarg ;;
1905 -enable-* | --enable-*)
1906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1909 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig=$ac_useropt
1911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_$ac_useropt"
1915 "*) ;;
1916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1917 ac_unrecognized_sep=', ';;
1918 esac
1919 eval enable_$ac_useropt=\$ac_optarg ;;
1921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1923 | --exec | --exe | --ex)
1924 ac_prev=exec_prefix ;;
1925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1927 | --exec=* | --exe=* | --ex=*)
1928 exec_prefix=$ac_optarg ;;
1930 -gas | --gas | --ga | --g)
1931 # Obsolete; use --with-gas.
1932 with_gas=yes ;;
1934 -help | --help | --hel | --he | -h)
1935 ac_init_help=long ;;
1936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1937 ac_init_help=recursive ;;
1938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1939 ac_init_help=short ;;
1941 -host | --host | --hos | --ho)
1942 ac_prev=host_alias ;;
1943 -host=* | --host=* | --hos=* | --ho=*)
1944 host_alias=$ac_optarg ;;
1946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1947 ac_prev=htmldir ;;
1948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1949 | --ht=*)
1950 htmldir=$ac_optarg ;;
1952 -includedir | --includedir | --includedi | --included | --include \
1953 | --includ | --inclu | --incl | --inc)
1954 ac_prev=includedir ;;
1955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1956 | --includ=* | --inclu=* | --incl=* | --inc=*)
1957 includedir=$ac_optarg ;;
1959 -infodir | --infodir | --infodi | --infod | --info | --inf)
1960 ac_prev=infodir ;;
1961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1962 infodir=$ac_optarg ;;
1964 -libdir | --libdir | --libdi | --libd)
1965 ac_prev=libdir ;;
1966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1967 libdir=$ac_optarg ;;
1969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1970 | --libexe | --libex | --libe)
1971 ac_prev=libexecdir ;;
1972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1973 | --libexe=* | --libex=* | --libe=*)
1974 libexecdir=$ac_optarg ;;
1976 -localedir | --localedir | --localedi | --localed | --locale)
1977 ac_prev=localedir ;;
1978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1979 localedir=$ac_optarg ;;
1981 -localstatedir | --localstatedir | --localstatedi | --localstated \
1982 | --localstate | --localstat | --localsta | --localst | --locals)
1983 ac_prev=localstatedir ;;
1984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1986 localstatedir=$ac_optarg ;;
1988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1989 ac_prev=mandir ;;
1990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1991 mandir=$ac_optarg ;;
1993 -nfp | --nfp | --nf)
1994 # Obsolete; use --without-fp.
1995 with_fp=no ;;
1997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1998 | --no-cr | --no-c | -n)
1999 no_create=yes ;;
2001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2003 no_recursion=yes ;;
2005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2007 | --oldin | --oldi | --old | --ol | --o)
2008 ac_prev=oldincludedir ;;
2009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2012 oldincludedir=$ac_optarg ;;
2014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2015 ac_prev=prefix ;;
2016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2017 prefix=$ac_optarg ;;
2019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2020 | --program-pre | --program-pr | --program-p)
2021 ac_prev=program_prefix ;;
2022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2024 program_prefix=$ac_optarg ;;
2026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2027 | --program-suf | --program-su | --program-s)
2028 ac_prev=program_suffix ;;
2029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2031 program_suffix=$ac_optarg ;;
2033 -program-transform-name | --program-transform-name \
2034 | --program-transform-nam | --program-transform-na \
2035 | --program-transform-n | --program-transform- \
2036 | --program-transform | --program-transfor \
2037 | --program-transfo | --program-transf \
2038 | --program-trans | --program-tran \
2039 | --progr-tra | --program-tr | --program-t)
2040 ac_prev=program_transform_name ;;
2041 -program-transform-name=* | --program-transform-name=* \
2042 | --program-transform-nam=* | --program-transform-na=* \
2043 | --program-transform-n=* | --program-transform-=* \
2044 | --program-transform=* | --program-transfor=* \
2045 | --program-transfo=* | --program-transf=* \
2046 | --program-trans=* | --program-tran=* \
2047 | --progr-tra=* | --program-tr=* | --program-t=*)
2048 program_transform_name=$ac_optarg ;;
2050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2051 ac_prev=pdfdir ;;
2052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2053 pdfdir=$ac_optarg ;;
2055 -psdir | --psdir | --psdi | --psd | --ps)
2056 ac_prev=psdir ;;
2057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2058 psdir=$ac_optarg ;;
2060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2061 | -silent | --silent | --silen | --sile | --sil)
2062 silent=yes ;;
2064 -runstatedir | --runstatedir | --runstatedi | --runstated \
2065 | --runstate | --runstat | --runsta | --runst | --runs \
2066 | --run | --ru | --r)
2067 ac_prev=runstatedir ;;
2068 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2069 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2070 | --run=* | --ru=* | --r=*)
2071 runstatedir=$ac_optarg ;;
2073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2074 ac_prev=sbindir ;;
2075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2076 | --sbi=* | --sb=*)
2077 sbindir=$ac_optarg ;;
2079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2081 | --sharedst | --shareds | --shared | --share | --shar \
2082 | --sha | --sh)
2083 ac_prev=sharedstatedir ;;
2084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2087 | --sha=* | --sh=*)
2088 sharedstatedir=$ac_optarg ;;
2090 -site | --site | --sit)
2091 ac_prev=site ;;
2092 -site=* | --site=* | --sit=*)
2093 site=$ac_optarg ;;
2095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2096 ac_prev=srcdir ;;
2097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2098 srcdir=$ac_optarg ;;
2100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2101 | --syscon | --sysco | --sysc | --sys | --sy)
2102 ac_prev=sysconfdir ;;
2103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2105 sysconfdir=$ac_optarg ;;
2107 -target | --target | --targe | --targ | --tar | --ta | --t)
2108 ac_prev=target_alias ;;
2109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2110 target_alias=$ac_optarg ;;
2112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2113 verbose=yes ;;
2115 -version | --version | --versio | --versi | --vers | -V)
2116 ac_init_version=: ;;
2118 -with-* | --with-*)
2119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2122 as_fn_error $? "invalid package name: \`$ac_useropt'"
2123 ac_useropt_orig=$ac_useropt
2124 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2127 "with_$ac_useropt"
2128 "*) ;;
2129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2130 ac_unrecognized_sep=', ';;
2131 esac
2132 eval with_$ac_useropt=\$ac_optarg ;;
2134 -without-* | --without-*)
2135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2138 as_fn_error $? "invalid package name: \`$ac_useropt'"
2139 ac_useropt_orig=$ac_useropt
2140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2143 "with_$ac_useropt"
2144 "*) ;;
2145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2146 ac_unrecognized_sep=', ';;
2147 esac
2148 eval with_$ac_useropt=no ;;
2150 --x)
2151 # Obsolete; use --with-x.
2152 with_x=yes ;;
2154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2155 | --x-incl | --x-inc | --x-in | --x-i)
2156 ac_prev=x_includes ;;
2157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2159 x_includes=$ac_optarg ;;
2161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2163 ac_prev=x_libraries ;;
2164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2166 x_libraries=$ac_optarg ;;
2168 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2169 Try \`$0 --help' for more information"
2172 *=*)
2173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2174 # Reject names that are not valid shell variable names.
2175 case $ac_envvar in #(
2176 '' | [0-9]* | *[!_$as_cr_alnum]* )
2177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2178 esac
2179 eval $ac_envvar=\$ac_optarg
2180 export $ac_envvar ;;
2183 # FIXME: should be removed in autoconf 3.0.
2184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2190 esac
2191 done
2193 if test -n "$ac_prev"; then
2194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2195 as_fn_error $? "missing argument to $ac_option"
2198 if test -n "$ac_unrecognized_opts"; then
2199 case $enable_option_checking in
2200 no) ;;
2201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2203 esac
2206 # Check all directory arguments for consistency.
2207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2208 datadir sysconfdir sharedstatedir localstatedir includedir \
2209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2210 libdir localedir mandir runstatedir
2212 eval ac_val=\$$ac_var
2213 # Remove trailing slashes.
2214 case $ac_val in
2215 */ )
2216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2217 eval $ac_var=\$ac_val;;
2218 esac
2219 # Be sure to have absolute directory names.
2220 case $ac_val in
2221 [\\/$]* | ?:[\\/]* ) continue;;
2222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2223 esac
2224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2225 done
2227 # There might be people who depend on the old broken behavior: `$host'
2228 # used to hold the argument of --host etc.
2229 # FIXME: To remove some day.
2230 build=$build_alias
2231 host=$host_alias
2232 target=$target_alias
2234 # FIXME: To remove some day.
2235 if test "x$host_alias" != x; then
2236 if test "x$build_alias" = x; then
2237 cross_compiling=maybe
2238 elif test "x$build_alias" != "x$host_alias"; then
2239 cross_compiling=yes
2243 ac_tool_prefix=
2244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2246 test "$silent" = yes && exec 6>/dev/null
2249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2250 ac_ls_di=`ls -di .` &&
2251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2252 as_fn_error $? "working directory cannot be determined"
2253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2254 as_fn_error $? "pwd does not report name of working directory"
2257 # Find the source files, if location was not specified.
2258 if test -z "$srcdir"; then
2259 ac_srcdir_defaulted=yes
2260 # Try the directory containing this script, then the parent directory.
2261 ac_confdir=`$as_dirname -- "$as_myself" ||
2262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2263 X"$as_myself" : 'X\(//\)[^/]' \| \
2264 X"$as_myself" : 'X\(//\)$' \| \
2265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2266 printf "%s\n" X"$as_myself" |
2267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2268 s//\1/
2271 /^X\(\/\/\)[^/].*/{
2272 s//\1/
2275 /^X\(\/\/\)$/{
2276 s//\1/
2279 /^X\(\/\).*/{
2280 s//\1/
2283 s/.*/./; q'`
2284 srcdir=$ac_confdir
2285 if test ! -r "$srcdir/$ac_unique_file"; then
2286 srcdir=..
2288 else
2289 ac_srcdir_defaulted=no
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2296 ac_abs_confdir=`(
2297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2298 pwd)`
2299 # When building in place, set srcdir=.
2300 if test "$ac_abs_confdir" = "$ac_pwd"; then
2301 srcdir=.
2303 # Remove unnecessary trailing slashes from srcdir.
2304 # Double slashes in file names in object file debugging info
2305 # mess up M-x gdb in Emacs.
2306 case $srcdir in
2307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2308 esac
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2311 eval ac_env_${ac_var}_value=\$${ac_var}
2312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2314 done
2317 # Report the --help message.
2319 if test "$ac_init_help" = "long"; then
2320 # Omit some internal or obsolete options to make the list less imposing.
2321 # This message is too long to be a string in the A/UX 3.1 sh.
2322 cat <<_ACEOF
2323 \`configure' configures Wine 7.21 to adapt to many kinds of systems.
2325 Usage: $0 [OPTION]... [VAR=VALUE]...
2327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2328 VAR=VALUE. See below for descriptions of some of the useful variables.
2330 Defaults for the options are specified in brackets.
2332 Configuration:
2333 -h, --help display this help and exit
2334 --help=short display options specific to this package
2335 --help=recursive display the short help of all the included packages
2336 -V, --version display version information and exit
2337 -q, --quiet, --silent do not print \`checking ...' messages
2338 --cache-file=FILE cache test results in FILE [disabled]
2339 -C, --config-cache alias for \`--cache-file=config.cache'
2340 -n, --no-create do not create output files
2341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2343 Installation directories:
2344 --prefix=PREFIX install architecture-independent files in PREFIX
2345 [$ac_default_prefix]
2346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2347 [PREFIX]
2349 By default, \`make install' will install all the files in
2350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2352 for instance \`--prefix=\$HOME'.
2354 For better control, use the options below.
2356 Fine tuning of the installation directories:
2357 --bindir=DIR user executables [EPREFIX/bin]
2358 --sbindir=DIR system admin executables [EPREFIX/sbin]
2359 --libexecdir=DIR program executables [EPREFIX/libexec]
2360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2364 --libdir=DIR object code libraries [EPREFIX/lib]
2365 --includedir=DIR C header files [PREFIX/include]
2366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2369 --infodir=DIR info documentation [DATAROOTDIR/info]
2370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2371 --mandir=DIR man documentation [DATAROOTDIR/man]
2372 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2373 --htmldir=DIR html documentation [DOCDIR]
2374 --dvidir=DIR dvi documentation [DOCDIR]
2375 --pdfdir=DIR pdf documentation [DOCDIR]
2376 --psdir=DIR ps documentation [DOCDIR]
2377 _ACEOF
2379 cat <<\_ACEOF
2381 X features:
2382 --x-includes=DIR X include files are in DIR
2383 --x-libraries=DIR X library files are in DIR
2385 System types:
2386 --build=BUILD configure for building on BUILD [guessed]
2387 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2388 _ACEOF
2391 if test -n "$ac_init_help"; then
2392 case $ac_init_help in
2393 short | recursive ) echo "Configuration of Wine 7.21:";;
2394 esac
2395 cat <<\_ACEOF
2397 Optional Features:
2398 --disable-option-checking ignore unrecognized --enable/--with options
2399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2401 --enable-archs={i386,x86_64,arm,aarch64}
2402 enable multiple architectures for PE compilation
2403 --disable-win16 do not include Win16 support
2404 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2405 binaries)
2406 --disable-tests do not build the regression tests
2407 --enable-build-id include .buildid section in output objects
2408 --enable-maintainer-mode
2409 enable maintainer-specific build rules
2410 --enable-silent-rules use silent build rules (override: "make V=1")
2411 --enable-werror treat compilation warnings as errors
2412 --disable-largefile omit support for large files
2414 Optional Packages:
2415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2417 --without-alsa do not use the Alsa sound support
2418 --without-capi do not use CAPI (ISDN support)
2419 --without-coreaudio do not use the CoreAudio sound support
2420 --without-cups do not use CUPS
2421 --without-dbus do not use DBus (dynamic device support)
2422 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2423 --without-fontconfig do not use fontconfig
2424 --without-freetype do not use the FreeType library
2425 --without-gettext do not use gettext
2426 --with-gettextpo use the GetTextPO library to rebuild po files
2427 --without-gphoto do not use gphoto (Digital Camera support)
2428 --without-gnutls do not use GnuTLS (schannel support)
2429 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2430 --without-gstreamer do not use GStreamer (codecs support)
2431 --without-inotify do not use inotify (filesystem change notifications)
2432 --without-krb5 do not use krb5 (Kerberos)
2433 --without-mingw do not use the MinGW cross-compiler
2434 --without-netapi do not use the Samba NetAPI library
2435 --without-opencl do not use OpenCL
2436 --without-opengl do not use OpenGL
2437 --without-osmesa do not use the OSMesa library
2438 --without-oss do not use the OSS sound support
2439 --without-pcap do not use the Packet Capture library
2440 --without-pthread do not use the pthread library
2441 --without-pulse do not use PulseAudio sound support
2442 --without-sane do not use SANE (scanner support)
2443 --without-sdl do not use SDL
2444 --without-udev do not use udev (plug and play support)
2445 --without-unwind do not use the libunwind library (exception
2446 handling)
2447 --without-usb do not use the libusb library
2448 --without-v4l2 do not use v4l2 (video capture)
2449 --without-vulkan do not use Vulkan
2450 --without-xcomposite do not use the Xcomposite extension
2451 --without-xcursor do not use the Xcursor extension
2452 --without-xfixes do not use Xfixes for clipboard change notifications
2453 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2454 --without-xinput do not use the Xinput extension
2455 --without-xinput2 do not use the Xinput 2 extension
2456 --without-xrandr do not use Xrandr (multi-monitor support)
2457 --without-xrender do not use the Xrender extension
2458 --without-xshape do not use the Xshape extension
2459 --without-xshm do not use XShm (shared memory extension)
2460 --without-xxf86vm do not use XFree video mode extension
2461 --with-system-dllpath=PATH
2462 load external PE dependencies from colon-separated
2463 path PATH
2464 --with-wine-tools=DIR use Wine tools from directory DIR
2465 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2466 --with-x use the X Window System
2468 Some influential environment variables:
2469 CC C compiler command
2470 CFLAGS C compiler flags
2471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2472 nonstandard directory <lib dir>
2473 LIBS libraries to pass to the linker, e.g. -l<library>
2474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2475 you have headers in a nonstandard directory <include dir>
2476 CXX C++ compiler command
2477 CXXFLAGS C++ compiler flags
2478 OBJC Objective C compiler command
2479 OBJCFLAGS Objective C compiler flags
2480 FAUDIO_PE_CFLAGS
2481 C compiler flags for the PE faudio, overriding the bundled
2482 version
2483 FAUDIO_PE_LIBS
2484 Linker flags for the PE faudio, overriding the bundled version
2485 GSM_PE_CFLAGS
2486 C compiler flags for the PE gsm, overriding the bundled version
2487 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2488 JPEG_PE_CFLAGS
2489 C compiler flags for the PE jpeg, overriding the bundled version
2490 JPEG_PE_LIBS
2491 Linker flags for the PE jpeg, overriding the bundled version
2492 JXR_PE_CFLAGS
2493 C compiler flags for the PE jxr, overriding the bundled version
2494 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2495 LCMS2_PE_CFLAGS
2496 C compiler flags for the PE lcms2, overriding the bundled
2497 version
2498 LCMS2_PE_LIBS
2499 Linker flags for the PE lcms2, overriding the bundled version
2500 LDAP_PE_CFLAGS
2501 C compiler flags for the PE ldap, overriding the bundled version
2502 LDAP_PE_LIBS
2503 Linker flags for the PE ldap, overriding the bundled version
2504 MPG123_PE_CFLAGS
2505 C compiler flags for the PE mpg123, overriding the bundled
2506 version
2507 MPG123_PE_LIBS
2508 Linker flags for the PE mpg123, overriding the bundled version
2509 PNG_PE_CFLAGS
2510 C compiler flags for the PE png, overriding the bundled version
2511 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2512 TIFF_PE_CFLAGS
2513 C compiler flags for the PE tiff, overriding the bundled version
2514 TIFF_PE_LIBS
2515 Linker flags for the PE tiff, overriding the bundled version
2516 VKD3D_PE_CFLAGS
2517 C compiler flags for the PE vkd3d, overriding the bundled
2518 version
2519 VKD3D_PE_LIBS
2520 Linker flags for the PE vkd3d, overriding the bundled version
2521 XML2_PE_CFLAGS
2522 C compiler flags for the PE xml2, overriding the bundled version
2523 XML2_PE_LIBS
2524 Linker flags for the PE xml2, overriding the bundled version
2525 XSLT_PE_CFLAGS
2526 C compiler flags for the PE xslt, overriding the bundled version
2527 XSLT_PE_LIBS
2528 Linker flags for the PE xslt, overriding the bundled version
2529 ZLIB_PE_CFLAGS
2530 C compiler flags for the PE zlib, overriding the bundled version
2531 ZLIB_PE_LIBS
2532 Linker flags for the PE zlib, overriding the bundled version
2533 XMKMF Path to xmkmf, Makefile generator for X Window System
2534 CPP C preprocessor
2535 INOTIFY_CFLAGS
2536 C compiler flags for libinotify, overriding pkg-config
2537 INOTIFY_LIBS
2538 Linker flags for libinotify, overriding pkg-config
2539 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2540 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2541 GNUTLS_CFLAGS
2542 C compiler flags for gnutls, overriding pkg-config
2543 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2544 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2545 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2546 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2547 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2548 GPHOTO2_CFLAGS
2549 C compiler flags for libgphoto2, overriding pkg-config
2550 GPHOTO2_LIBS
2551 Linker flags for libgphoto2, overriding pkg-config
2552 GPHOTO2_PORT_CFLAGS
2553 C compiler flags for libgphoto2_port, overriding pkg-config
2554 GPHOTO2_PORT_LIBS
2555 Linker flags for libgphoto2_port, overriding pkg-config
2556 FREETYPE_CFLAGS
2557 C compiler flags for freetype2, overriding pkg-config
2558 FREETYPE_LIBS
2559 Linker flags for freetype2, overriding pkg-config
2560 PULSE_CFLAGS
2561 C compiler flags for libpulse, overriding pkg-config
2562 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2563 GSTREAMER_CFLAGS
2564 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2566 GSTREAMER_LIBS
2567 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2568 gstreamer-audio-1.0, overriding pkg-config
2569 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2570 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2571 UNWIND_CFLAGS
2572 C compiler flags for libunwind, overriding pkg-config
2573 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2574 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2575 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2576 CAPI20_CFLAGS
2577 C compiler flags for capi20, overriding pkg-config
2578 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2579 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2580 CUPS_LIBS Linker flags for cups, overriding pkg-config
2581 FONTCONFIG_CFLAGS
2582 C compiler flags for fontconfig, overriding pkg-config
2583 FONTCONFIG_LIBS
2584 Linker flags for fontconfig, overriding pkg-config
2585 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2586 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2587 GSSAPI_CFLAGS
2588 C compiler flags for krb5-gssapi, overriding pkg-config
2589 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2590 NETAPI_CFLAGS
2591 C compiler flags for netapi, overriding pkg-config
2592 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2594 Use these variables to override the choices made by `configure' or to help
2595 it to find libraries and programs with nonstandard names/locations.
2597 Report bugs to <wine-devel@winehq.org>.
2598 Wine home page: <https://www.winehq.org>.
2599 _ACEOF
2600 ac_status=$?
2603 if test "$ac_init_help" = "recursive"; then
2604 # If there are subdirs, report their specific --help.
2605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2606 test -d "$ac_dir" ||
2607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2608 continue
2609 ac_builddir=.
2611 case "$ac_dir" in
2612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2614 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2615 # A ".." for each directory in $ac_dir_suffix.
2616 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2617 case $ac_top_builddir_sub in
2618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2620 esac ;;
2621 esac
2622 ac_abs_top_builddir=$ac_pwd
2623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2624 # for backward compatibility:
2625 ac_top_builddir=$ac_top_build_prefix
2627 case $srcdir in
2628 .) # We are building in place.
2629 ac_srcdir=.
2630 ac_top_srcdir=$ac_top_builddir_sub
2631 ac_abs_top_srcdir=$ac_pwd ;;
2632 [\\/]* | ?:[\\/]* ) # Absolute name.
2633 ac_srcdir=$srcdir$ac_dir_suffix;
2634 ac_top_srcdir=$srcdir
2635 ac_abs_top_srcdir=$srcdir ;;
2636 *) # Relative name.
2637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2638 ac_top_srcdir=$ac_top_build_prefix$srcdir
2639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2640 esac
2641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2643 cd "$ac_dir" || { ac_status=$?; continue; }
2644 # Check for configure.gnu first; this name is used for a wrapper for
2645 # Metaconfig's "Configure" on case-insensitive file systems.
2646 if test -f "$ac_srcdir/configure.gnu"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2649 elif test -f "$ac_srcdir/configure"; then
2650 echo &&
2651 $SHELL "$ac_srcdir/configure" --help=recursive
2652 else
2653 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2654 fi || ac_status=$?
2655 cd "$ac_pwd" || { ac_status=$?; break; }
2656 done
2659 test -n "$ac_init_help" && exit $ac_status
2660 if $ac_init_version; then
2661 cat <<\_ACEOF
2662 Wine configure 7.21
2663 generated by GNU Autoconf 2.71
2665 Copyright (C) 2021 Free Software Foundation, Inc.
2666 This configure script is free software; the Free Software Foundation
2667 gives unlimited permission to copy, distribute and modify it.
2668 _ACEOF
2669 exit
2672 ## ------------------------ ##
2673 ## Autoconf initialization. ##
2674 ## ------------------------ ##
2676 # ac_fn_c_try_compile LINENO
2677 # --------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_c_try_compile ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 rm -f conftest.$ac_objext conftest.beam
2683 if { { ac_try="$ac_compile"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2691 ac_status=$?
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2702 then :
2703 ac_retval=0
2704 else $as_nop
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_retval=1
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_compile
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext
2741 then :
2742 ac_retval=0
2743 else $as_nop
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2757 ac_fn_c_try_link ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2761 if { { ac_try="$ac_link"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2769 ac_status=$?
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2783 then :
2784 ac_retval=0
2785 else $as_nop
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2793 # interfere with the next link command; also delete a directory that is
2794 # left behind by Apple's compiler. We do this before executing the actions.
2795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_link
2801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_c_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 printf %s "checking for $2... " >&6; }
2810 if eval test \${$3+y}
2811 then :
2812 printf %s "(cached) " >&6
2813 else $as_nop
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2817 #include <$2>
2818 _ACEOF
2819 if ac_fn_c_try_compile "$LINENO"
2820 then :
2821 eval "$3=yes"
2822 else $as_nop
2823 eval "$3=no"
2825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2827 eval ac_res=\$$3
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 printf "%s\n" "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_compile
2834 # ac_fn_objc_try_compile LINENO
2835 # -----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_objc_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_objc_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext
2860 then :
2861 ac_retval=0
2862 else $as_nop
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_objc_try_compile
2873 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2874 # ----------------------------------------------------------
2875 # Tests whether HEADER exists and can be compiled using the include files in
2876 # INCLUDES, setting the cache variable VAR accordingly.
2877 ac_fn_objc_check_header_compile ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_objc_try_compile "$LINENO"
2892 then :
2893 eval "$3=yes"
2894 else $as_nop
2895 eval "$3=no"
2897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2899 eval ac_res=\$$3
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2901 printf "%s\n" "$ac_res" >&6; }
2902 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2904 } # ac_fn_objc_check_header_compile
2906 # ac_fn_c_check_func LINENO FUNC VAR
2907 # ----------------------------------
2908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2909 ac_fn_c_check_func ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2913 printf %s "checking for $2... " >&6; }
2914 if eval test \${$3+y}
2915 then :
2916 printf %s "(cached) " >&6
2917 else $as_nop
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2922 #define $2 innocuous_$2
2924 /* System header to define __stub macros and hopefully few prototypes,
2925 which can conflict with char $2 (); below. */
2927 #include <limits.h>
2928 #undef $2
2930 /* Override any GCC internal prototype to avoid an error.
2931 Use char because int might match the return type of a GCC
2932 builtin and then its argument prototype would still apply. */
2933 #ifdef __cplusplus
2934 extern "C"
2935 #endif
2936 char $2 ();
2937 /* The GNU C library defines this for functions which it implements
2938 to always fail with ENOSYS. Some functions are actually named
2939 something starting with __ and the normal name is an alias. */
2940 #if defined __stub_$2 || defined __stub___$2
2941 choke me
2942 #endif
2945 main (void)
2947 return $2 ();
2949 return 0;
2951 _ACEOF
2952 if ac_fn_c_try_link "$LINENO"
2953 then :
2954 eval "$3=yes"
2955 else $as_nop
2956 eval "$3=no"
2958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2959 conftest$ac_exeext conftest.$ac_ext
2961 eval ac_res=\$$3
2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2963 printf "%s\n" "$ac_res" >&6; }
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 } # ac_fn_c_check_func
2968 # ac_fn_c_try_cpp LINENO
2969 # ----------------------
2970 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2971 ac_fn_c_try_cpp ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 if { { ac_try="$ac_cpp conftest.$ac_ext"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 printf "%s\n" "$ac_try_echo"; } >&5
2981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2982 ac_status=$?
2983 if test -s conftest.err; then
2984 grep -v '^ *+' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2986 mv -f conftest.er1 conftest.err
2988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; } > conftest.i && {
2990 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2991 test ! -s conftest.err
2993 then :
2994 ac_retval=0
2995 else $as_nop
2996 printf "%s\n" "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 ac_retval=1
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 as_fn_set_status $ac_retval
3004 } # ac_fn_c_try_cpp
3006 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3007 # ----------------------------------------------------
3008 # Tries to find if the field MEMBER exists in type AGGR, after including
3009 # INCLUDES, setting cache variable VAR accordingly.
3010 ac_fn_c_check_member ()
3012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3014 printf %s "checking for $2.$3... " >&6; }
3015 if eval test \${$4+y}
3016 then :
3017 printf %s "(cached) " >&6
3018 else $as_nop
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main (void)
3025 static $2 ac_aggr;
3026 if (ac_aggr.$3)
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"
3033 then :
3034 eval "$4=yes"
3035 else $as_nop
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3040 main (void)
3042 static $2 ac_aggr;
3043 if (sizeof ac_aggr.$3)
3044 return 0;
3046 return 0;
3048 _ACEOF
3049 if ac_fn_c_try_compile "$LINENO"
3050 then :
3051 eval "$4=yes"
3052 else $as_nop
3053 eval "$4=no"
3055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3059 eval ac_res=\$$4
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3061 printf "%s\n" "$ac_res" >&6; }
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 } # ac_fn_c_check_member
3066 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3067 # -------------------------------------------
3068 # Tests whether TYPE exists after having included INCLUDES, setting cache
3069 # variable VAR accordingly.
3070 ac_fn_c_check_type ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3074 printf %s "checking for $2... " >&6; }
3075 if eval test \${$3+y}
3076 then :
3077 printf %s "(cached) " >&6
3078 else $as_nop
3079 eval "$3=no"
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3084 main (void)
3086 if (sizeof ($2))
3087 return 0;
3089 return 0;
3091 _ACEOF
3092 if ac_fn_c_try_compile "$LINENO"
3093 then :
3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3095 /* end confdefs.h. */
3098 main (void)
3100 if (sizeof (($2)))
3101 return 0;
3103 return 0;
3105 _ACEOF
3106 if ac_fn_c_try_compile "$LINENO"
3107 then :
3109 else $as_nop
3110 eval "$3=yes"
3112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3116 eval ac_res=\$$3
3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3118 printf "%s\n" "$ac_res" >&6; }
3119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3121 } # ac_fn_c_check_type
3122 ac_configure_args_raw=
3123 for ac_arg
3125 case $ac_arg in
3126 *\'*)
3127 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3128 esac
3129 as_fn_append ac_configure_args_raw " '$ac_arg'"
3130 done
3132 case $ac_configure_args_raw in
3133 *$as_nl*)
3134 ac_safe_unquote= ;;
3136 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3137 ac_unsafe_a="$ac_unsafe_z#~"
3138 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3139 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3140 esac
3142 cat >config.log <<_ACEOF
3143 This file contains any messages produced by compilers while
3144 running configure, to aid debugging if configure makes a mistake.
3146 It was created by Wine $as_me 7.21, which was
3147 generated by GNU Autoconf 2.71. Invocation command line was
3149 $ $0$ac_configure_args_raw
3151 _ACEOF
3152 exec 5>>config.log
3154 cat <<_ASUNAME
3155 ## --------- ##
3156 ## Platform. ##
3157 ## --------- ##
3159 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3160 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3161 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3162 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3163 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3165 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3166 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3168 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3169 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3170 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3171 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3172 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3173 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3174 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3176 _ASUNAME
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 case $as_dir in #(((
3183 '') as_dir=./ ;;
3184 */) ;;
3185 *) as_dir=$as_dir/ ;;
3186 esac
3187 printf "%s\n" "PATH: $as_dir"
3188 done
3189 IFS=$as_save_IFS
3191 } >&5
3193 cat >&5 <<_ACEOF
3196 ## ----------- ##
3197 ## Core tests. ##
3198 ## ----------- ##
3200 _ACEOF
3203 # Keep a trace of the command line.
3204 # Strip out --no-create and --no-recursion so they do not pile up.
3205 # Strip out --silent because we don't want to record it for future runs.
3206 # Also quote any args containing shell meta-characters.
3207 # Make two passes to allow for proper duplicate-argument suppression.
3208 ac_configure_args=
3209 ac_configure_args0=
3210 ac_configure_args1=
3211 ac_must_keep_next=false
3212 for ac_pass in 1 2
3214 for ac_arg
3216 case $ac_arg in
3217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3219 | -silent | --silent | --silen | --sile | --sil)
3220 continue ;;
3221 *\'*)
3222 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3223 esac
3224 case $ac_pass in
3225 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3227 as_fn_append ac_configure_args1 " '$ac_arg'"
3228 if test $ac_must_keep_next = true; then
3229 ac_must_keep_next=false # Got value, back to normal.
3230 else
3231 case $ac_arg in
3232 *=* | --config-cache | -C | -disable-* | --disable-* \
3233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3235 | -with-* | --with-* | -without-* | --without-* | --x)
3236 case "$ac_configure_args0 " in
3237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3238 esac
3240 -* ) ac_must_keep_next=true ;;
3241 esac
3243 as_fn_append ac_configure_args " '$ac_arg'"
3245 esac
3246 done
3247 done
3248 { ac_configure_args0=; unset ac_configure_args0;}
3249 { ac_configure_args1=; unset ac_configure_args1;}
3251 # When interrupted or exit'd, cleanup temporary files, and complete
3252 # config.log. We remove comments because anyway the quotes in there
3253 # would cause problems or look ugly.
3254 # WARNING: Use '\'' to represent an apostrophe within the trap.
3255 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3256 trap 'exit_status=$?
3257 # Sanitize IFS.
3258 IFS=" "" $as_nl"
3259 # Save into config.log some information that might help in debugging.
3261 echo
3263 printf "%s\n" "## ---------------- ##
3264 ## Cache variables. ##
3265 ## ---------------- ##"
3266 echo
3267 # The following way of writing the cache mishandles newlines in values,
3269 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3270 eval ac_val=\$$ac_var
3271 case $ac_val in #(
3272 *${as_nl}*)
3273 case $ac_var in #(
3274 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3275 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3276 esac
3277 case $ac_var in #(
3278 _ | IFS | as_nl) ;; #(
3279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3280 *) { eval $ac_var=; unset $ac_var;} ;;
3281 esac ;;
3282 esac
3283 done
3284 (set) 2>&1 |
3285 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3286 *${as_nl}ac_space=\ *)
3287 sed -n \
3288 "s/'\''/'\''\\\\'\'''\''/g;
3289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3290 ;; #(
3292 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3294 esac |
3295 sort
3297 echo
3299 printf "%s\n" "## ----------------- ##
3300 ## Output variables. ##
3301 ## ----------------- ##"
3302 echo
3303 for ac_var in $ac_subst_vars
3305 eval ac_val=\$$ac_var
3306 case $ac_val in
3307 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3308 esac
3309 printf "%s\n" "$ac_var='\''$ac_val'\''"
3310 done | sort
3311 echo
3313 if test -n "$ac_subst_files"; then
3314 printf "%s\n" "## ------------------- ##
3315 ## File substitutions. ##
3316 ## ------------------- ##"
3317 echo
3318 for ac_var in $ac_subst_files
3320 eval ac_val=\$$ac_var
3321 case $ac_val in
3322 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3323 esac
3324 printf "%s\n" "$ac_var='\''$ac_val'\''"
3325 done | sort
3326 echo
3329 if test -s confdefs.h; then
3330 printf "%s\n" "## ----------- ##
3331 ## confdefs.h. ##
3332 ## ----------- ##"
3333 echo
3334 cat confdefs.h
3335 echo
3337 test "$ac_signal" != 0 &&
3338 printf "%s\n" "$as_me: caught signal $ac_signal"
3339 printf "%s\n" "$as_me: exit $exit_status"
3340 } >&5
3341 rm -f core *.core core.conftest.* &&
3342 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3343 exit $exit_status
3345 for ac_signal in 1 2 13 15; do
3346 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3347 done
3348 ac_signal=0
3350 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3351 rm -f -r conftest* confdefs.h
3353 printf "%s\n" "/* confdefs.h */" > confdefs.h
3355 # Predefined preprocessor variables.
3357 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3359 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3361 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3363 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3365 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3367 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3370 # Let the site file select an alternate cache file if it wants to.
3371 # Prefer an explicitly selected file to automatically selected ones.
3372 if test -n "$CONFIG_SITE"; then
3373 ac_site_files="$CONFIG_SITE"
3374 elif test "x$prefix" != xNONE; then
3375 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3376 else
3377 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3380 for ac_site_file in $ac_site_files
3382 case $ac_site_file in #(
3383 */*) :
3384 ;; #(
3385 *) :
3386 ac_site_file=./$ac_site_file ;;
3387 esac
3388 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3390 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3391 sed 's/^/| /' "$ac_site_file" >&5
3392 . "$ac_site_file" \
3393 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3394 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3395 as_fn_error $? "failed to load site script $ac_site_file
3396 See \`config.log' for more details" "$LINENO" 5; }
3398 done
3400 if test -r "$cache_file"; then
3401 # Some versions of bash will fail to source /dev/null (special files
3402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3403 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3405 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3406 case $cache_file in
3407 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3408 *) . "./$cache_file";;
3409 esac
3411 else
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3413 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3414 >$cache_file
3417 # Test code for whether the C compiler supports C89 (global declarations)
3418 ac_c_conftest_c89_globals='
3419 /* Does the compiler advertise C89 conformance?
3420 Do not test the value of __STDC__, because some compilers set it to 0
3421 while being otherwise adequately conformant. */
3422 #if !defined __STDC__
3423 # error "Compiler does not advertise C89 conformance"
3424 #endif
3426 #include <stddef.h>
3427 #include <stdarg.h>
3428 struct stat;
3429 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3430 struct buf { int x; };
3431 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3432 static char *e (p, i)
3433 char **p;
3434 int i;
3436 return p[i];
3438 static char *f (char * (*g) (char **, int), char **p, ...)
3440 char *s;
3441 va_list v;
3442 va_start (v,p);
3443 s = g (p, va_arg (v,int));
3444 va_end (v);
3445 return s;
3448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3449 function prototypes and stuff, but not \xHH hex character constants.
3450 These do not provoke an error unfortunately, instead are silently treated
3451 as an "x". The following induces an error, until -std is added to get
3452 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3453 array size at least. It is necessary to write \x00 == 0 to get something
3454 that is true only with -std. */
3455 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3458 inside strings and character constants. */
3459 #define FOO(x) '\''x'\''
3460 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3462 int test (int i, double x);
3463 struct s1 {int (*f) (int a);};
3464 struct s2 {int (*f) (double a);};
3465 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3466 int, int);'
3468 # Test code for whether the C compiler supports C89 (body of main).
3469 ac_c_conftest_c89_main='
3470 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3473 # Test code for whether the C compiler supports C99 (global declarations)
3474 ac_c_conftest_c99_globals='
3475 // Does the compiler advertise C99 conformance?
3476 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3477 # error "Compiler does not advertise C99 conformance"
3478 #endif
3480 #include <stdbool.h>
3481 extern int puts (const char *);
3482 extern int printf (const char *, ...);
3483 extern int dprintf (int, const char *, ...);
3484 extern void *malloc (size_t);
3486 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3487 // dprintf is used instead of fprintf to avoid needing to declare
3488 // FILE and stderr.
3489 #define debug(...) dprintf (2, __VA_ARGS__)
3490 #define showlist(...) puts (#__VA_ARGS__)
3491 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3492 static void
3493 test_varargs_macros (void)
3495 int x = 1234;
3496 int y = 5678;
3497 debug ("Flag");
3498 debug ("X = %d\n", x);
3499 showlist (The first, second, and third items.);
3500 report (x>y, "x is %d but y is %d", x, y);
3503 // Check long long types.
3504 #define BIG64 18446744073709551615ull
3505 #define BIG32 4294967295ul
3506 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3507 #if !BIG_OK
3508 #error "your preprocessor is broken"
3509 #endif
3510 #if BIG_OK
3511 #else
3512 #error "your preprocessor is broken"
3513 #endif
3514 static long long int bignum = -9223372036854775807LL;
3515 static unsigned long long int ubignum = BIG64;
3517 struct incomplete_array
3519 int datasize;
3520 double data[];
3523 struct named_init {
3524 int number;
3525 const wchar_t *name;
3526 double average;
3529 typedef const char *ccp;
3531 static inline int
3532 test_restrict (ccp restrict text)
3534 // See if C++-style comments work.
3535 // Iterate through items via the restricted pointer.
3536 // Also check for declarations in for loops.
3537 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3538 continue;
3539 return 0;
3542 // Check varargs and va_copy.
3543 static bool
3544 test_varargs (const char *format, ...)
3546 va_list args;
3547 va_start (args, format);
3548 va_list args_copy;
3549 va_copy (args_copy, args);
3551 const char *str = "";
3552 int number = 0;
3553 float fnumber = 0;
3555 while (*format)
3557 switch (*format++)
3559 case '\''s'\'': // string
3560 str = va_arg (args_copy, const char *);
3561 break;
3562 case '\''d'\'': // int
3563 number = va_arg (args_copy, int);
3564 break;
3565 case '\''f'\'': // float
3566 fnumber = va_arg (args_copy, double);
3567 break;
3568 default:
3569 break;
3572 va_end (args_copy);
3573 va_end (args);
3575 return *str && number && fnumber;
3579 # Test code for whether the C compiler supports C99 (body of main).
3580 ac_c_conftest_c99_main='
3581 // Check bool.
3582 _Bool success = false;
3583 success |= (argc != 0);
3585 // Check restrict.
3586 if (test_restrict ("String literal") == 0)
3587 success = true;
3588 char *restrict newvar = "Another string";
3590 // Check varargs.
3591 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3592 test_varargs_macros ();
3594 // Check flexible array members.
3595 struct incomplete_array *ia =
3596 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3597 ia->datasize = 10;
3598 for (int i = 0; i < ia->datasize; ++i)
3599 ia->data[i] = i * 1.234;
3601 // Check named initializers.
3602 struct named_init ni = {
3603 .number = 34,
3604 .name = L"Test wide string",
3605 .average = 543.34343,
3608 ni.number = 58;
3610 int dynamic_array[ni.number];
3611 dynamic_array[0] = argv[0][0];
3612 dynamic_array[ni.number - 1] = 543;
3614 // work around unused variable warnings
3615 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3616 || dynamic_array[ni.number - 1] != 543);
3619 # Test code for whether the C compiler supports C11 (global declarations)
3620 ac_c_conftest_c11_globals='
3621 // Does the compiler advertise C11 conformance?
3622 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3623 # error "Compiler does not advertise C11 conformance"
3624 #endif
3626 // Check _Alignas.
3627 char _Alignas (double) aligned_as_double;
3628 char _Alignas (0) no_special_alignment;
3629 extern char aligned_as_int;
3630 char _Alignas (0) _Alignas (int) aligned_as_int;
3632 // Check _Alignof.
3633 enum
3635 int_alignment = _Alignof (int),
3636 int_array_alignment = _Alignof (int[100]),
3637 char_alignment = _Alignof (char)
3639 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3641 // Check _Noreturn.
3642 int _Noreturn does_not_return (void) { for (;;) continue; }
3644 // Check _Static_assert.
3645 struct test_static_assert
3647 int x;
3648 _Static_assert (sizeof (int) <= sizeof (long int),
3649 "_Static_assert does not work in struct");
3650 long int y;
3653 // Check UTF-8 literals.
3654 #define u8 syntax error!
3655 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3657 // Check duplicate typedefs.
3658 typedef long *long_ptr;
3659 typedef long int *long_ptr;
3660 typedef long_ptr long_ptr;
3662 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3663 struct anonymous
3665 union {
3666 struct { int i; int j; };
3667 struct { int k; long int l; } w;
3669 int m;
3670 } v1;
3673 # Test code for whether the C compiler supports C11 (body of main).
3674 ac_c_conftest_c11_main='
3675 _Static_assert ((offsetof (struct anonymous, i)
3676 == offsetof (struct anonymous, w.k)),
3677 "Anonymous union alignment botch");
3678 v1.i = 2;
3679 v1.w.k = 5;
3680 ok |= v1.i != 5;
3683 # Test code for whether the C compiler supports C11 (complete).
3684 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3685 ${ac_c_conftest_c99_globals}
3686 ${ac_c_conftest_c11_globals}
3689 main (int argc, char **argv)
3691 int ok = 0;
3692 ${ac_c_conftest_c89_main}
3693 ${ac_c_conftest_c99_main}
3694 ${ac_c_conftest_c11_main}
3695 return ok;
3699 # Test code for whether the C compiler supports C99 (complete).
3700 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3701 ${ac_c_conftest_c99_globals}
3704 main (int argc, char **argv)
3706 int ok = 0;
3707 ${ac_c_conftest_c89_main}
3708 ${ac_c_conftest_c99_main}
3709 return ok;
3713 # Test code for whether the C compiler supports C89 (complete).
3714 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3717 main (int argc, char **argv)
3719 int ok = 0;
3720 ${ac_c_conftest_c89_main}
3721 return ok;
3725 # Test code for whether the C++ compiler supports C++98 (global declarations)
3726 ac_cxx_conftest_cxx98_globals='
3727 // Does the compiler advertise C++98 conformance?
3728 #if !defined __cplusplus || __cplusplus < 199711L
3729 # error "Compiler does not advertise C++98 conformance"
3730 #endif
3732 // These inclusions are to reject old compilers that
3733 // lack the unsuffixed header files.
3734 #include <cstdlib>
3735 #include <exception>
3737 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3738 extern void assert (int);
3739 namespace std {
3740 extern int strcmp (const char *, const char *);
3743 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3744 using std::exception;
3745 using std::strcmp;
3747 namespace {
3749 void test_exception_syntax()
3751 try {
3752 throw "test";
3753 } catch (const char *s) {
3754 // Extra parentheses suppress a warning when building autoconf itself,
3755 // due to lint rules shared with more typical C programs.
3756 assert (!(strcmp) (s, "test"));
3760 template <typename T> struct test_template
3762 T const val;
3763 explicit test_template(T t) : val(t) {}
3764 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3767 } // anonymous namespace
3770 # Test code for whether the C++ compiler supports C++98 (body of main)
3771 ac_cxx_conftest_cxx98_main='
3772 assert (argc);
3773 assert (! argv[0]);
3775 test_exception_syntax ();
3776 test_template<double> tt (2.0);
3777 assert (tt.add (4) == 6.0);
3778 assert (true && !false);
3782 # Test code for whether the C++ compiler supports C++11 (global declarations)
3783 ac_cxx_conftest_cxx11_globals='
3784 // Does the compiler advertise C++ 2011 conformance?
3785 #if !defined __cplusplus || __cplusplus < 201103L
3786 # error "Compiler does not advertise C++11 conformance"
3787 #endif
3789 namespace cxx11test
3791 constexpr int get_val() { return 20; }
3793 struct testinit
3795 int i;
3796 double d;
3799 class delegate
3801 public:
3802 delegate(int n) : n(n) {}
3803 delegate(): delegate(2354) {}
3805 virtual int getval() { return this->n; };
3806 protected:
3807 int n;
3810 class overridden : public delegate
3812 public:
3813 overridden(int n): delegate(n) {}
3814 virtual int getval() override final { return this->n * 2; }
3817 class nocopy
3819 public:
3820 nocopy(int i): i(i) {}
3821 nocopy() = default;
3822 nocopy(const nocopy&) = delete;
3823 nocopy & operator=(const nocopy&) = delete;
3824 private:
3825 int i;
3828 // for testing lambda expressions
3829 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3831 return f(v);
3834 // for testing variadic templates and trailing return types
3835 template <typename V> auto sum(V first) -> V
3837 return first;
3839 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3841 return first + sum(rest...);
3846 # Test code for whether the C++ compiler supports C++11 (body of main)
3847 ac_cxx_conftest_cxx11_main='
3849 // Test auto and decltype
3850 auto a1 = 6538;
3851 auto a2 = 48573953.4;
3852 auto a3 = "String literal";
3854 int total = 0;
3855 for (auto i = a3; *i; ++i) { total += *i; }
3857 decltype(a2) a4 = 34895.034;
3860 // Test constexpr
3861 short sa[cxx11test::get_val()] = { 0 };
3864 // Test initializer lists
3865 cxx11test::testinit il = { 4323, 435234.23544 };
3868 // Test range-based for
3869 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3870 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3871 for (auto &x : array) { x += 23; }
3874 // Test lambda expressions
3875 using cxx11test::eval;
3876 assert (eval ([](int x) { return x*2; }, 21) == 42);
3877 double d = 2.0;
3878 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3879 assert (d == 5.0);
3880 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3881 assert (d == 5.0);
3884 // Test use of variadic templates
3885 using cxx11test::sum;
3886 auto a = sum(1);
3887 auto b = sum(1, 2);
3888 auto c = sum(1.0, 2.0, 3.0);
3891 // Test constructor delegation
3892 cxx11test::delegate d1;
3893 cxx11test::delegate d2();
3894 cxx11test::delegate d3(45);
3897 // Test override and final
3898 cxx11test::overridden o1(55464);
3901 // Test nullptr
3902 char *c = nullptr;
3905 // Test template brackets
3906 test_template<::test_template<int>> v(test_template<int>(12));
3909 // Unicode literals
3910 char const *utf8 = u8"UTF-8 string \u2500";
3911 char16_t const *utf16 = u"UTF-8 string \u2500";
3912 char32_t const *utf32 = U"UTF-32 string \u2500";
3916 # Test code for whether the C compiler supports C++11 (complete).
3917 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3918 ${ac_cxx_conftest_cxx11_globals}
3921 main (int argc, char **argv)
3923 int ok = 0;
3924 ${ac_cxx_conftest_cxx98_main}
3925 ${ac_cxx_conftest_cxx11_main}
3926 return ok;
3930 # Test code for whether the C compiler supports C++98 (complete).
3931 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3933 main (int argc, char **argv)
3935 int ok = 0;
3936 ${ac_cxx_conftest_cxx98_main}
3937 return ok;
3941 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3942 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3943 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3944 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3945 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3946 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3947 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3948 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3949 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3951 # Auxiliary files required by this configure script.
3952 ac_aux_files="config.guess config.sub"
3954 # Locations in which to look for auxiliary files.
3955 ac_aux_dir_candidates="${srcdir}/tools"
3957 # Search for a directory containing all of the required auxiliary files,
3958 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3959 # If we don't find one directory that contains all the files we need,
3960 # we report the set of missing files from the *first* directory in
3961 # $ac_aux_dir_candidates and give up.
3962 ac_missing_aux_files=""
3963 ac_first_candidate=:
3964 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 as_found=false
3967 for as_dir in $ac_aux_dir_candidates
3969 IFS=$as_save_IFS
3970 case $as_dir in #(((
3971 '') as_dir=./ ;;
3972 */) ;;
3973 *) as_dir=$as_dir/ ;;
3974 esac
3975 as_found=:
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3978 ac_aux_dir_found=yes
3979 ac_install_sh=
3980 for ac_aux in $ac_aux_files
3982 # As a special case, if "install-sh" is required, that requirement
3983 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3984 # and $ac_install_sh is set appropriately for whichever one is found.
3985 if test x"$ac_aux" = x"install-sh"
3986 then
3987 if 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}install.sh"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3992 ac_install_sh="${as_dir}install.sh -c"
3993 elif test -f "${as_dir}shtool"; then
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3995 ac_install_sh="${as_dir}shtool install -c"
3996 else
3997 ac_aux_dir_found=no
3998 if $ac_first_candidate; then
3999 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4000 else
4001 break
4004 else
4005 if test -f "${as_dir}${ac_aux}"; then
4006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4007 else
4008 ac_aux_dir_found=no
4009 if $ac_first_candidate; then
4010 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4011 else
4012 break
4016 done
4017 if test "$ac_aux_dir_found" = yes; then
4018 ac_aux_dir="$as_dir"
4019 break
4021 ac_first_candidate=false
4023 as_found=false
4024 done
4025 IFS=$as_save_IFS
4026 if $as_found
4027 then :
4029 else $as_nop
4030 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4034 # These three variables are undocumented and unsupported,
4035 # and are intended to be withdrawn in a future Autoconf release.
4036 # They can cause serious problems if a builder's source tree is in a directory
4037 # whose full name contains unusual characters.
4038 if test -f "${ac_aux_dir}config.guess"; then
4039 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4041 if test -f "${ac_aux_dir}config.sub"; then
4042 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4044 if test -f "$ac_aux_dir/configure"; then
4045 ac_configure="$SHELL ${ac_aux_dir}configure"
4048 # Check that the precious variables saved in the cache have kept the same
4049 # value.
4050 ac_cache_corrupted=false
4051 for ac_var in $ac_precious_vars; do
4052 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4053 eval ac_new_set=\$ac_env_${ac_var}_set
4054 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4055 eval ac_new_val=\$ac_env_${ac_var}_value
4056 case $ac_old_set,$ac_new_set in
4057 set,)
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4059 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4060 ac_cache_corrupted=: ;;
4061 ,set)
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4063 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4064 ac_cache_corrupted=: ;;
4065 ,);;
4067 if test "x$ac_old_val" != "x$ac_new_val"; then
4068 # differences in whitespace do not lead to failure.
4069 ac_old_val_w=`echo x $ac_old_val`
4070 ac_new_val_w=`echo x $ac_new_val`
4071 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4073 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4074 ac_cache_corrupted=:
4075 else
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4077 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4078 eval $ac_var=\$ac_old_val
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4081 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4083 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4084 fi;;
4085 esac
4086 # Pass precious variables to config.status.
4087 if test "$ac_new_set" = set; then
4088 case $ac_new_val in
4089 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4090 *) ac_arg=$ac_var=$ac_new_val ;;
4091 esac
4092 case " $ac_configure_args " in
4093 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4094 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4095 esac
4097 done
4098 if $ac_cache_corrupted; then
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4102 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4103 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4104 and start over" "$LINENO" 5
4106 ## -------------------- ##
4107 ## Main body of script. ##
4108 ## -------------------- ##
4110 ac_ext=c
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4118 ac_config_headers="$ac_config_headers include/config.h"
4122 libwine_version="1.0"
4125 # Check whether --enable-archs was given.
4126 if test ${enable_archs+y}
4127 then :
4128 enableval=$enable_archs;
4131 # Check whether --enable-win16 was given.
4132 if test ${enable_win16+y}
4133 then :
4134 enableval=$enable_win16;
4137 # Check whether --enable-win64 was given.
4138 if test ${enable_win64+y}
4139 then :
4140 enableval=$enable_win64;
4143 # Check whether --enable-tests was given.
4144 if test ${enable_tests+y}
4145 then :
4146 enableval=$enable_tests;
4149 # Check whether --enable-build-id was given.
4150 if test ${enable_build_id+y}
4151 then :
4152 enableval=$enable_build_id;
4155 # Check whether --enable-maintainer-mode was given.
4156 if test ${enable_maintainer_mode+y}
4157 then :
4158 enableval=$enable_maintainer_mode;
4161 # Check whether --enable-silent-rules was given.
4162 if test ${enable_silent_rules+y}
4163 then :
4164 enableval=$enable_silent_rules;
4167 # Check whether --enable-werror was given.
4168 if test ${enable_werror+y}
4169 then :
4170 enableval=$enable_werror;
4175 # Check whether --with-alsa was given.
4176 if test ${with_alsa+y}
4177 then :
4178 withval=$with_alsa;
4182 # Check whether --with-capi was given.
4183 if test ${with_capi+y}
4184 then :
4185 withval=$with_capi;
4189 # Check whether --with-coreaudio was given.
4190 if test ${with_coreaudio+y}
4191 then :
4192 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4196 # Check whether --with-cups was given.
4197 if test ${with_cups+y}
4198 then :
4199 withval=$with_cups;
4203 # Check whether --with-dbus was given.
4204 if test ${with_dbus+y}
4205 then :
4206 withval=$with_dbus;
4210 # Check whether --with-float-abi was given.
4211 if test ${with_float_abi+y}
4212 then :
4213 withval=$with_float_abi;
4217 # Check whether --with-fontconfig was given.
4218 if test ${with_fontconfig+y}
4219 then :
4220 withval=$with_fontconfig;
4224 # Check whether --with-freetype was given.
4225 if test ${with_freetype+y}
4226 then :
4227 withval=$with_freetype;
4231 # Check whether --with-gettext was given.
4232 if test ${with_gettext+y}
4233 then :
4234 withval=$with_gettext;
4238 # Check whether --with-gettextpo was given.
4239 if test ${with_gettextpo+y}
4240 then :
4241 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4245 # Check whether --with-gphoto was given.
4246 if test ${with_gphoto+y}
4247 then :
4248 withval=$with_gphoto;
4252 # Check whether --with-gnutls was given.
4253 if test ${with_gnutls+y}
4254 then :
4255 withval=$with_gnutls;
4259 # Check whether --with-gssapi was given.
4260 if test ${with_gssapi+y}
4261 then :
4262 withval=$with_gssapi;
4266 # Check whether --with-gstreamer was given.
4267 if test ${with_gstreamer+y}
4268 then :
4269 withval=$with_gstreamer;
4273 # Check whether --with-inotify was given.
4274 if test ${with_inotify+y}
4275 then :
4276 withval=$with_inotify;
4280 # Check whether --with-krb5 was given.
4281 if test ${with_krb5+y}
4282 then :
4283 withval=$with_krb5;
4287 # Check whether --with-mingw was given.
4288 if test ${with_mingw+y}
4289 then :
4290 withval=$with_mingw;
4294 # Check whether --with-netapi was given.
4295 if test ${with_netapi+y}
4296 then :
4297 withval=$with_netapi;
4301 # Check whether --with-opencl was given.
4302 if test ${with_opencl+y}
4303 then :
4304 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4308 # Check whether --with-opengl was given.
4309 if test ${with_opengl+y}
4310 then :
4311 withval=$with_opengl;
4315 # Check whether --with-osmesa was given.
4316 if test ${with_osmesa+y}
4317 then :
4318 withval=$with_osmesa;
4322 # Check whether --with-oss was given.
4323 if test ${with_oss+y}
4324 then :
4325 withval=$with_oss;
4329 # Check whether --with-pcap was given.
4330 if test ${with_pcap+y}
4331 then :
4332 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4336 # Check whether --with-pthread was given.
4337 if test ${with_pthread+y}
4338 then :
4339 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4343 # Check whether --with-pulse was given.
4344 if test ${with_pulse+y}
4345 then :
4346 withval=$with_pulse;
4350 # Check whether --with-sane was given.
4351 if test ${with_sane+y}
4352 then :
4353 withval=$with_sane;
4357 # Check whether --with-sdl was given.
4358 if test ${with_sdl+y}
4359 then :
4360 withval=$with_sdl;
4364 # Check whether --with-udev was given.
4365 if test ${with_udev+y}
4366 then :
4367 withval=$with_udev;
4371 # Check whether --with-unwind was given.
4372 if test ${with_unwind+y}
4373 then :
4374 withval=$with_unwind;
4378 # Check whether --with-usb was given.
4379 if test ${with_usb+y}
4380 then :
4381 withval=$with_usb;
4385 # Check whether --with-v4l2 was given.
4386 if test ${with_v4l2+y}
4387 then :
4388 withval=$with_v4l2;
4392 # Check whether --with-vulkan was given.
4393 if test ${with_vulkan+y}
4394 then :
4395 withval=$with_vulkan;
4399 # Check whether --with-xcomposite was given.
4400 if test ${with_xcomposite+y}
4401 then :
4402 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4406 # Check whether --with-xcursor was given.
4407 if test ${with_xcursor+y}
4408 then :
4409 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4413 # Check whether --with-xfixes was given.
4414 if test ${with_xfixes+y}
4415 then :
4416 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4420 # Check whether --with-xinerama was given.
4421 if test ${with_xinerama+y}
4422 then :
4423 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4427 # Check whether --with-xinput was given.
4428 if test ${with_xinput+y}
4429 then :
4430 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4434 # Check whether --with-xinput2 was given.
4435 if test ${with_xinput2+y}
4436 then :
4437 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4441 # Check whether --with-xrandr was given.
4442 if test ${with_xrandr+y}
4443 then :
4444 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4448 # Check whether --with-xrender was given.
4449 if test ${with_xrender+y}
4450 then :
4451 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4455 # Check whether --with-xshape was given.
4456 if test ${with_xshape+y}
4457 then :
4458 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4462 # Check whether --with-xshm was given.
4463 if test ${with_xshm+y}
4464 then :
4465 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4469 # Check whether --with-xxf86vm was given.
4470 if test ${with_xxf86vm+y}
4471 then :
4472 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
4477 # Check whether --with-system-dllpath was given.
4478 if test ${with_system_dllpath+y}
4479 then :
4480 withval=$with_system_dllpath; system_dllpath=$withval
4485 # Check whether --with-wine-tools was given.
4486 if test ${with_wine_tools+y}
4487 then :
4488 withval=$with_wine_tools;
4492 # Check whether --with-wine64 was given.
4493 if test ${with_wine64+y}
4494 then :
4495 withval=$with_wine64;
4502 # Make sure we can run config.sub.
4503 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4504 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4507 printf %s "checking build system type... " >&6; }
4508 if test ${ac_cv_build+y}
4509 then :
4510 printf %s "(cached) " >&6
4511 else $as_nop
4512 ac_build_alias=$build_alias
4513 test "x$ac_build_alias" = x &&
4514 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4515 test "x$ac_build_alias" = x &&
4516 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4517 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4518 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4522 printf "%s\n" "$ac_cv_build" >&6; }
4523 case $ac_cv_build in
4524 *-*-*) ;;
4525 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4526 esac
4527 build=$ac_cv_build
4528 ac_save_IFS=$IFS; IFS='-'
4529 set x $ac_cv_build
4530 shift
4531 build_cpu=$1
4532 build_vendor=$2
4533 shift; shift
4534 # Remember, the first character of IFS is used to create $*,
4535 # except with old shells:
4536 build_os=$*
4537 IFS=$ac_save_IFS
4538 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4542 printf %s "checking host system type... " >&6; }
4543 if test ${ac_cv_host+y}
4544 then :
4545 printf %s "(cached) " >&6
4546 else $as_nop
4547 if test "x$host_alias" = x; then
4548 ac_cv_host=$ac_cv_build
4549 else
4550 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4551 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4556 printf "%s\n" "$ac_cv_host" >&6; }
4557 case $ac_cv_host in
4558 *-*-*) ;;
4559 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4560 esac
4561 host=$ac_cv_host
4562 ac_save_IFS=$IFS; IFS='-'
4563 set x $ac_cv_host
4564 shift
4565 host_cpu=$1
4566 host_vendor=$2
4567 shift; shift
4568 # Remember, the first character of IFS is used to create $*,
4569 # except with old shells:
4570 host_os=$*
4571 IFS=$ac_save_IFS
4572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4576 dlldir=\${libdir}/wine
4578 fontdir=\${datadir}/wine/fonts
4580 nlsdir=\${datadir}/wine/nls
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4586 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4587 set x ${MAKE-make}
4588 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4589 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4590 then :
4591 printf %s "(cached) " >&6
4592 else $as_nop
4593 cat >conftest.make <<\_ACEOF
4594 SHELL = /bin/sh
4595 all:
4596 @echo '@@@%%%=$(MAKE)=@@@%%%'
4597 _ACEOF
4598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4600 *@@@%%%=?*=@@@%%%*)
4601 eval ac_cv_prog_make_${ac_make}_set=yes;;
4603 eval ac_cv_prog_make_${ac_make}_set=no;;
4604 esac
4605 rm -f conftest.make
4607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4609 printf "%s\n" "yes" >&6; }
4610 SET_MAKE=
4611 else
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 printf "%s\n" "no" >&6; }
4614 SET_MAKE="MAKE=${MAKE-make}"
4626 ac_ext=c
4627 ac_cpp='$CPP $CPPFLAGS'
4628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4631 if test -n "$ac_tool_prefix"; then
4632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635 printf %s "checking for $ac_word... " >&6; }
4636 if test ${ac_cv_prog_CC+y}
4637 then :
4638 printf %s "(cached) " >&6
4639 else $as_nop
4640 if test -n "$CC"; then
4641 ac_cv_prog_CC="$CC" # Let the user override the test.
4642 else
4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 for as_dir in $PATH
4646 IFS=$as_save_IFS
4647 case $as_dir in #(((
4648 '') as_dir=./ ;;
4649 */) ;;
4650 *) as_dir=$as_dir/ ;;
4651 esac
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4656 break 2
4658 done
4659 done
4660 IFS=$as_save_IFS
4664 CC=$ac_cv_prog_CC
4665 if test -n "$CC"; then
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4667 printf "%s\n" "$CC" >&6; }
4668 else
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 printf "%s\n" "no" >&6; }
4675 if test -z "$ac_cv_prog_CC"; then
4676 ac_ct_CC=$CC
4677 # Extract the first word of "gcc", so it can be a program name with args.
4678 set dummy gcc; ac_word=$2
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 printf %s "checking for $ac_word... " >&6; }
4681 if test ${ac_cv_prog_ac_ct_CC+y}
4682 then :
4683 printf %s "(cached) " >&6
4684 else $as_nop
4685 if test -n "$ac_ct_CC"; then
4686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4687 else
4688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH
4691 IFS=$as_save_IFS
4692 case $as_dir in #(((
4693 '') as_dir=./ ;;
4694 */) ;;
4695 *) as_dir=$as_dir/ ;;
4696 esac
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4699 ac_cv_prog_ac_ct_CC="gcc"
4700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4701 break 2
4703 done
4704 done
4705 IFS=$as_save_IFS
4709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4710 if test -n "$ac_ct_CC"; then
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4712 printf "%s\n" "$ac_ct_CC" >&6; }
4713 else
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 printf "%s\n" "no" >&6; }
4718 if test "x$ac_ct_CC" = x; then
4719 CC=""
4720 else
4721 case $cross_compiling:$ac_tool_warned in
4722 yes:)
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4724 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4725 ac_tool_warned=yes ;;
4726 esac
4727 CC=$ac_ct_CC
4729 else
4730 CC="$ac_cv_prog_CC"
4733 if test -z "$CC"; then
4734 if test -n "$ac_tool_prefix"; then
4735 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4736 set dummy ${ac_tool_prefix}cc; ac_word=$2
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 printf %s "checking for $ac_word... " >&6; }
4739 if test ${ac_cv_prog_CC+y}
4740 then :
4741 printf %s "(cached) " >&6
4742 else $as_nop
4743 if test -n "$CC"; then
4744 ac_cv_prog_CC="$CC" # Let the user override the test.
4745 else
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH
4749 IFS=$as_save_IFS
4750 case $as_dir in #(((
4751 '') as_dir=./ ;;
4752 */) ;;
4753 *) as_dir=$as_dir/ ;;
4754 esac
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4757 ac_cv_prog_CC="${ac_tool_prefix}cc"
4758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4759 break 2
4761 done
4762 done
4763 IFS=$as_save_IFS
4767 CC=$ac_cv_prog_CC
4768 if test -n "$CC"; then
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4770 printf "%s\n" "$CC" >&6; }
4771 else
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773 printf "%s\n" "no" >&6; }
4779 if test -z "$CC"; then
4780 # Extract the first word of "cc", so it can be a program name with args.
4781 set dummy cc; ac_word=$2
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 printf %s "checking for $ac_word... " >&6; }
4784 if test ${ac_cv_prog_CC+y}
4785 then :
4786 printf %s "(cached) " >&6
4787 else $as_nop
4788 if test -n "$CC"; then
4789 ac_cv_prog_CC="$CC" # Let the user override the test.
4790 else
4791 ac_prog_rejected=no
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4793 for as_dir in $PATH
4795 IFS=$as_save_IFS
4796 case $as_dir in #(((
4797 '') as_dir=./ ;;
4798 */) ;;
4799 *) as_dir=$as_dir/ ;;
4800 esac
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4803 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4804 ac_prog_rejected=yes
4805 continue
4807 ac_cv_prog_CC="cc"
4808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4809 break 2
4811 done
4812 done
4813 IFS=$as_save_IFS
4815 if test $ac_prog_rejected = yes; then
4816 # We found a bogon in the path, so make sure we never use it.
4817 set dummy $ac_cv_prog_CC
4818 shift
4819 if test $# != 0; then
4820 # We chose a different compiler from the bogus one.
4821 # However, it has the same basename, so the bogon will be chosen
4822 # first if we set CC to just the basename; use the full file name.
4823 shift
4824 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4829 CC=$ac_cv_prog_CC
4830 if test -n "$CC"; then
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4832 printf "%s\n" "$CC" >&6; }
4833 else
4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 printf "%s\n" "no" >&6; }
4840 if test -z "$CC"; then
4841 if test -n "$ac_tool_prefix"; then
4842 for ac_prog in cl.exe
4844 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4845 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 printf %s "checking for $ac_word... " >&6; }
4848 if test ${ac_cv_prog_CC+y}
4849 then :
4850 printf %s "(cached) " >&6
4851 else $as_nop
4852 if test -n "$CC"; then
4853 ac_cv_prog_CC="$CC" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4858 IFS=$as_save_IFS
4859 case $as_dir in #(((
4860 '') as_dir=./ ;;
4861 */) ;;
4862 *) as_dir=$as_dir/ ;;
4863 esac
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4866 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4868 break 2
4870 done
4871 done
4872 IFS=$as_save_IFS
4876 CC=$ac_cv_prog_CC
4877 if test -n "$CC"; then
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4879 printf "%s\n" "$CC" >&6; }
4880 else
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 printf "%s\n" "no" >&6; }
4886 test -n "$CC" && break
4887 done
4889 if test -z "$CC"; then
4890 ac_ct_CC=$CC
4891 for ac_prog in cl.exe
4893 # Extract the first word of "$ac_prog", so it can be a program name with args.
4894 set dummy $ac_prog; ac_word=$2
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 printf %s "checking for $ac_word... " >&6; }
4897 if test ${ac_cv_prog_ac_ct_CC+y}
4898 then :
4899 printf %s "(cached) " >&6
4900 else $as_nop
4901 if test -n "$ac_ct_CC"; then
4902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4903 else
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 for as_dir in $PATH
4907 IFS=$as_save_IFS
4908 case $as_dir in #(((
4909 '') as_dir=./ ;;
4910 */) ;;
4911 *) as_dir=$as_dir/ ;;
4912 esac
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_ac_ct_CC="$ac_prog"
4916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4917 break 2
4919 done
4920 done
4921 IFS=$as_save_IFS
4925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4926 if test -n "$ac_ct_CC"; then
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4928 printf "%s\n" "$ac_ct_CC" >&6; }
4929 else
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 printf "%s\n" "no" >&6; }
4935 test -n "$ac_ct_CC" && break
4936 done
4938 if test "x$ac_ct_CC" = x; then
4939 CC=""
4940 else
4941 case $cross_compiling:$ac_tool_warned in
4942 yes:)
4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4944 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4945 ac_tool_warned=yes ;;
4946 esac
4947 CC=$ac_ct_CC
4952 if test -z "$CC"; then
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}clang; ac_word=$2
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 printf %s "checking for $ac_word... " >&6; }
4958 if test ${ac_cv_prog_CC+y}
4959 then :
4960 printf %s "(cached) " >&6
4961 else $as_nop
4962 if test -n "$CC"; then
4963 ac_cv_prog_CC="$CC" # Let the user override the test.
4964 else
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4968 IFS=$as_save_IFS
4969 case $as_dir in #(((
4970 '') as_dir=./ ;;
4971 */) ;;
4972 *) as_dir=$as_dir/ ;;
4973 esac
4974 for ac_exec_ext in '' $ac_executable_extensions; do
4975 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_CC="${ac_tool_prefix}clang"
4977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4978 break 2
4980 done
4981 done
4982 IFS=$as_save_IFS
4986 CC=$ac_cv_prog_CC
4987 if test -n "$CC"; then
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4989 printf "%s\n" "$CC" >&6; }
4990 else
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 printf "%s\n" "no" >&6; }
4997 if test -z "$ac_cv_prog_CC"; then
4998 ac_ct_CC=$CC
4999 # Extract the first word of "clang", so it can be a program name with args.
5000 set dummy clang; ac_word=$2
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 printf %s "checking for $ac_word... " >&6; }
5003 if test ${ac_cv_prog_ac_ct_CC+y}
5004 then :
5005 printf %s "(cached) " >&6
5006 else $as_nop
5007 if test -n "$ac_ct_CC"; then
5008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5009 else
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $PATH
5013 IFS=$as_save_IFS
5014 case $as_dir in #(((
5015 '') as_dir=./ ;;
5016 */) ;;
5017 *) as_dir=$as_dir/ ;;
5018 esac
5019 for ac_exec_ext in '' $ac_executable_extensions; do
5020 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_ac_ct_CC="clang"
5022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5023 break 2
5025 done
5026 done
5027 IFS=$as_save_IFS
5031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5032 if test -n "$ac_ct_CC"; then
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5034 printf "%s\n" "$ac_ct_CC" >&6; }
5035 else
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 printf "%s\n" "no" >&6; }
5040 if test "x$ac_ct_CC" = x; then
5041 CC=""
5042 else
5043 case $cross_compiling:$ac_tool_warned in
5044 yes:)
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5046 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5047 ac_tool_warned=yes ;;
5048 esac
5049 CC=$ac_ct_CC
5051 else
5052 CC="$ac_cv_prog_CC"
5058 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5059 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5060 as_fn_error $? "no acceptable C compiler found in \$PATH
5061 See \`config.log' for more details" "$LINENO" 5; }
5063 # Provide some information about the compiler.
5064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5065 set X $ac_compile
5066 ac_compiler=$2
5067 for ac_option in --version -v -V -qversion -version; do
5068 { { ac_try="$ac_compiler $ac_option >&5"
5069 case "(($ac_try" in
5070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071 *) ac_try_echo=$ac_try;;
5072 esac
5073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5074 printf "%s\n" "$ac_try_echo"; } >&5
5075 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5076 ac_status=$?
5077 if test -s conftest.err; then
5078 sed '10a\
5079 ... rest of stderr output deleted ...
5080 10q' conftest.err >conftest.er1
5081 cat conftest.er1 >&5
5083 rm -f conftest.er1 conftest.err
5084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5085 test $ac_status = 0; }
5086 done
5088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5089 /* end confdefs.h. */
5092 main (void)
5096 return 0;
5098 _ACEOF
5099 ac_clean_files_save=$ac_clean_files
5100 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5101 # Try to create an executable without -o first, disregard a.out.
5102 # It will help us diagnose broken compilers, and finding out an intuition
5103 # of exeext.
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5105 printf %s "checking whether the C compiler works... " >&6; }
5106 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5108 # The possible output files:
5109 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5111 ac_rmfiles=
5112 for ac_file in $ac_files
5114 case $ac_file in
5115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5116 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5117 esac
5118 done
5119 rm -f $ac_rmfiles
5121 if { { ac_try="$ac_link_default"
5122 case "(($ac_try" in
5123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5124 *) ac_try_echo=$ac_try;;
5125 esac
5126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5127 printf "%s\n" "$ac_try_echo"; } >&5
5128 (eval "$ac_link_default") 2>&5
5129 ac_status=$?
5130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5131 test $ac_status = 0; }
5132 then :
5133 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5135 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5136 # so that the user can short-circuit this test for compilers unknown to
5137 # Autoconf.
5138 for ac_file in $ac_files ''
5140 test -f "$ac_file" || continue
5141 case $ac_file in
5142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5144 [ab].out )
5145 # We found the default executable, but exeext='' is most
5146 # certainly right.
5147 break;;
5148 *.* )
5149 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5150 then :; else
5151 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5153 # We set ac_cv_exeext here because the later test for it is not
5154 # safe: cross compilers may not add the suffix if given an `-o'
5155 # argument, so we may need to know it at that point already.
5156 # Even if this section looks crufty: it has the advantage of
5157 # actually working.
5158 break;;
5160 break;;
5161 esac
5162 done
5163 test "$ac_cv_exeext" = no && ac_cv_exeext=
5165 else $as_nop
5166 ac_file=''
5168 if test -z "$ac_file"
5169 then :
5170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 printf "%s\n" "no" >&6; }
5172 printf "%s\n" "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.$ac_ext >&5
5175 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5176 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5177 as_fn_error 77 "C compiler cannot create executables
5178 See \`config.log' for more details" "$LINENO" 5; }
5179 else $as_nop
5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5181 printf "%s\n" "yes" >&6; }
5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5184 printf %s "checking for C compiler default output file name... " >&6; }
5185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5186 printf "%s\n" "$ac_file" >&6; }
5187 ac_exeext=$ac_cv_exeext
5189 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5190 ac_clean_files=$ac_clean_files_save
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5192 printf %s "checking for suffix of executables... " >&6; }
5193 if { { ac_try="$ac_link"
5194 case "(($ac_try" in
5195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5196 *) ac_try_echo=$ac_try;;
5197 esac
5198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5199 printf "%s\n" "$ac_try_echo"; } >&5
5200 (eval "$ac_link") 2>&5
5201 ac_status=$?
5202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5203 test $ac_status = 0; }
5204 then :
5205 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5206 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5207 # work properly (i.e., refer to `conftest.exe'), while it won't with
5208 # `rm'.
5209 for ac_file in conftest.exe conftest conftest.*; do
5210 test -f "$ac_file" || continue
5211 case $ac_file in
5212 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5213 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5214 break;;
5215 * ) break;;
5216 esac
5217 done
5218 else $as_nop
5219 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5220 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5221 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5222 See \`config.log' for more details" "$LINENO" 5; }
5224 rm -f conftest conftest$ac_cv_exeext
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5226 printf "%s\n" "$ac_cv_exeext" >&6; }
5228 rm -f conftest.$ac_ext
5229 EXEEXT=$ac_cv_exeext
5230 ac_exeext=$EXEEXT
5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5233 #include <stdio.h>
5235 main (void)
5237 FILE *f = fopen ("conftest.out", "w");
5238 return ferror (f) || fclose (f) != 0;
5241 return 0;
5243 _ACEOF
5244 ac_clean_files="$ac_clean_files conftest.out"
5245 # Check that the compiler produces executables we can run. If not, either
5246 # the compiler is broken, or we cross compile.
5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5248 printf %s "checking whether we are cross compiling... " >&6; }
5249 if test "$cross_compiling" != yes; then
5250 { { ac_try="$ac_link"
5251 case "(($ac_try" in
5252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5253 *) ac_try_echo=$ac_try;;
5254 esac
5255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5256 printf "%s\n" "$ac_try_echo"; } >&5
5257 (eval "$ac_link") 2>&5
5258 ac_status=$?
5259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5260 test $ac_status = 0; }
5261 if { ac_try='./conftest$ac_cv_exeext'
5262 { { case "(($ac_try" in
5263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5265 esac
5266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5267 printf "%s\n" "$ac_try_echo"; } >&5
5268 (eval "$ac_try") 2>&5
5269 ac_status=$?
5270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5271 test $ac_status = 0; }; }; then
5272 cross_compiling=no
5273 else
5274 if test "$cross_compiling" = maybe; then
5275 cross_compiling=yes
5276 else
5277 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5278 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5279 as_fn_error 77 "cannot run C compiled programs.
5280 If you meant to cross compile, use \`--host'.
5281 See \`config.log' for more details" "$LINENO" 5; }
5285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5286 printf "%s\n" "$cross_compiling" >&6; }
5288 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5289 ac_clean_files=$ac_clean_files_save
5290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5291 printf %s "checking for suffix of object files... " >&6; }
5292 if test ${ac_cv_objext+y}
5293 then :
5294 printf %s "(cached) " >&6
5295 else $as_nop
5296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 /* end confdefs.h. */
5300 main (void)
5304 return 0;
5306 _ACEOF
5307 rm -f conftest.o conftest.obj
5308 if { { ac_try="$ac_compile"
5309 case "(($ac_try" in
5310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5311 *) ac_try_echo=$ac_try;;
5312 esac
5313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5314 printf "%s\n" "$ac_try_echo"; } >&5
5315 (eval "$ac_compile") 2>&5
5316 ac_status=$?
5317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5318 test $ac_status = 0; }
5319 then :
5320 for ac_file in conftest.o conftest.obj conftest.*; do
5321 test -f "$ac_file" || continue;
5322 case $ac_file in
5323 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5324 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5325 break;;
5326 esac
5327 done
5328 else $as_nop
5329 printf "%s\n" "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5332 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5334 as_fn_error $? "cannot compute suffix of object files: cannot compile
5335 See \`config.log' for more details" "$LINENO" 5; }
5337 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5340 printf "%s\n" "$ac_cv_objext" >&6; }
5341 OBJEXT=$ac_cv_objext
5342 ac_objext=$OBJEXT
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5344 printf %s "checking whether the compiler supports GNU C... " >&6; }
5345 if test ${ac_cv_c_compiler_gnu+y}
5346 then :
5347 printf %s "(cached) " >&6
5348 else $as_nop
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main (void)
5355 #ifndef __GNUC__
5356 choke me
5357 #endif
5360 return 0;
5362 _ACEOF
5363 if ac_fn_c_try_compile "$LINENO"
5364 then :
5365 ac_compiler_gnu=yes
5366 else $as_nop
5367 ac_compiler_gnu=no
5369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5370 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5374 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5377 if test $ac_compiler_gnu = yes; then
5378 GCC=yes
5379 else
5380 GCC=
5382 ac_test_CFLAGS=${CFLAGS+y}
5383 ac_save_CFLAGS=$CFLAGS
5384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5385 printf %s "checking whether $CC accepts -g... " >&6; }
5386 if test ${ac_cv_prog_cc_g+y}
5387 then :
5388 printf %s "(cached) " >&6
5389 else $as_nop
5390 ac_save_c_werror_flag=$ac_c_werror_flag
5391 ac_c_werror_flag=yes
5392 ac_cv_prog_cc_g=no
5393 CFLAGS="-g"
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 main (void)
5402 return 0;
5404 _ACEOF
5405 if ac_fn_c_try_compile "$LINENO"
5406 then :
5407 ac_cv_prog_cc_g=yes
5408 else $as_nop
5409 CFLAGS=""
5410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 /* end confdefs.h. */
5414 main (void)
5418 return 0;
5420 _ACEOF
5421 if ac_fn_c_try_compile "$LINENO"
5422 then :
5424 else $as_nop
5425 ac_c_werror_flag=$ac_save_c_werror_flag
5426 CFLAGS="-g"
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main (void)
5435 return 0;
5437 _ACEOF
5438 if ac_fn_c_try_compile "$LINENO"
5439 then :
5440 ac_cv_prog_cc_g=yes
5442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5447 ac_c_werror_flag=$ac_save_c_werror_flag
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5450 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5451 if test $ac_test_CFLAGS; then
5452 CFLAGS=$ac_save_CFLAGS
5453 elif test $ac_cv_prog_cc_g = yes; then
5454 if test "$GCC" = yes; then
5455 CFLAGS="-g -O2"
5456 else
5457 CFLAGS="-g"
5459 else
5460 if test "$GCC" = yes; then
5461 CFLAGS="-O2"
5462 else
5463 CFLAGS=
5466 ac_prog_cc_stdc=no
5467 if test x$ac_prog_cc_stdc = xno
5468 then :
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5470 printf %s "checking for $CC option to enable C11 features... " >&6; }
5471 if test ${ac_cv_prog_cc_c11+y}
5472 then :
5473 printf %s "(cached) " >&6
5474 else $as_nop
5475 ac_cv_prog_cc_c11=no
5476 ac_save_CC=$CC
5477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 $ac_c_conftest_c11_program
5480 _ACEOF
5481 for ac_arg in '' -std=gnu11
5483 CC="$ac_save_CC $ac_arg"
5484 if ac_fn_c_try_compile "$LINENO"
5485 then :
5486 ac_cv_prog_cc_c11=$ac_arg
5488 rm -f core conftest.err conftest.$ac_objext conftest.beam
5489 test "x$ac_cv_prog_cc_c11" != "xno" && break
5490 done
5491 rm -f conftest.$ac_ext
5492 CC=$ac_save_CC
5495 if test "x$ac_cv_prog_cc_c11" = xno
5496 then :
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5498 printf "%s\n" "unsupported" >&6; }
5499 else $as_nop
5500 if test "x$ac_cv_prog_cc_c11" = x
5501 then :
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5503 printf "%s\n" "none needed" >&6; }
5504 else $as_nop
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5506 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5507 CC="$CC $ac_cv_prog_cc_c11"
5509 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5510 ac_prog_cc_stdc=c11
5513 if test x$ac_prog_cc_stdc = xno
5514 then :
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5516 printf %s "checking for $CC option to enable C99 features... " >&6; }
5517 if test ${ac_cv_prog_cc_c99+y}
5518 then :
5519 printf %s "(cached) " >&6
5520 else $as_nop
5521 ac_cv_prog_cc_c99=no
5522 ac_save_CC=$CC
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5525 $ac_c_conftest_c99_program
5526 _ACEOF
5527 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5529 CC="$ac_save_CC $ac_arg"
5530 if ac_fn_c_try_compile "$LINENO"
5531 then :
5532 ac_cv_prog_cc_c99=$ac_arg
5534 rm -f core conftest.err conftest.$ac_objext conftest.beam
5535 test "x$ac_cv_prog_cc_c99" != "xno" && break
5536 done
5537 rm -f conftest.$ac_ext
5538 CC=$ac_save_CC
5541 if test "x$ac_cv_prog_cc_c99" = xno
5542 then :
5543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5544 printf "%s\n" "unsupported" >&6; }
5545 else $as_nop
5546 if test "x$ac_cv_prog_cc_c99" = x
5547 then :
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5549 printf "%s\n" "none needed" >&6; }
5550 else $as_nop
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5552 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5553 CC="$CC $ac_cv_prog_cc_c99"
5555 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5556 ac_prog_cc_stdc=c99
5559 if test x$ac_prog_cc_stdc = xno
5560 then :
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5562 printf %s "checking for $CC option to enable C89 features... " >&6; }
5563 if test ${ac_cv_prog_cc_c89+y}
5564 then :
5565 printf %s "(cached) " >&6
5566 else $as_nop
5567 ac_cv_prog_cc_c89=no
5568 ac_save_CC=$CC
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5571 $ac_c_conftest_c89_program
5572 _ACEOF
5573 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5575 CC="$ac_save_CC $ac_arg"
5576 if ac_fn_c_try_compile "$LINENO"
5577 then :
5578 ac_cv_prog_cc_c89=$ac_arg
5580 rm -f core conftest.err conftest.$ac_objext conftest.beam
5581 test "x$ac_cv_prog_cc_c89" != "xno" && break
5582 done
5583 rm -f conftest.$ac_ext
5584 CC=$ac_save_CC
5587 if test "x$ac_cv_prog_cc_c89" = xno
5588 then :
5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5590 printf "%s\n" "unsupported" >&6; }
5591 else $as_nop
5592 if test "x$ac_cv_prog_cc_c89" = x
5593 then :
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5595 printf "%s\n" "none needed" >&6; }
5596 else $as_nop
5597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5598 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5599 CC="$CC $ac_cv_prog_cc_c89"
5601 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5602 ac_prog_cc_stdc=c89
5606 ac_ext=c
5607 ac_cpp='$CPP $CPPFLAGS'
5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5618 ac_ext=cpp
5619 ac_cpp='$CXXCPP $CPPFLAGS'
5620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5623 if test -z "$CXX"; then
5624 if test -n "$CCC"; then
5625 CXX=$CCC
5626 else
5627 if test -n "$ac_tool_prefix"; then
5628 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 printf %s "checking for $ac_word... " >&6; }
5634 if test ${ac_cv_prog_CXX+y}
5635 then :
5636 printf %s "(cached) " >&6
5637 else $as_nop
5638 if test -n "$CXX"; then
5639 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5640 else
5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5642 for as_dir in $PATH
5644 IFS=$as_save_IFS
5645 case $as_dir in #(((
5646 '') as_dir=./ ;;
5647 */) ;;
5648 *) as_dir=$as_dir/ ;;
5649 esac
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 IFS=$as_save_IFS
5662 CXX=$ac_cv_prog_CXX
5663 if test -n "$CXX"; then
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5665 printf "%s\n" "$CXX" >&6; }
5666 else
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 printf "%s\n" "no" >&6; }
5672 test -n "$CXX" && break
5673 done
5675 if test -z "$CXX"; then
5676 ac_ct_CXX=$CXX
5677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5679 # Extract the first word of "$ac_prog", so it can be a program name with args.
5680 set dummy $ac_prog; ac_word=$2
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5682 printf %s "checking for $ac_word... " >&6; }
5683 if test ${ac_cv_prog_ac_ct_CXX+y}
5684 then :
5685 printf %s "(cached) " >&6
5686 else $as_nop
5687 if test -n "$ac_ct_CXX"; then
5688 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 case $as_dir in #(((
5695 '') as_dir=./ ;;
5696 */) ;;
5697 *) as_dir=$as_dir/ ;;
5698 esac
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_ac_ct_CXX="$ac_prog"
5702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5703 break 2
5705 done
5706 done
5707 IFS=$as_save_IFS
5711 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5712 if test -n "$ac_ct_CXX"; then
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5714 printf "%s\n" "$ac_ct_CXX" >&6; }
5715 else
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 printf "%s\n" "no" >&6; }
5721 test -n "$ac_ct_CXX" && break
5722 done
5724 if test "x$ac_ct_CXX" = x; then
5725 CXX="g++"
5726 else
5727 case $cross_compiling:$ac_tool_warned in
5728 yes:)
5729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5731 ac_tool_warned=yes ;;
5732 esac
5733 CXX=$ac_ct_CXX
5739 # Provide some information about the compiler.
5740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5741 set X $ac_compile
5742 ac_compiler=$2
5743 for ac_option in --version -v -V -qversion; do
5744 { { ac_try="$ac_compiler $ac_option >&5"
5745 case "(($ac_try" in
5746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5747 *) ac_try_echo=$ac_try;;
5748 esac
5749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5750 printf "%s\n" "$ac_try_echo"; } >&5
5751 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5752 ac_status=$?
5753 if test -s conftest.err; then
5754 sed '10a\
5755 ... rest of stderr output deleted ...
5756 10q' conftest.err >conftest.er1
5757 cat conftest.er1 >&5
5759 rm -f conftest.er1 conftest.err
5760 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5761 test $ac_status = 0; }
5762 done
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5765 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5766 if test ${ac_cv_cxx_compiler_gnu+y}
5767 then :
5768 printf %s "(cached) " >&6
5769 else $as_nop
5770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5771 /* end confdefs.h. */
5774 main (void)
5776 #ifndef __GNUC__
5777 choke me
5778 #endif
5781 return 0;
5783 _ACEOF
5784 if ac_fn_cxx_try_compile "$LINENO"
5785 then :
5786 ac_compiler_gnu=yes
5787 else $as_nop
5788 ac_compiler_gnu=no
5790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5791 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5795 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5798 if test $ac_compiler_gnu = yes; then
5799 GXX=yes
5800 else
5801 GXX=
5803 ac_test_CXXFLAGS=${CXXFLAGS+y}
5804 ac_save_CXXFLAGS=$CXXFLAGS
5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5806 printf %s "checking whether $CXX accepts -g... " >&6; }
5807 if test ${ac_cv_prog_cxx_g+y}
5808 then :
5809 printf %s "(cached) " >&6
5810 else $as_nop
5811 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5812 ac_cxx_werror_flag=yes
5813 ac_cv_prog_cxx_g=no
5814 CXXFLAGS="-g"
5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5816 /* end confdefs.h. */
5819 main (void)
5823 return 0;
5825 _ACEOF
5826 if ac_fn_cxx_try_compile "$LINENO"
5827 then :
5828 ac_cv_prog_cxx_g=yes
5829 else $as_nop
5830 CXXFLAGS=""
5831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5832 /* end confdefs.h. */
5835 main (void)
5839 return 0;
5841 _ACEOF
5842 if ac_fn_cxx_try_compile "$LINENO"
5843 then :
5845 else $as_nop
5846 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5847 CXXFLAGS="-g"
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5852 main (void)
5856 return 0;
5858 _ACEOF
5859 if ac_fn_cxx_try_compile "$LINENO"
5860 then :
5861 ac_cv_prog_cxx_g=yes
5863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5868 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5871 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5872 if test $ac_test_CXXFLAGS; then
5873 CXXFLAGS=$ac_save_CXXFLAGS
5874 elif test $ac_cv_prog_cxx_g = yes; then
5875 if test "$GXX" = yes; then
5876 CXXFLAGS="-g -O2"
5877 else
5878 CXXFLAGS="-g"
5880 else
5881 if test "$GXX" = yes; then
5882 CXXFLAGS="-O2"
5883 else
5884 CXXFLAGS=
5887 ac_prog_cxx_stdcxx=no
5888 if test x$ac_prog_cxx_stdcxx = xno
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5891 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5892 if test ${ac_cv_prog_cxx_11+y}
5893 then :
5894 printf %s "(cached) " >&6
5895 else $as_nop
5896 ac_cv_prog_cxx_11=no
5897 ac_save_CXX=$CXX
5898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5900 $ac_cxx_conftest_cxx11_program
5901 _ACEOF
5902 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5904 CXX="$ac_save_CXX $ac_arg"
5905 if ac_fn_cxx_try_compile "$LINENO"
5906 then :
5907 ac_cv_prog_cxx_cxx11=$ac_arg
5909 rm -f core conftest.err conftest.$ac_objext conftest.beam
5910 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5911 done
5912 rm -f conftest.$ac_ext
5913 CXX=$ac_save_CXX
5916 if test "x$ac_cv_prog_cxx_cxx11" = xno
5917 then :
5918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5919 printf "%s\n" "unsupported" >&6; }
5920 else $as_nop
5921 if test "x$ac_cv_prog_cxx_cxx11" = x
5922 then :
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5924 printf "%s\n" "none needed" >&6; }
5925 else $as_nop
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5927 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5928 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5930 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5931 ac_prog_cxx_stdcxx=cxx11
5934 if test x$ac_prog_cxx_stdcxx = xno
5935 then :
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5937 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5938 if test ${ac_cv_prog_cxx_98+y}
5939 then :
5940 printf %s "(cached) " >&6
5941 else $as_nop
5942 ac_cv_prog_cxx_98=no
5943 ac_save_CXX=$CXX
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5946 $ac_cxx_conftest_cxx98_program
5947 _ACEOF
5948 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5950 CXX="$ac_save_CXX $ac_arg"
5951 if ac_fn_cxx_try_compile "$LINENO"
5952 then :
5953 ac_cv_prog_cxx_cxx98=$ac_arg
5955 rm -f core conftest.err conftest.$ac_objext conftest.beam
5956 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5957 done
5958 rm -f conftest.$ac_ext
5959 CXX=$ac_save_CXX
5962 if test "x$ac_cv_prog_cxx_cxx98" = xno
5963 then :
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5965 printf "%s\n" "unsupported" >&6; }
5966 else $as_nop
5967 if test "x$ac_cv_prog_cxx_cxx98" = x
5968 then :
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5970 printf "%s\n" "none needed" >&6; }
5971 else $as_nop
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5973 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5974 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5976 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5977 ac_prog_cxx_stdcxx=cxx98
5981 ac_ext=c
5982 ac_cpp='$CPP $CPPFLAGS'
5983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5987 if test -n "$ac_tool_prefix"; then
5988 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5989 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5991 printf %s "checking for $ac_word... " >&6; }
5992 if test ${ac_cv_prog_CPPBIN+y}
5993 then :
5994 printf %s "(cached) " >&6
5995 else $as_nop
5996 if test -n "$CPPBIN"; then
5997 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5998 else
5999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000 for as_dir in $PATH
6002 IFS=$as_save_IFS
6003 case $as_dir in #(((
6004 '') as_dir=./ ;;
6005 */) ;;
6006 *) as_dir=$as_dir/ ;;
6007 esac
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 CPPBIN=$ac_cv_prog_CPPBIN
6021 if test -n "$CPPBIN"; then
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6023 printf "%s\n" "$CPPBIN" >&6; }
6024 else
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 printf "%s\n" "no" >&6; }
6031 if test -z "$ac_cv_prog_CPPBIN"; then
6032 ac_ct_CPPBIN=$CPPBIN
6033 # Extract the first word of "cpp", so it can be a program name with args.
6034 set dummy cpp; ac_word=$2
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 printf %s "checking for $ac_word... " >&6; }
6037 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6038 then :
6039 printf %s "(cached) " >&6
6040 else $as_nop
6041 if test -n "$ac_ct_CPPBIN"; then
6042 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6047 IFS=$as_save_IFS
6048 case $as_dir in #(((
6049 '') as_dir=./ ;;
6050 */) ;;
6051 *) as_dir=$as_dir/ ;;
6052 esac
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_ac_ct_CPPBIN="cpp"
6056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6066 if test -n "$ac_ct_CPPBIN"; then
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6068 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6069 else
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 printf "%s\n" "no" >&6; }
6074 if test "x$ac_ct_CPPBIN" = x; then
6075 CPPBIN="cpp"
6076 else
6077 case $cross_compiling:$ac_tool_warned in
6078 yes:)
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6080 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6081 ac_tool_warned=yes ;;
6082 esac
6083 CPPBIN=$ac_ct_CPPBIN
6085 else
6086 CPPBIN="$ac_cv_prog_CPPBIN"
6090 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6092 if test -n "$ac_tool_prefix"; then
6093 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}ld; ac_word=$2
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 printf %s "checking for $ac_word... " >&6; }
6097 if test ${ac_cv_prog_LD+y}
6098 then :
6099 printf %s "(cached) " >&6
6100 else $as_nop
6101 if test -n "$LD"; then
6102 ac_cv_prog_LD="$LD" # Let the user override the test.
6103 else
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 for as_dir in $PATH
6107 IFS=$as_save_IFS
6108 case $as_dir in #(((
6109 '') as_dir=./ ;;
6110 */) ;;
6111 *) as_dir=$as_dir/ ;;
6112 esac
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_LD="${ac_tool_prefix}ld"
6116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 LD=$ac_cv_prog_LD
6126 if test -n "$LD"; then
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6128 printf "%s\n" "$LD" >&6; }
6129 else
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 printf "%s\n" "no" >&6; }
6136 if test -z "$ac_cv_prog_LD"; then
6137 ac_ct_LD=$LD
6138 # Extract the first word of "ld", so it can be a program name with args.
6139 set dummy ld; ac_word=$2
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 printf %s "checking for $ac_word... " >&6; }
6142 if test ${ac_cv_prog_ac_ct_LD+y}
6143 then :
6144 printf %s "(cached) " >&6
6145 else $as_nop
6146 if test -n "$ac_ct_LD"; then
6147 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 case $as_dir in #(((
6154 '') as_dir=./ ;;
6155 */) ;;
6156 *) as_dir=$as_dir/ ;;
6157 esac
6158 for ac_exec_ext in '' $ac_executable_extensions; do
6159 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6160 ac_cv_prog_ac_ct_LD="ld"
6161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6162 break 2
6164 done
6165 done
6166 IFS=$as_save_IFS
6170 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6171 if test -n "$ac_ct_LD"; then
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6173 printf "%s\n" "$ac_ct_LD" >&6; }
6174 else
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6176 printf "%s\n" "no" >&6; }
6179 if test "x$ac_ct_LD" = x; then
6180 LD=""
6181 else
6182 case $cross_compiling:$ac_tool_warned in
6183 yes:)
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6185 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6186 ac_tool_warned=yes ;;
6187 esac
6188 LD=$ac_ct_LD
6190 else
6191 LD="$ac_cv_prog_LD"
6195 case $host in
6196 *-darwin*)
6197 with_fontconfig=${with_fontconfig:-no}
6199 *-mingw32*|*-cygwin*)
6200 enable_win16=${enable_win16:-no}
6201 with_mingw=${with_mingw:-no}
6203 esac
6206 case $host in
6207 x86_64*|amd64*)
6208 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6209 then
6210 CC="$CC -m32"
6211 CXX="$CXX -m32"
6213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6214 printf %s "checking whether $CC works... " >&6; }
6215 if test ${wine_cv_cc_m32+y}
6216 then :
6217 printf %s "(cached) " >&6
6218 else $as_nop
6219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6220 /* end confdefs.h. */
6223 main (void)
6227 return 0;
6229 _ACEOF
6230 if ac_fn_c_try_link "$LINENO"
6231 then :
6232 wine_cv_cc_m32=yes
6233 else $as_nop
6234 wine_cv_cc_m32=no
6236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6237 conftest$ac_exeext conftest.$ac_ext
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6240 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6241 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
6242 host_cpu="i386"
6243 notice_platform="32-bit "
6244 TARGETFLAGS="$TARGETFLAGS -m32"
6245 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6246 export PKG_CONFIG_LIBDIR
6247 with_unwind=${with_unwind:-no}
6248 else
6249 if test "x${GCC}" = "xyes"
6250 then
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6252 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6253 if test ${wine_cv_builtin_ms_va_list+y}
6254 then :
6255 printf %s "(cached) " >&6
6256 else $as_nop
6257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6258 /* end confdefs.h. */
6259 #include <stdarg.h>
6261 main (void)
6263 void func(__builtin_ms_va_list *args);
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_compile "$LINENO"
6269 then :
6270 wine_cv_builtin_ms_va_list=yes
6271 else $as_nop
6272 wine_cv_builtin_ms_va_list=no
6274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6277 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6278 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
6280 CC="$CC -m64"
6281 CXX="$CXX -m64"
6282 host_cpu="x86_64"
6283 notice_platform="64-bit "
6284 TARGETFLAGS="$TARGETFLAGS -m64"
6287 arm*)
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6289 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6290 if test ${wine_cv_thumb2+y}
6291 then :
6292 printf %s "(cached) " >&6
6293 else $as_nop
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6298 main (void)
6300 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6302 return 0;
6304 _ACEOF
6305 if ac_fn_c_try_link "$LINENO"
6306 then :
6307 wine_cv_thumb2=yes
6308 else $as_nop
6309 wine_cv_thumb2=no
6311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6312 conftest$ac_exeext conftest.$ac_ext
6314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6315 printf "%s\n" "$wine_cv_thumb2" >&6; }
6316 if test x"$wine_cv_thumb2" = xyes
6317 then
6318 CFLAGS="$CFLAGS -mthumb"
6319 TARGETFLAGS="$TARGETFLAGS -mthumb"
6320 else
6321 CFLAGS="$CFLAGS -marm"
6322 TARGETFLAGS="$TARGETFLAGS -marm"
6324 case $with_float_abi in
6325 soft|softfp|hard)
6326 float_abi=$with_float_abi ;;
6328 case $host_os in
6329 *eabihf)
6330 float_abi=hard ;;
6332 float_abi=softfp
6333 saved_CFLAGS=$CFLAGS
6334 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6336 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6337 if test ${wine_cv_float_abi+y}
6338 then :
6339 printf %s "(cached) " >&6
6340 else $as_nop
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6345 main (void)
6347 asm("vmrs r2,fpscr");
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_link "$LINENO"
6353 then :
6354 wine_cv_float_abi=yes
6355 else $as_nop
6356 wine_cv_float_abi=no
6358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6359 conftest$ac_exeext conftest.$ac_ext
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6362 printf "%s\n" "$wine_cv_float_abi" >&6; }
6363 if test $wine_cv_float_abi = no
6364 then
6365 float_abi=soft
6366 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6368 CFLAGS=$saved_CFLAGS
6369 esac
6371 esac
6372 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6373 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6375 i[3456789]86*)
6376 with_unwind=${with_unwind:-no}
6378 esac
6380 enable_win16=${enable_win16:-i386}
6381 enable_win64=${enable_win64:-no}
6382 enable_wow64=${enable_wow64:-aarch64,x86_64}
6383 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6384 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6386 enable_winetest=${enable_winetest:-$enable_tests}
6388 if test "x$enable_win64" = "xyes"
6389 then
6390 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6391 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6394 case $build_os in
6395 cygwin*|mingw32*) toolsext=".exe"
6397 *) toolsext=""
6399 esac
6401 HOST_ARCH=unknown
6402 case "$host_cpu" in
6403 aarch64*) HOST_ARCH=aarch64 ;;
6404 arm*) HOST_ARCH=arm ;;
6405 i[3456789]86*) HOST_ARCH=i386 ;;
6406 x86_64) HOST_ARCH=x86_64 ;;
6407 esac
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6411 printf %s "checking for the directory containing the Wine tools... " >&6; }
6412 if test ${wine_cv_toolsdir+y}
6413 then :
6414 printf %s "(cached) " >&6
6415 else $as_nop
6416 wine_cv_toolsdir="$with_wine_tools"
6417 if test -z "$with_wine_tools"; then
6418 if test "$cross_compiling" = "yes"; then
6419 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6420 elif test -n "$with_wine64"; then
6421 wine_cv_toolsdir="$with_wine64"
6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6426 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6427 if test -z "$wine_cv_toolsdir"; then
6428 wine_makedep=tools/makedep$toolsext
6429 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6430 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6431 enable_tools=${enable_tools:-no}
6432 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6433 else
6434 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6436 toolsdir=$wine_cv_toolsdir
6438 MAKEDEP=$wine_makedep
6440 RUNTESTFLAGS="-q -P wine"
6442 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'"
6445 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6446 then
6447 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6450 for ac_prog in flex
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 printf %s "checking for $ac_word... " >&6; }
6456 if test ${ac_cv_prog_FLEX+y}
6457 then :
6458 printf %s "(cached) " >&6
6459 else $as_nop
6460 if test -n "$FLEX"; then
6461 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6462 else
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6464 for as_dir in $PATH
6466 IFS=$as_save_IFS
6467 case $as_dir in #(((
6468 '') as_dir=./ ;;
6469 */) ;;
6470 *) as_dir=$as_dir/ ;;
6471 esac
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6474 ac_cv_prog_FLEX="$ac_prog"
6475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6476 break 2
6478 done
6479 done
6480 IFS=$as_save_IFS
6484 FLEX=$ac_cv_prog_FLEX
6485 if test -n "$FLEX"; then
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6487 printf "%s\n" "$FLEX" >&6; }
6488 else
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 printf "%s\n" "no" >&6; }
6494 test -n "$FLEX" && break
6495 done
6496 test -n "$FLEX" || FLEX="none"
6498 if test "$FLEX" = "none"
6499 then
6500 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6503 printf %s "checking whether flex is recent enough... " >&6; }
6504 if test ${wine_cv_recent_flex+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else $as_nop
6508 cat >conftest.l <<EOF
6509 %top{
6510 #include "prediluvian.h"
6514 if $FLEX -t conftest.l >/dev/null 2>&5
6515 then
6516 wine_cv_recent_flex=yes
6517 else
6518 wine_cv_recent_flex=no
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6522 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6523 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
6525 for ac_prog in bison
6527 # Extract the first word of "$ac_prog", so it can be a program name with args.
6528 set dummy $ac_prog; ac_word=$2
6529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 printf %s "checking for $ac_word... " >&6; }
6531 if test ${ac_cv_prog_BISON+y}
6532 then :
6533 printf %s "(cached) " >&6
6534 else $as_nop
6535 if test -n "$BISON"; then
6536 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6537 else
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 for as_dir in $PATH
6541 IFS=$as_save_IFS
6542 case $as_dir in #(((
6543 '') as_dir=./ ;;
6544 */) ;;
6545 *) as_dir=$as_dir/ ;;
6546 esac
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_BISON="$ac_prog"
6550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6551 break 2
6553 done
6554 done
6555 IFS=$as_save_IFS
6559 BISON=$ac_cv_prog_BISON
6560 if test -n "$BISON"; then
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6562 printf "%s\n" "$BISON" >&6; }
6563 else
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 printf "%s\n" "no" >&6; }
6569 test -n "$BISON" && break
6570 done
6571 test -n "$BISON" || BISON="none"
6573 if test "$BISON" = "none"
6574 then
6575 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6578 printf %s "checking whether bison is recent enough... " >&6; }
6579 if test ${wine_cv_recent_bison+y}
6580 then :
6581 printf %s "(cached) " >&6
6582 else $as_nop
6583 cat >conftest.y <<EOF
6584 %define parse.error verbose
6586 empty: ;
6588 if $BISON conftest.y >/dev/null 2>&5
6589 then
6590 wine_cv_recent_bison=yes
6591 else
6592 wine_cv_recent_bison=no
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6596 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6597 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
6599 if test -n "$ac_tool_prefix"; then
6600 for ac_prog in ar gar
6602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 printf %s "checking for $ac_word... " >&6; }
6606 if test ${ac_cv_prog_AR+y}
6607 then :
6608 printf %s "(cached) " >&6
6609 else $as_nop
6610 if test -n "$AR"; then
6611 ac_cv_prog_AR="$AR" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6616 IFS=$as_save_IFS
6617 case $as_dir in #(((
6618 '') as_dir=./ ;;
6619 */) ;;
6620 *) as_dir=$as_dir/ ;;
6621 esac
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 AR=$ac_cv_prog_AR
6635 if test -n "$AR"; then
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6637 printf "%s\n" "$AR" >&6; }
6638 else
6639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 printf "%s\n" "no" >&6; }
6644 test -n "$AR" && break
6645 done
6647 if test -z "$AR"; then
6648 ac_ct_AR=$AR
6649 for ac_prog in ar gar
6651 # Extract the first word of "$ac_prog", so it can be a program name with args.
6652 set dummy $ac_prog; ac_word=$2
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 printf %s "checking for $ac_word... " >&6; }
6655 if test ${ac_cv_prog_ac_ct_AR+y}
6656 then :
6657 printf %s "(cached) " >&6
6658 else $as_nop
6659 if test -n "$ac_ct_AR"; then
6660 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 case $as_dir in #(((
6667 '') as_dir=./ ;;
6668 */) ;;
6669 *) as_dir=$as_dir/ ;;
6670 esac
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_ac_ct_AR="$ac_prog"
6674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6675 break 2
6677 done
6678 done
6679 IFS=$as_save_IFS
6683 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6684 if test -n "$ac_ct_AR"; then
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6686 printf "%s\n" "$ac_ct_AR" >&6; }
6687 else
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 printf "%s\n" "no" >&6; }
6693 test -n "$ac_ct_AR" && break
6694 done
6696 if test "x$ac_ct_AR" = x; then
6697 AR="ar"
6698 else
6699 case $cross_compiling:$ac_tool_warned in
6700 yes:)
6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6703 ac_tool_warned=yes ;;
6704 esac
6705 AR=$ac_ct_AR
6709 if test -n "$ac_tool_prefix"; then
6710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6711 set dummy ${ac_tool_prefix}strip; ac_word=$2
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713 printf %s "checking for $ac_word... " >&6; }
6714 if test ${ac_cv_prog_STRIP+y}
6715 then :
6716 printf %s "(cached) " >&6
6717 else $as_nop
6718 if test -n "$STRIP"; then
6719 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 case $as_dir in #(((
6726 '') as_dir=./ ;;
6727 */) ;;
6728 *) as_dir=$as_dir/ ;;
6729 esac
6730 for ac_exec_ext in '' $ac_executable_extensions; do
6731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6732 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6734 break 2
6736 done
6737 done
6738 IFS=$as_save_IFS
6742 STRIP=$ac_cv_prog_STRIP
6743 if test -n "$STRIP"; then
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6745 printf "%s\n" "$STRIP" >&6; }
6746 else
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6748 printf "%s\n" "no" >&6; }
6753 if test -z "$ac_cv_prog_STRIP"; then
6754 ac_ct_STRIP=$STRIP
6755 # Extract the first word of "strip", so it can be a program name with args.
6756 set dummy strip; ac_word=$2
6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758 printf %s "checking for $ac_word... " >&6; }
6759 if test ${ac_cv_prog_ac_ct_STRIP+y}
6760 then :
6761 printf %s "(cached) " >&6
6762 else $as_nop
6763 if test -n "$ac_ct_STRIP"; then
6764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6765 else
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6767 for as_dir in $PATH
6769 IFS=$as_save_IFS
6770 case $as_dir in #(((
6771 '') as_dir=./ ;;
6772 */) ;;
6773 *) as_dir=$as_dir/ ;;
6774 esac
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_ac_ct_STRIP="strip"
6778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6779 break 2
6781 done
6782 done
6783 IFS=$as_save_IFS
6787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6788 if test -n "$ac_ct_STRIP"; then
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6790 printf "%s\n" "$ac_ct_STRIP" >&6; }
6791 else
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 printf "%s\n" "no" >&6; }
6796 if test "x$ac_ct_STRIP" = x; then
6797 STRIP="strip"
6798 else
6799 case $cross_compiling:$ac_tool_warned in
6800 yes:)
6801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6804 esac
6805 STRIP=$ac_ct_STRIP
6807 else
6808 STRIP="$ac_cv_prog_STRIP"
6811 if test -n "$ac_tool_prefix"; then
6812 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6813 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815 printf %s "checking for $ac_word... " >&6; }
6816 if test ${ac_cv_prog_RANLIB+y}
6817 then :
6818 printf %s "(cached) " >&6
6819 else $as_nop
6820 if test -n "$RANLIB"; then
6821 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6822 else
6823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6824 for as_dir in $PATH
6826 IFS=$as_save_IFS
6827 case $as_dir in #(((
6828 '') as_dir=./ ;;
6829 */) ;;
6830 *) as_dir=$as_dir/ ;;
6831 esac
6832 for ac_exec_ext in '' $ac_executable_extensions; do
6833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6836 break 2
6838 done
6839 done
6840 IFS=$as_save_IFS
6844 RANLIB=$ac_cv_prog_RANLIB
6845 if test -n "$RANLIB"; then
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6847 printf "%s\n" "$RANLIB" >&6; }
6848 else
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 printf "%s\n" "no" >&6; }
6855 if test -z "$ac_cv_prog_RANLIB"; then
6856 ac_ct_RANLIB=$RANLIB
6857 # Extract the first word of "ranlib", so it can be a program name with args.
6858 set dummy ranlib; ac_word=$2
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 printf %s "checking for $ac_word... " >&6; }
6861 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6862 then :
6863 printf %s "(cached) " >&6
6864 else $as_nop
6865 if test -n "$ac_ct_RANLIB"; then
6866 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6867 else
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 for as_dir in $PATH
6871 IFS=$as_save_IFS
6872 case $as_dir in #(((
6873 '') as_dir=./ ;;
6874 */) ;;
6875 *) as_dir=$as_dir/ ;;
6876 esac
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6879 ac_cv_prog_ac_ct_RANLIB="ranlib"
6880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6881 break 2
6883 done
6884 done
6885 IFS=$as_save_IFS
6889 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6890 if test -n "$ac_ct_RANLIB"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6892 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6893 else
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 printf "%s\n" "no" >&6; }
6898 if test "x$ac_ct_RANLIB" = x; then
6899 RANLIB=":"
6900 else
6901 case $cross_compiling:$ac_tool_warned in
6902 yes:)
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned=yes ;;
6906 esac
6907 RANLIB=$ac_ct_RANLIB
6909 else
6910 RANLIB="$ac_cv_prog_RANLIB"
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6914 printf %s "checking whether ln -s works... " >&6; }
6915 LN_S=$as_ln_s
6916 if test "$LN_S" = "ln -s"; then
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6918 printf "%s\n" "yes" >&6; }
6919 else
6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6921 printf "%s\n" "no, using $LN_S" >&6; }
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6925 printf %s "checking for grep that handles long lines and -e... " >&6; }
6926 if test ${ac_cv_path_GREP+y}
6927 then :
6928 printf %s "(cached) " >&6
6929 else $as_nop
6930 if test -z "$GREP"; then
6931 ac_path_GREP_found=false
6932 # Loop through the user's path and test for each of PROGNAME-LIST
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6936 IFS=$as_save_IFS
6937 case $as_dir in #(((
6938 '') as_dir=./ ;;
6939 */) ;;
6940 *) as_dir=$as_dir/ ;;
6941 esac
6942 for ac_prog in grep ggrep
6944 for ac_exec_ext in '' $ac_executable_extensions; do
6945 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6946 as_fn_executable_p "$ac_path_GREP" || continue
6947 # Check for GNU ac_path_GREP and select it if it is found.
6948 # Check for GNU $ac_path_GREP
6949 case `"$ac_path_GREP" --version 2>&1` in
6950 *GNU*)
6951 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6953 ac_count=0
6954 printf %s 0123456789 >"conftest.in"
6955 while :
6957 cat "conftest.in" "conftest.in" >"conftest.tmp"
6958 mv "conftest.tmp" "conftest.in"
6959 cp "conftest.in" "conftest.nl"
6960 printf "%s\n" 'GREP' >> "conftest.nl"
6961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6963 as_fn_arith $ac_count + 1 && ac_count=$as_val
6964 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6965 # Best one so far, save it but keep looking for a better one
6966 ac_cv_path_GREP="$ac_path_GREP"
6967 ac_path_GREP_max=$ac_count
6969 # 10*(2^10) chars as input seems more than enough
6970 test $ac_count -gt 10 && break
6971 done
6972 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6973 esac
6975 $ac_path_GREP_found && break 3
6976 done
6977 done
6978 done
6979 IFS=$as_save_IFS
6980 if test -z "$ac_cv_path_GREP"; then
6981 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6983 else
6984 ac_cv_path_GREP=$GREP
6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6989 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6990 GREP="$ac_cv_path_GREP"
6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6994 printf %s "checking for egrep... " >&6; }
6995 if test ${ac_cv_path_EGREP+y}
6996 then :
6997 printf %s "(cached) " >&6
6998 else $as_nop
6999 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7000 then ac_cv_path_EGREP="$GREP -E"
7001 else
7002 if test -z "$EGREP"; then
7003 ac_path_EGREP_found=false
7004 # Loop through the user's path and test for each of PROGNAME-LIST
7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7008 IFS=$as_save_IFS
7009 case $as_dir in #(((
7010 '') as_dir=./ ;;
7011 */) ;;
7012 *) as_dir=$as_dir/ ;;
7013 esac
7014 for ac_prog in egrep
7016 for ac_exec_ext in '' $ac_executable_extensions; do
7017 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7018 as_fn_executable_p "$ac_path_EGREP" || continue
7019 # Check for GNU ac_path_EGREP and select it if it is found.
7020 # Check for GNU $ac_path_EGREP
7021 case `"$ac_path_EGREP" --version 2>&1` in
7022 *GNU*)
7023 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7025 ac_count=0
7026 printf %s 0123456789 >"conftest.in"
7027 while :
7029 cat "conftest.in" "conftest.in" >"conftest.tmp"
7030 mv "conftest.tmp" "conftest.in"
7031 cp "conftest.in" "conftest.nl"
7032 printf "%s\n" 'EGREP' >> "conftest.nl"
7033 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7034 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7035 as_fn_arith $ac_count + 1 && ac_count=$as_val
7036 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7037 # Best one so far, save it but keep looking for a better one
7038 ac_cv_path_EGREP="$ac_path_EGREP"
7039 ac_path_EGREP_max=$ac_count
7041 # 10*(2^10) chars as input seems more than enough
7042 test $ac_count -gt 10 && break
7043 done
7044 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7045 esac
7047 $ac_path_EGREP_found && break 3
7048 done
7049 done
7050 done
7051 IFS=$as_save_IFS
7052 if test -z "$ac_cv_path_EGREP"; then
7053 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7055 else
7056 ac_cv_path_EGREP=$EGREP
7061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7062 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7063 EGREP="$ac_cv_path_EGREP"
7066 # Extract the first word of "ldconfig", so it can be a program name with args.
7067 set dummy ldconfig; ac_word=$2
7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 printf %s "checking for $ac_word... " >&6; }
7070 if test ${ac_cv_path_LDCONFIG+y}
7071 then :
7072 printf %s "(cached) " >&6
7073 else $as_nop
7074 case $LDCONFIG in
7075 [\\/]* | ?:[\\/]*)
7076 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 for as_dir in /sbin /usr/sbin $PATH
7082 IFS=$as_save_IFS
7083 case $as_dir in #(((
7084 '') as_dir=./ ;;
7085 */) ;;
7086 *) as_dir=$as_dir/ ;;
7087 esac
7088 for ac_exec_ext in '' $ac_executable_extensions; do
7089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7090 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7092 break 2
7094 done
7095 done
7096 IFS=$as_save_IFS
7098 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7100 esac
7102 LDCONFIG=$ac_cv_path_LDCONFIG
7103 if test -n "$LDCONFIG"; then
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7105 printf "%s\n" "$LDCONFIG" >&6; }
7106 else
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108 printf "%s\n" "no" >&6; }
7112 for ac_prog in msgfmt
7114 # Extract the first word of "$ac_prog", so it can be a program name with args.
7115 set dummy $ac_prog; ac_word=$2
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 printf %s "checking for $ac_word... " >&6; }
7118 if test ${ac_cv_prog_MSGFMT+y}
7119 then :
7120 printf %s "(cached) " >&6
7121 else $as_nop
7122 if test -n "$MSGFMT"; then
7123 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7124 else
7125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7126 for as_dir in $PATH
7128 IFS=$as_save_IFS
7129 case $as_dir in #(((
7130 '') as_dir=./ ;;
7131 */) ;;
7132 *) as_dir=$as_dir/ ;;
7133 esac
7134 for ac_exec_ext in '' $ac_executable_extensions; do
7135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7136 ac_cv_prog_MSGFMT="$ac_prog"
7137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7138 break 2
7140 done
7141 done
7142 IFS=$as_save_IFS
7146 MSGFMT=$ac_cv_prog_MSGFMT
7147 if test -n "$MSGFMT"; then
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7149 printf "%s\n" "$MSGFMT" >&6; }
7150 else
7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7152 printf "%s\n" "no" >&6; }
7156 test -n "$MSGFMT" && break
7157 done
7158 test -n "$MSGFMT" || MSGFMT="false"
7160 if test ${ac_tool_prefix+y}
7161 then :
7162 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7163 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 printf %s "checking for $ac_word... " >&6; }
7166 if test ${ac_cv_prog_PKG_CONFIG+y}
7167 then :
7168 printf %s "(cached) " >&6
7169 else $as_nop
7170 if test -n "$PKG_CONFIG"; then
7171 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 case $as_dir in #(((
7178 '') as_dir=./ ;;
7179 */) ;;
7180 *) as_dir=$as_dir/ ;;
7181 esac
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 IFS=$as_save_IFS
7194 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7195 if test -n "$PKG_CONFIG"; then
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7197 printf "%s\n" "$PKG_CONFIG" >&6; }
7198 else
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 printf "%s\n" "no" >&6; }
7205 if ${ac_cv_prog_PKG_CONFIG:+false} :
7206 then :
7207 if test "x$cross_compiling" = xyes
7208 then :
7210 else $as_nop
7211 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7212 # Extract the first word of "pkg-config", so it can be a program name with args.
7213 set dummy pkg-config; ac_word=$2
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 printf %s "checking for $ac_word... " >&6; }
7216 if test ${ac_cv_prog_PKG_CONFIG+y}
7217 then :
7218 printf %s "(cached) " >&6
7219 else $as_nop
7220 if test -n "$PKG_CONFIG"; then
7221 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7222 else
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224 for as_dir in $PATH
7226 IFS=$as_save_IFS
7227 case $as_dir in #(((
7228 '') as_dir=./ ;;
7229 */) ;;
7230 *) as_dir=$as_dir/ ;;
7231 esac
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_PKG_CONFIG="pkg-config"
7235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7245 if test -n "$PKG_CONFIG"; then
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7247 printf "%s\n" "$PKG_CONFIG" >&6; }
7248 else
7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 printf "%s\n" "no" >&6; }
7255 else $as_nop
7256 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7259 if test "x$enable_maintainer_mode" != "xyes"
7260 then
7261 FONTFORGE=""
7262 RSVG=""
7263 CONVERT=""
7264 ICOTOOL=""
7265 else
7266 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7267 for ac_prog in fontforge
7269 # Extract the first word of "$ac_prog", so it can be a program name with args.
7270 set dummy $ac_prog; ac_word=$2
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 printf %s "checking for $ac_word... " >&6; }
7273 if test ${ac_cv_prog_FONTFORGE+y}
7274 then :
7275 printf %s "(cached) " >&6
7276 else $as_nop
7277 if test -n "$FONTFORGE"; then
7278 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 case $as_dir in #(((
7285 '') as_dir=./ ;;
7286 */) ;;
7287 *) as_dir=$as_dir/ ;;
7288 esac
7289 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7291 ac_cv_prog_FONTFORGE="$ac_prog"
7292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7293 break 2
7295 done
7296 done
7297 IFS=$as_save_IFS
7301 FONTFORGE=$ac_cv_prog_FONTFORGE
7302 if test -n "$FONTFORGE"; then
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7304 printf "%s\n" "$FONTFORGE" >&6; }
7305 else
7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 printf "%s\n" "no" >&6; }
7311 test -n "$FONTFORGE" && break
7312 done
7313 test -n "$FONTFORGE" || FONTFORGE="false"
7315 for ac_prog in rsvg-convert rsvg
7317 # Extract the first word of "$ac_prog", so it can be a program name with args.
7318 set dummy $ac_prog; ac_word=$2
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 printf %s "checking for $ac_word... " >&6; }
7321 if test ${ac_cv_prog_RSVG+y}
7322 then :
7323 printf %s "(cached) " >&6
7324 else $as_nop
7325 if test -n "$RSVG"; then
7326 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7327 else
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 for as_dir in $PATH
7331 IFS=$as_save_IFS
7332 case $as_dir in #(((
7333 '') as_dir=./ ;;
7334 */) ;;
7335 *) as_dir=$as_dir/ ;;
7336 esac
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_RSVG="$ac_prog"
7340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 RSVG=$ac_cv_prog_RSVG
7350 if test -n "$RSVG"; then
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7352 printf "%s\n" "$RSVG" >&6; }
7353 else
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 printf "%s\n" "no" >&6; }
7359 test -n "$RSVG" && break
7360 done
7361 test -n "$RSVG" || RSVG="false"
7363 for ac_prog in convert
7365 # Extract the first word of "$ac_prog", so it can be a program name with args.
7366 set dummy $ac_prog; ac_word=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s "checking for $ac_word... " >&6; }
7369 if test ${ac_cv_prog_CONVERT+y}
7370 then :
7371 printf %s "(cached) " >&6
7372 else $as_nop
7373 if test -n "$CONVERT"; then
7374 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7375 else
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 for as_dir in $PATH
7379 IFS=$as_save_IFS
7380 case $as_dir in #(((
7381 '') as_dir=./ ;;
7382 */) ;;
7383 *) as_dir=$as_dir/ ;;
7384 esac
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_CONVERT="$ac_prog"
7388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7389 break 2
7391 done
7392 done
7393 IFS=$as_save_IFS
7397 CONVERT=$ac_cv_prog_CONVERT
7398 if test -n "$CONVERT"; then
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7400 printf "%s\n" "$CONVERT" >&6; }
7401 else
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 printf "%s\n" "no" >&6; }
7407 test -n "$CONVERT" && break
7408 done
7409 test -n "$CONVERT" || CONVERT="false"
7411 for ac_prog in icotool
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy $ac_prog; ac_word=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s "checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_ICOTOOL+y}
7418 then :
7419 printf %s "(cached) " >&6
7420 else $as_nop
7421 if test -n "$ICOTOOL"; then
7422 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 case $as_dir in #(((
7429 '') as_dir=./ ;;
7430 */) ;;
7431 *) as_dir=$as_dir/ ;;
7432 esac
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_ICOTOOL="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 ICOTOOL=$ac_cv_prog_ICOTOOL
7446 if test -n "$ICOTOOL"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7448 printf "%s\n" "$ICOTOOL" >&6; }
7449 else
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$ICOTOOL" && break
7456 done
7457 test -n "$ICOTOOL" || ICOTOOL="false"
7459 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7460 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7462 if test "$CONVERT" = false
7463 then
7464 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7465 else
7466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7467 printf %s "checking for recent enough imagemagick... " >&6; }
7468 convert_version=`convert --version | head -n1`
7469 if test "x$convert_version" != "x"
7470 then
7471 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7472 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7473 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7474 then
7475 CONVERT=false
7478 if test "$CONVERT" = false
7479 then
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7481 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7482 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7485 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7489 if test "$ICOTOOL" = false
7490 then
7491 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7492 else
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7494 printf %s "checking for recent enough icotool... " >&6; }
7495 icotool_version=`icotool --version | head -n1`
7496 if test "x$icotool_version" != "x"
7497 then
7498 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7499 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7500 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7501 then
7502 ICOTOOL=false
7503 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7506 if test "$ICOTOOL" = false
7507 then
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7509 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7510 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7513 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7517 with_gettext=yes
7518 with_gettextpo=yes
7520 enable_werror=yes
7523 test "x$with_gettext" != xno || MSGFMT=false
7524 if test "$MSGFMT" != "false"
7525 then
7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7527 printf %s "checking whether msgfmt supports contexts... " >&6; }
7528 if test ${wine_cv_msgfmt_contexts+y}
7529 then :
7530 printf %s "(cached) " >&6
7531 else $as_nop
7532 cat >conftest.po <<EOF
7533 # comment
7534 msgctxt "ctxt"
7535 msgid "id"
7536 msgstr "str"
7538 if $MSGFMT -o /dev/null conftest.po 2>&5
7539 then
7540 wine_cv_msgfmt_contexts=yes
7541 else
7542 wine_cv_msgfmt_contexts=no
7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7546 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7547 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7549 if test "$MSGFMT" = false
7550 then :
7551 case "x$with_gettext" in
7552 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7553 xno) ;;
7554 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7555 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7556 esac
7557 enable_po=${enable_po:-no}
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7562 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7563 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7564 then :
7565 printf %s "(cached) " >&6
7566 else $as_nop
7567 ac_check_lib_save_LIBS=$LIBS
7568 LIBS="-li386 $LIBS"
7569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7570 /* end confdefs.h. */
7572 /* Override any GCC internal prototype to avoid an error.
7573 Use char because int might match the return type of a GCC
7574 builtin and then its argument prototype would still apply. */
7575 char i386_set_ldt ();
7577 main (void)
7579 return i386_set_ldt ();
7581 return 0;
7583 _ACEOF
7584 if ac_fn_c_try_link "$LINENO"
7585 then :
7586 ac_cv_lib_i386_i386_set_ldt=yes
7587 else $as_nop
7588 ac_cv_lib_i386_i386_set_ldt=no
7590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7591 conftest$ac_exeext conftest.$ac_ext
7592 LIBS=$ac_check_lib_save_LIBS
7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7595 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7596 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7597 then :
7598 I386_LIBS="-li386"
7603 OPENGL_LIBS=""
7607 # Check whether --enable-largefile was given.
7608 if test ${enable_largefile+y}
7609 then :
7610 enableval=$enable_largefile;
7613 if test "$enable_largefile" != no; then
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7616 printf %s "checking for special C compiler options needed for large files... " >&6; }
7617 if test ${ac_cv_sys_largefile_CC+y}
7618 then :
7619 printf %s "(cached) " >&6
7620 else $as_nop
7621 ac_cv_sys_largefile_CC=no
7622 if test "$GCC" != yes; then
7623 ac_save_CC=$CC
7624 while :; do
7625 # IRIX 6.2 and later do not support large files by default,
7626 # so use the C compiler's -n32 option if that helps.
7627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h. */
7629 #include <sys/types.h>
7630 /* Check that off_t can represent 2**63 - 1 correctly.
7631 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7632 since some C++ compilers masquerading as C compilers
7633 incorrectly reject 9223372036854775807. */
7634 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7635 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7636 && LARGE_OFF_T % 2147483647 == 1)
7637 ? 1 : -1];
7639 main (void)
7643 return 0;
7645 _ACEOF
7646 if ac_fn_c_try_compile "$LINENO"
7647 then :
7648 break
7650 rm -f core conftest.err conftest.$ac_objext conftest.beam
7651 CC="$CC -n32"
7652 if ac_fn_c_try_compile "$LINENO"
7653 then :
7654 ac_cv_sys_largefile_CC=' -n32'; break
7656 rm -f core conftest.err conftest.$ac_objext conftest.beam
7657 break
7658 done
7659 CC=$ac_save_CC
7660 rm -f conftest.$ac_ext
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7664 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7665 if test "$ac_cv_sys_largefile_CC" != no; then
7666 CC=$CC$ac_cv_sys_largefile_CC
7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7670 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7671 if test ${ac_cv_sys_file_offset_bits+y}
7672 then :
7673 printf %s "(cached) " >&6
7674 else $as_nop
7675 while :; do
7676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h. */
7678 #include <sys/types.h>
7679 /* Check that off_t can represent 2**63 - 1 correctly.
7680 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7681 since some C++ compilers masquerading as C compilers
7682 incorrectly reject 9223372036854775807. */
7683 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7684 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7685 && LARGE_OFF_T % 2147483647 == 1)
7686 ? 1 : -1];
7688 main (void)
7692 return 0;
7694 _ACEOF
7695 if ac_fn_c_try_compile "$LINENO"
7696 then :
7697 ac_cv_sys_file_offset_bits=no; break
7699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7702 #define _FILE_OFFSET_BITS 64
7703 #include <sys/types.h>
7704 /* Check that off_t can represent 2**63 - 1 correctly.
7705 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7706 since some C++ compilers masquerading as C compilers
7707 incorrectly reject 9223372036854775807. */
7708 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7709 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7710 && LARGE_OFF_T % 2147483647 == 1)
7711 ? 1 : -1];
7713 main (void)
7717 return 0;
7719 _ACEOF
7720 if ac_fn_c_try_compile "$LINENO"
7721 then :
7722 ac_cv_sys_file_offset_bits=64; break
7724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7725 ac_cv_sys_file_offset_bits=unknown
7726 break
7727 done
7729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7730 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7731 case $ac_cv_sys_file_offset_bits in #(
7732 no | unknown) ;;
7734 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7736 esac
7737 rm -rf conftest*
7738 if test $ac_cv_sys_file_offset_bits = unknown; then
7739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7740 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7741 if test ${ac_cv_sys_large_files+y}
7742 then :
7743 printf %s "(cached) " >&6
7744 else $as_nop
7745 while :; do
7746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 /* end confdefs.h. */
7748 #include <sys/types.h>
7749 /* Check that off_t can represent 2**63 - 1 correctly.
7750 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7751 since some C++ compilers masquerading as C compilers
7752 incorrectly reject 9223372036854775807. */
7753 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7754 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7755 && LARGE_OFF_T % 2147483647 == 1)
7756 ? 1 : -1];
7758 main (void)
7762 return 0;
7764 _ACEOF
7765 if ac_fn_c_try_compile "$LINENO"
7766 then :
7767 ac_cv_sys_large_files=no; break
7769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7772 #define _LARGE_FILES 1
7773 #include <sys/types.h>
7774 /* Check that off_t can represent 2**63 - 1 correctly.
7775 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7776 since some C++ compilers masquerading as C compilers
7777 incorrectly reject 9223372036854775807. */
7778 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7779 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7780 && LARGE_OFF_T % 2147483647 == 1)
7781 ? 1 : -1];
7783 main (void)
7787 return 0;
7789 _ACEOF
7790 if ac_fn_c_try_compile "$LINENO"
7791 then :
7792 ac_cv_sys_large_files=1; break
7794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7795 ac_cv_sys_large_files=unknown
7796 break
7797 done
7799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7800 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7801 case $ac_cv_sys_large_files in #(
7802 no | unknown) ;;
7804 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7806 esac
7807 rm -rf conftest*
7812 ac_header= ac_cache=
7813 for ac_item in $ac_header_c_list
7815 if test $ac_cache; then
7816 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7817 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7818 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7820 ac_header= ac_cache=
7821 elif test $ac_header; then
7822 ac_cache=$ac_item
7823 else
7824 ac_header=$ac_item
7826 done
7835 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7836 then :
7838 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_AL_al_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_CL_cl_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_EGL_egl_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_Security_Security_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_arpa_inet_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_asm_types_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_asm_user_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_elf_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_float_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_gettext_po_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_libproc_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_link_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_filter_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_input_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_major_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_param_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_linux_serial_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_linux_types_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_lwp_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_mach_mach_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_machine_cpu_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_mntent_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netdb_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_netinet_in_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_port_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_pthread_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_pwd_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_sched_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_scsi_sg_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_stdint_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_attr_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_auxv_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_cdio_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_epoll_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_event_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_extattr_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_filio_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_ipc_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_link_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_modem_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_mtio_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_param_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_prctl_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_queue_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_random_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_resource_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_shm_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_signal_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_sockio_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_strtio_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_syscall_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_times_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_uio_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_user_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_utsname_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_sys_vnode_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_xattr_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_syscall_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_utime_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8363 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8364 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8365 then :
8366 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8369 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8370 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8376 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8377 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8378 then :
8380 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8384 if test $ac_cv_header_sys_mkdev_h = no; then
8385 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8386 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8387 then :
8389 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8395 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8396 if test ${ac_cv_header_stat_broken+y}
8397 then :
8398 printf %s "(cached) " >&6
8399 else $as_nop
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8402 #include <sys/types.h>
8403 #include <sys/stat.h>
8405 #if defined S_ISBLK && defined S_IFDIR
8406 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8407 #endif
8409 #if defined S_ISBLK && defined S_IFCHR
8410 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8411 #endif
8413 #if defined S_ISLNK && defined S_IFREG
8414 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8415 #endif
8417 #if defined S_ISSOCK && defined S_IFREG
8418 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8419 #endif
8421 _ACEOF
8422 if ac_fn_c_try_compile "$LINENO"
8423 then :
8424 ac_cv_header_stat_broken=no
8425 else $as_nop
8426 ac_cv_header_stat_broken=yes
8428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8431 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8432 if test $ac_cv_header_stat_broken = yes; then
8434 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8443 #endif
8445 if test "x$ac_cv_header_sys_conf_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8451 #ifdef HAVE_SYS_PARAM_H
8452 # include <sys/param.h>
8453 #endif
8455 if test "x$ac_cv_header_sys_mount_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8460 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8461 #ifdef HAVE_SYS_PARAM_H
8462 # include <sys/param.h>
8463 #endif
8465 if test "x$ac_cv_header_sys_statfs_h" = xyes
8466 then :
8467 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8470 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8471 #ifdef HAVE_SYS_PARAM_H
8472 # include <sys/param.h>
8473 #endif
8475 if test "x$ac_cv_header_sys_user_h" = xyes
8476 then :
8477 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8480 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8481 #ifdef HAVE_SYS_PARAM_H
8482 # include <sys/param.h>
8483 #endif
8485 if test "x$ac_cv_header_sys_vfs_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8492 saved_sysctl_h_CFLAGS=$CFLAGS
8493 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8494 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8495 #ifdef HAVE_SYS_PARAM_H
8496 # include <sys/param.h>
8497 #endif
8499 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8500 then :
8501 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8505 CFLAGS=$saved_sysctl_h_CFLAGS
8507 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8511 #endif
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8520 #endif
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8526 #endif
8528 if test "x$ac_cv_header_netinet_ip_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8537 #endif
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8546 #endif
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8552 #endif
8554 if test "x$ac_cv_header_net_if_h" = xyes
8555 then :
8556 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8563 #endif
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8572 #endif
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8578 #endif
8580 if test "x$ac_cv_header_net_if_arp_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8589 #endif
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8598 #endif
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8604 #endif
8606 if test "x$ac_cv_header_net_if_dl_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8615 #endif
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8624 #endif
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8630 #endif
8632 if test "x$ac_cv_header_net_if_types_h" = xyes
8633 then :
8634 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8641 #endif
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8650 #endif
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8656 #endif
8658 if test "x$ac_cv_header_net_route_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8667 #endif
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8676 #endif
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8682 #endif
8684 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8685 then :
8686 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8693 #endif
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8702 #endif
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8708 #endif
8710 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8711 then :
8712 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8719 #endif
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8728 #endif
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8734 #endif
8736 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8737 then :
8738 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8745 #endif
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8754 #endif
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8760 #endif
8762 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8771 #endif
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8780 #endif
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8786 #endif
8788 if test "x$ac_cv_header_netinet_udp_h" = xyes
8789 then :
8790 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8797 #endif
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8806 #endif
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8812 #endif
8814 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8815 then :
8816 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NET_ROUTE_H
8825 # include <net/route.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8832 #endif
8833 #ifdef HAVE_NET_IF_H
8834 # include <net/if.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8838 #endif
8840 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8846 #include <sys/socket.h>
8847 #ifdef HAVE_SYS_SOCKETVAR_H
8848 # include <sys/socketvar.h>
8849 #endif
8850 #ifdef HAVE_NET_ROUTE_H
8851 # include <net/route.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_H
8854 # include <netinet/in.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_SYSTM_H
8857 # include <netinet/in_systm.h>
8858 #endif
8859 #ifdef HAVE_NET_IF_H
8860 # include <net/if.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_H
8863 # include <netinet/ip.h>
8864 #endif
8866 if test "x$ac_cv_header_sys_un_h" = xyes
8867 then :
8868 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8873 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8874 #include <sys/socket.h>
8875 #ifdef HAVE_SYS_SOCKETVAR_H
8876 # include <sys/socketvar.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_H
8879 # include <netinet/in.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_SYSTM_H
8882 # include <netinet/in_systm.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_H
8885 # include <netinet/ip.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_VAR_H
8888 # include <netinet/ip_var.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_ICMP_H
8891 # include <netinet/ip_icmp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_UDP_H
8894 # include <netinet/udp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_TCP_H
8897 # include <netinet/tcp.h>
8898 #endif
8900 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8901 then :
8902 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8905 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8906 #include <sys/socket.h>
8907 #ifdef HAVE_SYS_SOCKETVAR_H
8908 # include <sys/socketvar.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_H
8911 # include <netinet/in.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IN_SYSTM_H
8914 # include <netinet/in_systm.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_H
8917 # include <netinet/ip.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_VAR_H
8920 # include <netinet/ip_var.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_ICMP_H
8923 # include <netinet/ip_icmp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_UDP_H
8926 # include <netinet/udp.h>
8927 #endif
8928 #ifdef HAVE_NETINET_TCP_H
8929 # include <netinet/tcp.h>
8930 #endif
8932 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8933 then :
8934 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8937 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8938 #include <sys/socket.h>
8939 #ifdef HAVE_SYS_SOCKETVAR_H
8940 # include <sys/socketvar.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_H
8943 # include <netinet/in.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IN_SYSTM_H
8946 # include <netinet/in_systm.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_H
8949 # include <netinet/ip.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_VAR_H
8952 # include <netinet/ip_var.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_ICMP_H
8955 # include <netinet/ip_icmp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_UDP_H
8958 # include <netinet/udp.h>
8959 #endif
8960 #ifdef HAVE_NETINET_TCP_H
8961 # include <netinet/tcp.h>
8962 #endif
8964 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8965 then :
8966 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8969 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8970 #include <sys/socket.h>
8971 #ifdef HAVE_SYS_SOCKETVAR_H
8972 # include <sys/socketvar.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IN_H
8975 # include <netinet/in.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IN_SYSTM_H
8978 # include <netinet/in_systm.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IP_H
8981 # include <netinet/ip.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_VAR_H
8984 # include <netinet/ip_var.h>
8985 #endif
8986 #ifdef HAVE_NETINET_IP_ICMP_H
8987 # include <netinet/ip_icmp.h>
8988 #endif
8989 #ifdef HAVE_NETINET_UDP_H
8990 # include <netinet/udp.h>
8991 #endif
8992 #ifdef HAVE_NETINET_TCP_H
8993 # include <netinet/tcp.h>
8994 #endif
8996 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8997 then :
8998 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9004 #include <sys/socket.h>
9005 #ifdef HAVE_ASM_TYPES_H
9006 # include <asm/types.h>
9007 #endif
9008 #ifdef HAVE_LINUX_TYPES_H
9009 # include <linux/types.h>
9010 #endif
9012 if test "x$ac_cv_header_linux_ipx_h" = xyes
9013 then :
9014 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9017 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9018 #include <sys/socket.h>
9019 #ifdef HAVE_ASM_TYPES_H
9020 # include <asm/types.h>
9021 #endif
9022 #ifdef HAVE_LINUX_TYPES_H
9023 # include <linux/types.h>
9024 #endif
9026 if test "x$ac_cv_header_linux_irda_h" = xyes
9027 then :
9028 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9032 #include <sys/socket.h>
9033 #ifdef HAVE_ASM_TYPES_H
9034 # include <asm/types.h>
9035 #endif
9036 #ifdef HAVE_LINUX_TYPES_H
9037 # include <linux/types.h>
9038 #endif
9040 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9048 #include <sys/socket.h>
9049 #ifdef HAVE_NETINET_IN_H
9050 # include <netinet/in.h>
9051 #endif
9052 #ifdef HAVE_ARPA_NAMESER_H
9053 # include <arpa/nameser.h>
9054 #endif
9056 if test "x$ac_cv_header_resolv_h" = xyes
9057 then :
9058 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9063 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9065 if test "x$ac_cv_header_ifaddrs_h" = xyes
9066 then :
9067 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9072 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9074 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9082 #ifdef HAVE_SYS_UCONTEXT_H
9083 #include <sys/ucontext.h>
9084 #endif
9086 if test "x$ac_cv_header_sys_thr_h" = xyes
9087 then :
9088 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9093 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9094 #include <pthread.h>
9095 #endif
9097 if test "x$ac_cv_header_pthread_np_h" = xyes
9098 then :
9099 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9104 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9105 #include <sys/types.h>
9106 #ifdef HAVE_ASM_TYPES_H
9107 #include <asm/types.h>
9108 #endif
9110 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9111 then :
9112 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9117 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9118 #include <sys/param.h>
9119 #endif
9120 #include <sys/socket.h>
9121 #ifdef HAVE_SYS_QUEUE_H
9122 #include <sys/queue.h>
9123 #endif
9125 if test "x$ac_cv_header_libprocstat_h" = xyes
9126 then :
9127 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9132 if test "x$ac_cv_header_sys_xattr_h" = xyes
9133 then
9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9135 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9136 if test ${wine_cv_xattr_extra_args+y}
9137 then :
9138 printf %s "(cached) " >&6
9139 else $as_nop
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 #include <sys/xattr.h>
9144 main (void)
9146 getxattr("", "", "", 0, 0, 0);
9148 return 0;
9150 _ACEOF
9151 if ac_fn_c_try_compile "$LINENO"
9152 then :
9153 wine_cv_xattr_extra_args=yes
9154 else $as_nop
9155 wine_cv_xattr_extra_args=no
9157 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9160 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9161 test $wine_cv_xattr_extra_args != yes ||
9162 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9167 DLLFLAGS=""
9169 LDDLLFLAGS=""
9171 LDEXECFLAGS=""
9173 EXTRACFLAGS=""
9175 UNIXDLLFLAGS="-fPIC"
9177 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9179 TOP_INSTALL_LIB=""
9181 TOP_INSTALL_DEV=""
9183 WINELOADER_LDFLAGS=""
9185 WINEPRELOADER_LDFLAGS=""
9187 LIBEXT="so"
9188 # Extract the first word of "ldd", so it can be a program name with args.
9189 set dummy ldd; ac_word=$2
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 printf %s "checking for $ac_word... " >&6; }
9192 if test ${ac_cv_path_LDD+y}
9193 then :
9194 printf %s "(cached) " >&6
9195 else $as_nop
9196 case $LDD in
9197 [\\/]* | ?:[\\/]*)
9198 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9202 as_dummy="/sbin:/usr/sbin:$PATH"
9203 for as_dir in $as_dummy
9205 IFS=$as_save_IFS
9206 case $as_dir in #(((
9207 '') as_dir=./ ;;
9208 */) ;;
9209 *) as_dir=$as_dir/ ;;
9210 esac
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9213 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9215 break 2
9217 done
9218 done
9219 IFS=$as_save_IFS
9221 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9223 esac
9225 LDD=$ac_cv_path_LDD
9226 if test -n "$LDD"; then
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9228 printf "%s\n" "$LDD" >&6; }
9229 else
9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 printf "%s\n" "no" >&6; }
9235 if test -n "$ac_tool_prefix"; then
9236 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9237 set dummy ${ac_tool_prefix}otool; ac_word=$2
9238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9239 printf %s "checking for $ac_word... " >&6; }
9240 if test ${ac_cv_prog_OTOOL+y}
9241 then :
9242 printf %s "(cached) " >&6
9243 else $as_nop
9244 if test -n "$OTOOL"; then
9245 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9246 else
9247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9248 for as_dir in $PATH
9250 IFS=$as_save_IFS
9251 case $as_dir in #(((
9252 '') as_dir=./ ;;
9253 */) ;;
9254 *) as_dir=$as_dir/ ;;
9255 esac
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9258 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9260 break 2
9262 done
9263 done
9264 IFS=$as_save_IFS
9268 OTOOL=$ac_cv_prog_OTOOL
9269 if test -n "$OTOOL"; then
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9271 printf "%s\n" "$OTOOL" >&6; }
9272 else
9273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 printf "%s\n" "no" >&6; }
9279 if test -z "$ac_cv_prog_OTOOL"; then
9280 ac_ct_OTOOL=$OTOOL
9281 # Extract the first word of "otool", so it can be a program name with args.
9282 set dummy otool; ac_word=$2
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9284 printf %s "checking for $ac_word... " >&6; }
9285 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9286 then :
9287 printf %s "(cached) " >&6
9288 else $as_nop
9289 if test -n "$ac_ct_OTOOL"; then
9290 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9291 else
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9293 for as_dir in $PATH
9295 IFS=$as_save_IFS
9296 case $as_dir in #(((
9297 '') as_dir=./ ;;
9298 */) ;;
9299 *) as_dir=$as_dir/ ;;
9300 esac
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9303 ac_cv_prog_ac_ct_OTOOL="otool"
9304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9305 break 2
9307 done
9308 done
9309 IFS=$as_save_IFS
9313 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9314 if test -n "$ac_ct_OTOOL"; then
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9316 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9317 else
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 printf "%s\n" "no" >&6; }
9322 if test "x$ac_ct_OTOOL" = x; then
9323 OTOOL="otool"
9324 else
9325 case $cross_compiling:$ac_tool_warned in
9326 yes:)
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329 ac_tool_warned=yes ;;
9330 esac
9331 OTOOL=$ac_ct_OTOOL
9333 else
9334 OTOOL="$ac_cv_prog_OTOOL"
9337 if test -n "$ac_tool_prefix"; then
9338 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9339 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9341 printf %s "checking for $ac_word... " >&6; }
9342 if test ${ac_cv_prog_READELF+y}
9343 then :
9344 printf %s "(cached) " >&6
9345 else $as_nop
9346 if test -n "$READELF"; then
9347 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9348 else
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9350 for as_dir in $PATH
9352 IFS=$as_save_IFS
9353 case $as_dir in #(((
9354 '') as_dir=./ ;;
9355 */) ;;
9356 *) as_dir=$as_dir/ ;;
9357 esac
9358 for ac_exec_ext in '' $ac_executable_extensions; do
9359 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9360 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9362 break 2
9364 done
9365 done
9366 IFS=$as_save_IFS
9370 READELF=$ac_cv_prog_READELF
9371 if test -n "$READELF"; then
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9373 printf "%s\n" "$READELF" >&6; }
9374 else
9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 printf "%s\n" "no" >&6; }
9381 if test -z "$ac_cv_prog_READELF"; then
9382 ac_ct_READELF=$READELF
9383 # Extract the first word of "readelf", so it can be a program name with args.
9384 set dummy readelf; ac_word=$2
9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9386 printf %s "checking for $ac_word... " >&6; }
9387 if test ${ac_cv_prog_ac_ct_READELF+y}
9388 then :
9389 printf %s "(cached) " >&6
9390 else $as_nop
9391 if test -n "$ac_ct_READELF"; then
9392 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9393 else
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395 for as_dir in $PATH
9397 IFS=$as_save_IFS
9398 case $as_dir in #(((
9399 '') as_dir=./ ;;
9400 */) ;;
9401 *) as_dir=$as_dir/ ;;
9402 esac
9403 for ac_exec_ext in '' $ac_executable_extensions; do
9404 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9405 ac_cv_prog_ac_ct_READELF="readelf"
9406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9407 break 2
9409 done
9410 done
9411 IFS=$as_save_IFS
9415 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9416 if test -n "$ac_ct_READELF"; then
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9418 printf "%s\n" "$ac_ct_READELF" >&6; }
9419 else
9420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9421 printf "%s\n" "no" >&6; }
9424 if test "x$ac_ct_READELF" = x; then
9425 READELF="true"
9426 else
9427 case $cross_compiling:$ac_tool_warned in
9428 yes:)
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9430 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9431 ac_tool_warned=yes ;;
9432 esac
9433 READELF=$ac_ct_READELF
9435 else
9436 READELF="$ac_cv_prog_READELF"
9439 wine_rules="all:"
9440 SUBDIRS=""
9442 DISABLED_SUBDIRS=""
9444 CONFIGURE_TARGETS=""
9447 wine_fn_config_makefile ()
9449 as_fn_append SUBDIRS " \\$as_nl $1"
9450 eval enable=\$$2
9451 case "$enable" in
9452 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9453 *aarch64*|*arm*|*i386*|*x86_64*)
9454 if test -n "$PE_ARCHS"
9455 then
9456 for i in $PE_ARCHS
9458 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9459 done
9460 else
9461 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9462 fi;;
9463 esac
9466 wine_fn_config_symlink ()
9468 ac_links=$@
9469 as_fn_append wine_rules "
9470 $ac_links:
9471 @./config.status \$@"
9472 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9475 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9477 case $host_os in
9478 cygwin*|mingw32*)
9479 LIBEXT="dll"
9480 EXTRACFLAGS="-D__WINE_PE_BUILD"
9481 case $host_cpu in
9482 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9483 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9484 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9485 then :
9486 printf %s "(cached) " >&6
9487 else $as_nop
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"
9495 then :
9496 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9497 else $as_nop
9498 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9501 conftest$ac_exeext conftest.$ac_ext
9502 CFLAGS=$ac_wine_try_cflags_saved
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9505 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9506 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9507 then :
9508 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9509 fi ;;
9510 esac
9511 enable_loader=${enable_loader:-no}
9512 enable_server=${enable_server:-no}
9513 with_x=${with_x:-no}
9514 with_pthread=${with_pthread:-no}
9517 darwin*|macosx*)
9518 ac_ext=m
9519 ac_cpp='$OBJCPP $CPPFLAGS'
9520 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9521 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9522 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9524 ac_ext=m
9525 ac_cpp='$OBJCPP $CPPFLAGS'
9526 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9527 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9528 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9529 if test -n "$ac_tool_prefix"; then
9530 for ac_prog in gcc objcc objc cc CC clang
9532 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9535 printf %s "checking for $ac_word... " >&6; }
9536 if test ${ac_cv_prog_OBJC+y}
9537 then :
9538 printf %s "(cached) " >&6
9539 else $as_nop
9540 if test -n "$OBJC"; then
9541 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9542 else
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 for as_dir in $PATH
9546 IFS=$as_save_IFS
9547 case $as_dir in #(((
9548 '') as_dir=./ ;;
9549 */) ;;
9550 *) as_dir=$as_dir/ ;;
9551 esac
9552 for ac_exec_ext in '' $ac_executable_extensions; do
9553 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9554 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9556 break 2
9558 done
9559 done
9560 IFS=$as_save_IFS
9564 OBJC=$ac_cv_prog_OBJC
9565 if test -n "$OBJC"; then
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9567 printf "%s\n" "$OBJC" >&6; }
9568 else
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 printf "%s\n" "no" >&6; }
9574 test -n "$OBJC" && break
9575 done
9577 if test -z "$OBJC"; then
9578 ac_ct_OBJC=$OBJC
9579 for ac_prog in gcc objcc objc cc CC clang
9581 # Extract the first word of "$ac_prog", so it can be a program name with args.
9582 set dummy $ac_prog; ac_word=$2
9583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9584 printf %s "checking for $ac_word... " >&6; }
9585 if test ${ac_cv_prog_ac_ct_OBJC+y}
9586 then :
9587 printf %s "(cached) " >&6
9588 else $as_nop
9589 if test -n "$ac_ct_OBJC"; then
9590 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9591 else
9592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593 for as_dir in $PATH
9595 IFS=$as_save_IFS
9596 case $as_dir in #(((
9597 '') as_dir=./ ;;
9598 */) ;;
9599 *) as_dir=$as_dir/ ;;
9600 esac
9601 for ac_exec_ext in '' $ac_executable_extensions; do
9602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9603 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9605 break 2
9607 done
9608 done
9609 IFS=$as_save_IFS
9613 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9614 if test -n "$ac_ct_OBJC"; then
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9616 printf "%s\n" "$ac_ct_OBJC" >&6; }
9617 else
9618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9619 printf "%s\n" "no" >&6; }
9623 test -n "$ac_ct_OBJC" && break
9624 done
9626 if test "x$ac_ct_OBJC" = x; then
9627 OBJC="gcc"
9628 else
9629 case $cross_compiling:$ac_tool_warned in
9630 yes:)
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9632 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9633 ac_tool_warned=yes ;;
9634 esac
9635 OBJC=$ac_ct_OBJC
9639 # Provide some information about the compiler.
9640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9641 set X $ac_compile
9642 ac_compiler=$2
9643 for ac_option in --version -v -V -qversion; do
9644 { { ac_try="$ac_compiler $ac_option >&5"
9645 case "(($ac_try" in
9646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9647 *) ac_try_echo=$ac_try;;
9648 esac
9649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9650 printf "%s\n" "$ac_try_echo"; } >&5
9651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9652 ac_status=$?
9653 if test -s conftest.err; then
9654 sed '10a\
9655 ... rest of stderr output deleted ...
9656 10q' conftest.err >conftest.er1
9657 cat conftest.er1 >&5
9659 rm -f conftest.er1 conftest.err
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9661 test $ac_status = 0; }
9662 done
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9665 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9666 if test ${ac_cv_objc_compiler_gnu+y}
9667 then :
9668 printf %s "(cached) " >&6
9669 else $as_nop
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9674 main (void)
9676 #ifndef __GNUC__
9677 choke me
9678 #endif
9681 return 0;
9683 _ACEOF
9684 if ac_fn_objc_try_compile "$LINENO"
9685 then :
9686 ac_compiler_gnu=yes
9687 else $as_nop
9688 ac_compiler_gnu=no
9690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9691 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9695 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9696 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9698 if test $ac_compiler_gnu = yes; then
9699 GOBJC=yes
9700 else
9701 GOBJC=
9703 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9704 ac_save_OBJCFLAGS=$OBJCFLAGS
9705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9706 printf %s "checking whether $OBJC accepts -g... " >&6; }
9707 if test ${ac_cv_prog_objc_g+y}
9708 then :
9709 printf %s "(cached) " >&6
9710 else $as_nop
9711 ac_save_objc_werror_flag=$ac_objc_werror_flag
9712 ac_objc_werror_flag=yes
9713 ac_cv_prog_objc_g=no
9714 OBJCFLAGS="-g"
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main (void)
9723 return 0;
9725 _ACEOF
9726 if ac_fn_objc_try_compile "$LINENO"
9727 then :
9728 ac_cv_prog_objc_g=yes
9729 else $as_nop
9730 OBJCFLAGS=""
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9735 main (void)
9739 return 0;
9741 _ACEOF
9742 if ac_fn_objc_try_compile "$LINENO"
9743 then :
9745 else $as_nop
9746 ac_objc_werror_flag=$ac_save_objc_werror_flag
9747 OBJCFLAGS="-g"
9748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9752 main (void)
9756 return 0;
9758 _ACEOF
9759 if ac_fn_objc_try_compile "$LINENO"
9760 then :
9761 ac_cv_prog_objc_g=yes
9763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9768 ac_objc_werror_flag=$ac_save_objc_werror_flag
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9771 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9772 if test $ac_test_OBJCFLAGS; then
9773 OBJCFLAGS=$ac_save_OBJCFLAGS
9774 elif test $ac_cv_prog_objc_g = yes; then
9775 if test "$GOBJC" = yes; then
9776 OBJCFLAGS="-g -O2"
9777 else
9778 OBJCFLAGS="-g"
9780 else
9781 if test "$GOBJC" = yes; then
9782 OBJCFLAGS="-O2"
9783 else
9784 OBJCFLAGS=
9787 ac_ext=m
9788 ac_cpp='$OBJCPP $CPPFLAGS'
9789 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9790 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9791 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9794 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9795 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9796 then :
9797 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9801 ac_ext=c
9802 ac_cpp='$CPP $CPPFLAGS'
9803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9807 LIBEXT="dylib"
9808 DLLFLAGS="$DLLFLAGS -fPIC"
9809 LDDLLFLAGS="-fPIC"
9810 COREFOUNDATION_LIBS="-framework CoreFoundation"
9812 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9814 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9816 CORESERVICES_LIBS="-framework CoreServices"
9818 APPKIT_LIBS="-framework AppKit"
9820 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9823 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9825 wine_can_build_preloader=yes
9826 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"
9827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9828 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9829 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9830 then :
9831 printf %s "(cached) " >&6
9832 else $as_nop
9833 ac_wine_try_cflags_saved=$CFLAGS
9834 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 int main(int argc, char **argv) { return 0; }
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"
9840 then :
9841 ac_cv_cflags__Wl__no_new_main__e__main=yes
9842 else $as_nop
9843 ac_cv_cflags__Wl__no_new_main__e__main=no
9845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9846 conftest$ac_exeext conftest.$ac_ext
9847 CFLAGS=$ac_wine_try_cflags_saved
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9850 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9851 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9852 then :
9853 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9854 { 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
9855 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9856 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9857 then :
9858 printf %s "(cached) " >&6
9859 else $as_nop
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int main(int argc, char **argv) { return 0; }
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"
9867 then :
9868 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9869 else $as_nop
9870 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9873 conftest$ac_exeext conftest.$ac_ext
9874 CFLAGS=$ac_wine_try_cflags_saved
9876 { 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
9877 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9878 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9879 then :
9880 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9881 else $as_nop
9882 wine_can_build_preloader=no
9884 else $as_nop
9885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9886 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9887 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9888 then :
9889 printf %s "(cached) " >&6
9890 else $as_nop
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int main(int argc, char **argv) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"
9898 then :
9899 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9900 else $as_nop
9901 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9903 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9904 conftest$ac_exeext conftest.$ac_ext
9905 CFLAGS=$ac_wine_try_cflags_saved
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9908 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9909 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9910 then :
9911 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9912 else $as_nop
9913 wine_can_build_preloader=no
9916 if test "$wine_can_build_preloader" = "yes"
9917 then
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9919 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9920 if test ${ac_cv_cflags__Wl__no_pie+y}
9921 then :
9922 printf %s "(cached) " >&6
9923 else $as_nop
9924 ac_wine_try_cflags_saved=$CFLAGS
9925 CFLAGS="$CFLAGS -Wl,-no_pie"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 int main(int argc, char **argv) { return 0; }
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"
9931 then :
9932 ac_cv_cflags__Wl__no_pie=yes
9933 else $as_nop
9934 ac_cv_cflags__Wl__no_pie=no
9936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9937 conftest$ac_exeext conftest.$ac_ext
9938 CFLAGS=$ac_wine_try_cflags_saved
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9941 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9942 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9943 then :
9944 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9946 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9947 else
9948 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9951 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9952 then
9953 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9956 if test "$ac_cv_header_Security_Security_h" = "yes"
9957 then
9958 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9961 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9962 then
9963 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9965 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9967 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9968 then
9969 OPENCL_LIBS="-framework OpenCL"
9971 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9973 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9974 then
9975 ac_save_LIBS="$LIBS"
9976 LIBS="$LIBS $IOKIT_LIBS"
9977 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9978 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9979 then :
9980 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9984 LIBS="$ac_save_LIBS"
9987 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9988 then
9989 CARBON_LIBS="-framework Carbon"
9992 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9993 then
9994 METAL_LIBS="-framework Metal"
9998 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9999 then
10000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10001 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10002 ac_ext=m
10003 ac_cpp='$OBJCPP $CPPFLAGS'
10004 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10005 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10006 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10010 #include <Metal/Metal.h>
10012 main (void)
10014 id<MTLDevice> device; device.registryID;
10016 return 0;
10018 _ACEOF
10019 if ac_fn_objc_try_compile "$LINENO"
10020 then :
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10022 printf "%s\n" "yes" >&6; }
10024 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10026 else $as_nop
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 printf "%s\n" "no" >&6; }
10030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10031 ac_ext=c
10032 ac_cpp='$CPP $CPPFLAGS'
10033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10039 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10040 then
10041 ac_save_LIBS="$LIBS"
10042 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10043 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10044 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10045 then :
10046 enable_winemac_drv=${enable_winemac_drv:-yes}
10049 LIBS="$ac_save_LIBS"
10052 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10053 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10055 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10057 WINELOADER_DEPENDS="wine_info.plist"
10059 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10062 linux-android*)
10064 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10066 DLLFLAGS="$DLLFLAGS -fPIC"
10067 LDDLLFLAGS="-fPIC"
10068 LDEXECFLAGS="-Wl,-pie"
10069 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10071 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10072 if test ${ac_cv_cflags__Wl__z_defs+y}
10073 then :
10074 printf %s "(cached) " >&6
10075 else $as_nop
10076 ac_wine_try_cflags_saved=$CFLAGS
10077 CFLAGS="$CFLAGS -Wl,-z,defs"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10080 int main(int argc, char **argv) { return 0; }
10081 _ACEOF
10082 if ac_fn_c_try_link "$LINENO"
10083 then :
10084 ac_cv_cflags__Wl__z_defs=yes
10085 else $as_nop
10086 ac_cv_cflags__Wl__z_defs=no
10088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10093 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10094 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10095 then :
10096 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10099 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10100 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10101 then :
10102 printf %s "(cached) " >&6
10103 else $as_nop
10104 ac_wine_try_cflags_saved=$CFLAGS
10105 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10108 int main(int argc, char **argv) { return 0; }
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"
10111 then :
10112 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10113 else $as_nop
10114 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10117 conftest$ac_exeext conftest.$ac_ext
10118 CFLAGS=$ac_wine_try_cflags_saved
10120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10121 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10122 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10123 then :
10124 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10126 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10129 printf %s "checking for -lEGL... " >&6; }
10130 if test ${ac_cv_lib_soname_EGL+y}
10131 then :
10132 printf %s "(cached) " >&6
10133 else $as_nop
10134 ac_check_soname_save_LIBS=$LIBS
10135 LIBS="-lEGL $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 char eglGetProcAddress ();
10144 main (void)
10146 return eglGetProcAddress ();
10148 return 0;
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"
10152 then :
10153 case "$LIBEXT" in
10154 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10155 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'` ;;
10156 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10157 if ${ac_cv_lib_soname_EGL:+false} :
10158 then :
10159 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10160 fi ;;
10161 esac
10162 else $as_nop
10163 ac_cv_lib_soname_EGL=
10165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10166 conftest$ac_exeext conftest.$ac_ext
10167 LIBS=$ac_check_soname_save_LIBS
10169 if ${ac_cv_lib_soname_EGL:+false} :
10170 then :
10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10172 printf "%s\n" "not found" >&6; }
10174 else $as_nop
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10176 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10178 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10183 printf %s "checking for -lGLESv2... " >&6; }
10184 if test ${ac_cv_lib_soname_GLESv2+y}
10185 then :
10186 printf %s "(cached) " >&6
10187 else $as_nop
10188 ac_check_soname_save_LIBS=$LIBS
10189 LIBS="-lGLESv2 $LIBS"
10190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10196 char glFlush ();
10198 main (void)
10200 return glFlush ();
10202 return 0;
10204 _ACEOF
10205 if ac_fn_c_try_link "$LINENO"
10206 then :
10207 case "$LIBEXT" in
10208 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 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'` ;;
10210 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if ${ac_cv_lib_soname_GLESv2:+false} :
10212 then :
10213 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10214 fi ;;
10215 esac
10216 else $as_nop
10217 ac_cv_lib_soname_GLESv2=
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_GLESv2:+false} :
10224 then :
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10226 printf "%s\n" "not found" >&6; }
10228 else $as_nop
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10230 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10232 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10237 if test "x$exec_prefix" = xNONE
10238 then
10239 case $host_cpu in
10240 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10241 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10242 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10243 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10244 esac
10250 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10252 test "$ac_cv_sys_file_offset_bits" = 64 &&
10253 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10255 case $host_cpu in
10256 *i[3456789]86*)
10257 DLLFLAGS="$DLLFLAGS -fno-PIC"
10258 LDDLLFLAGS="-fno-PIC"
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10260 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10261 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10262 then :
10263 printf %s "(cached) " >&6
10264 else $as_nop
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"
10272 then :
10273 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10274 else $as_nop
10275 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10282 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10283 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10284 then :
10285 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10289 DLLFLAGS="$DLLFLAGS -fPIC"
10290 LDDLLFLAGS="-fPIC" ;;
10291 esac
10292 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10294 echo '{ global: *; };' >conftest.map
10295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10296 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10297 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10298 then :
10299 printf %s "(cached) " >&6
10300 else $as_nop
10301 ac_wine_try_cflags_saved=$CFLAGS
10302 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10304 /* end confdefs.h. */
10305 int main(int argc, char **argv) { return 0; }
10306 _ACEOF
10307 if ac_fn_c_try_link "$LINENO"
10308 then :
10309 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10310 else $as_nop
10311 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10314 conftest$ac_exeext conftest.$ac_ext
10315 CFLAGS=$ac_wine_try_cflags_saved
10317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10318 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10319 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10320 then :
10321 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10323 rm -f conftest.map
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10326 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10327 if test ${ac_cv_cflags__Wl__z_defs+y}
10328 then :
10329 printf %s "(cached) " >&6
10330 else $as_nop
10331 ac_wine_try_cflags_saved=$CFLAGS
10332 CFLAGS="$CFLAGS -Wl,-z,defs"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 int main(int argc, char **argv) { return 0; }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"
10338 then :
10339 ac_cv_cflags__Wl__z_defs=yes
10340 else $as_nop
10341 ac_cv_cflags__Wl__z_defs=no
10343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10344 conftest$ac_exeext conftest.$ac_ext
10345 CFLAGS=$ac_wine_try_cflags_saved
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10348 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10349 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10350 then :
10351 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10354 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10355 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10356 then :
10357 printf %s "(cached) " >&6
10358 else $as_nop
10359 ac_wine_try_cflags_saved=$CFLAGS
10360 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10362 /* end confdefs.h. */
10363 int main(int argc, char **argv) { return 0; }
10364 _ACEOF
10365 if ac_fn_c_try_link "$LINENO"
10366 then :
10367 ac_cv_cflags__Wl___export_dynamic=yes
10368 else $as_nop
10369 ac_cv_cflags__Wl___export_dynamic=no
10371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10372 conftest$ac_exeext conftest.$ac_ext
10373 CFLAGS=$ac_wine_try_cflags_saved
10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10376 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10377 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10378 then :
10379 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10381 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10383 case $host_cpu in
10384 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10386 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10387 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10388 then :
10389 printf %s "(cached) " >&6
10390 else $as_nop
10391 ac_wine_try_cflags_saved=$CFLAGS
10392 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 int main(int argc, char **argv) { return 0; }
10396 _ACEOF
10397 if ac_fn_c_try_link "$LINENO"
10398 then :
10399 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10400 else $as_nop
10401 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10404 conftest$ac_exeext conftest.$ac_ext
10405 CFLAGS=$ac_wine_try_cflags_saved
10407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10408 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10409 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10410 then :
10411 case $host_os in
10412 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10413 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10414 esac
10415 else $as_nop
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10417 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10418 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10419 then :
10420 printf %s "(cached) " >&6
10421 else $as_nop
10422 ac_wine_try_cflags_saved=$CFLAGS
10423 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10425 /* end confdefs.h. */
10426 int main(int argc, char **argv) { return 0; }
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"
10429 then :
10430 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10431 else $as_nop
10432 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10435 conftest$ac_exeext conftest.$ac_ext
10436 CFLAGS=$ac_wine_try_cflags_saved
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10439 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10440 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10441 then :
10442 case $host_os in
10443 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10444 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10445 esac
10447 # Extract the first word of "prelink", so it can be a program name with args.
10448 set dummy prelink; ac_word=$2
10449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10450 printf %s "checking for $ac_word... " >&6; }
10451 if test ${ac_cv_path_PRELINK+y}
10452 then :
10453 printf %s "(cached) " >&6
10454 else $as_nop
10455 case $PRELINK in
10456 [\\/]* | ?:[\\/]*)
10457 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10461 for as_dir in /sbin /usr/sbin $PATH
10463 IFS=$as_save_IFS
10464 case $as_dir in #(((
10465 '') as_dir=./ ;;
10466 */) ;;
10467 *) as_dir=$as_dir/ ;;
10468 esac
10469 for ac_exec_ext in '' $ac_executable_extensions; do
10470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10471 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10473 break 2
10475 done
10476 done
10477 IFS=$as_save_IFS
10479 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10481 esac
10483 PRELINK=$ac_cv_path_PRELINK
10484 if test -n "$PRELINK"; then
10485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10486 printf "%s\n" "$PRELINK" >&6; }
10487 else
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10489 printf "%s\n" "no" >&6; }
10493 if test "x$PRELINK" = xfalse
10494 then
10495 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10499 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10500 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10501 then :
10502 printf %s "(cached) " >&6
10503 else $as_nop
10504 ac_wine_try_cflags_saved=$CFLAGS
10505 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10508 int main(int argc, char **argv) { return 0; }
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"
10511 then :
10512 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10513 else $as_nop
10514 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10517 conftest$ac_exeext conftest.$ac_ext
10518 CFLAGS=$ac_wine_try_cflags_saved
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10521 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10522 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10523 then :
10524 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10527 esac
10528 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10530 LIBWINE_DEPENDS="wine.map"
10532 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10534 esac
10536 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10537 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10538 enable_winemac_drv=${enable_winemac_drv:-no}
10540 PE_ARCHS=""
10542 cross_archs=
10543 if test ${enable_archs+y}
10544 then :
10545 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10546 ac_save_IFS=$IFS
10547 IFS=' ,'
10548 set x $enable_archs
10549 IFS=$ac_save_IFS
10550 shift
10551 for arch
10553 case $arch in
10554 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10555 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10556 esac
10557 done
10558 else $as_nop
10559 if test "x$with_mingw" != xno
10560 then
10561 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10562 case "x$with_mingw" in
10563 x|xyes) ;;
10564 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10565 esac
10569 for wine_arch in $cross_archs
10571 if eval \${${wine_arch}_CC:+false} :
10572 then :
10573 case $wine_arch in
10574 aarch64)
10575 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10577 # Extract the first word of "$ac_prog", so it can be a program name with args.
10578 set dummy $ac_prog; ac_word=$2
10579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10580 printf %s "checking for $ac_word... " >&6; }
10581 if test ${ac_cv_prog_aarch64_CC+y}
10582 then :
10583 printf %s "(cached) " >&6
10584 else $as_nop
10585 if test -n "$aarch64_CC"; then
10586 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10587 else
10588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10589 for as_dir in $PATH
10591 IFS=$as_save_IFS
10592 case $as_dir in #(((
10593 '') as_dir=./ ;;
10594 */) ;;
10595 *) as_dir=$as_dir/ ;;
10596 esac
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10599 ac_cv_prog_aarch64_CC="$ac_prog"
10600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10601 break 2
10603 done
10604 done
10605 IFS=$as_save_IFS
10609 aarch64_CC=$ac_cv_prog_aarch64_CC
10610 if test -n "$aarch64_CC"; then
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10612 printf "%s\n" "$aarch64_CC" >&6; }
10613 else
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10615 printf "%s\n" "no" >&6; }
10619 test -n "$aarch64_CC" && break
10620 done
10621 test -n "$aarch64_CC" || aarch64_CC="false"
10624 arm)
10625 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10627 # Extract the first word of "$ac_prog", so it can be a program name with args.
10628 set dummy $ac_prog; ac_word=$2
10629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10630 printf %s "checking for $ac_word... " >&6; }
10631 if test ${ac_cv_prog_arm_CC+y}
10632 then :
10633 printf %s "(cached) " >&6
10634 else $as_nop
10635 if test -n "$arm_CC"; then
10636 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10637 else
10638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639 for as_dir in $PATH
10641 IFS=$as_save_IFS
10642 case $as_dir in #(((
10643 '') as_dir=./ ;;
10644 */) ;;
10645 *) as_dir=$as_dir/ ;;
10646 esac
10647 for ac_exec_ext in '' $ac_executable_extensions; do
10648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10649 ac_cv_prog_arm_CC="$ac_prog"
10650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10651 break 2
10653 done
10654 done
10655 IFS=$as_save_IFS
10659 arm_CC=$ac_cv_prog_arm_CC
10660 if test -n "$arm_CC"; then
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10662 printf "%s\n" "$arm_CC" >&6; }
10663 else
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665 printf "%s\n" "no" >&6; }
10669 test -n "$arm_CC" && break
10670 done
10671 test -n "$arm_CC" || arm_CC="false"
10674 i386)
10675 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 "
10676 for ac_prog in $ac_prefix_list clang
10678 # Extract the first word of "$ac_prog", so it can be a program name with args.
10679 set dummy $ac_prog; ac_word=$2
10680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10681 printf %s "checking for $ac_word... " >&6; }
10682 if test ${ac_cv_prog_i386_CC+y}
10683 then :
10684 printf %s "(cached) " >&6
10685 else $as_nop
10686 if test -n "$i386_CC"; then
10687 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10688 else
10689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10690 for as_dir in $PATH
10692 IFS=$as_save_IFS
10693 case $as_dir in #(((
10694 '') as_dir=./ ;;
10695 */) ;;
10696 *) as_dir=$as_dir/ ;;
10697 esac
10698 for ac_exec_ext in '' $ac_executable_extensions; do
10699 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10700 ac_cv_prog_i386_CC="$ac_prog"
10701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10702 break 2
10704 done
10705 done
10706 IFS=$as_save_IFS
10710 i386_CC=$ac_cv_prog_i386_CC
10711 if test -n "$i386_CC"; then
10712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10713 printf "%s\n" "$i386_CC" >&6; }
10714 else
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10716 printf "%s\n" "no" >&6; }
10720 test -n "$i386_CC" && break
10721 done
10722 test -n "$i386_CC" || i386_CC="false"
10725 x86_64)
10726 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10727 for ac_prog in $ac_prefix_list clang
10729 # Extract the first word of "$ac_prog", so it can be a program name with args.
10730 set dummy $ac_prog; ac_word=$2
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10732 printf %s "checking for $ac_word... " >&6; }
10733 if test ${ac_cv_prog_x86_64_CC+y}
10734 then :
10735 printf %s "(cached) " >&6
10736 else $as_nop
10737 if test -n "$x86_64_CC"; then
10738 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10739 else
10740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10741 for as_dir in $PATH
10743 IFS=$as_save_IFS
10744 case $as_dir in #(((
10745 '') as_dir=./ ;;
10746 */) ;;
10747 *) as_dir=$as_dir/ ;;
10748 esac
10749 for ac_exec_ext in '' $ac_executable_extensions; do
10750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10751 ac_cv_prog_x86_64_CC="$ac_prog"
10752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10753 break 2
10755 done
10756 done
10757 IFS=$as_save_IFS
10761 x86_64_CC=$ac_cv_prog_x86_64_CC
10762 if test -n "$x86_64_CC"; then
10763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10764 printf "%s\n" "$x86_64_CC" >&6; }
10765 else
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 printf "%s\n" "no" >&6; }
10771 test -n "$x86_64_CC" && break
10772 done
10773 test -n "$x86_64_CC" || x86_64_CC="false"
10776 esac
10779 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10780 then :
10781 continue
10784 saved_CC=$CC
10785 saved_CFLAGS=$CFLAGS
10787 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10788 eval CC=\$${wine_arch}_CC
10789 eval ${wine_arch}_CFLAGS=\$CFLAGS
10790 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10791 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10793 target=""
10794 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10797 printf %s "checking whether $CC works... " >&6; }
10798 if eval test \${$as_wine_cv_crosscc+y}
10799 then :
10800 printf %s "(cached) " >&6
10801 else $as_nop
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10806 main (void)
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_compile "$LINENO"
10814 then :
10815 eval "$as_wine_cv_crosscc=yes"
10816 else $as_nop
10817 eval "$as_wine_cv_crosscc=no"
10819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10821 eval ac_res=\$$as_wine_cv_crosscc
10822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10823 printf "%s\n" "$ac_res" >&6; }
10824 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10825 then :
10826 set x $CC
10827 shift
10828 while test $# -ge 1
10830 case "$1" in
10831 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10832 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10833 esac
10834 shift
10835 done
10837 llvm_target=$target
10838 llvm_cflags="-fuse-ld=lld"
10839 if test -z "$llvm_target"
10840 then
10841 case $wine_arch in
10842 i386) llvm_target=i686-windows ;;
10843 arm) llvm_target=armv7-windows ;;
10844 *) llvm_target=$wine_arch-windows ;;
10845 esac
10847 case $llvm_target in
10848 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10849 esac
10850 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10852 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10853 if eval test \${$as_ac_var+y}
10854 then :
10855 printf %s "(cached) " >&6
10856 else $as_nop
10857 ac_wine_try_cflags_saved=$CFLAGS
10858 ac_wine_try_cflags_saved_exeext=$ac_exeext
10859 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10860 ac_exeext=".exe"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 int __cdecl mainCRTStartup(void) { return 0; }
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"
10866 then :
10867 eval "$as_ac_var=yes"
10868 else $as_nop
10869 eval "$as_ac_var=no"
10871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10872 conftest$ac_exeext conftest.$ac_ext
10873 CFLAGS=$ac_wine_try_cflags_saved
10874 ac_exeext=$ac_wine_try_cflags_saved_exeext
10876 eval ac_res=\$$as_ac_var
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10878 printf "%s\n" "$ac_res" >&6; }
10879 if eval test \"x\$"$as_ac_var"\" = x"yes"
10880 then :
10881 target=$llvm_target
10882 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10883 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10884 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10885 fi }
10886 eval "${wine_arch}_TARGET=\$target"
10890 if test -z "$target"
10891 then
10892 CC=$saved_CC
10893 CFLAGS=$saved_CFLAGS
10894 continue
10896 as_fn_append PE_ARCHS " $wine_arch"
10898 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10901 printf %s "checking for $CC option to enable C99 features... " >&6; }
10902 if eval test \${$as_wine_cv_crosscc_c99+y}
10903 then :
10904 printf %s "(cached) " >&6
10905 else $as_nop
10906 eval "$as_wine_cv_crosscc_c99=no"
10907 for arg in '' '-std=gnu99'
10909 test -z "$arg" || CC="$CC $arg"
10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10911 /* end confdefs.h. */
10912 $ac_c_conftest_c99_program
10913 _ACEOF
10914 if ac_fn_c_try_compile "$LINENO"
10915 then :
10916 eval "$as_wine_cv_crosscc_c99=\$arg"
10917 else $as_nop
10918 eval "$as_wine_cv_crosscc_c99=no"
10920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10921 eval CC=\$${wine_arch}_CC
10922 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10923 then :
10925 else $as_nop
10926 break
10928 done
10931 eval res=\$$as_wine_cv_crosscc_c99
10932 case "x$res" in
10933 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10934 printf "%s\n" "none needed" >&6; } ;;
10935 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10936 printf "%s\n" "unsupported" >&6; } ;;
10937 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10938 printf "%s\n" "$res" >&6; }
10939 as_fn_append ${wine_arch}_CC " $res" ;;
10940 esac
10943 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10945 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10946 if eval test \${$as_ac_var+y}
10947 then :
10948 printf %s "(cached) " >&6
10949 else $as_nop
10950 ac_wine_try_cflags_saved=$CFLAGS
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10953 ac_exeext=".exe"
10954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10955 /* end confdefs.h. */
10956 int __cdecl mainCRTStartup(void) { return 0; }
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"
10959 then :
10960 eval "$as_ac_var=yes"
10961 else $as_nop
10962 eval "$as_ac_var=no"
10964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10965 conftest$ac_exeext conftest.$ac_ext
10966 CFLAGS=$ac_wine_try_cflags_saved
10967 ac_exeext=$ac_wine_try_cflags_saved_exeext
10969 eval ac_res=\$$as_ac_var
10970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10971 printf "%s\n" "$ac_res" >&6; }
10972 if eval test \"x\$"$as_ac_var"\" = x"yes"
10973 then :
10974 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10975 fi }
10976 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10978 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10979 if eval test \${$as_ac_var+y}
10980 then :
10981 printf %s "(cached) " >&6
10982 else $as_nop
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_exeext=$ac_exeext
10985 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10986 ac_exeext=".exe"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10989 int __cdecl mainCRTStartup(void) { return 0; }
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"
10992 then :
10993 eval "$as_ac_var=yes"
10994 else $as_nop
10995 eval "$as_ac_var=no"
10997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10998 conftest$ac_exeext conftest.$ac_ext
10999 CFLAGS=$ac_wine_try_cflags_saved
11000 ac_exeext=$ac_wine_try_cflags_saved_exeext
11002 eval ac_res=\$$as_ac_var
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11004 printf "%s\n" "$ac_res" >&6; }
11005 if eval test \"x\$"$as_ac_var"\" = x"yes"
11006 then :
11007 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11008 fi }
11009 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11011 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11012 if eval test \${$as_ac_var+y}
11013 then :
11014 printf %s "(cached) " >&6
11015 else $as_nop
11016 ac_wine_try_cflags_saved=$CFLAGS
11017 ac_wine_try_cflags_saved_exeext=$ac_exeext
11018 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11019 ac_exeext=".exe"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 eval "$as_ac_var=yes"
11027 else $as_nop
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 then :
11040 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11041 fi }
11042 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11044 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11045 if eval test \${$as_ac_var+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11052 ac_exeext=".exe"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 int __cdecl mainCRTStartup(void) { return 0; }
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"
11058 then :
11059 eval "$as_ac_var=yes"
11060 else $as_nop
11061 eval "$as_ac_var=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 eval ac_res=\$$as_ac_var
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 printf "%s\n" "$ac_res" >&6; }
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"
11072 then :
11073 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11074 fi }
11075 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11077 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11078 if eval test \${$as_ac_var+y}
11079 then :
11080 printf %s "(cached) " >&6
11081 else $as_nop
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11085 ac_exeext=".exe"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 int __cdecl mainCRTStartup(void) { return 0; }
11089 _ACEOF
11090 if ac_fn_c_try_link "$LINENO"
11091 then :
11092 eval "$as_ac_var=yes"
11093 else $as_nop
11094 eval "$as_ac_var=no"
11096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11097 conftest$ac_exeext conftest.$ac_ext
11098 CFLAGS=$ac_wine_try_cflags_saved
11099 ac_exeext=$ac_wine_try_cflags_saved_exeext
11101 eval ac_res=\$$as_ac_var
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11103 printf "%s\n" "$ac_res" >&6; }
11104 if eval test \"x\$"$as_ac_var"\" = x"yes"
11105 then :
11106 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11107 fi }
11108 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11110 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11111 if eval test \${$as_ac_var+y}
11112 then :
11113 printf %s "(cached) " >&6
11114 else $as_nop
11115 ac_wine_try_cflags_saved=$CFLAGS
11116 ac_wine_try_cflags_saved_exeext=$ac_exeext
11117 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
11118 ac_exeext=".exe"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11121 int __cdecl mainCRTStartup(void) { return 0; }
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"
11124 then :
11125 eval "$as_ac_var=yes"
11126 else $as_nop
11127 eval "$as_ac_var=no"
11129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11130 conftest$ac_exeext conftest.$ac_ext
11131 CFLAGS=$ac_wine_try_cflags_saved
11132 ac_exeext=$ac_wine_try_cflags_saved_exeext
11134 eval ac_res=\$$as_ac_var
11135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11136 printf "%s\n" "$ac_res" >&6; }
11137 if eval test \"x\$"$as_ac_var"\" = x"yes"
11138 then :
11139 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11140 fi }
11141 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11143 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11144 if eval test \${$as_ac_var+y}
11145 then :
11146 printf %s "(cached) " >&6
11147 else $as_nop
11148 ac_wine_try_cflags_saved=$CFLAGS
11149 ac_wine_try_cflags_saved_exeext=$ac_exeext
11150 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11151 ac_exeext=".exe"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11154 int __cdecl mainCRTStartup(void) { return 0; }
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"
11157 then :
11158 eval "$as_ac_var=yes"
11159 else $as_nop
11160 eval "$as_ac_var=no"
11162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11163 conftest$ac_exeext conftest.$ac_ext
11164 CFLAGS=$ac_wine_try_cflags_saved
11165 ac_exeext=$ac_wine_try_cflags_saved_exeext
11167 eval ac_res=\$$as_ac_var
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11169 printf "%s\n" "$ac_res" >&6; }
11170 if eval test \"x\$"$as_ac_var"\" = x"yes"
11171 then :
11172 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11173 fi }
11174 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11176 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11177 if eval test \${$as_ac_var+y}
11178 then :
11179 printf %s "(cached) " >&6
11180 else $as_nop
11181 ac_wine_try_cflags_saved=$CFLAGS
11182 ac_wine_try_cflags_saved_exeext=$ac_exeext
11183 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11184 ac_exeext=".exe"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11187 int __cdecl mainCRTStartup(void) { return 0; }
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"
11190 then :
11191 eval "$as_ac_var=yes"
11192 else $as_nop
11193 eval "$as_ac_var=no"
11195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11196 conftest$ac_exeext conftest.$ac_ext
11197 CFLAGS=$ac_wine_try_cflags_saved
11198 ac_exeext=$ac_wine_try_cflags_saved_exeext
11200 eval ac_res=\$$as_ac_var
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11202 printf "%s\n" "$ac_res" >&6; }
11203 if eval test \"x\$"$as_ac_var"\" = x"yes"
11204 then :
11205 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11206 fi }
11207 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11209 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11210 if eval test \${$as_ac_var+y}
11211 then :
11212 printf %s "(cached) " >&6
11213 else $as_nop
11214 ac_wine_try_cflags_saved=$CFLAGS
11215 ac_wine_try_cflags_saved_exeext=$ac_exeext
11216 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11217 ac_exeext=".exe"
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11220 int __cdecl mainCRTStartup(void) { return 0; }
11221 _ACEOF
11222 if ac_fn_c_try_link "$LINENO"
11223 then :
11224 eval "$as_ac_var=yes"
11225 else $as_nop
11226 eval "$as_ac_var=no"
11228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11229 conftest$ac_exeext conftest.$ac_ext
11230 CFLAGS=$ac_wine_try_cflags_saved
11231 ac_exeext=$ac_wine_try_cflags_saved_exeext
11233 eval ac_res=\$$as_ac_var
11234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11235 printf "%s\n" "$ac_res" >&6; }
11236 if eval test \"x\$"$as_ac_var"\" = x"yes"
11237 then :
11238 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11239 fi }
11240 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11242 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11243 if eval test \${$as_ac_var+y}
11244 then :
11245 printf %s "(cached) " >&6
11246 else $as_nop
11247 ac_wine_try_cflags_saved=$CFLAGS
11248 ac_wine_try_cflags_saved_exeext=$ac_exeext
11249 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11250 ac_exeext=".exe"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253 int __cdecl mainCRTStartup(void) { return 0; }
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"
11256 then :
11257 eval "$as_ac_var=yes"
11258 else $as_nop
11259 eval "$as_ac_var=no"
11261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11262 conftest$ac_exeext conftest.$ac_ext
11263 CFLAGS=$ac_wine_try_cflags_saved
11264 ac_exeext=$ac_wine_try_cflags_saved_exeext
11266 eval ac_res=\$$as_ac_var
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11268 printf "%s\n" "$ac_res" >&6; }
11269 if eval test \"x\$"$as_ac_var"\" = x"yes"
11270 then :
11271 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11272 fi }
11273 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11275 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11276 if eval test \${$as_ac_var+y}
11277 then :
11278 printf %s "(cached) " >&6
11279 else $as_nop
11280 ac_wine_try_cflags_saved=$CFLAGS
11281 ac_wine_try_cflags_saved_exeext=$ac_exeext
11282 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11283 ac_exeext=".exe"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11286 int __cdecl mainCRTStartup(void) { return 0; }
11287 _ACEOF
11288 if ac_fn_c_try_link "$LINENO"
11289 then :
11290 eval "$as_ac_var=yes"
11291 else $as_nop
11292 eval "$as_ac_var=no"
11294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11295 conftest$ac_exeext conftest.$ac_ext
11296 CFLAGS=$ac_wine_try_cflags_saved
11297 ac_exeext=$ac_wine_try_cflags_saved_exeext
11299 eval ac_res=\$$as_ac_var
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11301 printf "%s\n" "$ac_res" >&6; }
11302 if eval test \"x\$"$as_ac_var"\" = x"yes"
11303 then :
11304 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11305 fi }
11306 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11308 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11309 if eval test \${$as_ac_var+y}
11310 then :
11311 printf %s "(cached) " >&6
11312 else $as_nop
11313 ac_wine_try_cflags_saved=$CFLAGS
11314 ac_wine_try_cflags_saved_exeext=$ac_exeext
11315 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11316 ac_exeext=".exe"
11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11319 int __cdecl mainCRTStartup(void) { return 0; }
11320 _ACEOF
11321 if ac_fn_c_try_link "$LINENO"
11322 then :
11323 eval "$as_ac_var=yes"
11324 else $as_nop
11325 eval "$as_ac_var=no"
11327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11328 conftest$ac_exeext conftest.$ac_ext
11329 CFLAGS=$ac_wine_try_cflags_saved
11330 ac_exeext=$ac_wine_try_cflags_saved_exeext
11332 eval ac_res=\$$as_ac_var
11333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11334 printf "%s\n" "$ac_res" >&6; }
11335 if eval test \"x\$"$as_ac_var"\" = x"yes"
11336 then :
11337 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11338 fi }
11339 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11341 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11342 if eval test \${$as_ac_var+y}
11343 then :
11344 printf %s "(cached) " >&6
11345 else $as_nop
11346 ac_wine_try_cflags_saved=$CFLAGS
11347 ac_wine_try_cflags_saved_exeext=$ac_exeext
11348 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11349 ac_exeext=".exe"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11352 int __cdecl mainCRTStartup(void) { return 0; }
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"
11355 then :
11356 eval "$as_ac_var=yes"
11357 else $as_nop
11358 eval "$as_ac_var=no"
11360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11361 conftest$ac_exeext conftest.$ac_ext
11362 CFLAGS=$ac_wine_try_cflags_saved
11363 ac_exeext=$ac_wine_try_cflags_saved_exeext
11365 eval ac_res=\$$as_ac_var
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11367 printf "%s\n" "$ac_res" >&6; }
11368 if eval test \"x\$"$as_ac_var"\" = x"yes"
11369 then :
11370 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11371 fi }
11372 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11374 printf %s "checking whether $CC supports -Wvla... " >&6; }
11375 if eval test \${$as_ac_var+y}
11376 then :
11377 printf %s "(cached) " >&6
11378 else $as_nop
11379 ac_wine_try_cflags_saved=$CFLAGS
11380 ac_wine_try_cflags_saved_exeext=$ac_exeext
11381 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11382 ac_exeext=".exe"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11385 int __cdecl mainCRTStartup(void) { return 0; }
11386 _ACEOF
11387 if ac_fn_c_try_link "$LINENO"
11388 then :
11389 eval "$as_ac_var=yes"
11390 else $as_nop
11391 eval "$as_ac_var=no"
11393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11394 conftest$ac_exeext conftest.$ac_ext
11395 CFLAGS=$ac_wine_try_cflags_saved
11396 ac_exeext=$ac_wine_try_cflags_saved_exeext
11398 eval ac_res=\$$as_ac_var
11399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11400 printf "%s\n" "$ac_res" >&6; }
11401 if eval test \"x\$"$as_ac_var"\" = x"yes"
11402 then :
11403 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11404 fi }
11405 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11407 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11408 if eval test \${$as_ac_var+y}
11409 then :
11410 printf %s "(cached) " >&6
11411 else $as_nop
11412 ac_wine_try_cflags_saved=$CFLAGS
11413 ac_wine_try_cflags_saved_exeext=$ac_exeext
11414 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11415 ac_exeext=".exe"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11418 int __cdecl mainCRTStartup(void) { return 0; }
11419 _ACEOF
11420 if ac_fn_c_try_link "$LINENO"
11421 then :
11422 eval "$as_ac_var=yes"
11423 else $as_nop
11424 eval "$as_ac_var=no"
11426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11427 conftest$ac_exeext conftest.$ac_ext
11428 CFLAGS=$ac_wine_try_cflags_saved
11429 ac_exeext=$ac_wine_try_cflags_saved_exeext
11431 eval ac_res=\$$as_ac_var
11432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11433 printf "%s\n" "$ac_res" >&6; }
11434 if eval test \"x\$"$as_ac_var"\" = x"yes"
11435 then :
11436 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11437 fi }
11438 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11440 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11441 if eval test \${$as_ac_var+y}
11442 then :
11443 printf %s "(cached) " >&6
11444 else $as_nop
11445 ac_wine_try_cflags_saved=$CFLAGS
11446 ac_wine_try_cflags_saved_exeext=$ac_exeext
11447 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11448 ac_exeext=".exe"
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11451 int __cdecl mainCRTStartup(void) { return 0; }
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"
11454 then :
11455 eval "$as_ac_var=yes"
11456 else $as_nop
11457 eval "$as_ac_var=no"
11459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11460 conftest$ac_exeext conftest.$ac_ext
11461 CFLAGS=$ac_wine_try_cflags_saved
11462 ac_exeext=$ac_wine_try_cflags_saved_exeext
11464 eval ac_res=\$$as_ac_var
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11466 printf "%s\n" "$ac_res" >&6; }
11467 if eval test \"x\$"$as_ac_var"\" = x"yes"
11468 then :
11469 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11470 fi }
11471 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11473 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11474 if eval test \${$as_ac_var+y}
11475 then :
11476 printf %s "(cached) " >&6
11477 else $as_nop
11478 ac_wine_try_cflags_saved=$CFLAGS
11479 ac_wine_try_cflags_saved_exeext=$ac_exeext
11480 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11481 ac_exeext=".exe"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11484 int __cdecl mainCRTStartup(void) { return 0; }
11485 _ACEOF
11486 if ac_fn_c_try_link "$LINENO"
11487 then :
11488 eval "$as_ac_var=yes"
11489 else $as_nop
11490 eval "$as_ac_var=no"
11492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11493 conftest$ac_exeext conftest.$ac_ext
11494 CFLAGS=$ac_wine_try_cflags_saved
11495 ac_exeext=$ac_wine_try_cflags_saved_exeext
11497 eval ac_res=\$$as_ac_var
11498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11499 printf "%s\n" "$ac_res" >&6; }
11500 if eval test \"x\$"$as_ac_var"\" = x"yes"
11501 then :
11502 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11503 fi }
11504 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11506 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11507 if eval test \${$as_ac_var+y}
11508 then :
11509 printf %s "(cached) " >&6
11510 else $as_nop
11511 ac_wine_try_cflags_saved=$CFLAGS
11512 ac_wine_try_cflags_saved_exeext=$ac_exeext
11513 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11514 ac_exeext=".exe"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11517 int __cdecl mainCRTStartup(void) { return 0; }
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"
11520 then :
11521 eval "$as_ac_var=yes"
11522 else $as_nop
11523 eval "$as_ac_var=no"
11525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11526 conftest$ac_exeext conftest.$ac_ext
11527 CFLAGS=$ac_wine_try_cflags_saved
11528 ac_exeext=$ac_wine_try_cflags_saved_exeext
11530 eval ac_res=\$$as_ac_var
11531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11532 printf "%s\n" "$ac_res" >&6; }
11533 if eval test \"x\$"$as_ac_var"\" = x"yes"
11534 then :
11535 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11536 fi }
11538 case $wine_arch in
11539 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11541 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11542 if eval test \${$as_ac_var+y}
11543 then :
11544 printf %s "(cached) " >&6
11545 else $as_nop
11546 ac_wine_try_cflags_saved=$CFLAGS
11547 ac_wine_try_cflags_saved_exeext=$ac_exeext
11548 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11549 ac_exeext=".exe"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11552 int __cdecl mainCRTStartup(void) { return 0; }
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"
11555 then :
11556 eval "$as_ac_var=yes"
11557 else $as_nop
11558 eval "$as_ac_var=no"
11560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11561 conftest$ac_exeext conftest.$ac_ext
11562 CFLAGS=$ac_wine_try_cflags_saved
11563 ac_exeext=$ac_wine_try_cflags_saved_exeext
11565 eval ac_res=\$$as_ac_var
11566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11567 printf "%s\n" "$ac_res" >&6; }
11568 if eval test \"x\$"$as_ac_var"\" = x"yes"
11569 then :
11570 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11571 fi }
11572 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11574 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11575 if eval test \${$as_ac_var+y}
11576 then :
11577 printf %s "(cached) " >&6
11578 else $as_nop
11579 ac_wine_try_cflags_saved=$CFLAGS
11580 ac_wine_try_cflags_saved_exeext=$ac_exeext
11581 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11582 ac_exeext=".exe"
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585 int __cdecl mainCRTStartup(void) { return 0; }
11586 _ACEOF
11587 if ac_fn_c_try_link "$LINENO"
11588 then :
11589 eval "$as_ac_var=yes"
11590 else $as_nop
11591 eval "$as_ac_var=no"
11593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11594 conftest$ac_exeext conftest.$ac_ext
11595 CFLAGS=$ac_wine_try_cflags_saved
11596 ac_exeext=$ac_wine_try_cflags_saved_exeext
11598 eval ac_res=\$$as_ac_var
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11600 printf "%s\n" "$ac_res" >&6; }
11601 if eval test \"x\$"$as_ac_var"\" = x"yes"
11602 then :
11603 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11604 fi } ;;
11605 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11607 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11608 if eval test \${$as_ac_var+y}
11609 then :
11610 printf %s "(cached) " >&6
11611 else $as_nop
11612 ac_wine_try_cflags_saved=$CFLAGS
11613 ac_wine_try_cflags_saved_exeext=$ac_exeext
11614 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11615 ac_exeext=".exe"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11618 int __cdecl mainCRTStartup(void) { return 0; }
11619 _ACEOF
11620 if ac_fn_c_try_link "$LINENO"
11621 then :
11622 eval "$as_ac_var=yes"
11623 else $as_nop
11624 eval "$as_ac_var=no"
11626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11627 conftest$ac_exeext conftest.$ac_ext
11628 CFLAGS=$ac_wine_try_cflags_saved
11629 ac_exeext=$ac_wine_try_cflags_saved_exeext
11631 eval ac_res=\$$as_ac_var
11632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11633 printf "%s\n" "$ac_res" >&6; }
11634 if eval test \"x\$"$as_ac_var"\" = x"yes"
11635 then :
11636 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11637 fi }
11638 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11640 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11641 if eval test \${$as_ac_var+y}
11642 then :
11643 printf %s "(cached) " >&6
11644 else $as_nop
11645 ac_wine_try_cflags_saved=$CFLAGS
11646 ac_wine_try_cflags_saved_exeext=$ac_exeext
11647 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11648 ac_exeext=".exe"
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11651 int __cdecl mainCRTStartup(void) { return 0; }
11652 _ACEOF
11653 if ac_fn_c_try_link "$LINENO"
11654 then :
11655 eval "$as_ac_var=yes"
11656 else $as_nop
11657 eval "$as_ac_var=no"
11659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11660 conftest$ac_exeext conftest.$ac_ext
11661 CFLAGS=$ac_wine_try_cflags_saved
11662 ac_exeext=$ac_wine_try_cflags_saved_exeext
11664 eval ac_res=\$$as_ac_var
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11666 printf "%s\n" "$ac_res" >&6; }
11667 if eval test \"x\$"$as_ac_var"\" = x"yes"
11668 then :
11669 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11670 fi }
11671 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11673 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11674 if eval test \${$as_ac_var+y}
11675 then :
11676 printf %s "(cached) " >&6
11677 else $as_nop
11678 ac_wine_try_cflags_saved=$CFLAGS
11679 ac_wine_try_cflags_saved_exeext=$ac_exeext
11680 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11681 ac_exeext=".exe"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11684 int __cdecl mainCRTStartup(void) { return 0; }
11685 _ACEOF
11686 if ac_fn_c_try_link "$LINENO"
11687 then :
11688 eval "$as_ac_var=yes"
11689 else $as_nop
11690 eval "$as_ac_var=no"
11692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11693 conftest$ac_exeext conftest.$ac_ext
11694 CFLAGS=$ac_wine_try_cflags_saved
11695 ac_exeext=$ac_wine_try_cflags_saved_exeext
11697 eval ac_res=\$$as_ac_var
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11699 printf "%s\n" "$ac_res" >&6; }
11700 if eval test \"x\$"$as_ac_var"\" = x"yes"
11701 then :
11702 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11703 fi }
11704 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11706 printf %s "checking whether $CC supports -mcx16... " >&6; }
11707 if eval test \${$as_ac_var+y}
11708 then :
11709 printf %s "(cached) " >&6
11710 else $as_nop
11711 ac_wine_try_cflags_saved=$CFLAGS
11712 ac_wine_try_cflags_saved_exeext=$ac_exeext
11713 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11714 ac_exeext=".exe"
11715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11716 /* end confdefs.h. */
11717 int __cdecl mainCRTStartup(void) { return 0; }
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"
11720 then :
11721 eval "$as_ac_var=yes"
11722 else $as_nop
11723 eval "$as_ac_var=no"
11725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11726 conftest$ac_exeext conftest.$ac_ext
11727 CFLAGS=$ac_wine_try_cflags_saved
11728 ac_exeext=$ac_wine_try_cflags_saved_exeext
11730 eval ac_res=\$$as_ac_var
11731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11732 printf "%s\n" "$ac_res" >&6; }
11733 if eval test \"x\$"$as_ac_var"\" = x"yes"
11734 then :
11735 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11736 fi } ;;
11737 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11739 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11740 if eval test \${$as_ac_var+y}
11741 then :
11742 printf %s "(cached) " >&6
11743 else $as_nop
11744 ac_wine_try_cflags_saved=$CFLAGS
11745 ac_wine_try_cflags_saved_exeext=$ac_exeext
11746 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11747 ac_exeext=".exe"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11750 int __cdecl mainCRTStartup(void) { return 0; }
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"
11753 then :
11754 eval "$as_ac_var=yes"
11755 else $as_nop
11756 eval "$as_ac_var=no"
11758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11759 conftest$ac_exeext conftest.$ac_ext
11760 CFLAGS=$ac_wine_try_cflags_saved
11761 ac_exeext=$ac_wine_try_cflags_saved_exeext
11763 eval ac_res=\$$as_ac_var
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11765 printf "%s\n" "$ac_res" >&6; }
11766 if eval test \"x\$"$as_ac_var"\" = x"yes"
11767 then :
11768 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11769 fi } ;;
11770 esac
11772 wine_crossdebug=$CROSSDEBUG
11773 if test -z "$wine_crossdebug"
11774 then
11775 for ac_flag in $CFLAGS; do
11776 case $ac_flag in
11777 -gdwarf*) wine_crossdebug=dwarf ;;
11778 -gcodeview) wine_crossdebug=pdb ;;
11779 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11780 esac
11781 done
11784 ac_debug_format_seen=""
11785 for ac_flag in $CFLAGS; do
11786 case $ac_flag in
11787 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11788 esac
11789 done
11790 if test "x$ac_debug_format_seen" = x
11791 then
11792 case $wine_crossdebug in
11793 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11795 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11796 if eval test \${$as_ac_var+y}
11797 then :
11798 printf %s "(cached) " >&6
11799 else $as_nop
11800 ac_wine_try_cflags_saved=$CFLAGS
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11803 ac_exeext=".exe"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 int __cdecl mainCRTStartup(void) { return 0; }
11807 _ACEOF
11808 if ac_fn_c_try_link "$LINENO"
11809 then :
11810 eval "$as_ac_var=yes"
11811 else $as_nop
11812 eval "$as_ac_var=no"
11814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11815 conftest$ac_exeext conftest.$ac_ext
11816 CFLAGS=$ac_wine_try_cflags_saved
11817 ac_exeext=$ac_wine_try_cflags_saved_exeext
11819 eval ac_res=\$$as_ac_var
11820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11821 printf "%s\n" "$ac_res" >&6; }
11822 if eval test \"x\$"$as_ac_var"\" = x"yes"
11823 then :
11824 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11825 fi } ;;
11826 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11828 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11829 if eval test \${$as_ac_var+y}
11830 then :
11831 printf %s "(cached) " >&6
11832 else $as_nop
11833 ac_wine_try_cflags_saved=$CFLAGS
11834 ac_wine_try_cflags_saved_exeext=$ac_exeext
11835 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11836 ac_exeext=".exe"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 int __cdecl mainCRTStartup(void) { return 0; }
11840 _ACEOF
11841 if ac_fn_c_try_link "$LINENO"
11842 then :
11843 eval "$as_ac_var=yes"
11844 else $as_nop
11845 eval "$as_ac_var=no"
11847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11848 conftest$ac_exeext conftest.$ac_ext
11849 CFLAGS=$ac_wine_try_cflags_saved
11850 ac_exeext=$ac_wine_try_cflags_saved_exeext
11852 eval ac_res=\$$as_ac_var
11853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11854 printf "%s\n" "$ac_res" >&6; }
11855 if eval test \"x\$"$as_ac_var"\" = x"yes"
11856 then :
11857 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11858 fi } ;;
11859 esac
11861 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11863 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11865 printf %s "checking whether $CC supports -Werror... " >&6; }
11866 if eval test \${$as_ac_var+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 ac_wine_try_cflags_saved=$CFLAGS
11871 ac_wine_try_cflags_saved_exeext=$ac_exeext
11872 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11873 ac_exeext=".exe"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11876 int __cdecl mainCRTStartup(void) { return 0; }
11877 _ACEOF
11878 if ac_fn_c_try_link "$LINENO"
11879 then :
11880 eval "$as_ac_var=yes"
11881 else $as_nop
11882 eval "$as_ac_var=no"
11884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11885 conftest$ac_exeext conftest.$ac_ext
11886 CFLAGS=$ac_wine_try_cflags_saved
11887 ac_exeext=$ac_wine_try_cflags_saved_exeext
11889 eval ac_res=\$$as_ac_var
11890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11891 printf "%s\n" "$ac_res" >&6; }
11892 if eval test \"x\$"$as_ac_var"\" = x"yes"
11893 then :
11894 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11895 fi }
11896 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11898 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11899 if eval test \${$as_ac_var+y}
11900 then :
11901 printf %s "(cached) " >&6
11902 else $as_nop
11903 ac_wine_try_cflags_saved=$CFLAGS
11904 ac_wine_try_cflags_saved_exeext=$ac_exeext
11905 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11906 ac_exeext=".exe"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 int __cdecl mainCRTStartup(void) { return 0; }
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"
11912 then :
11913 eval "$as_ac_var=yes"
11914 else $as_nop
11915 eval "$as_ac_var=no"
11917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11918 conftest$ac_exeext conftest.$ac_ext
11919 CFLAGS=$ac_wine_try_cflags_saved
11920 ac_exeext=$ac_wine_try_cflags_saved_exeext
11922 eval ac_res=\$$as_ac_var
11923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11924 printf "%s\n" "$ac_res" >&6; }
11925 if eval test \"x\$"$as_ac_var"\" = x"yes"
11926 then :
11927 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11928 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11929 fi }
11931 CC=$saved_CC
11932 CFLAGS=$saved_CFLAGS
11933 done
11935 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11936 then
11937 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11940 if test "x$PE_ARCHS" = "x"
11941 then :
11942 case "x$with_mingw" in
11943 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11944 xno) ;;
11945 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11946 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11947 esac
11952 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11953 then
11954 case "$host_cpu" in
11955 i[3456789]86*)
11956 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11958 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11959 esac
11960 for ac_prog in $ac_prefix_list
11962 # Extract the first word of "$ac_prog", so it can be a program name with args.
11963 set dummy $ac_prog; ac_word=$2
11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11965 printf %s "checking for $ac_word... " >&6; }
11966 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11967 then :
11968 printf %s "(cached) " >&6
11969 else $as_nop
11970 if test -n "$MINGW_PKG_CONFIG"; then
11971 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11972 else
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11976 IFS=$as_save_IFS
11977 case $as_dir in #(((
11978 '') as_dir=./ ;;
11979 */) ;;
11980 *) as_dir=$as_dir/ ;;
11981 esac
11982 for ac_exec_ext in '' $ac_executable_extensions; do
11983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11984 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11986 break 2
11988 done
11989 done
11990 IFS=$as_save_IFS
11994 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11995 if test -n "$MINGW_PKG_CONFIG"; then
11996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11997 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11998 else
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12000 printf "%s\n" "no" >&6; }
12004 test -n "$MINGW_PKG_CONFIG" && break
12005 done
12006 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12008 if ${FAUDIO_PE_CFLAGS:+false} :
12009 then :
12010 if test ${MINGW_PKG_CONFIG+y}
12011 then :
12012 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12015 if ${FAUDIO_PE_LIBS:+false} :
12016 then :
12017 if test ${MINGW_PKG_CONFIG+y}
12018 then :
12019 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12022 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12023 ac_save_CPPFLAGS=$CPPFLAGS
12024 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12026 printf %s "checking for MinGW FAudio.h... " >&6; }
12027 if test ${ac_cv_mingw_header_FAudio_h+y}
12028 then :
12029 printf %s "(cached) " >&6
12030 else $as_nop
12031 ac_wine_check_headers_saved_cc=$CC
12032 ac_wine_check_headers_saved_exeext=$ac_exeext
12033 eval CC=\$${wine_arch}_CC
12034 ac_exeext=".exe"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 #include <FAudio.h>
12040 main (void)
12044 return 0;
12046 _ACEOF
12047 if ac_fn_c_try_compile "$LINENO"
12048 then :
12049 ac_cv_mingw_header_FAudio_h=yes
12050 else $as_nop
12051 ac_cv_mingw_header_FAudio_h=no
12053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12054 CC=$ac_wine_check_headers_saved_cc
12055 ac_exeext=$ac_wine_check_headers_saved_exeext
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12058 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12059 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12060 then :
12061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12062 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12063 if test ${ac_cv_mingw_lib_FAudio+y}
12064 then :
12065 printf %s "(cached) " >&6
12066 else $as_nop
12067 ac_wine_check_headers_saved_cc=$CC
12068 ac_wine_check_headers_saved_exeext=$ac_exeext
12069 ac_wine_check_headers_saved_libs=$LIBS
12070 eval CC=\$${wine_arch}_CC
12071 ac_exeext=".exe"
12072 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 char FAudio_CommitOperationSet ();
12081 main (void)
12083 return FAudio_CommitOperationSet ();
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_link "$LINENO"
12089 then :
12090 ac_cv_mingw_lib_FAudio=yes
12091 else $as_nop
12092 ac_cv_mingw_lib_FAudio=no
12094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12095 conftest$ac_exeext conftest.$ac_ext
12096 CC=$ac_wine_check_headers_saved_cc
12097 ac_exeext=$ac_wine_check_headers_saved_exeext
12098 LIBS=$ac_wine_check_headers_saved_libs
12100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12101 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12102 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12103 then :
12105 else $as_nop
12106 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12108 else $as_nop
12109 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12111 CPPFLAGS=$ac_save_CPPFLAGS
12113 if test "x$FAUDIO_PE_LIBS" = "x"
12114 then
12115 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12118 if ${JPEG_PE_CFLAGS:+false} :
12119 then :
12120 if test ${MINGW_PKG_CONFIG+y}
12121 then :
12122 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12125 if ${JPEG_PE_LIBS:+false} :
12126 then :
12127 if test ${MINGW_PKG_CONFIG+y}
12128 then :
12129 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12133 ac_save_CPPFLAGS=$CPPFLAGS
12134 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12136 printf %s "checking for MinGW jpeglib.h... " >&6; }
12137 if test ${ac_cv_mingw_header_jpeglib_h+y}
12138 then :
12139 printf %s "(cached) " >&6
12140 else $as_nop
12141 ac_wine_check_headers_saved_cc=$CC
12142 ac_wine_check_headers_saved_exeext=$ac_exeext
12143 eval CC=\$${wine_arch}_CC
12144 ac_exeext=".exe"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12147 #include <stddef.h>
12148 #include <stdio.h>
12149 #include <jpeglib.h>
12151 main (void)
12155 return 0;
12157 _ACEOF
12158 if ac_fn_c_try_compile "$LINENO"
12159 then :
12160 ac_cv_mingw_header_jpeglib_h=yes
12161 else $as_nop
12162 ac_cv_mingw_header_jpeglib_h=no
12164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12165 CC=$ac_wine_check_headers_saved_cc
12166 ac_exeext=$ac_wine_check_headers_saved_exeext
12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12169 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12170 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12171 then :
12172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12173 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12174 if test ${ac_cv_mingw_lib_jpeg+y}
12175 then :
12176 printf %s "(cached) " >&6
12177 else $as_nop
12178 ac_wine_check_headers_saved_cc=$CC
12179 ac_wine_check_headers_saved_exeext=$ac_exeext
12180 ac_wine_check_headers_saved_libs=$LIBS
12181 eval CC=\$${wine_arch}_CC
12182 ac_exeext=".exe"
12183 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12190 char jpeg_start_decompress ();
12192 main (void)
12194 return jpeg_start_decompress ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"
12200 then :
12201 ac_cv_mingw_lib_jpeg=yes
12202 else $as_nop
12203 ac_cv_mingw_lib_jpeg=no
12205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12206 conftest$ac_exeext conftest.$ac_ext
12207 CC=$ac_wine_check_headers_saved_cc
12208 ac_exeext=$ac_wine_check_headers_saved_exeext
12209 LIBS=$ac_wine_check_headers_saved_libs
12211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12212 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12213 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12214 then :
12216 else $as_nop
12217 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12219 else $as_nop
12220 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12222 CPPFLAGS=$ac_save_CPPFLAGS
12224 if test "x$JPEG_PE_LIBS" = "x"
12225 then
12226 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12229 if ${LCMS2_PE_CFLAGS:+false} :
12230 then :
12231 if test ${MINGW_PKG_CONFIG+y}
12232 then :
12233 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12236 if ${LCMS2_PE_LIBS:+false} :
12237 then :
12238 if test ${MINGW_PKG_CONFIG+y}
12239 then :
12240 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12243 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12244 ac_save_CPPFLAGS=$CPPFLAGS
12245 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12247 printf %s "checking for MinGW lcms2.h... " >&6; }
12248 if test ${ac_cv_mingw_header_lcms2_h+y}
12249 then :
12250 printf %s "(cached) " >&6
12251 else $as_nop
12252 ac_wine_check_headers_saved_cc=$CC
12253 ac_wine_check_headers_saved_exeext=$ac_exeext
12254 eval CC=\$${wine_arch}_CC
12255 ac_exeext=".exe"
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 #include <lcms2.h>
12261 main (void)
12265 return 0;
12267 _ACEOF
12268 if ac_fn_c_try_compile "$LINENO"
12269 then :
12270 ac_cv_mingw_header_lcms2_h=yes
12271 else $as_nop
12272 ac_cv_mingw_header_lcms2_h=no
12274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12275 CC=$ac_wine_check_headers_saved_cc
12276 ac_exeext=$ac_wine_check_headers_saved_exeext
12278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12279 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12280 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12281 then :
12282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12283 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12284 if test ${ac_cv_mingw_lib_lcms2+y}
12285 then :
12286 printf %s "(cached) " >&6
12287 else $as_nop
12288 ac_wine_check_headers_saved_cc=$CC
12289 ac_wine_check_headers_saved_exeext=$ac_exeext
12290 ac_wine_check_headers_saved_libs=$LIBS
12291 eval CC=\$${wine_arch}_CC
12292 ac_exeext=".exe"
12293 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12295 /* end confdefs.h. */
12297 /* Override any GCC internal prototype to avoid an error.
12298 Use char because int might match the return type of a GCC
12299 builtin and then its argument prototype would still apply. */
12300 char cmsOpenProfileFromFile ();
12302 main (void)
12304 return cmsOpenProfileFromFile ();
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_link "$LINENO"
12310 then :
12311 ac_cv_mingw_lib_lcms2=yes
12312 else $as_nop
12313 ac_cv_mingw_lib_lcms2=no
12315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12316 conftest$ac_exeext conftest.$ac_ext
12317 CC=$ac_wine_check_headers_saved_cc
12318 ac_exeext=$ac_wine_check_headers_saved_exeext
12319 LIBS=$ac_wine_check_headers_saved_libs
12321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12322 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12323 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12324 then :
12326 else $as_nop
12327 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12329 else $as_nop
12330 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12332 CPPFLAGS=$ac_save_CPPFLAGS
12334 if test "x$LCMS2_PE_LIBS" = "x"
12335 then
12336 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12339 if ${MPG123_PE_CFLAGS:+false} :
12340 then :
12341 if test ${MINGW_PKG_CONFIG+y}
12342 then :
12343 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12346 if ${MPG123_PE_LIBS:+false} :
12347 then :
12348 if test ${MINGW_PKG_CONFIG+y}
12349 then :
12350 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12353 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12354 ac_save_CPPFLAGS=$CPPFLAGS
12355 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12357 printf %s "checking for MinGW mpg123.h... " >&6; }
12358 if test ${ac_cv_mingw_header_mpg123_h+y}
12359 then :
12360 printf %s "(cached) " >&6
12361 else $as_nop
12362 ac_wine_check_headers_saved_cc=$CC
12363 ac_wine_check_headers_saved_exeext=$ac_exeext
12364 eval CC=\$${wine_arch}_CC
12365 ac_exeext=".exe"
12366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12367 /* end confdefs.h. */
12369 #include <mpg123.h>
12371 main (void)
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_compile "$LINENO"
12379 then :
12380 ac_cv_mingw_header_mpg123_h=yes
12381 else $as_nop
12382 ac_cv_mingw_header_mpg123_h=no
12384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12385 CC=$ac_wine_check_headers_saved_cc
12386 ac_exeext=$ac_wine_check_headers_saved_exeext
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12389 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12390 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12391 then :
12392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12393 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12394 if test ${ac_cv_mingw_lib_mpg123+y}
12395 then :
12396 printf %s "(cached) " >&6
12397 else $as_nop
12398 ac_wine_check_headers_saved_cc=$CC
12399 ac_wine_check_headers_saved_exeext=$ac_exeext
12400 ac_wine_check_headers_saved_libs=$LIBS
12401 eval CC=\$${wine_arch}_CC
12402 ac_exeext=".exe"
12403 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* Override any GCC internal prototype to avoid an error.
12408 Use char because int might match the return type of a GCC
12409 builtin and then its argument prototype would still apply. */
12410 char mpg123_feed ();
12412 main (void)
12414 return mpg123_feed ();
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_link "$LINENO"
12420 then :
12421 ac_cv_mingw_lib_mpg123=yes
12422 else $as_nop
12423 ac_cv_mingw_lib_mpg123=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12426 conftest$ac_exeext conftest.$ac_ext
12427 CC=$ac_wine_check_headers_saved_cc
12428 ac_exeext=$ac_wine_check_headers_saved_exeext
12429 LIBS=$ac_wine_check_headers_saved_libs
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12432 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12433 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12434 then :
12436 else $as_nop
12437 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12439 else $as_nop
12440 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12442 CPPFLAGS=$ac_save_CPPFLAGS
12444 if test "x$MPG123_PE_LIBS" = "x"
12445 then
12446 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12449 if ${PNG_PE_CFLAGS:+false} :
12450 then :
12451 if test ${MINGW_PKG_CONFIG+y}
12452 then :
12453 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12456 if ${PNG_PE_LIBS:+false} :
12457 then :
12458 if test ${MINGW_PKG_CONFIG+y}
12459 then :
12460 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12464 ac_save_CPPFLAGS=$CPPFLAGS
12465 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12467 printf %s "checking for MinGW png.h... " >&6; }
12468 if test ${ac_cv_mingw_header_png_h+y}
12469 then :
12470 printf %s "(cached) " >&6
12471 else $as_nop
12472 ac_wine_check_headers_saved_cc=$CC
12473 ac_wine_check_headers_saved_exeext=$ac_exeext
12474 eval CC=\$${wine_arch}_CC
12475 ac_exeext=".exe"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 #include <png.h>
12481 main (void)
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_compile "$LINENO"
12489 then :
12490 ac_cv_mingw_header_png_h=yes
12491 else $as_nop
12492 ac_cv_mingw_header_png_h=no
12494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12495 CC=$ac_wine_check_headers_saved_cc
12496 ac_exeext=$ac_wine_check_headers_saved_exeext
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12499 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12500 if test "x$ac_cv_mingw_header_png_h" = xyes
12501 then :
12502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12503 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12504 if test ${ac_cv_mingw_lib_png+y}
12505 then :
12506 printf %s "(cached) " >&6
12507 else $as_nop
12508 ac_wine_check_headers_saved_cc=$CC
12509 ac_wine_check_headers_saved_exeext=$ac_exeext
12510 ac_wine_check_headers_saved_libs=$LIBS
12511 eval CC=\$${wine_arch}_CC
12512 ac_exeext=".exe"
12513 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12517 /* Override any GCC internal prototype to avoid an error.
12518 Use char because int might match the return type of a GCC
12519 builtin and then its argument prototype would still apply. */
12520 char png_create_read_struct ();
12522 main (void)
12524 return png_create_read_struct ();
12526 return 0;
12528 _ACEOF
12529 if ac_fn_c_try_link "$LINENO"
12530 then :
12531 ac_cv_mingw_lib_png=yes
12532 else $as_nop
12533 ac_cv_mingw_lib_png=no
12535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12536 conftest$ac_exeext conftest.$ac_ext
12537 CC=$ac_wine_check_headers_saved_cc
12538 ac_exeext=$ac_wine_check_headers_saved_exeext
12539 LIBS=$ac_wine_check_headers_saved_libs
12541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12542 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12543 if test "x$ac_cv_mingw_lib_png" = xyes
12544 then :
12546 else $as_nop
12547 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12549 else $as_nop
12550 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12552 CPPFLAGS=$ac_save_CPPFLAGS
12554 if test "x$PNG_PE_LIBS" = "x"
12555 then
12556 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12559 if ${TIFF_PE_CFLAGS:+false} :
12560 then :
12561 if test ${MINGW_PKG_CONFIG+y}
12562 then :
12563 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12566 if ${TIFF_PE_LIBS:+false} :
12567 then :
12568 if test ${MINGW_PKG_CONFIG+y}
12569 then :
12570 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12574 ac_save_CPPFLAGS=$CPPFLAGS
12575 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12577 printf %s "checking for MinGW tiffio.h... " >&6; }
12578 if test ${ac_cv_mingw_header_tiffio_h+y}
12579 then :
12580 printf %s "(cached) " >&6
12581 else $as_nop
12582 ac_wine_check_headers_saved_cc=$CC
12583 ac_wine_check_headers_saved_exeext=$ac_exeext
12584 eval CC=\$${wine_arch}_CC
12585 ac_exeext=".exe"
12586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12589 #include <tiffio.h>
12591 main (void)
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_compile "$LINENO"
12599 then :
12600 ac_cv_mingw_header_tiffio_h=yes
12601 else $as_nop
12602 ac_cv_mingw_header_tiffio_h=no
12604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12605 CC=$ac_wine_check_headers_saved_cc
12606 ac_exeext=$ac_wine_check_headers_saved_exeext
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12609 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12610 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12611 then :
12612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12613 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12614 if test ${ac_cv_mingw_lib_tiff+y}
12615 then :
12616 printf %s "(cached) " >&6
12617 else $as_nop
12618 ac_wine_check_headers_saved_cc=$CC
12619 ac_wine_check_headers_saved_exeext=$ac_exeext
12620 ac_wine_check_headers_saved_libs=$LIBS
12621 eval CC=\$${wine_arch}_CC
12622 ac_exeext=".exe"
12623 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12630 char TIFFClientOpen ();
12632 main (void)
12634 return TIFFClientOpen ();
12636 return 0;
12638 _ACEOF
12639 if ac_fn_c_try_link "$LINENO"
12640 then :
12641 ac_cv_mingw_lib_tiff=yes
12642 else $as_nop
12643 ac_cv_mingw_lib_tiff=no
12645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12646 conftest$ac_exeext conftest.$ac_ext
12647 CC=$ac_wine_check_headers_saved_cc
12648 ac_exeext=$ac_wine_check_headers_saved_exeext
12649 LIBS=$ac_wine_check_headers_saved_libs
12651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12652 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12653 if test "x$ac_cv_mingw_lib_tiff" = xyes
12654 then :
12656 else $as_nop
12657 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12659 else $as_nop
12660 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12662 CPPFLAGS=$ac_save_CPPFLAGS
12664 if test "x$TIFF_PE_LIBS" = "x"
12665 then
12666 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12669 if ${XML2_PE_CFLAGS:+false} :
12670 then :
12671 if test ${MINGW_PKG_CONFIG+y}
12672 then :
12673 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12676 if ${XML2_PE_LIBS:+false} :
12677 then :
12678 if test ${MINGW_PKG_CONFIG+y}
12679 then :
12680 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12683 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12684 ac_save_CPPFLAGS=$CPPFLAGS
12685 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12687 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12688 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12689 then :
12690 printf %s "(cached) " >&6
12691 else $as_nop
12692 ac_wine_check_headers_saved_cc=$CC
12693 ac_wine_check_headers_saved_exeext=$ac_exeext
12694 eval CC=\$${wine_arch}_CC
12695 ac_exeext=".exe"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 #include <libxml/parser.h>
12701 main (void)
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_compile "$LINENO"
12709 then :
12710 ac_cv_mingw_header_libxml_parser_h=yes
12711 else $as_nop
12712 ac_cv_mingw_header_libxml_parser_h=no
12714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12715 CC=$ac_wine_check_headers_saved_cc
12716 ac_exeext=$ac_wine_check_headers_saved_exeext
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12719 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12720 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12721 then :
12724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12725 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12726 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12727 then :
12728 printf %s "(cached) " >&6
12729 else $as_nop
12730 ac_wine_check_headers_saved_cc=$CC
12731 ac_wine_check_headers_saved_exeext=$ac_exeext
12732 eval CC=\$${wine_arch}_CC
12733 ac_exeext=".exe"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 #include <libxml/xmlsave.h>
12739 main (void)
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_compile "$LINENO"
12747 then :
12748 ac_cv_mingw_header_libxml_xmlsave_h=yes
12749 else $as_nop
12750 ac_cv_mingw_header_libxml_xmlsave_h=no
12752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12753 CC=$ac_wine_check_headers_saved_cc
12754 ac_exeext=$ac_wine_check_headers_saved_exeext
12756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12757 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12758 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12759 then :
12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12763 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12764 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12765 then :
12766 printf %s "(cached) " >&6
12767 else $as_nop
12768 ac_wine_check_headers_saved_cc=$CC
12769 ac_wine_check_headers_saved_exeext=$ac_exeext
12770 eval CC=\$${wine_arch}_CC
12771 ac_exeext=".exe"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 #include <libxml/SAX2.h>
12777 main (void)
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_compile "$LINENO"
12785 then :
12786 ac_cv_mingw_header_libxml_SAX2_h=yes
12787 else $as_nop
12788 ac_cv_mingw_header_libxml_SAX2_h=no
12790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12791 CC=$ac_wine_check_headers_saved_cc
12792 ac_exeext=$ac_wine_check_headers_saved_exeext
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12795 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12796 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12797 then :
12800 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"
12801 then
12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12803 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12804 if test ${ac_cv_mingw_lib_xml2+y}
12805 then :
12806 printf %s "(cached) " >&6
12807 else $as_nop
12808 ac_wine_check_headers_saved_cc=$CC
12809 ac_wine_check_headers_saved_exeext=$ac_exeext
12810 ac_wine_check_headers_saved_libs=$LIBS
12811 eval CC=\$${wine_arch}_CC
12812 ac_exeext=".exe"
12813 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 char xmlFirstElementChild ();
12822 main (void)
12824 return xmlFirstElementChild ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"
12830 then :
12831 ac_cv_mingw_lib_xml2=yes
12832 else $as_nop
12833 ac_cv_mingw_lib_xml2=no
12835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12836 conftest$ac_exeext conftest.$ac_ext
12837 CC=$ac_wine_check_headers_saved_cc
12838 ac_exeext=$ac_wine_check_headers_saved_exeext
12839 LIBS=$ac_wine_check_headers_saved_libs
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12842 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12843 if test "x$ac_cv_mingw_lib_xml2" = xyes
12844 then :
12846 else $as_nop
12847 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12849 else
12850 XML2_PE_CFLAGS=""
12851 XML2_PE_LIBS=""
12853 CPPFLAGS=$ac_save_CPPFLAGS
12855 if test "x$XML2_PE_LIBS" = "x"
12856 then
12857 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12860 if ${XSLT_PE_CFLAGS:+false} :
12861 then :
12862 if test ${MINGW_PKG_CONFIG+y}
12863 then :
12864 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12867 if ${XSLT_PE_LIBS:+false} :
12868 then :
12869 if test ${MINGW_PKG_CONFIG+y}
12870 then :
12871 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12874 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12875 ac_save_CPPFLAGS=$CPPFLAGS
12876 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12878 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12879 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12880 then :
12881 printf %s "(cached) " >&6
12882 else $as_nop
12883 ac_wine_check_headers_saved_cc=$CC
12884 ac_wine_check_headers_saved_exeext=$ac_exeext
12885 eval CC=\$${wine_arch}_CC
12886 ac_exeext=".exe"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 #include <libxslt/pattern.h>
12892 main (void)
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_compile "$LINENO"
12900 then :
12901 ac_cv_mingw_header_libxslt_pattern_h=yes
12902 else $as_nop
12903 ac_cv_mingw_header_libxslt_pattern_h=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12910 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12911 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12912 then :
12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12916 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12917 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12918 then :
12919 printf %s "(cached) " >&6
12920 else $as_nop
12921 ac_wine_check_headers_saved_cc=$CC
12922 ac_wine_check_headers_saved_exeext=$ac_exeext
12923 eval CC=\$${wine_arch}_CC
12924 ac_exeext=".exe"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 #include <libxslt/transform.h>
12930 main (void)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"
12938 then :
12939 ac_cv_mingw_header_libxslt_transform_h=yes
12940 else $as_nop
12941 ac_cv_mingw_header_libxslt_transform_h=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12944 CC=$ac_wine_check_headers_saved_cc
12945 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12948 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12949 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12950 then :
12953 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12954 then
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12956 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12957 if test ${ac_cv_mingw_lib_xslt+y}
12958 then :
12959 printf %s "(cached) " >&6
12960 else $as_nop
12961 ac_wine_check_headers_saved_cc=$CC
12962 ac_wine_check_headers_saved_exeext=$ac_exeext
12963 ac_wine_check_headers_saved_libs=$LIBS
12964 eval CC=\$${wine_arch}_CC
12965 ac_exeext=".exe"
12966 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 char xsltCompilePattern ();
12975 main (void)
12977 return xsltCompilePattern ();
12979 return 0;
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"
12983 then :
12984 ac_cv_mingw_lib_xslt=yes
12985 else $as_nop
12986 ac_cv_mingw_lib_xslt=no
12988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12989 conftest$ac_exeext conftest.$ac_ext
12990 CC=$ac_wine_check_headers_saved_cc
12991 ac_exeext=$ac_wine_check_headers_saved_exeext
12992 LIBS=$ac_wine_check_headers_saved_libs
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12995 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12996 if test "x$ac_cv_mingw_lib_xslt" = xyes
12997 then :
12999 else $as_nop
13000 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13002 else
13003 XSLT_PE_CFLAGS=""
13004 XSLT_PE_LIBS=""
13006 CPPFLAGS=$ac_save_CPPFLAGS
13008 if test "x$XSLT_PE_LIBS" = "x"
13009 then
13010 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13013 if ${VKD3D_PE_CFLAGS:+false} :
13014 then :
13015 if test ${MINGW_PKG_CONFIG+y}
13016 then :
13017 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13020 if ${VKD3D_PE_LIBS:+false} :
13021 then :
13022 if test ${MINGW_PKG_CONFIG+y}
13023 then :
13024 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13027 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13028 ac_save_CPPFLAGS=$CPPFLAGS
13029 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13031 printf %s "checking for MinGW vkd3d.h... " >&6; }
13032 if test ${ac_cv_mingw_header_vkd3d_h+y}
13033 then :
13034 printf %s "(cached) " >&6
13035 else $as_nop
13036 ac_wine_check_headers_saved_cc=$CC
13037 ac_wine_check_headers_saved_exeext=$ac_exeext
13038 eval CC=\$${wine_arch}_CC
13039 ac_exeext=".exe"
13040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 #include <vkd3d.h>
13045 main (void)
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_compile "$LINENO"
13053 then :
13054 ac_cv_mingw_header_vkd3d_h=yes
13055 else $as_nop
13056 ac_cv_mingw_header_vkd3d_h=no
13058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13059 CC=$ac_wine_check_headers_saved_cc
13060 ac_exeext=$ac_wine_check_headers_saved_exeext
13062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13063 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13064 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13065 then :
13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13069 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13070 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13071 then :
13072 printf %s "(cached) " >&6
13073 else $as_nop
13074 ac_wine_check_headers_saved_cc=$CC
13075 ac_wine_check_headers_saved_exeext=$ac_exeext
13076 eval CC=\$${wine_arch}_CC
13077 ac_exeext=".exe"
13078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 #include <vkd3d_shader.h>
13083 main (void)
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_compile "$LINENO"
13091 then :
13092 ac_cv_mingw_header_vkd3d_shader_h=yes
13093 else $as_nop
13094 ac_cv_mingw_header_vkd3d_shader_h=no
13096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13097 CC=$ac_wine_check_headers_saved_cc
13098 ac_exeext=$ac_wine_check_headers_saved_exeext
13100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13101 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13102 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13103 then :
13106 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13107 then
13108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13109 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13110 if test ${ac_cv_mingw_lib_vkd3d+y}
13111 then :
13112 printf %s "(cached) " >&6
13113 else $as_nop
13114 ac_wine_check_headers_saved_cc=$CC
13115 ac_wine_check_headers_saved_exeext=$ac_exeext
13116 ac_wine_check_headers_saved_libs=$LIBS
13117 eval CC=\$${wine_arch}_CC
13118 ac_exeext=".exe"
13119 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13121 /* end confdefs.h. */
13123 /* Override any GCC internal prototype to avoid an error.
13124 Use char because int might match the return type of a GCC
13125 builtin and then its argument prototype would still apply. */
13126 char vkd3d_set_log_callback ();
13128 main (void)
13130 return vkd3d_set_log_callback ();
13132 return 0;
13134 _ACEOF
13135 if ac_fn_c_try_link "$LINENO"
13136 then :
13137 ac_cv_mingw_lib_vkd3d=yes
13138 else $as_nop
13139 ac_cv_mingw_lib_vkd3d=no
13141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13142 conftest$ac_exeext conftest.$ac_ext
13143 CC=$ac_wine_check_headers_saved_cc
13144 ac_exeext=$ac_wine_check_headers_saved_exeext
13145 LIBS=$ac_wine_check_headers_saved_libs
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13148 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13149 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13150 then :
13152 else $as_nop
13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13156 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13157 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13158 then :
13159 printf %s "(cached) " >&6
13160 else $as_nop
13161 ac_wine_check_headers_saved_cc=$CC
13162 ac_wine_check_headers_saved_exeext=$ac_exeext
13163 ac_wine_check_headers_saved_libs=$LIBS
13164 eval CC=\$${wine_arch}_CC
13165 ac_exeext=".exe"
13166 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13173 char vkd3d_shader_compile ();
13175 main (void)
13177 return vkd3d_shader_compile ();
13179 return 0;
13181 _ACEOF
13182 if ac_fn_c_try_link "$LINENO"
13183 then :
13184 ac_cv_mingw_lib_vkd3d_shader=yes
13185 else $as_nop
13186 ac_cv_mingw_lib_vkd3d_shader=no
13188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13189 conftest$ac_exeext conftest.$ac_ext
13190 CC=$ac_wine_check_headers_saved_cc
13191 ac_exeext=$ac_wine_check_headers_saved_exeext
13192 LIBS=$ac_wine_check_headers_saved_libs
13194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13195 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13196 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13197 then :
13199 else $as_nop
13202 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13203 then
13204 VKD3D_PE_CFLAGS=""
13205 VKD3D_PE_LIBS=""
13207 else
13208 VKD3D_PE_CFLAGS=""
13209 VKD3D_PE_LIBS=""
13211 CPPFLAGS=$ac_save_CPPFLAGS
13213 if test "x$VKD3D_PE_LIBS" = "x"
13214 then
13215 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13218 if ${ZLIB_PE_CFLAGS:+false} :
13219 then :
13220 if test ${MINGW_PKG_CONFIG+y}
13221 then :
13222 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13225 if ${ZLIB_PE_LIBS:+false} :
13226 then :
13227 if test ${MINGW_PKG_CONFIG+y}
13228 then :
13229 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13232 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13233 ac_save_CPPFLAGS=$CPPFLAGS
13234 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13236 printf %s "checking for MinGW zlib.h... " >&6; }
13237 if test ${ac_cv_mingw_header_zlib_h+y}
13238 then :
13239 printf %s "(cached) " >&6
13240 else $as_nop
13241 ac_wine_check_headers_saved_cc=$CC
13242 ac_wine_check_headers_saved_exeext=$ac_exeext
13243 eval CC=\$${wine_arch}_CC
13244 ac_exeext=".exe"
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13248 #include <zlib.h>
13250 main (void)
13254 return 0;
13256 _ACEOF
13257 if ac_fn_c_try_compile "$LINENO"
13258 then :
13259 ac_cv_mingw_header_zlib_h=yes
13260 else $as_nop
13261 ac_cv_mingw_header_zlib_h=no
13263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13264 CC=$ac_wine_check_headers_saved_cc
13265 ac_exeext=$ac_wine_check_headers_saved_exeext
13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13268 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13269 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13270 then :
13271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13272 printf %s "checking for inflate in MinGW -lz... " >&6; }
13273 if test ${ac_cv_mingw_lib_z+y}
13274 then :
13275 printf %s "(cached) " >&6
13276 else $as_nop
13277 ac_wine_check_headers_saved_cc=$CC
13278 ac_wine_check_headers_saved_exeext=$ac_exeext
13279 ac_wine_check_headers_saved_libs=$LIBS
13280 eval CC=\$${wine_arch}_CC
13281 ac_exeext=".exe"
13282 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13289 char inflate ();
13291 main (void)
13293 return inflate ();
13295 return 0;
13297 _ACEOF
13298 if ac_fn_c_try_link "$LINENO"
13299 then :
13300 ac_cv_mingw_lib_z=yes
13301 else $as_nop
13302 ac_cv_mingw_lib_z=no
13304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13305 conftest$ac_exeext conftest.$ac_ext
13306 CC=$ac_wine_check_headers_saved_cc
13307 ac_exeext=$ac_wine_check_headers_saved_exeext
13308 LIBS=$ac_wine_check_headers_saved_libs
13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13311 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13312 if test "x$ac_cv_mingw_lib_z" = xyes
13313 then :
13315 else $as_nop
13316 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13318 else $as_nop
13319 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13321 CPPFLAGS=$ac_save_CPPFLAGS
13323 if test "x$ZLIB_PE_LIBS" = "x"
13324 then
13325 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13329 if ${FAUDIO_PE_LIBS:+false} :
13330 then :
13331 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13332 if ${FAUDIO_PE_CFLAGS:+false} :
13333 then :
13334 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13335 else $as_nop
13336 enable_faudio=no
13338 else $as_nop
13339 enable_faudio=no
13341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13344 if ${GSM_PE_LIBS:+false} :
13345 then :
13346 GSM_PE_LIBS=gsm
13347 if ${GSM_PE_CFLAGS:+false} :
13348 then :
13349 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13350 else $as_nop
13351 enable_gsm=no
13353 else $as_nop
13354 enable_gsm=no
13356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13359 if ${JPEG_PE_LIBS:+false} :
13360 then :
13361 JPEG_PE_LIBS=jpeg
13362 if ${JPEG_PE_CFLAGS:+false} :
13363 then :
13364 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13365 else $as_nop
13366 enable_jpeg=no
13368 else $as_nop
13369 enable_jpeg=no
13371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13372 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13374 if ${JXR_PE_LIBS:+false} :
13375 then :
13376 JXR_PE_LIBS=jxr
13377 if ${JXR_PE_CFLAGS:+false} :
13378 then :
13379 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13380 else $as_nop
13381 enable_jxr=no
13383 else $as_nop
13384 enable_jxr=no
13386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13389 if ${LCMS2_PE_LIBS:+false} :
13390 then :
13391 LCMS2_PE_LIBS=lcms2
13392 if ${LCMS2_PE_CFLAGS:+false} :
13393 then :
13394 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13395 else $as_nop
13396 enable_lcms2=no
13398 else $as_nop
13399 enable_lcms2=no
13401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13404 if ${LDAP_PE_LIBS:+false} :
13405 then :
13406 LDAP_PE_LIBS=ldap
13407 if ${LDAP_PE_CFLAGS:+false} :
13408 then :
13409 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13410 else $as_nop
13411 enable_ldap=no
13413 else $as_nop
13414 enable_ldap=no
13416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13419 if ${MPG123_PE_LIBS:+false} :
13420 then :
13421 MPG123_PE_LIBS=mpg123
13422 if ${MPG123_PE_CFLAGS:+false} :
13423 then :
13424 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13425 else $as_nop
13426 enable_mpg123=no
13428 else $as_nop
13429 enable_mpg123=no
13431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13434 if ${PNG_PE_LIBS:+false} :
13435 then :
13436 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13437 if ${PNG_PE_CFLAGS:+false} :
13438 then :
13439 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13440 else $as_nop
13441 enable_png=no
13443 else $as_nop
13444 enable_png=no
13446 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13449 if ${TIFF_PE_LIBS:+false} :
13450 then :
13451 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13452 if ${TIFF_PE_CFLAGS:+false} :
13453 then :
13454 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13455 else $as_nop
13456 enable_tiff=no
13458 else $as_nop
13459 enable_tiff=no
13461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13464 if ${VKD3D_PE_LIBS:+false} :
13465 then :
13466 VKD3D_PE_LIBS=vkd3d
13467 if ${VKD3D_PE_CFLAGS:+false} :
13468 then :
13469 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13470 else $as_nop
13471 enable_vkd3d=no
13473 else $as_nop
13474 enable_vkd3d=no
13476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13479 if ${XML2_PE_LIBS:+false} :
13480 then :
13481 XML2_PE_LIBS=xml2
13482 if ${XML2_PE_CFLAGS:+false} :
13483 then :
13484 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13485 else $as_nop
13486 enable_xml2=no
13488 else $as_nop
13489 enable_xml2=no
13491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13494 if ${XSLT_PE_LIBS:+false} :
13495 then :
13496 XSLT_PE_LIBS=xslt
13497 if ${XSLT_PE_CFLAGS:+false} :
13498 then :
13499 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13500 else $as_nop
13501 enable_xslt=no
13503 else $as_nop
13504 enable_xslt=no
13506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13509 if ${ZLIB_PE_LIBS:+false} :
13510 then :
13511 ZLIB_PE_LIBS=z
13512 if ${ZLIB_PE_CFLAGS:+false} :
13513 then :
13514 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13515 else $as_nop
13516 enable_zlib=no
13518 else $as_nop
13519 enable_zlib=no
13521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13526 if test "$ac_cv_header_pthread_h" = "yes"
13527 then
13528 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13529 if test "x$ac_cv_func_pthread_create" = xyes
13530 then :
13532 else $as_nop
13533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13534 printf %s "checking for pthread_create in -lpthread... " >&6; }
13535 if test ${ac_cv_lib_pthread_pthread_create+y}
13536 then :
13537 printf %s "(cached) " >&6
13538 else $as_nop
13539 ac_check_lib_save_LIBS=$LIBS
13540 LIBS="-lpthread $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13547 char pthread_create ();
13549 main (void)
13551 return pthread_create ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"
13557 then :
13558 ac_cv_lib_pthread_pthread_create=yes
13559 else $as_nop
13560 ac_cv_lib_pthread_pthread_create=no
13562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_lib_save_LIBS
13566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13567 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13568 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13569 then :
13570 PTHREAD_LIBS="-lpthread"
13577 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13578 then :
13579 case "x$with_pthread" in
13580 xno) ;;
13581 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13582 Wine cannot support threads without libpthread.
13583 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13584 esac
13589 ac_ext=c
13590 ac_cpp='$CPP $CPPFLAGS'
13591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13595 printf %s "checking how to run the C preprocessor... " >&6; }
13596 # On Suns, sometimes $CPP names a directory.
13597 if test -n "$CPP" && test -d "$CPP"; then
13598 CPP=
13600 if test -z "$CPP"; then
13601 if test ${ac_cv_prog_CPP+y}
13602 then :
13603 printf %s "(cached) " >&6
13604 else $as_nop
13605 # Double quotes because $CC needs to be expanded
13606 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13608 ac_preproc_ok=false
13609 for ac_c_preproc_warn_flag in '' yes
13611 # Use a header file that comes with gcc, so configuring glibc
13612 # with a fresh cross-compiler works.
13613 # On the NeXT, cc -E runs the code through the compiler's parser,
13614 # not just through cpp. "Syntax error" is here to catch this case.
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13617 #include <limits.h>
13618 Syntax error
13619 _ACEOF
13620 if ac_fn_c_try_cpp "$LINENO"
13621 then :
13623 else $as_nop
13624 # Broken: fails on valid input.
13625 continue
13627 rm -f conftest.err conftest.i conftest.$ac_ext
13629 # OK, works on sane cases. Now check whether nonexistent headers
13630 # can be detected and how.
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13633 #include <ac_nonexistent.h>
13634 _ACEOF
13635 if ac_fn_c_try_cpp "$LINENO"
13636 then :
13637 # Broken: success on invalid input.
13638 continue
13639 else $as_nop
13640 # Passes both tests.
13641 ac_preproc_ok=:
13642 break
13644 rm -f conftest.err conftest.i conftest.$ac_ext
13646 done
13647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13648 rm -f conftest.i conftest.err conftest.$ac_ext
13649 if $ac_preproc_ok
13650 then :
13651 break
13654 done
13655 ac_cv_prog_CPP=$CPP
13658 CPP=$ac_cv_prog_CPP
13659 else
13660 ac_cv_prog_CPP=$CPP
13662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13663 printf "%s\n" "$CPP" >&6; }
13664 ac_preproc_ok=false
13665 for ac_c_preproc_warn_flag in '' yes
13667 # Use a header file that comes with gcc, so configuring glibc
13668 # with a fresh cross-compiler works.
13669 # On the NeXT, cc -E runs the code through the compiler's parser,
13670 # not just through cpp. "Syntax error" is here to catch this case.
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <limits.h>
13674 Syntax error
13675 _ACEOF
13676 if ac_fn_c_try_cpp "$LINENO"
13677 then :
13679 else $as_nop
13680 # Broken: fails on valid input.
13681 continue
13683 rm -f conftest.err conftest.i conftest.$ac_ext
13685 # OK, works on sane cases. Now check whether nonexistent headers
13686 # can be detected and how.
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #include <ac_nonexistent.h>
13690 _ACEOF
13691 if ac_fn_c_try_cpp "$LINENO"
13692 then :
13693 # Broken: success on invalid input.
13694 continue
13695 else $as_nop
13696 # Passes both tests.
13697 ac_preproc_ok=:
13698 break
13700 rm -f conftest.err conftest.i conftest.$ac_ext
13702 done
13703 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13704 rm -f conftest.i conftest.err conftest.$ac_ext
13705 if $ac_preproc_ok
13706 then :
13708 else $as_nop
13709 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13710 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13711 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13712 See \`config.log' for more details" "$LINENO" 5; }
13715 ac_ext=c
13716 ac_cpp='$CPP $CPPFLAGS'
13717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13723 printf %s "checking for X... " >&6; }
13726 # Check whether --with-x was given.
13727 if test ${with_x+y}
13728 then :
13729 withval=$with_x;
13732 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13733 if test "x$with_x" = xno; then
13734 # The user explicitly disabled X.
13735 have_x=disabled
13736 else
13737 case $x_includes,$x_libraries in #(
13738 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13739 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13740 then :
13741 printf %s "(cached) " >&6
13742 else $as_nop
13743 # One or both of the vars are not set, and there is no cached value.
13744 ac_x_includes=no
13745 ac_x_libraries=no
13746 # Do we need to do anything special at all?
13747 ac_save_LIBS=$LIBS
13748 LIBS="-lX11 $LIBS"
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13751 #include <X11/Xlib.h>
13753 main (void)
13755 XrmInitialize ()
13757 return 0;
13759 _ACEOF
13760 if ac_fn_c_try_link "$LINENO"
13761 then :
13762 # We can compile and link X programs with no special options.
13763 ac_x_includes=
13764 ac_x_libraries=
13766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13767 conftest$ac_exeext conftest.$ac_ext
13768 LIBS="$ac_save_LIBS"
13769 # If that didn't work, only try xmkmf and file system searches
13770 # for native compilation.
13771 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13772 then :
13773 rm -f -r conftest.dir
13774 if mkdir conftest.dir; then
13775 cd conftest.dir
13776 cat >Imakefile <<'_ACEOF'
13777 incroot:
13778 @echo incroot='${INCROOT}'
13779 usrlibdir:
13780 @echo usrlibdir='${USRLIBDIR}'
13781 libdir:
13782 @echo libdir='${LIBDIR}'
13783 _ACEOF
13784 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13785 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13786 for ac_var in incroot usrlibdir libdir; do
13787 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13788 done
13789 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13790 for ac_extension in a so sl dylib la dll; do
13791 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13792 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13793 ac_im_usrlibdir=$ac_im_libdir; break
13795 done
13796 # Screen out bogus values from the imake configuration. They are
13797 # bogus both because they are the default anyway, and because
13798 # using them would break gcc on systems where it needs fixed includes.
13799 case $ac_im_incroot in
13800 /usr/include) ac_x_includes= ;;
13801 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13802 esac
13803 case $ac_im_usrlibdir in
13804 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13805 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13806 esac
13808 cd ..
13809 rm -f -r conftest.dir
13812 # Standard set of common directories for X headers.
13813 # Check X11 before X11Rn because it is often a symlink to the current release.
13814 ac_x_header_dirs='
13815 /usr/X11/include
13816 /usr/X11R7/include
13817 /usr/X11R6/include
13818 /usr/X11R5/include
13819 /usr/X11R4/include
13821 /usr/include/X11
13822 /usr/include/X11R7
13823 /usr/include/X11R6
13824 /usr/include/X11R5
13825 /usr/include/X11R4
13827 /usr/local/X11/include
13828 /usr/local/X11R7/include
13829 /usr/local/X11R6/include
13830 /usr/local/X11R5/include
13831 /usr/local/X11R4/include
13833 /usr/local/include/X11
13834 /usr/local/include/X11R7
13835 /usr/local/include/X11R6
13836 /usr/local/include/X11R5
13837 /usr/local/include/X11R4
13839 /opt/X11/include
13841 /usr/X386/include
13842 /usr/x386/include
13843 /usr/XFree86/include/X11
13845 /usr/include
13846 /usr/local/include
13847 /usr/unsupported/include
13848 /usr/athena/include
13849 /usr/local/x11r5/include
13850 /usr/lpp/Xamples/include
13852 /usr/openwin/include
13853 /usr/openwin/share/include'
13855 if test "$ac_x_includes" = no; then
13856 # Guess where to find include files, by looking for Xlib.h.
13857 # First, try using that file with no special directory specified.
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13860 #include <X11/Xlib.h>
13861 _ACEOF
13862 if ac_fn_c_try_cpp "$LINENO"
13863 then :
13864 # We can compile using X headers with no special include directory.
13865 ac_x_includes=
13866 else $as_nop
13867 for ac_dir in $ac_x_header_dirs; do
13868 if test -r "$ac_dir/X11/Xlib.h"; then
13869 ac_x_includes=$ac_dir
13870 break
13872 done
13874 rm -f conftest.err conftest.i conftest.$ac_ext
13875 fi # $ac_x_includes = no
13877 if test "$ac_x_libraries" = no; then
13878 # Check for the libraries.
13879 # See if we find them without any special options.
13880 # Don't add to $LIBS permanently.
13881 ac_save_LIBS=$LIBS
13882 LIBS="-lX11 $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13885 #include <X11/Xlib.h>
13887 main (void)
13889 XrmInitialize ()
13891 return 0;
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"
13895 then :
13896 LIBS=$ac_save_LIBS
13897 # We can link X programs with no special library path.
13898 ac_x_libraries=
13899 else $as_nop
13900 LIBS=$ac_save_LIBS
13901 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13903 # Don't even attempt the hair of trying to link an X program!
13904 for ac_extension in a so sl dylib la dll; do
13905 if test -r "$ac_dir/libX11.$ac_extension"; then
13906 ac_x_libraries=$ac_dir
13907 break 2
13909 done
13910 done
13912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13913 conftest$ac_exeext conftest.$ac_ext
13914 fi # $ac_x_libraries = no
13917 # Record the results.
13918 case $ac_x_includes,$ac_x_libraries in #(
13919 no,* | *,no | *\'*) :
13920 # Didn't find X, or a directory has "'" in its name.
13921 ac_cv_have_x="have_x=no" ;; #(
13922 *) :
13923 # Record where we found X for the cache.
13924 ac_cv_have_x="have_x=yes\
13925 ac_x_includes='$ac_x_includes'\
13926 ac_x_libraries='$ac_x_libraries'" ;;
13927 esac
13929 ;; #(
13930 *) have_x=yes;;
13931 esac
13932 eval "$ac_cv_have_x"
13933 fi # $with_x != no
13935 if test "$have_x" != yes; then
13936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13937 printf "%s\n" "$have_x" >&6; }
13938 no_x=yes
13939 else
13940 # If each of the values was on the command line, it overrides each guess.
13941 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13942 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13943 # Update the cache value to reflect the command line values.
13944 ac_cv_have_x="have_x=yes\
13945 ac_x_includes='$x_includes'\
13946 ac_x_libraries='$x_libraries'"
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13948 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13951 if test "$no_x" = yes; then
13952 # Not all programs may use this symbol, but it does not hurt to define it.
13954 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13956 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13957 else
13958 if test -n "$x_includes"; then
13959 X_CFLAGS="$X_CFLAGS -I$x_includes"
13962 # It would also be nice to do this for all -L options, not just this one.
13963 if test -n "$x_libraries"; then
13964 X_LIBS="$X_LIBS -L$x_libraries"
13965 # For Solaris; some versions of Sun CC require a space after -R and
13966 # others require no space. Words are not sufficient . . . .
13967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13968 printf %s "checking whether -R must be followed by a space... " >&6; }
13969 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13970 ac_xsave_c_werror_flag=$ac_c_werror_flag
13971 ac_c_werror_flag=yes
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13976 main (void)
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_link "$LINENO"
13984 then :
13985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986 printf "%s\n" "no" >&6; }
13987 X_LIBS="$X_LIBS -R$x_libraries"
13988 else $as_nop
13989 LIBS="$ac_xsave_LIBS -R $x_libraries"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13994 main (void)
13998 return 0;
14000 _ACEOF
14001 if ac_fn_c_try_link "$LINENO"
14002 then :
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14004 printf "%s\n" "yes" >&6; }
14005 X_LIBS="$X_LIBS -R $x_libraries"
14006 else $as_nop
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14008 printf "%s\n" "neither works" >&6; }
14010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14011 conftest$ac_exeext conftest.$ac_ext
14013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14014 conftest$ac_exeext conftest.$ac_ext
14015 ac_c_werror_flag=$ac_xsave_c_werror_flag
14016 LIBS=$ac_xsave_LIBS
14019 # Check for system-dependent libraries X programs must link with.
14020 # Do this before checking for the system-independent R6 libraries
14021 # (-lICE), since we may need -lsocket or whatever for X linking.
14023 if test "$ISC" = yes; then
14024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14025 else
14026 # Martyn Johnson says this is needed for Ultrix, if the X
14027 # libraries were built with DECnet support. And Karl Berry says
14028 # the Alpha needs dnet_stub (dnet does not exist).
14029 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14033 /* Override any GCC internal prototype to avoid an error.
14034 Use char because int might match the return type of a GCC
14035 builtin and then its argument prototype would still apply. */
14036 char XOpenDisplay ();
14038 main (void)
14040 return XOpenDisplay ();
14042 return 0;
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"
14046 then :
14048 else $as_nop
14049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14050 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14051 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14052 then :
14053 printf %s "(cached) " >&6
14054 else $as_nop
14055 ac_check_lib_save_LIBS=$LIBS
14056 LIBS="-ldnet $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 /* end confdefs.h. */
14060 /* Override any GCC internal prototype to avoid an error.
14061 Use char because int might match the return type of a GCC
14062 builtin and then its argument prototype would still apply. */
14063 char dnet_ntoa ();
14065 main (void)
14067 return dnet_ntoa ();
14069 return 0;
14071 _ACEOF
14072 if ac_fn_c_try_link "$LINENO"
14073 then :
14074 ac_cv_lib_dnet_dnet_ntoa=yes
14075 else $as_nop
14076 ac_cv_lib_dnet_dnet_ntoa=no
14078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_lib_save_LIBS
14082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14083 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14084 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14085 then :
14086 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14089 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14091 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14092 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14093 then :
14094 printf %s "(cached) " >&6
14095 else $as_nop
14096 ac_check_lib_save_LIBS=$LIBS
14097 LIBS="-ldnet_stub $LIBS"
14098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14099 /* end confdefs.h. */
14101 /* Override any GCC internal prototype to avoid an error.
14102 Use char because int might match the return type of a GCC
14103 builtin and then its argument prototype would still apply. */
14104 char dnet_ntoa ();
14106 main (void)
14108 return dnet_ntoa ();
14110 return 0;
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"
14114 then :
14115 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14116 else $as_nop
14117 ac_cv_lib_dnet_stub_dnet_ntoa=no
14119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14120 conftest$ac_exeext conftest.$ac_ext
14121 LIBS=$ac_check_lib_save_LIBS
14123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14124 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14125 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14126 then :
14127 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14133 conftest$ac_exeext conftest.$ac_ext
14134 LIBS="$ac_xsave_LIBS"
14136 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14137 # to get the SysV transport functions.
14138 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14139 # needs -lnsl.
14140 # The nsl library prevents programs from opening the X display
14141 # on Irix 5.2, according to T.E. Dickey.
14142 # The functions gethostbyname, getservbyname, and inet_addr are
14143 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14144 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14145 if test "x$ac_cv_func_gethostbyname" = xyes
14146 then :
14150 if test $ac_cv_func_gethostbyname = no; then
14151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14152 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14153 if test ${ac_cv_lib_nsl_gethostbyname+y}
14154 then :
14155 printf %s "(cached) " >&6
14156 else $as_nop
14157 ac_check_lib_save_LIBS=$LIBS
14158 LIBS="-lnsl $LIBS"
14159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14162 /* Override any GCC internal prototype to avoid an error.
14163 Use char because int might match the return type of a GCC
14164 builtin and then its argument prototype would still apply. */
14165 char gethostbyname ();
14167 main (void)
14169 return gethostbyname ();
14171 return 0;
14173 _ACEOF
14174 if ac_fn_c_try_link "$LINENO"
14175 then :
14176 ac_cv_lib_nsl_gethostbyname=yes
14177 else $as_nop
14178 ac_cv_lib_nsl_gethostbyname=no
14180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14181 conftest$ac_exeext conftest.$ac_ext
14182 LIBS=$ac_check_lib_save_LIBS
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14185 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14186 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14187 then :
14188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14191 if test $ac_cv_lib_nsl_gethostbyname = no; then
14192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14193 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14194 if test ${ac_cv_lib_bsd_gethostbyname+y}
14195 then :
14196 printf %s "(cached) " >&6
14197 else $as_nop
14198 ac_check_lib_save_LIBS=$LIBS
14199 LIBS="-lbsd $LIBS"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 char gethostbyname ();
14208 main (void)
14210 return gethostbyname ();
14212 return 0;
14214 _ACEOF
14215 if ac_fn_c_try_link "$LINENO"
14216 then :
14217 ac_cv_lib_bsd_gethostbyname=yes
14218 else $as_nop
14219 ac_cv_lib_bsd_gethostbyname=no
14221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_check_lib_save_LIBS
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14226 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14227 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14228 then :
14229 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14235 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14236 # socket/setsockopt and other routines are undefined under SCO ODT
14237 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14238 # on later versions), says Simon Leinen: it contains gethostby*
14239 # variants that don't use the name server (or something). -lsocket
14240 # must be given before -lnsl if both are needed. We assume that
14241 # if connect needs -lnsl, so does gethostbyname.
14242 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14243 if test "x$ac_cv_func_connect" = xyes
14244 then :
14248 if test $ac_cv_func_connect = no; then
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14250 printf %s "checking for connect in -lsocket... " >&6; }
14251 if test ${ac_cv_lib_socket_connect+y}
14252 then :
14253 printf %s "(cached) " >&6
14254 else $as_nop
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char connect ();
14265 main (void)
14267 return connect ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 ac_cv_lib_socket_connect=yes
14275 else $as_nop
14276 ac_cv_lib_socket_connect=no
14278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14283 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14284 if test "x$ac_cv_lib_socket_connect" = xyes
14285 then :
14286 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14291 # Guillermo Gomez says -lposix is necessary on A/UX.
14292 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14293 if test "x$ac_cv_func_remove" = xyes
14294 then :
14298 if test $ac_cv_func_remove = no; then
14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14300 printf %s "checking for remove in -lposix... " >&6; }
14301 if test ${ac_cv_lib_posix_remove+y}
14302 then :
14303 printf %s "(cached) " >&6
14304 else $as_nop
14305 ac_check_lib_save_LIBS=$LIBS
14306 LIBS="-lposix $LIBS"
14307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14308 /* end confdefs.h. */
14310 /* Override any GCC internal prototype to avoid an error.
14311 Use char because int might match the return type of a GCC
14312 builtin and then its argument prototype would still apply. */
14313 char remove ();
14315 main (void)
14317 return remove ();
14319 return 0;
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"
14323 then :
14324 ac_cv_lib_posix_remove=yes
14325 else $as_nop
14326 ac_cv_lib_posix_remove=no
14328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14333 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14334 if test "x$ac_cv_lib_posix_remove" = xyes
14335 then :
14336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14341 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14342 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14343 if test "x$ac_cv_func_shmat" = xyes
14344 then :
14348 if test $ac_cv_func_shmat = no; then
14349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14350 printf %s "checking for shmat in -lipc... " >&6; }
14351 if test ${ac_cv_lib_ipc_shmat+y}
14352 then :
14353 printf %s "(cached) " >&6
14354 else $as_nop
14355 ac_check_lib_save_LIBS=$LIBS
14356 LIBS="-lipc $LIBS"
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14358 /* end confdefs.h. */
14360 /* Override any GCC internal prototype to avoid an error.
14361 Use char because int might match the return type of a GCC
14362 builtin and then its argument prototype would still apply. */
14363 char shmat ();
14365 main (void)
14367 return shmat ();
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"
14373 then :
14374 ac_cv_lib_ipc_shmat=yes
14375 else $as_nop
14376 ac_cv_lib_ipc_shmat=no
14378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14379 conftest$ac_exeext conftest.$ac_ext
14380 LIBS=$ac_check_lib_save_LIBS
14382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14383 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14384 if test "x$ac_cv_lib_ipc_shmat" = xyes
14385 then :
14386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14392 # Check for libraries that X11R6 Xt/Xaw programs need.
14393 ac_save_LDFLAGS=$LDFLAGS
14394 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14395 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14396 # check for ICE first), but we must link in the order -lSM -lICE or
14397 # we get undefined symbols. So assume we have SM if we have ICE.
14398 # These have to be linked with before -lX11, unlike the other
14399 # libraries we check for below, so use a different variable.
14400 # John Interrante, Karl Berry
14401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14402 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14403 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14404 then :
14405 printf %s "(cached) " >&6
14406 else $as_nop
14407 ac_check_lib_save_LIBS=$LIBS
14408 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 /* Override any GCC internal prototype to avoid an error.
14413 Use char because int might match the return type of a GCC
14414 builtin and then its argument prototype would still apply. */
14415 char IceConnectionNumber ();
14417 main (void)
14419 return IceConnectionNumber ();
14421 return 0;
14423 _ACEOF
14424 if ac_fn_c_try_link "$LINENO"
14425 then :
14426 ac_cv_lib_ICE_IceConnectionNumber=yes
14427 else $as_nop
14428 ac_cv_lib_ICE_IceConnectionNumber=no
14430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14431 conftest$ac_exeext conftest.$ac_ext
14432 LIBS=$ac_check_lib_save_LIBS
14434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14435 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14436 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14437 then :
14438 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14441 LDFLAGS=$ac_save_LDFLAGS
14446 if test "$have_x" = "yes"
14447 then
14448 ac_save_CPPFLAGS="$CPPFLAGS"
14449 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14452 printf %s "checking for -lX11... " >&6; }
14453 if test ${ac_cv_lib_soname_X11+y}
14454 then :
14455 printf %s "(cached) " >&6
14456 else $as_nop
14457 ac_check_soname_save_LIBS=$LIBS
14458 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14462 /* Override any GCC internal prototype to avoid an error.
14463 Use char because int might match the return type of a GCC
14464 builtin and then its argument prototype would still apply. */
14465 char XCreateWindow ();
14467 main (void)
14469 return XCreateWindow ();
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"
14475 then :
14476 case "$LIBEXT" in
14477 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14478 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'` ;;
14479 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14480 if ${ac_cv_lib_soname_X11:+false} :
14481 then :
14482 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14483 fi ;;
14484 esac
14485 else $as_nop
14486 ac_cv_lib_soname_X11=
14488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14489 conftest$ac_exeext conftest.$ac_ext
14490 LIBS=$ac_check_soname_save_LIBS
14492 if ${ac_cv_lib_soname_X11:+false} :
14493 then :
14494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14495 printf "%s\n" "not found" >&6; }
14497 else $as_nop
14498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14499 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14501 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14506 printf %s "checking for -lXext... " >&6; }
14507 if test ${ac_cv_lib_soname_Xext+y}
14508 then :
14509 printf %s "(cached) " >&6
14510 else $as_nop
14511 ac_check_soname_save_LIBS=$LIBS
14512 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14516 /* Override any GCC internal prototype to avoid an error.
14517 Use char because int might match the return type of a GCC
14518 builtin and then its argument prototype would still apply. */
14519 char XextCreateExtension ();
14521 main (void)
14523 return XextCreateExtension ();
14525 return 0;
14527 _ACEOF
14528 if ac_fn_c_try_link "$LINENO"
14529 then :
14530 case "$LIBEXT" in
14531 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14532 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'` ;;
14533 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14534 if ${ac_cv_lib_soname_Xext:+false} :
14535 then :
14536 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14537 fi ;;
14538 esac
14539 else $as_nop
14540 ac_cv_lib_soname_Xext=
14542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14543 conftest$ac_exeext conftest.$ac_ext
14544 LIBS=$ac_check_soname_save_LIBS
14546 if ${ac_cv_lib_soname_Xext:+false} :
14547 then :
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14549 printf "%s\n" "not found" >&6; }
14551 else $as_nop
14552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14553 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14555 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14557 X_LIBS="$X_LIBS -lXext"
14559 X_LIBS="$X_LIBS -lX11"
14561 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14562 # include <X11/Xlib.h>
14563 #endif
14564 #ifdef HAVE_X11_XUTIL_H
14565 # include <X11/Xutil.h>
14566 #endif
14568 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14569 then :
14570 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14573 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14574 # include <X11/Xlib.h>
14575 #endif
14576 #ifdef HAVE_X11_XUTIL_H
14577 # include <X11/Xutil.h>
14578 #endif
14580 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14581 then :
14582 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14585 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14586 # include <X11/Xlib.h>
14587 #endif
14588 #ifdef HAVE_X11_XUTIL_H
14589 # include <X11/Xutil.h>
14590 #endif
14592 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14593 then :
14594 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14597 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14598 # include <X11/Xlib.h>
14599 #endif
14600 #ifdef HAVE_X11_XUTIL_H
14601 # include <X11/Xutil.h>
14602 #endif
14604 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14605 then :
14606 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14609 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14610 # include <X11/Xlib.h>
14611 #endif
14612 #ifdef HAVE_X11_XUTIL_H
14613 # include <X11/Xutil.h>
14614 #endif
14616 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14617 then :
14618 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14621 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14622 # include <X11/Xlib.h>
14623 #endif
14624 #ifdef HAVE_X11_XUTIL_H
14625 # include <X11/Xutil.h>
14626 #endif
14628 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14629 then :
14630 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14633 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14634 # include <X11/Xlib.h>
14635 #endif
14636 #ifdef HAVE_X11_XUTIL_H
14637 # include <X11/Xutil.h>
14638 #endif
14640 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14641 then :
14642 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14645 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14646 # include <X11/Xlib.h>
14647 #endif
14648 #ifdef HAVE_X11_XUTIL_H
14649 # include <X11/Xutil.h>
14650 #endif
14652 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14653 then :
14654 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14657 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14658 # include <X11/Xlib.h>
14659 #endif
14660 #ifdef HAVE_X11_XUTIL_H
14661 # include <X11/Xutil.h>
14662 #endif
14664 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14665 then :
14666 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14669 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14670 # include <X11/Xlib.h>
14671 #endif
14672 #ifdef HAVE_X11_XUTIL_H
14673 # include <X11/Xutil.h>
14674 #endif
14676 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14677 then :
14678 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14681 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14682 # include <X11/Xlib.h>
14683 #endif
14684 #ifdef HAVE_X11_XUTIL_H
14685 # include <X11/Xutil.h>
14686 #endif
14688 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14689 then :
14690 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14693 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14694 # include <X11/Xlib.h>
14695 #endif
14696 #ifdef HAVE_X11_XUTIL_H
14697 # include <X11/Xutil.h>
14698 #endif
14700 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14701 then :
14702 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14705 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14706 # include <X11/Xlib.h>
14707 #endif
14708 #ifdef HAVE_X11_XUTIL_H
14709 # include <X11/Xutil.h>
14710 #endif
14712 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14713 then :
14714 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14717 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14718 # include <X11/Xlib.h>
14719 #endif
14720 #ifdef HAVE_X11_XUTIL_H
14721 # include <X11/Xutil.h>
14722 #endif
14724 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14725 then :
14726 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14729 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14730 # include <X11/Xlib.h>
14731 #endif
14732 #ifdef HAVE_X11_XUTIL_H
14733 # include <X11/Xutil.h>
14734 #endif
14736 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14737 then :
14738 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14743 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14744 then
14745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14746 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14747 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14748 then :
14749 printf %s "(cached) " >&6
14750 else $as_nop
14751 ac_check_lib_save_LIBS=$LIBS
14752 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14756 /* Override any GCC internal prototype to avoid an error.
14757 Use char because int might match the return type of a GCC
14758 builtin and then its argument prototype would still apply. */
14759 char XkbQueryExtension ();
14761 main (void)
14763 return XkbQueryExtension ();
14765 return 0;
14767 _ACEOF
14768 if ac_fn_c_try_link "$LINENO"
14769 then :
14770 ac_cv_lib_X11_XkbQueryExtension=yes
14771 else $as_nop
14772 ac_cv_lib_X11_XkbQueryExtension=no
14774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14775 conftest$ac_exeext conftest.$ac_ext
14776 LIBS=$ac_check_lib_save_LIBS
14778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14779 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14780 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14781 then :
14783 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14789 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14790 then
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14792 printf %s "checking for -lXcursor... " >&6; }
14793 if test ${ac_cv_lib_soname_Xcursor+y}
14794 then :
14795 printf %s "(cached) " >&6
14796 else $as_nop
14797 ac_check_soname_save_LIBS=$LIBS
14798 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 char XcursorImageLoadCursor ();
14807 main (void)
14809 return XcursorImageLoadCursor ();
14811 return 0;
14813 _ACEOF
14814 if ac_fn_c_try_link "$LINENO"
14815 then :
14816 case "$LIBEXT" in
14817 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14818 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'` ;;
14819 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14820 if ${ac_cv_lib_soname_Xcursor:+false} :
14821 then :
14822 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14823 fi ;;
14824 esac
14825 else $as_nop
14826 ac_cv_lib_soname_Xcursor=
14828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14829 conftest$ac_exeext conftest.$ac_ext
14830 LIBS=$ac_check_soname_save_LIBS
14832 if ${ac_cv_lib_soname_Xcursor:+false} :
14833 then :
14834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14835 printf "%s\n" "not found" >&6; }
14837 else $as_nop
14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14839 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14841 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14846 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14847 then :
14848 case "x$with_xcursor" in
14849 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14852 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14853 esac
14857 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14858 then
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14860 printf %s "checking for -lXi... " >&6; }
14861 if test ${ac_cv_lib_soname_Xi+y}
14862 then :
14863 printf %s "(cached) " >&6
14864 else $as_nop
14865 ac_check_soname_save_LIBS=$LIBS
14866 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14868 /* end confdefs.h. */
14870 /* Override any GCC internal prototype to avoid an error.
14871 Use char because int might match the return type of a GCC
14872 builtin and then its argument prototype would still apply. */
14873 char XOpenDevice ();
14875 main (void)
14877 return XOpenDevice ();
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"
14883 then :
14884 case "$LIBEXT" in
14885 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14886 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'` ;;
14887 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14888 if ${ac_cv_lib_soname_Xi:+false} :
14889 then :
14890 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14891 fi ;;
14892 esac
14893 else $as_nop
14894 ac_cv_lib_soname_Xi=
14896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14897 conftest$ac_exeext conftest.$ac_ext
14898 LIBS=$ac_check_soname_save_LIBS
14900 if ${ac_cv_lib_soname_Xi:+false} :
14901 then :
14902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14903 printf "%s\n" "not found" >&6; }
14905 else $as_nop
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14907 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14909 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14914 if test "x$ac_cv_lib_soname_Xi" = "x"
14915 then :
14916 case "x$with_xinput" in
14917 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14918 xno) ;;
14919 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14920 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14921 esac
14925 if test "x$ac_cv_lib_soname_Xi" != x
14926 then
14927 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14928 then :
14929 case "x$with_xinput2" in
14930 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14931 xno) ;;
14932 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14933 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14934 esac
14939 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14940 then
14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14942 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14943 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14944 then :
14945 printf %s "(cached) " >&6
14946 else $as_nop
14947 ac_check_lib_save_LIBS=$LIBS
14948 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 char XShmQueryExtension ();
14957 main (void)
14959 return XShmQueryExtension ();
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"
14965 then :
14966 ac_cv_lib_Xext_XShmQueryExtension=yes
14967 else $as_nop
14968 ac_cv_lib_Xext_XShmQueryExtension=no
14970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14971 conftest$ac_exeext conftest.$ac_ext
14972 LIBS=$ac_check_lib_save_LIBS
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14975 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14976 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14977 then :
14979 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14984 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14985 then :
14986 case "x$with_xshm" in
14987 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14988 xno) ;;
14989 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14990 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14991 esac
14995 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14996 then
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14998 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14999 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15000 then :
15001 printf %s "(cached) " >&6
15002 else $as_nop
15003 ac_check_lib_save_LIBS=$LIBS
15004 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 char XShapeQueryExtension ();
15013 main (void)
15015 return XShapeQueryExtension ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"
15021 then :
15022 ac_cv_lib_Xext_XShapeQueryExtension=yes
15023 else $as_nop
15024 ac_cv_lib_Xext_XShapeQueryExtension=no
15026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15031 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15032 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15033 then :
15035 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15040 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15041 then :
15042 case "x$with_xshape" in
15043 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15044 xno) ;;
15045 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15046 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15047 esac
15051 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15052 then
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15054 printf %s "checking for -lXxf86vm... " >&6; }
15055 if test ${ac_cv_lib_soname_Xxf86vm+y}
15056 then :
15057 printf %s "(cached) " >&6
15058 else $as_nop
15059 ac_check_soname_save_LIBS=$LIBS
15060 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15064 /* Override any GCC internal prototype to avoid an error.
15065 Use char because int might match the return type of a GCC
15066 builtin and then its argument prototype would still apply. */
15067 char XF86VidModeQueryExtension ();
15069 main (void)
15071 return XF86VidModeQueryExtension ();
15073 return 0;
15075 _ACEOF
15076 if ac_fn_c_try_link "$LINENO"
15077 then :
15078 case "$LIBEXT" in
15079 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15080 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'` ;;
15081 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15082 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15083 then :
15084 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15085 fi ;;
15086 esac
15087 else $as_nop
15088 ac_cv_lib_soname_Xxf86vm=
15090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15091 conftest$ac_exeext conftest.$ac_ext
15092 LIBS=$ac_check_soname_save_LIBS
15094 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15095 then :
15096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15097 printf "%s\n" "not found" >&6; }
15099 else $as_nop
15100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15101 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15103 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15108 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15109 then :
15110 case "x$with_xxf86vm" in
15111 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15112 xno) ;;
15113 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15114 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15115 esac
15119 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15120 then
15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15122 printf %s "checking for -lXrender... " >&6; }
15123 if test ${ac_cv_lib_soname_Xrender+y}
15124 then :
15125 printf %s "(cached) " >&6
15126 else $as_nop
15127 ac_check_soname_save_LIBS=$LIBS
15128 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15132 /* Override any GCC internal prototype to avoid an error.
15133 Use char because int might match the return type of a GCC
15134 builtin and then its argument prototype would still apply. */
15135 char XRenderQueryExtension ();
15137 main (void)
15139 return XRenderQueryExtension ();
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_link "$LINENO"
15145 then :
15146 case "$LIBEXT" in
15147 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15148 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'` ;;
15149 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15150 if ${ac_cv_lib_soname_Xrender:+false} :
15151 then :
15152 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15153 fi ;;
15154 esac
15155 else $as_nop
15156 ac_cv_lib_soname_Xrender=
15158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15159 conftest$ac_exeext conftest.$ac_ext
15160 LIBS=$ac_check_soname_save_LIBS
15162 if ${ac_cv_lib_soname_Xrender:+false} :
15163 then :
15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15165 printf "%s\n" "not found" >&6; }
15167 else $as_nop
15168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15169 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15171 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15174 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15175 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15176 then :
15177 printf %s "(cached) " >&6
15178 else $as_nop
15179 ac_check_lib_save_LIBS=$LIBS
15180 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 char XRenderSetPictureTransform ();
15189 main (void)
15191 return XRenderSetPictureTransform ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"
15197 then :
15198 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15199 else $as_nop
15200 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_lib_save_LIBS
15206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15207 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15208 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15209 then :
15211 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15216 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15217 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15218 then :
15219 printf %s "(cached) " >&6
15220 else $as_nop
15221 ac_check_lib_save_LIBS=$LIBS
15222 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15226 /* Override any GCC internal prototype to avoid an error.
15227 Use char because int might match the return type of a GCC
15228 builtin and then its argument prototype would still apply. */
15229 char XRenderCreateLinearGradient ();
15231 main (void)
15233 return XRenderCreateLinearGradient ();
15235 return 0;
15237 _ACEOF
15238 if ac_fn_c_try_link "$LINENO"
15239 then :
15240 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15241 else $as_nop
15242 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15245 conftest$ac_exeext conftest.$ac_ext
15246 LIBS=$ac_check_lib_save_LIBS
15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15249 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15250 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15251 then :
15253 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15260 if test "x$ac_cv_lib_soname_Xrender" = "x"
15261 then :
15262 case "x$with_xrender" in
15263 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15264 xno) ;;
15265 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15266 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15267 esac
15271 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15272 then
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275 #include <X11/Xlib.h>
15276 #include <X11/extensions/Xrandr.h>
15278 main (void)
15280 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_compile "$LINENO"
15286 then :
15287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15288 printf %s "checking for -lXrandr... " >&6; }
15289 if test ${ac_cv_lib_soname_Xrandr+y}
15290 then :
15291 printf %s "(cached) " >&6
15292 else $as_nop
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 char XRRQueryExtension ();
15303 main (void)
15305 return XRRQueryExtension ();
15307 return 0;
15309 _ACEOF
15310 if ac_fn_c_try_link "$LINENO"
15311 then :
15312 case "$LIBEXT" in
15313 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15314 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'` ;;
15315 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15316 if ${ac_cv_lib_soname_Xrandr:+false} :
15317 then :
15318 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else $as_nop
15322 ac_cv_lib_soname_Xrandr=
15324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_Xrandr:+false} :
15329 then :
15330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 printf "%s\n" "not found" >&6; }
15333 else $as_nop
15334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15335 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15337 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15341 #include <X11/Xlib.h>
15342 #include <X11/extensions/Xrandr.h>
15344 main (void)
15346 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15348 return 0;
15350 _ACEOF
15351 if ac_fn_c_try_compile "$LINENO"
15352 then :
15354 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15356 else $as_nop
15357 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15364 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15365 then :
15366 case "x$with_xrandr" in
15367 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15368 xno) ;;
15369 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15370 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15371 esac
15375 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15376 then
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 #include <X11/Xlib.h>
15380 #include <X11/extensions/Xfixes.h>
15382 main (void)
15384 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15386 return 0;
15388 _ACEOF
15389 if ac_fn_c_try_compile "$LINENO"
15390 then :
15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15392 printf %s "checking for -lXfixes... " >&6; }
15393 if test ${ac_cv_lib_soname_Xfixes+y}
15394 then :
15395 printf %s "(cached) " >&6
15396 else $as_nop
15397 ac_check_soname_save_LIBS=$LIBS
15398 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15405 char XFixesQueryVersion ();
15407 main (void)
15409 return XFixesQueryVersion ();
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"
15415 then :
15416 case "$LIBEXT" in
15417 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15418 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'` ;;
15419 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15420 if ${ac_cv_lib_soname_Xfixes:+false} :
15421 then :
15422 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15423 fi ;;
15424 esac
15425 else $as_nop
15426 ac_cv_lib_soname_Xfixes=
15428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15429 conftest$ac_exeext conftest.$ac_ext
15430 LIBS=$ac_check_soname_save_LIBS
15432 if ${ac_cv_lib_soname_Xfixes:+false} :
15433 then :
15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15435 printf "%s\n" "not found" >&6; }
15437 else $as_nop
15438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15439 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15441 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15448 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15449 then :
15450 case "x$with_xfixes" in
15451 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15452 xno) ;;
15453 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15454 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15455 esac
15459 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15460 then
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15463 #include <X11/Xlib.h>
15464 #include <X11/extensions/Xinerama.h>
15466 main (void)
15468 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_compile "$LINENO"
15474 then :
15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15476 printf %s "checking for -lXinerama... " >&6; }
15477 if test ${ac_cv_lib_soname_Xinerama+y}
15478 then :
15479 printf %s "(cached) " >&6
15480 else $as_nop
15481 ac_check_soname_save_LIBS=$LIBS
15482 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15484 /* end confdefs.h. */
15486 /* Override any GCC internal prototype to avoid an error.
15487 Use char because int might match the return type of a GCC
15488 builtin and then its argument prototype would still apply. */
15489 char XineramaQueryScreens ();
15491 main (void)
15493 return XineramaQueryScreens ();
15495 return 0;
15497 _ACEOF
15498 if ac_fn_c_try_link "$LINENO"
15499 then :
15500 case "$LIBEXT" in
15501 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15502 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'` ;;
15503 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15504 if ${ac_cv_lib_soname_Xinerama:+false} :
15505 then :
15506 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15507 fi ;;
15508 esac
15509 else $as_nop
15510 ac_cv_lib_soname_Xinerama=
15512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15513 conftest$ac_exeext conftest.$ac_ext
15514 LIBS=$ac_check_soname_save_LIBS
15516 if ${ac_cv_lib_soname_Xinerama:+false} :
15517 then :
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15519 printf "%s\n" "not found" >&6; }
15521 else $as_nop
15522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15523 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15525 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15532 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15533 then :
15534 case "x$with_xinerama" in
15535 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15536 xno) ;;
15537 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15538 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15539 esac
15543 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15544 then
15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15546 printf %s "checking for -lXcomposite... " >&6; }
15547 if test ${ac_cv_lib_soname_Xcomposite+y}
15548 then :
15549 printf %s "(cached) " >&6
15550 else $as_nop
15551 ac_check_soname_save_LIBS=$LIBS
15552 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15554 /* end confdefs.h. */
15556 /* Override any GCC internal prototype to avoid an error.
15557 Use char because int might match the return type of a GCC
15558 builtin and then its argument prototype would still apply. */
15559 char XCompositeRedirectWindow ();
15561 main (void)
15563 return XCompositeRedirectWindow ();
15565 return 0;
15567 _ACEOF
15568 if ac_fn_c_try_link "$LINENO"
15569 then :
15570 case "$LIBEXT" in
15571 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15572 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'` ;;
15573 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15574 if ${ac_cv_lib_soname_Xcomposite:+false} :
15575 then :
15576 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15577 fi ;;
15578 esac
15579 else $as_nop
15580 ac_cv_lib_soname_Xcomposite=
15582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15583 conftest$ac_exeext conftest.$ac_ext
15584 LIBS=$ac_check_soname_save_LIBS
15586 if ${ac_cv_lib_soname_Xcomposite:+false} :
15587 then :
15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15589 printf "%s\n" "not found" >&6; }
15591 else $as_nop
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15593 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15595 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15600 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15601 then :
15602 case "x$with_xcomposite" in
15603 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15604 xno) ;;
15605 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15606 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15607 esac
15611 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15612 #include <X11/Xlib.h>
15613 #endif
15615 if test "x$ac_cv_member_XICCallback_callback" = xyes
15616 then :
15618 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15622 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15623 #include <X11/Xlib.h>
15624 #endif
15626 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15627 then :
15629 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15636 opengl_msg=""
15637 if test "x$with_opengl" != "xno"
15638 then
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15640 printf %s "checking for -lGL... " >&6; }
15641 if test ${ac_cv_lib_soname_GL+y}
15642 then :
15643 printf %s "(cached) " >&6
15644 else $as_nop
15645 ac_check_soname_save_LIBS=$LIBS
15646 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 char glXCreateContext ();
15655 main (void)
15657 return glXCreateContext ();
15659 return 0;
15661 _ACEOF
15662 if ac_fn_c_try_link "$LINENO"
15663 then :
15664 case "$LIBEXT" in
15665 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_GL:+false} :
15669 then :
15670 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15671 fi ;;
15672 esac
15673 else $as_nop
15674 ac_cv_lib_soname_GL=
15676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_check_soname_save_LIBS
15680 if ${ac_cv_lib_soname_GL:+false} :
15681 then :
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15683 printf "%s\n" "not found" >&6; }
15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15685 printf %s "checking for -lGL... " >&6; }
15686 if test ${ac_cv_lib_soname_GL+y}
15687 then :
15688 printf %s "(cached) " >&6
15689 else $as_nop
15690 ac_check_soname_save_LIBS=$LIBS
15691 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"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15695 /* Override any GCC internal prototype to avoid an error.
15696 Use char because int might match the return type of a GCC
15697 builtin and then its argument prototype would still apply. */
15698 char glXCreateContext ();
15700 main (void)
15702 return glXCreateContext ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"
15708 then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 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'` ;;
15712 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_GL:+false} :
15714 then :
15715 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15716 fi ;;
15717 esac
15718 else $as_nop
15719 ac_cv_lib_soname_GL=
15721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15722 conftest$ac_exeext conftest.$ac_ext
15723 LIBS=$ac_check_soname_save_LIBS
15725 if ${ac_cv_lib_soname_GL:+false} :
15726 then :
15727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15728 printf "%s\n" "not found" >&6; }
15729 if test -f /usr/X11R6/lib/libGL.a
15730 then
15731 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15732 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15733 else
15734 opengl_msg="No OpenGL library found on this system."
15736 else $as_nop
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15738 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15740 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15742 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"
15744 else $as_nop
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15746 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15748 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15750 OPENGL_LIBS="-lGL"
15752 if test "x$with_osmesa" != "xno"
15753 then
15754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15755 printf %s "checking for -lOSMesa... " >&6; }
15756 if test ${ac_cv_lib_soname_OSMesa+y}
15757 then :
15758 printf %s "(cached) " >&6
15759 else $as_nop
15760 ac_check_soname_save_LIBS=$LIBS
15761 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15765 /* Override any GCC internal prototype to avoid an error.
15766 Use char because int might match the return type of a GCC
15767 builtin and then its argument prototype would still apply. */
15768 char OSMesaGetProcAddress ();
15770 main (void)
15772 return OSMesaGetProcAddress ();
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"
15778 then :
15779 case "$LIBEXT" in
15780 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15781 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'` ;;
15782 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15783 if ${ac_cv_lib_soname_OSMesa:+false} :
15784 then :
15785 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15786 fi ;;
15787 esac
15788 else $as_nop
15789 ac_cv_lib_soname_OSMesa=
15791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15792 conftest$ac_exeext conftest.$ac_ext
15793 LIBS=$ac_check_soname_save_LIBS
15795 if ${ac_cv_lib_soname_OSMesa:+false} :
15796 then :
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15798 printf "%s\n" "not found" >&6; }
15800 else $as_nop
15801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15802 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15804 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15808 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15809 then :
15810 case "x$with_osmesa" in
15811 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15812 xno) ;;
15813 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15814 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15815 esac
15820 if test -n "$opengl_msg"
15821 then :
15822 case "x$with_opengl" in
15823 x) as_fn_append wine_warnings "|$opengl_msg
15824 OpenGL and Direct3D won't be supported." ;;
15825 xno) ;;
15826 *) as_fn_error $? "$opengl_msg
15827 OpenGL and Direct3D won't be supported.
15828 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15829 esac
15833 CPPFLAGS="$ac_save_CPPFLAGS"
15834 else
15835 X_CFLAGS=""
15836 X_LIBS=""
15839 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15840 then
15841 if test "x$X_LIBS" = "x"
15842 then :
15843 case "x$with_x" in
15844 xno) ;;
15845 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15846 without X support, which probably isn't what you want. You will need
15847 to install ${notice_platform}development packages of Xlib at the very least.
15848 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15849 esac
15850 enable_winex11_drv=${enable_winex11_drv:-no}
15852 else
15853 if test "x$X_LIBS" = "x"
15854 then :
15855 case "x$with_x" in
15856 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15857 xno) ;;
15858 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15859 This is an error since --with-x was requested." "$LINENO" 5 ;;
15860 esac
15861 enable_winex11_drv=${enable_winex11_drv:-no}
15865 if test "$ac_cv_header_CL_cl_h" = "yes"
15866 then
15867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15868 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15869 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15870 then :
15871 printf %s "(cached) " >&6
15872 else $as_nop
15873 ac_check_lib_save_LIBS=$LIBS
15874 LIBS="-lOpenCL $LIBS"
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15881 char clGetPlatformInfo ();
15883 main (void)
15885 return clGetPlatformInfo ();
15887 return 0;
15889 _ACEOF
15890 if ac_fn_c_try_link "$LINENO"
15891 then :
15892 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15893 else $as_nop
15894 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15897 conftest$ac_exeext conftest.$ac_ext
15898 LIBS=$ac_check_lib_save_LIBS
15900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15901 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15902 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15903 then :
15904 OPENCL_LIBS="-lOpenCL"
15909 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15910 then :
15911 case "x$with_opencl" in
15912 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15913 xno) ;;
15914 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15915 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15916 esac
15917 enable_opencl=${enable_opencl:-no}
15920 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15921 then
15922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15923 printf %s "checking for pcap_create in -lpcap... " >&6; }
15924 if test ${ac_cv_lib_pcap_pcap_create+y}
15925 then :
15926 printf %s "(cached) " >&6
15927 else $as_nop
15928 ac_check_lib_save_LIBS=$LIBS
15929 LIBS="-lpcap $LIBS"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15933 /* Override any GCC internal prototype to avoid an error.
15934 Use char because int might match the return type of a GCC
15935 builtin and then its argument prototype would still apply. */
15936 char pcap_create ();
15938 main (void)
15940 return pcap_create ();
15942 return 0;
15944 _ACEOF
15945 if ac_fn_c_try_link "$LINENO"
15946 then :
15947 ac_cv_lib_pcap_pcap_create=yes
15948 else $as_nop
15949 ac_cv_lib_pcap_pcap_create=no
15951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15952 conftest$ac_exeext conftest.$ac_ext
15953 LIBS=$ac_check_lib_save_LIBS
15955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15956 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15957 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15958 then :
15959 PCAP_LIBS="-lpcap"
15964 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15965 then :
15966 case "x$with_pcap" in
15967 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15968 xno) ;;
15969 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15970 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15971 esac
15972 enable_wpcap=${enable_wpcap:-no}
15975 if test "x$with_inotify" != "xno"
15976 then
15977 if ${INOTIFY_CFLAGS:+false} :
15978 then :
15979 if test ${PKG_CONFIG+y}
15980 then :
15981 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15985 if ${INOTIFY_LIBS:+false} :
15986 then :
15987 if test ${PKG_CONFIG+y}
15988 then :
15989 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15995 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15996 ac_save_CPPFLAGS=$CPPFLAGS
15997 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15998 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15999 if test "x$ac_cv_header_sys_inotify_h" = xyes
16000 then :
16001 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16006 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16007 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16008 then :
16009 printf %s "(cached) " >&6
16010 else $as_nop
16011 ac_check_lib_save_LIBS=$LIBS
16012 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16016 /* Override any GCC internal prototype to avoid an error.
16017 Use char because int might match the return type of a GCC
16018 builtin and then its argument prototype would still apply. */
16019 char inotify_add_watch ();
16021 main (void)
16023 return inotify_add_watch ();
16025 return 0;
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"
16029 then :
16030 ac_cv_lib_inotify_inotify_add_watch=yes
16031 else $as_nop
16032 ac_cv_lib_inotify_inotify_add_watch=no
16034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_lib_save_LIBS
16038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16039 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16040 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16041 then :
16043 else $as_nop
16044 INOTIFY_LIBS=""
16047 CPPFLAGS=$ac_save_CPPFLAGS
16050 if test "$ac_cv_header_sys_inotify_h" != "yes"
16051 then :
16052 case "x$with_inotify" in
16053 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16054 xno) ;;
16055 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16056 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16057 esac
16061 if test "x$with_dbus" != "xno"
16062 then
16063 if ${DBUS_CFLAGS:+false} :
16064 then :
16065 if test ${PKG_CONFIG+y}
16066 then :
16067 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16071 if ${DBUS_LIBS:+false} :
16072 then :
16073 if test ${PKG_CONFIG+y}
16074 then :
16075 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16082 ac_save_CPPFLAGS=$CPPFLAGS
16083 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16084 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16085 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16086 then :
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16088 printf %s "checking for -ldbus-1... " >&6; }
16089 if test ${ac_cv_lib_soname_dbus_1+y}
16090 then :
16091 printf %s "(cached) " >&6
16092 else $as_nop
16093 ac_check_soname_save_LIBS=$LIBS
16094 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16096 /* end confdefs.h. */
16098 /* Override any GCC internal prototype to avoid an error.
16099 Use char because int might match the return type of a GCC
16100 builtin and then its argument prototype would still apply. */
16101 char dbus_connection_close ();
16103 main (void)
16105 return dbus_connection_close ();
16107 return 0;
16109 _ACEOF
16110 if ac_fn_c_try_link "$LINENO"
16111 then :
16112 case "$LIBEXT" in
16113 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16114 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'` ;;
16115 *) 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'`
16116 if ${ac_cv_lib_soname_dbus_1:+false} :
16117 then :
16118 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16119 fi ;;
16120 esac
16121 else $as_nop
16122 ac_cv_lib_soname_dbus_1=
16124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16125 conftest$ac_exeext conftest.$ac_ext
16126 LIBS=$ac_check_soname_save_LIBS
16128 if ${ac_cv_lib_soname_dbus_1:+false} :
16129 then :
16130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16131 printf "%s\n" "not found" >&6; }
16132 DBUS_CFLAGS=""
16133 else $as_nop
16134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16135 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16137 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16141 else $as_nop
16142 DBUS_CFLAGS=""
16145 CPPFLAGS=$ac_save_CPPFLAGS
16148 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16149 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16150 then :
16151 case "x$with_dbus" in
16152 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16153 xno) ;;
16154 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16155 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16156 esac
16160 if test "x$with_gnutls" != "xno"
16161 then
16162 if ${GNUTLS_CFLAGS:+false} :
16163 then :
16164 if test ${PKG_CONFIG+y}
16165 then :
16166 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16170 if ${GNUTLS_LIBS:+false} :
16171 then :
16172 if test ${PKG_CONFIG+y}
16173 then :
16174 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16178 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16181 ac_save_CPPFLAGS=$CPPFLAGS
16182 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16183 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16184 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16185 then :
16186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187 /* end confdefs.h. */
16188 #include <gnutls/gnutls.h>
16189 #include <gnutls/crypto.h>
16191 main (void)
16193 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16195 return 0;
16197 _ACEOF
16198 if ac_fn_c_try_compile "$LINENO"
16199 then :
16200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16201 printf %s "checking for -lgnutls... " >&6; }
16202 if test ${ac_cv_lib_soname_gnutls+y}
16203 then :
16204 printf %s "(cached) " >&6
16205 else $as_nop
16206 ac_check_soname_save_LIBS=$LIBS
16207 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16211 /* Override any GCC internal prototype to avoid an error.
16212 Use char because int might match the return type of a GCC
16213 builtin and then its argument prototype would still apply. */
16214 char gnutls_global_init ();
16216 main (void)
16218 return gnutls_global_init ();
16220 return 0;
16222 _ACEOF
16223 if ac_fn_c_try_link "$LINENO"
16224 then :
16225 case "$LIBEXT" in
16226 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16227 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'` ;;
16228 *) 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'`
16229 if ${ac_cv_lib_soname_gnutls:+false} :
16230 then :
16231 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'`
16232 fi ;;
16233 esac
16234 else $as_nop
16235 ac_cv_lib_soname_gnutls=
16237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16238 conftest$ac_exeext conftest.$ac_ext
16239 LIBS=$ac_check_soname_save_LIBS
16241 if ${ac_cv_lib_soname_gnutls:+false} :
16242 then :
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16244 printf "%s\n" "not found" >&6; }
16245 GNUTLS_CFLAGS=""
16246 else $as_nop
16247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16248 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16250 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16254 ac_wine_check_funcs_save_LIBS="$LIBS"
16255 LIBS="$LIBS $GNUTLS_LIBS"
16257 for ac_func in gnutls_cipher_init
16258 do :
16259 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16260 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16261 then :
16262 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16264 else $as_nop
16265 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16268 done
16269 LIBS="$ac_wine_check_funcs_save_LIBS"
16271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16272 else $as_nop
16273 GNUTLS_CFLAGS=""
16276 CPPFLAGS=$ac_save_CPPFLAGS
16279 if test "x$ac_cv_lib_soname_gnutls" = "x"
16280 then :
16281 case "x$with_gnutls" in
16282 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16283 xno) ;;
16284 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16285 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16286 esac
16290 if test "x$with_sane" != "xno"
16291 then
16292 if ${SANE_CFLAGS:+false} :
16293 then :
16294 if test ${PKG_CONFIG+y}
16295 then :
16296 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16299 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16300 if ${SANE_LIBS:+false} :
16301 then :
16302 if test ${PKG_CONFIG+y}
16303 then :
16304 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16307 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16311 ac_save_CPPFLAGS=$CPPFLAGS
16312 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16313 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16314 if test "x$ac_cv_header_sane_sane_h" = xyes
16315 then :
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16317 printf %s "checking for sane_init in -lsane... " >&6; }
16318 if test ${ac_cv_lib_sane_sane_init+y}
16319 then :
16320 printf %s "(cached) " >&6
16321 else $as_nop
16322 ac_check_lib_save_LIBS=$LIBS
16323 LIBS="-lsane $SANE_LIBS $LIBS"
16324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 /* end confdefs.h. */
16327 /* Override any GCC internal prototype to avoid an error.
16328 Use char because int might match the return type of a GCC
16329 builtin and then its argument prototype would still apply. */
16330 char sane_init ();
16332 main (void)
16334 return sane_init ();
16336 return 0;
16338 _ACEOF
16339 if ac_fn_c_try_link "$LINENO"
16340 then :
16341 ac_cv_lib_sane_sane_init=yes
16342 else $as_nop
16343 ac_cv_lib_sane_sane_init=no
16345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16346 conftest$ac_exeext conftest.$ac_ext
16347 LIBS=$ac_check_lib_save_LIBS
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16350 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16351 if test "x$ac_cv_lib_sane_sane_init" = xyes
16352 then :
16358 CPPFLAGS=$ac_save_CPPFLAGS
16361 if test "$ac_cv_lib_sane_sane_init" != "yes"
16362 then :
16363 case "x$with_sane" in
16364 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16365 xno) ;;
16366 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16367 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16368 esac
16369 enable_sane_ds=${enable_sane_ds:-no}
16372 if test "x$with_usb" != "xno"
16373 then
16374 if ${USB_CFLAGS:+false} :
16375 then :
16376 if test ${PKG_CONFIG+y}
16377 then :
16378 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16382 if ${USB_LIBS:+false} :
16383 then :
16384 if test ${PKG_CONFIG+y}
16385 then :
16386 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16390 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16393 ac_save_CPPFLAGS=$CPPFLAGS
16394 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16395 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_libusb_h" = xyes
16397 then :
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16399 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16400 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16401 then :
16402 printf %s "(cached) " >&6
16403 else $as_nop
16404 ac_check_lib_save_LIBS=$LIBS
16405 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 char libusb_interrupt_event_handler ();
16414 main (void)
16416 return libusb_interrupt_event_handler ();
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"
16422 then :
16423 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16424 else $as_nop
16425 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16428 conftest$ac_exeext conftest.$ac_ext
16429 LIBS=$ac_check_lib_save_LIBS
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16432 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16433 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16434 then :
16436 else $as_nop
16437 USB_LIBS=""
16440 else $as_nop
16441 USB_LIBS=""
16444 CPPFLAGS=$ac_save_CPPFLAGS
16447 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16448 then :
16449 case "x$with_usb" in
16450 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16451 xno) ;;
16452 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16453 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16454 esac
16455 enable_wineusb_sys=${enable_wineusb_sys:-no}
16458 if test "x$with_v4l2" != "xno"
16459 then
16460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16461 printf %s "checking for -lv4l2... " >&6; }
16462 if test ${ac_cv_lib_soname_v4l2+y}
16463 then :
16464 printf %s "(cached) " >&6
16465 else $as_nop
16466 ac_check_soname_save_LIBS=$LIBS
16467 LIBS="-lv4l2 $LIBS"
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16474 char v4l2_open ();
16476 main (void)
16478 return v4l2_open ();
16480 return 0;
16482 _ACEOF
16483 if ac_fn_c_try_link "$LINENO"
16484 then :
16485 case "$LIBEXT" in
16486 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16487 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'` ;;
16488 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16489 if ${ac_cv_lib_soname_v4l2:+false} :
16490 then :
16491 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16492 fi ;;
16493 esac
16494 else $as_nop
16495 ac_cv_lib_soname_v4l2=
16497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16498 conftest$ac_exeext conftest.$ac_ext
16499 LIBS=$ac_check_soname_save_LIBS
16501 if ${ac_cv_lib_soname_v4l2:+false} :
16502 then :
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16504 printf "%s\n" "not found" >&6; }
16506 else $as_nop
16507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16508 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16510 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16515 if test "x$ac_cv_lib_soname_v4l2" = "x"
16516 then :
16517 case "x$with_v4l2" in
16518 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16519 xno) ;;
16520 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16521 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16522 esac
16526 if test "x$with_gphoto" != "xno"
16527 then
16528 if ${GPHOTO2_CFLAGS:+false} :
16529 then :
16530 if test ${PKG_CONFIG+y}
16531 then :
16532 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16535 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16536 if ${GPHOTO2_LIBS:+false} :
16537 then :
16538 if test ${PKG_CONFIG+y}
16539 then :
16540 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16543 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16544 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16547 ac_save_CPPFLAGS=$CPPFLAGS
16548 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16549 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16550 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16551 then :
16552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16553 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16554 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16555 then :
16556 printf %s "(cached) " >&6
16557 else $as_nop
16558 ac_check_lib_save_LIBS=$LIBS
16559 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16566 char gp_camera_new ();
16568 main (void)
16570 return gp_camera_new ();
16572 return 0;
16574 _ACEOF
16575 if ac_fn_c_try_link "$LINENO"
16576 then :
16577 ac_cv_lib_gphoto2_gp_camera_new=yes
16578 else $as_nop
16579 ac_cv_lib_gphoto2_gp_camera_new=no
16581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16586 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16587 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16588 then :
16594 CPPFLAGS=$ac_save_CPPFLAGS
16596 if ${GPHOTO2_PORT_CFLAGS:+false} :
16597 then :
16598 if test ${PKG_CONFIG+y}
16599 then :
16600 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16603 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16604 if ${GPHOTO2_PORT_LIBS:+false} :
16605 then :
16606 if test ${PKG_CONFIG+y}
16607 then :
16608 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16611 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16612 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16615 ac_save_CPPFLAGS=$CPPFLAGS
16616 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16617 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16618 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16619 then :
16620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16621 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16622 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16623 then :
16624 printf %s "(cached) " >&6
16625 else $as_nop
16626 ac_check_lib_save_LIBS=$LIBS
16627 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16631 /* Override any GCC internal prototype to avoid an error.
16632 Use char because int might match the return type of a GCC
16633 builtin and then its argument prototype would still apply. */
16634 char gp_port_info_list_new ();
16636 main (void)
16638 return gp_port_info_list_new ();
16640 return 0;
16642 _ACEOF
16643 if ac_fn_c_try_link "$LINENO"
16644 then :
16645 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16646 else $as_nop
16647 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16650 conftest$ac_exeext conftest.$ac_ext
16651 LIBS=$ac_check_lib_save_LIBS
16653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16654 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16655 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16656 then :
16658 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16660 else $as_nop
16661 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16664 else $as_nop
16665 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16668 CPPFLAGS=$ac_save_CPPFLAGS
16671 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16672 then :
16673 case "x$with_gphoto" in
16674 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16675 xno) ;;
16676 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16677 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16678 esac
16679 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16681 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16682 then :
16683 case "x$with_gphoto" in
16684 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16685 xno) ;;
16686 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16687 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16688 esac
16693 if test "$ac_cv_header_resolv_h" = "yes"
16694 then
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16696 printf %s "checking for resolver library... " >&6; }
16697 if test ${ac_cv_have_resolv+y}
16698 then :
16699 printf %s "(cached) " >&6
16700 else $as_nop
16701 ac_save_LIBS="$LIBS"
16702 for lib in '' -lresolv
16704 LIBS="$lib $ac_save_LIBS"
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #ifdef HAVE_NETINET_IN_H
16708 #include <netinet/in.h>
16709 #endif
16710 #include <resolv.h>
16712 main (void)
16714 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16716 return 0;
16718 _ACEOF
16719 if ac_fn_c_try_link "$LINENO"
16720 then :
16721 ac_cv_have_resolv=${lib:-"none required"}
16722 else $as_nop
16723 ac_cv_have_resolv="not found"
16725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16726 conftest$ac_exeext conftest.$ac_ext
16727 test "x$ac_cv_have_resolv" = "xnot found" || break
16728 done
16729 LIBS="$ac_save_LIBS"
16731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16732 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16734 case "$ac_cv_have_resolv" in
16735 "not found") ;;
16736 "none required")
16738 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16741 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16743 RESOLV_LIBS=$ac_cv_have_resolv
16745 esac
16747 if test "x$ac_cv_have_resolv" != "xnot found"
16748 then
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16750 printf %s "checking for res_getservers... " >&6; }
16751 if test ${ac_cv_have_res_getservers+y}
16752 then :
16753 printf %s "(cached) " >&6
16754 else $as_nop
16755 ac_save_LIBS="$LIBS"
16756 LIBS="$RESOLV_LIBS $LIBS"
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16759 #include <resolv.h>
16761 main (void)
16763 res_getservers(NULL, NULL, 0);
16765 return 0;
16767 _ACEOF
16768 if ac_fn_c_try_link "$LINENO"
16769 then :
16770 ac_cv_have_res_getservers=yes
16771 else $as_nop
16772 ac_cv_have_res_getservers=no
16774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16775 conftest$ac_exeext conftest.$ac_ext
16776 LIBS="$ac_save_LIBS"
16778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16779 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16780 if test "$ac_cv_have_res_getservers" = "yes"
16781 then
16783 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16789 if test "x$with_freetype" != "xno"
16790 then
16791 if ${FREETYPE_CFLAGS:+false} :
16792 then :
16793 if test ${PKG_CONFIG+y}
16794 then :
16795 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16798 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16799 if ${FREETYPE_LIBS:+false} :
16800 then :
16801 if test ${PKG_CONFIG+y}
16802 then :
16803 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16806 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16807 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16810 ac_save_CPPFLAGS=$CPPFLAGS
16811 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16812 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16813 if test "x$ac_cv_header_ft2build_h" = xyes
16814 then :
16815 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16819 if test "$ac_cv_header_ft2build_h" = "yes"
16820 then
16821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16822 printf %s "checking for -lfreetype... " >&6; }
16823 if test ${ac_cv_lib_soname_freetype+y}
16824 then :
16825 printf %s "(cached) " >&6
16826 else $as_nop
16827 ac_check_soname_save_LIBS=$LIBS
16828 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16832 /* Override any GCC internal prototype to avoid an error.
16833 Use char because int might match the return type of a GCC
16834 builtin and then its argument prototype would still apply. */
16835 char FT_Init_FreeType ();
16837 main (void)
16839 return FT_Init_FreeType ();
16841 return 0;
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"
16845 then :
16846 case "$LIBEXT" in
16847 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16848 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'` ;;
16849 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16850 if ${ac_cv_lib_soname_freetype:+false} :
16851 then :
16852 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16853 fi ;;
16854 esac
16855 else $as_nop
16856 ac_cv_lib_soname_freetype=
16858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_soname_save_LIBS
16862 if ${ac_cv_lib_soname_freetype:+false} :
16863 then :
16864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16865 printf "%s\n" "not found" >&6; }
16866 FREETYPE_LIBS=""
16867 else $as_nop
16868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16869 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16871 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16874 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16876 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16877 #include FT_MODULE_H
16879 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16880 then :
16882 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16888 else
16889 FREETYPE_CFLAGS=""
16890 FREETYPE_LIBS=""
16892 CPPFLAGS=$ac_save_CPPFLAGS
16895 if test "x$ac_cv_lib_soname_freetype" = x
16896 then :
16897 case "x$with_freetype" in
16898 xno) ;;
16899 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16900 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16901 esac
16902 enable_fonts=${enable_fonts:-no}
16905 ac_wine_check_funcs_save_LIBS="$LIBS"
16906 LIBS="$LIBS $PTHREAD_LIBS"
16907 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16908 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16909 then :
16910 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16914 LIBS="$ac_wine_check_funcs_save_LIBS"
16916 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16917 then
16918 if test "$ac_cv_header_gettext_po_h" = "yes"
16919 then
16920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16921 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16922 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16923 then :
16924 printf %s "(cached) " >&6
16925 else $as_nop
16926 ac_check_lib_save_LIBS=$LIBS
16927 LIBS="-lgettextpo $LIBS"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16934 char po_message_msgctxt ();
16936 main (void)
16938 return po_message_msgctxt ();
16940 return 0;
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"
16944 then :
16945 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16946 else $as_nop
16947 ac_cv_lib_gettextpo_po_message_msgctxt=no
16949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16950 conftest$ac_exeext conftest.$ac_ext
16951 LIBS=$ac_check_lib_save_LIBS
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16954 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16955 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16956 then :
16958 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16960 GETTEXTPO_LIBS="-lgettextpo"
16965 if test "x$GETTEXTPO_LIBS" = "x"
16966 then :
16967 case "x$with_gettextpo" in
16968 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16969 xno) ;;
16970 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16971 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16972 esac
16975 if test "$srcdir" != .
16976 then :
16977 case "x$with_gettextpo" in
16978 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16979 xno) ;;
16980 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16981 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16982 esac
16987 if test "x$with_pulse" != "xno";
16988 then
16989 if ${PULSE_CFLAGS:+false} :
16990 then :
16991 if test ${PKG_CONFIG+y}
16992 then :
16993 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16997 if ${PULSE_LIBS:+false} :
16998 then :
16999 if test ${PKG_CONFIG+y}
17000 then :
17001 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17008 ac_save_CPPFLAGS=$CPPFLAGS
17009 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17010 for ac_header in pulse/pulseaudio.h
17011 do :
17012 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17013 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17014 then :
17015 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17017 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17018 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17019 then :
17020 printf %s "(cached) " >&6
17021 else $as_nop
17022 ac_check_lib_save_LIBS=$LIBS
17023 LIBS="-lpulse $PULSE_LIBS $LIBS"
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17027 /* Override any GCC internal prototype to avoid an error.
17028 Use char because int might match the return type of a GCC
17029 builtin and then its argument prototype would still apply. */
17030 char pa_stream_is_corked ();
17032 main (void)
17034 return pa_stream_is_corked ();
17036 return 0;
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"
17040 then :
17041 ac_cv_lib_pulse_pa_stream_is_corked=yes
17042 else $as_nop
17043 ac_cv_lib_pulse_pa_stream_is_corked=no
17045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17046 conftest$ac_exeext conftest.$ac_ext
17047 LIBS=$ac_check_lib_save_LIBS
17049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17050 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17051 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17052 then :
17054 else $as_nop
17055 PULSE_LIBS=""
17058 else $as_nop
17059 PULSE_LIBS=""
17062 done
17063 CPPFLAGS=$ac_save_CPPFLAGS
17066 if test -z "$PULSE_LIBS"
17067 then :
17068 case "x$with_pulse" in
17069 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17070 xno) ;;
17071 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17072 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17073 esac
17074 enable_winepulse_drv=${enable_winepulse_drv:-no}
17077 if test "x$with_gstreamer" != "xno"
17078 then
17079 if ${GSTREAMER_CFLAGS:+false} :
17080 then :
17081 if test ${PKG_CONFIG+y}
17082 then :
17083 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17087 if ${GSTREAMER_LIBS:+false} :
17088 then :
17089 if test ${PKG_CONFIG+y}
17090 then :
17091 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17098 ac_save_CPPFLAGS=$CPPFLAGS
17099 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17100 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17101 if test "x$ac_cv_header_gst_gst_h" = xyes
17102 then :
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17104 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <gst/gst.h>
17109 main (void)
17111 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17113 return 0;
17115 _ACEOF
17116 if ac_fn_c_try_compile "$LINENO"
17117 then :
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17119 printf "%s\n" "yes" >&6; }
17120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17121 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17122 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17123 then :
17124 printf %s "(cached) " >&6
17125 else $as_nop
17126 ac_check_lib_save_LIBS=$LIBS
17127 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17131 /* Override any GCC internal prototype to avoid an error.
17132 Use char because int might match the return type of a GCC
17133 builtin and then its argument prototype would still apply. */
17134 char gst_pad_new ();
17136 main (void)
17138 return gst_pad_new ();
17140 return 0;
17142 _ACEOF
17143 if ac_fn_c_try_link "$LINENO"
17144 then :
17145 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17146 else $as_nop
17147 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17150 conftest$ac_exeext conftest.$ac_ext
17151 LIBS=$ac_check_lib_save_LIBS
17153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17154 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17155 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17156 then :
17160 else $as_nop
17161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17162 printf "%s\n" "no" >&6; }
17163 ac_glib2_broken=yes
17164 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17169 CPPFLAGS=$ac_save_CPPFLAGS
17172 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17173 then :
17174 case "x$with_gstreamer" in
17175 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17176 xno) ;;
17177 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17178 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17179 esac
17180 enable_winegstreamer=${enable_winegstreamer:-no}
17183 ALSA_LIBS=""
17185 if test "x$with_alsa" != "xno"
17186 then
17187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17188 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17189 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17190 then :
17191 printf %s "(cached) " >&6
17192 else $as_nop
17193 ac_check_lib_save_LIBS=$LIBS
17194 LIBS="-lasound $LIBS"
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17198 /* Override any GCC internal prototype to avoid an error.
17199 Use char because int might match the return type of a GCC
17200 builtin and then its argument prototype would still apply. */
17201 char snd_pcm_hw_params_get_access_mask ();
17203 main (void)
17205 return snd_pcm_hw_params_get_access_mask ();
17207 return 0;
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"
17211 then :
17212 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17213 else $as_nop
17214 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17217 conftest$ac_exeext conftest.$ac_ext
17218 LIBS=$ac_check_lib_save_LIBS
17220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17221 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17222 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17223 then :
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #include <alsa/asoundlib.h>
17228 main (void)
17230 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17232 return 0;
17234 _ACEOF
17235 if ac_fn_c_try_compile "$LINENO"
17236 then :
17237 ALSA_LIBS="-lasound"
17239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17243 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17245 if test "x$with_oss" != xno
17246 then
17247 ac_save_CPPFLAGS="$CPPFLAGS"
17248 if test -f /etc/oss.conf
17249 then
17250 . /etc/oss.conf
17252 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17253 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17254 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17255 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17256 then :
17257 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17259 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17260 then :
17262 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17264 OSS4_CFLAGS="$ac_oss_incl"
17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17267 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17268 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17269 then :
17270 printf %s "(cached) " >&6
17271 else $as_nop
17272 ac_check_lib_save_LIBS=$LIBS
17273 LIBS="-lossaudio $LIBS"
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17277 /* Override any GCC internal prototype to avoid an error.
17278 Use char because int might match the return type of a GCC
17279 builtin and then its argument prototype would still apply. */
17280 char _oss_ioctl ();
17282 main (void)
17284 return _oss_ioctl ();
17286 return 0;
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"
17290 then :
17291 ac_cv_lib_ossaudio__oss_ioctl=yes
17292 else $as_nop
17293 ac_cv_lib_ossaudio__oss_ioctl=no
17295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17296 conftest$ac_exeext conftest.$ac_ext
17297 LIBS=$ac_check_lib_save_LIBS
17299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17300 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17301 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17302 then :
17303 OSS4_LIBS="-lossaudio"
17311 CPPFLAGS="$ac_save_CPPFLAGS"
17313 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17314 then :
17315 case "x$with_oss" in
17316 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17317 xno) ;;
17318 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17319 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17320 esac
17321 enable_wineoss_drv=${enable_wineoss_drv:-no}
17324 if test "x$with_udev" != "xno"
17325 then
17326 if ${UDEV_CFLAGS:+false} :
17327 then :
17328 if test ${PKG_CONFIG+y}
17329 then :
17330 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17334 if ${UDEV_LIBS:+false} :
17335 then :
17336 if test ${PKG_CONFIG+y}
17337 then :
17338 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17342 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17343 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17345 ac_save_CPPFLAGS=$CPPFLAGS
17346 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17347 for ac_header in libudev.h
17348 do :
17349 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17350 if test "x$ac_cv_header_libudev_h" = xyes
17351 then :
17352 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17354 printf %s "checking for udev_new in -ludev... " >&6; }
17355 if test ${ac_cv_lib_udev_udev_new+y}
17356 then :
17357 printf %s "(cached) " >&6
17358 else $as_nop
17359 ac_check_lib_save_LIBS=$LIBS
17360 LIBS="-ludev $UDEV_LIBS $LIBS"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17364 /* Override any GCC internal prototype to avoid an error.
17365 Use char because int might match the return type of a GCC
17366 builtin and then its argument prototype would still apply. */
17367 char udev_new ();
17369 main (void)
17371 return udev_new ();
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"
17377 then :
17378 ac_cv_lib_udev_udev_new=yes
17379 else $as_nop
17380 ac_cv_lib_udev_udev_new=no
17382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17383 conftest$ac_exeext conftest.$ac_ext
17384 LIBS=$ac_check_lib_save_LIBS
17386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17387 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17388 if test "x$ac_cv_lib_udev_udev_new" = xyes
17389 then :
17391 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17393 else $as_nop
17394 UDEV_LIBS=""
17397 else $as_nop
17398 UDEV_LIBS=""
17401 done
17402 CPPFLAGS=$ac_save_CPPFLAGS
17405 if test "x$UDEV_LIBS" = "x"
17406 then :
17407 case "x$with_udev" in
17408 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17409 xno) ;;
17410 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17411 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17412 esac
17416 if test "x$with_unwind" != xno
17417 then
17418 if ${UNWIND_CFLAGS:+false} :
17419 then :
17420 if test ${PKG_CONFIG+y}
17421 then :
17422 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17426 if ${UNWIND_LIBS:+false} :
17427 then :
17428 if test ${PKG_CONFIG+y}
17429 then :
17430 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17434 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17437 ac_save_CPPFLAGS=$CPPFLAGS
17438 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17440 printf %s "checking for unw_step... " >&6; }
17441 if test ${wine_cv_have_unw_step+y}
17442 then :
17443 printf %s "(cached) " >&6
17444 else $as_nop
17445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17446 /* end confdefs.h. */
17447 #define UNW_LOCAL_ONLY
17448 #include <libunwind.h>
17450 main (void)
17452 unw_cursor_t cursor; unw_step( &cursor );
17454 return 0;
17456 _ACEOF
17457 if ac_fn_c_try_link "$LINENO"
17458 then :
17459 wine_cv_have_unw_step="yes"
17460 else $as_nop
17461 wine_cv_have_unw_step="no"
17463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17464 conftest$ac_exeext conftest.$ac_ext
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17467 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17468 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17469 then
17470 save_libs=$LIBS
17471 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17472 LIBS="$UNWIND_LIBS $LIBS"
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17474 printf %s "checking for unw_step in libunwind... " >&6; }
17475 if test ${wine_cv_have_libunwind_unw_step+y}
17476 then :
17477 printf %s "(cached) " >&6
17478 else $as_nop
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #define UNW_LOCAL_ONLY
17482 #include <libunwind.h>
17484 main (void)
17486 unw_cursor_t cursor; unw_step( &cursor );
17488 return 0;
17490 _ACEOF
17491 if ac_fn_c_try_link "$LINENO"
17492 then :
17493 wine_cv_have_libunwind_unw_step="yes"
17494 else $as_nop
17495 wine_cv_have_libunwind_unw_step="no"
17497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17498 conftest$ac_exeext conftest.$ac_ext
17500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17501 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17502 LIBS=$save_libs
17504 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17505 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17506 then
17508 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17511 CPPFLAGS=$ac_save_CPPFLAGS
17514 case $host in
17515 aarch64*|*-darwin*)
17516 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17517 then :
17518 case "x$with_unwind" in
17519 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17520 xno) ;;
17521 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17522 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17523 esac
17525 fi ;;
17526 esac
17528 if test "x$with_sdl" != "xno"
17529 then
17530 if ${SDL2_CFLAGS:+false} :
17531 then :
17532 if test ${PKG_CONFIG+y}
17533 then :
17534 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17538 if ${SDL2_LIBS:+false} :
17539 then :
17540 if test ${PKG_CONFIG+y}
17541 then :
17542 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17546 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17549 ac_save_CPPFLAGS=$CPPFLAGS
17550 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17551 for ac_header in SDL.h
17552 do :
17553 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17554 if test "x$ac_cv_header_SDL_h" = xyes
17555 then :
17556 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17558 printf %s "checking for -lSDL2... " >&6; }
17559 if test ${ac_cv_lib_soname_SDL2+y}
17560 then :
17561 printf %s "(cached) " >&6
17562 else $as_nop
17563 ac_check_soname_save_LIBS=$LIBS
17564 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17568 /* Override any GCC internal prototype to avoid an error.
17569 Use char because int might match the return type of a GCC
17570 builtin and then its argument prototype would still apply. */
17571 char SDL_Init ();
17573 main (void)
17575 return SDL_Init ();
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"
17581 then :
17582 case "$LIBEXT" in
17583 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17584 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'` ;;
17585 *) 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'`
17586 if ${ac_cv_lib_soname_SDL2:+false} :
17587 then :
17588 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17589 fi ;;
17590 esac
17591 else $as_nop
17592 ac_cv_lib_soname_SDL2=
17594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_check_soname_save_LIBS
17598 if ${ac_cv_lib_soname_SDL2:+false} :
17599 then :
17600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17601 printf "%s\n" "not found" >&6; }
17603 else $as_nop
17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17605 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17607 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17613 done
17614 CPPFLAGS=$ac_save_CPPFLAGS
17617 if test "x$ac_cv_lib_soname_SDL2" = "x"
17618 then :
17619 case "x$with_sdl" in
17620 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17621 xno) ;;
17622 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17623 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17624 esac
17628 if test "x$with_capi" != "xno"
17629 then
17630 if ${CAPI20_CFLAGS:+false} :
17631 then :
17632 if test ${PKG_CONFIG+y}
17633 then :
17634 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17638 if ${CAPI20_LIBS:+false} :
17639 then :
17640 if test ${PKG_CONFIG+y}
17641 then :
17642 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17649 ac_save_CPPFLAGS=$CPPFLAGS
17650 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17651 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17653 if test "x$ac_cv_header_capi20_h" = xyes
17654 then :
17655 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17658 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17660 if test "x$ac_cv_header_linux_capi_h" = xyes
17661 then :
17662 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17666 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17667 then
17668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17669 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17670 if test ${ac_cv_lib_capi20_capi20_register+y}
17671 then :
17672 printf %s "(cached) " >&6
17673 else $as_nop
17674 ac_check_lib_save_LIBS=$LIBS
17675 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17679 /* Override any GCC internal prototype to avoid an error.
17680 Use char because int might match the return type of a GCC
17681 builtin and then its argument prototype would still apply. */
17682 char capi20_register ();
17684 main (void)
17686 return capi20_register ();
17688 return 0;
17690 _ACEOF
17691 if ac_fn_c_try_link "$LINENO"
17692 then :
17693 ac_cv_lib_capi20_capi20_register=yes
17694 else $as_nop
17695 ac_cv_lib_capi20_capi20_register=no
17697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17698 conftest$ac_exeext conftest.$ac_ext
17699 LIBS=$ac_check_lib_save_LIBS
17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17702 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17703 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17704 then :
17706 else $as_nop
17707 CAPI20_LIBS=""
17711 CPPFLAGS=$ac_save_CPPFLAGS
17714 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17715 then :
17716 case "x$with_capi" in
17717 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17718 xno) ;;
17719 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17720 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17721 esac
17722 enable_capi2032=${enable_capi2032:-no}
17725 if test "x$with_cups" != "xno"
17726 then
17727 if ${CUPS_CFLAGS:+false} :
17728 then :
17729 if test ${PKG_CONFIG+y}
17730 then :
17731 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17734 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17735 if ${CUPS_LIBS:+false} :
17736 then :
17737 if test ${PKG_CONFIG+y}
17738 then :
17739 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17742 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17743 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17746 ac_save_CPPFLAGS=$CPPFLAGS
17747 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17748 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17749 if test "x$ac_cv_header_cups_cups_h" = xyes
17750 then :
17751 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17754 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17755 if test "x$ac_cv_header_cups_ppd_h" = xyes
17756 then :
17757 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17761 if test "$ac_cv_header_cups_cups_h" = "yes"
17762 then
17763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17764 printf %s "checking for -lcups... " >&6; }
17765 if test ${ac_cv_lib_soname_cups+y}
17766 then :
17767 printf %s "(cached) " >&6
17768 else $as_nop
17769 ac_check_soname_save_LIBS=$LIBS
17770 LIBS="-lcups $CUPS_LIBS $LIBS"
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17774 /* Override any GCC internal prototype to avoid an error.
17775 Use char because int might match the return type of a GCC
17776 builtin and then its argument prototype would still apply. */
17777 char cupsGetDefault ();
17779 main (void)
17781 return cupsGetDefault ();
17783 return 0;
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"
17787 then :
17788 case "$LIBEXT" in
17789 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17790 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'` ;;
17791 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17792 if ${ac_cv_lib_soname_cups:+false} :
17793 then :
17794 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17795 fi ;;
17796 esac
17797 else $as_nop
17798 ac_cv_lib_soname_cups=
17800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17801 conftest$ac_exeext conftest.$ac_ext
17802 LIBS=$ac_check_soname_save_LIBS
17804 if ${ac_cv_lib_soname_cups:+false} :
17805 then :
17806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17807 printf "%s\n" "not found" >&6; }
17808 CUPS_LIBS=""
17809 else $as_nop
17810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17811 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17813 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17817 else
17818 CUPS_CFLAGS=""
17819 CUPS_LIBS=""
17821 CPPFLAGS=$ac_save_CPPFLAGS
17824 if test "x$ac_cv_lib_soname_cups" = "x"
17825 then :
17826 case "x$with_cups" in
17827 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17828 xno) ;;
17829 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17830 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17831 esac
17835 if test "x$with_fontconfig" != "xno"
17836 then
17837 if ${FONTCONFIG_CFLAGS:+false} :
17838 then :
17839 if test ${PKG_CONFIG+y}
17840 then :
17841 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17844 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17845 if ${FONTCONFIG_LIBS:+false} :
17846 then :
17847 if test ${PKG_CONFIG+y}
17848 then :
17849 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17852 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17856 ac_save_CPPFLAGS=$CPPFLAGS
17857 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17858 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17859 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17860 then :
17861 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17865 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17866 then
17867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17868 printf %s "checking for -lfontconfig... " >&6; }
17869 if test ${ac_cv_lib_soname_fontconfig+y}
17870 then :
17871 printf %s "(cached) " >&6
17872 else $as_nop
17873 ac_check_soname_save_LIBS=$LIBS
17874 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17878 /* Override any GCC internal prototype to avoid an error.
17879 Use char because int might match the return type of a GCC
17880 builtin and then its argument prototype would still apply. */
17881 char FcInit ();
17883 main (void)
17885 return FcInit ();
17887 return 0;
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"
17891 then :
17892 case "$LIBEXT" in
17893 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17894 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'` ;;
17895 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17896 if ${ac_cv_lib_soname_fontconfig:+false} :
17897 then :
17898 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17899 fi ;;
17900 esac
17901 else $as_nop
17902 ac_cv_lib_soname_fontconfig=
17904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17905 conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_soname_save_LIBS
17908 if ${ac_cv_lib_soname_fontconfig:+false} :
17909 then :
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17911 printf "%s\n" "not found" >&6; }
17912 FONTCONFIG_CFLAGS=""
17913 else $as_nop
17914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17915 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17917 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17921 else
17922 FONTCONFIG_CFLAGS=""
17924 CPPFLAGS=$ac_save_CPPFLAGS
17927 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17928 then :
17929 case "x$with_fontconfig" in
17930 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17931 xno) ;;
17932 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17933 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17934 esac
17938 if test "x$with_krb5" != "xno"
17939 then
17940 if ${KRB5_CFLAGS:+false} :
17941 then :
17942 if test ${PKG_CONFIG+y}
17943 then :
17944 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17947 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17948 if ${KRB5_LIBS:+false} :
17949 then :
17950 if test ${PKG_CONFIG+y}
17951 then :
17952 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17955 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17959 ac_save_CPPFLAGS=$CPPFLAGS
17960 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17961 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17962 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17963 then :
17964 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17968 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17969 then
17970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17971 printf %s "checking for -lkrb5... " >&6; }
17972 if test ${ac_cv_lib_soname_krb5+y}
17973 then :
17974 printf %s "(cached) " >&6
17975 else $as_nop
17976 ac_check_soname_save_LIBS=$LIBS
17977 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 char krb5_is_config_principal ();
17986 main (void)
17988 return krb5_is_config_principal ();
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"
17994 then :
17995 case "$LIBEXT" in
17996 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17997 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'` ;;
17998 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17999 if ${ac_cv_lib_soname_krb5:+false} :
18000 then :
18001 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18002 fi ;;
18003 esac
18004 else $as_nop
18005 ac_cv_lib_soname_krb5=
18007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_check_soname_save_LIBS
18011 if ${ac_cv_lib_soname_krb5:+false} :
18012 then :
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18014 printf "%s\n" "not found" >&6; }
18015 KRB5_CFLAGS=""
18016 else $as_nop
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18018 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18020 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18024 else
18025 KRB5_CFLAGS=""
18027 CPPFLAGS=$ac_save_CPPFLAGS
18030 if test "x$ac_cv_lib_soname_krb5" = "x"
18031 then :
18032 case "x$with_krb5" in
18033 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18034 xno) ;;
18035 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18036 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18037 esac
18040 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18042 if test "x$with_gssapi" != "xno"
18043 then
18044 if ${GSSAPI_CFLAGS:+false} :
18045 then :
18046 if test ${PKG_CONFIG+y}
18047 then :
18048 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18051 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18052 if ${GSSAPI_LIBS:+false} :
18053 then :
18054 if test ${PKG_CONFIG+y}
18055 then :
18056 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18059 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18063 ac_save_CPPFLAGS=$CPPFLAGS
18064 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18065 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18066 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18067 then :
18068 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18071 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18072 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18073 then :
18074 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18078 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18079 then
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18081 printf %s "checking for -lgssapi_krb5... " >&6; }
18082 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18083 then :
18084 printf %s "(cached) " >&6
18085 else $as_nop
18086 ac_check_soname_save_LIBS=$LIBS
18087 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18094 char gss_init_sec_context ();
18096 main (void)
18098 return gss_init_sec_context ();
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_link "$LINENO"
18104 then :
18105 case "$LIBEXT" in
18106 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18107 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'` ;;
18108 *) 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'`
18109 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18110 then :
18111 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18112 fi ;;
18113 esac
18114 else $as_nop
18115 ac_cv_lib_soname_gssapi_krb5=
18117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18118 conftest$ac_exeext conftest.$ac_ext
18119 LIBS=$ac_check_soname_save_LIBS
18121 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18122 then :
18123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18124 printf "%s\n" "not found" >&6; }
18125 GSSAPI_CFLAGS=""
18126 else $as_nop
18127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18128 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18130 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18134 else
18135 GSSAPI_CFLAGS=""
18137 CPPFLAGS=$ac_save_CPPFLAGS
18140 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18141 then :
18142 case "x$with_gssapi" in
18143 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18144 xno) ;;
18145 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18146 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18147 esac
18151 if test "$ac_cv_header_libprocstat_h" = "yes"
18152 then
18153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18154 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18155 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18156 then :
18157 printf %s "(cached) " >&6
18158 else $as_nop
18159 ac_check_lib_save_LIBS=$LIBS
18160 LIBS="-lprocstat $LIBS"
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18164 /* Override any GCC internal prototype to avoid an error.
18165 Use char because int might match the return type of a GCC
18166 builtin and then its argument prototype would still apply. */
18167 char procstat_open_sysctl ();
18169 main (void)
18171 return procstat_open_sysctl ();
18173 return 0;
18175 _ACEOF
18176 if ac_fn_c_try_link "$LINENO"
18177 then :
18178 ac_cv_lib_procstat_procstat_open_sysctl=yes
18179 else $as_nop
18180 ac_cv_lib_procstat_procstat_open_sysctl=no
18182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18183 conftest$ac_exeext conftest.$ac_ext
18184 LIBS=$ac_check_lib_save_LIBS
18186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18187 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18188 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18189 then :
18191 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18193 PROCSTAT_LIBS="-lprocstat"
18199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18200 printf %s "checking for -lodbc... " >&6; }
18201 if test ${ac_cv_lib_soname_odbc+y}
18202 then :
18203 printf %s "(cached) " >&6
18204 else $as_nop
18205 ac_check_soname_save_LIBS=$LIBS
18206 LIBS="-lodbc $LIBS"
18207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 /* Override any GCC internal prototype to avoid an error.
18211 Use char because int might match the return type of a GCC
18212 builtin and then its argument prototype would still apply. */
18213 char SQLConnect ();
18215 main (void)
18217 return SQLConnect ();
18219 return 0;
18221 _ACEOF
18222 if ac_fn_c_try_link "$LINENO"
18223 then :
18224 case "$LIBEXT" in
18225 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18226 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'` ;;
18227 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18228 if ${ac_cv_lib_soname_odbc:+false} :
18229 then :
18230 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18231 fi ;;
18232 esac
18233 else $as_nop
18234 ac_cv_lib_soname_odbc=
18236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18237 conftest$ac_exeext conftest.$ac_ext
18238 LIBS=$ac_check_soname_save_LIBS
18240 if ${ac_cv_lib_soname_odbc:+false} :
18241 then :
18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18243 printf "%s\n" "not found" >&6; }
18244 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18246 else $as_nop
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18248 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18250 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18255 if test "x$with_netapi" != "xno"
18256 then
18257 if ${NETAPI_CFLAGS:+false} :
18258 then :
18259 if test ${PKG_CONFIG+y}
18260 then :
18261 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18265 if ${NETAPI_LIBS:+false} :
18266 then :
18267 if test ${PKG_CONFIG+y}
18268 then :
18269 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18276 ac_save_CPPFLAGS=$CPPFLAGS
18277 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18279 printf %s "checking for -lnetapi... " >&6; }
18280 if test ${ac_cv_lib_soname_netapi+y}
18281 then :
18282 printf %s "(cached) " >&6
18283 else $as_nop
18284 ac_check_soname_save_LIBS=$LIBS
18285 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18287 /* end confdefs.h. */
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18292 char libnetapi_init ();
18294 main (void)
18296 return libnetapi_init ();
18298 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"
18302 then :
18303 case "$LIBEXT" in
18304 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18305 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'` ;;
18306 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18307 if ${ac_cv_lib_soname_netapi:+false} :
18308 then :
18309 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18310 fi ;;
18311 esac
18312 else $as_nop
18313 ac_cv_lib_soname_netapi=
18315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18316 conftest$ac_exeext conftest.$ac_ext
18317 LIBS=$ac_check_soname_save_LIBS
18319 if ${ac_cv_lib_soname_netapi:+false} :
18320 then :
18321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18322 printf "%s\n" "not found" >&6; }
18323 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18325 else $as_nop
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18327 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18329 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18333 CPPFLAGS=$ac_save_CPPFLAGS
18336 if test "x$ac_cv_lib_soname_netapi" = "x"
18337 then :
18338 case "x$with_netapi" in
18339 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18340 xno) ;;
18341 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18342 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18343 esac
18344 enable_netapi=${enable_netapi:-no}
18348 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18349 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18350 then
18351 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18354 if test "x$with_vulkan" != "xno"
18355 then
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18357 printf %s "checking for -lvulkan... " >&6; }
18358 if test ${ac_cv_lib_soname_vulkan+y}
18359 then :
18360 printf %s "(cached) " >&6
18361 else $as_nop
18362 ac_check_soname_save_LIBS=$LIBS
18363 LIBS="-lvulkan $LIBS"
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18367 /* Override any GCC internal prototype to avoid an error.
18368 Use char because int might match the return type of a GCC
18369 builtin and then its argument prototype would still apply. */
18370 char vkGetInstanceProcAddr ();
18372 main (void)
18374 return vkGetInstanceProcAddr ();
18376 return 0;
18378 _ACEOF
18379 if ac_fn_c_try_link "$LINENO"
18380 then :
18381 case "$LIBEXT" in
18382 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18383 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'` ;;
18384 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18385 if ${ac_cv_lib_soname_vulkan:+false} :
18386 then :
18387 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18388 fi ;;
18389 esac
18390 else $as_nop
18391 ac_cv_lib_soname_vulkan=
18393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18394 conftest$ac_exeext conftest.$ac_ext
18395 LIBS=$ac_check_soname_save_LIBS
18397 if ${ac_cv_lib_soname_vulkan:+false} :
18398 then :
18399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18400 printf "%s\n" "not found" >&6; }
18402 else $as_nop
18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18404 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18406 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18410 if test "x$ac_cv_lib_soname_vulkan" = "x"
18411 then
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18413 printf %s "checking for -lMoltenVK... " >&6; }
18414 if test ${ac_cv_lib_soname_MoltenVK+y}
18415 then :
18416 printf %s "(cached) " >&6
18417 else $as_nop
18418 ac_check_soname_save_LIBS=$LIBS
18419 LIBS="-lMoltenVK $LIBS"
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18423 /* Override any GCC internal prototype to avoid an error.
18424 Use char because int might match the return type of a GCC
18425 builtin and then its argument prototype would still apply. */
18426 char vkGetInstanceProcAddr ();
18428 main (void)
18430 return vkGetInstanceProcAddr ();
18432 return 0;
18434 _ACEOF
18435 if ac_fn_c_try_link "$LINENO"
18436 then :
18437 case "$LIBEXT" in
18438 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18439 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'` ;;
18440 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18441 if ${ac_cv_lib_soname_MoltenVK:+false} :
18442 then :
18443 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18444 fi ;;
18445 esac
18446 else $as_nop
18447 ac_cv_lib_soname_MoltenVK=
18449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18450 conftest$ac_exeext conftest.$ac_ext
18451 LIBS=$ac_check_soname_save_LIBS
18453 if ${ac_cv_lib_soname_MoltenVK:+false} :
18454 then :
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18456 printf "%s\n" "not found" >&6; }
18458 else $as_nop
18459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18460 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18462 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18468 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18469 then :
18470 case "x$with_vulkan" in
18471 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18472 xno) ;;
18473 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18474 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18475 esac
18480 if test "x${GCC}" = "xyes"
18481 then
18482 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18484 saved_CFLAGS=$CFLAGS
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18486 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18487 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18488 then :
18489 printf %s "(cached) " >&6
18490 else $as_nop
18491 ac_wine_try_cflags_saved=$CFLAGS
18492 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 int main(int argc, char **argv) { return 0; }
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"
18498 then :
18499 ac_cv_cflags__Werror_unknown_warning_option=yes
18500 else $as_nop
18501 ac_cv_cflags__Werror_unknown_warning_option=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18504 conftest$ac_exeext conftest.$ac_ext
18505 CFLAGS=$ac_wine_try_cflags_saved
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18508 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18509 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18510 then :
18511 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18514 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18515 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18516 then :
18517 printf %s "(cached) " >&6
18518 else $as_nop
18519 ac_wine_try_cflags_saved=$CFLAGS
18520 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 int main(int argc, char **argv) { return 0; }
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"
18526 then :
18527 ac_cv_cflags__Werror_unused_command_line_argument=yes
18528 else $as_nop
18529 ac_cv_cflags__Werror_unused_command_line_argument=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18532 conftest$ac_exeext conftest.$ac_ext
18533 CFLAGS=$ac_wine_try_cflags_saved
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18536 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18537 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18538 then :
18539 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18542 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18543 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18544 then :
18545 printf %s "(cached) " >&6
18546 else $as_nop
18547 ac_wine_try_cflags_saved=$CFLAGS
18548 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"
18554 then :
18555 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18556 else $as_nop
18557 ac_cv_cflags__Werror_ignored_optimization_argument=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18560 conftest$ac_exeext conftest.$ac_ext
18561 CFLAGS=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18564 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18565 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18566 then :
18567 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18570 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18571 if test ${ac_cv_cflags__fcf_protection_none+y}
18572 then :
18573 printf %s "(cached) " >&6
18574 else $as_nop
18575 ac_wine_try_cflags_saved=$CFLAGS
18576 CFLAGS="$CFLAGS -fcf-protection=none"
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"
18582 then :
18583 ac_cv_cflags__fcf_protection_none=yes
18584 else $as_nop
18585 ac_cv_cflags__fcf_protection_none=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18588 conftest$ac_exeext conftest.$ac_ext
18589 CFLAGS=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18592 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18593 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18594 then :
18595 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18598 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18599 if test ${ac_cv_cflags__fno_stack_protector+y}
18600 then :
18601 printf %s "(cached) " >&6
18602 else $as_nop
18603 ac_wine_try_cflags_saved=$CFLAGS
18604 CFLAGS="$CFLAGS -fno-stack-protector"
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 ac_cv_cflags__fno_stack_protector=yes
18612 else $as_nop
18613 ac_cv_cflags__fno_stack_protector=no
18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18616 conftest$ac_exeext conftest.$ac_ext
18617 CFLAGS=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18620 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18621 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18622 then :
18623 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18626 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18627 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18628 then :
18629 printf %s "(cached) " >&6
18630 else $as_nop
18631 ac_wine_try_cflags_saved=$CFLAGS
18632 CFLAGS="$CFLAGS -fno-strict-aliasing"
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"
18638 then :
18639 ac_cv_cflags__fno_strict_aliasing=yes
18640 else $as_nop
18641 ac_cv_cflags__fno_strict_aliasing=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18644 conftest$ac_exeext conftest.$ac_ext
18645 CFLAGS=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18648 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18649 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18650 then :
18651 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18654 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18655 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18656 then :
18657 printf %s "(cached) " >&6
18658 else $as_nop
18659 ac_wine_try_cflags_saved=$CFLAGS
18660 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 ac_cv_cflags__Wdeclaration_after_statement=yes
18668 else $as_nop
18669 ac_cv_cflags__Wdeclaration_after_statement=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18672 conftest$ac_exeext conftest.$ac_ext
18673 CFLAGS=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18676 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18677 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18678 then :
18679 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18682 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18683 if test ${ac_cv_cflags__Wempty_body+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -Wempty-body"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__Wempty_body=yes
18696 else $as_nop
18697 ac_cv_cflags__Wempty_body=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18704 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18705 if test "x$ac_cv_cflags__Wempty_body" = xyes
18706 then :
18707 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18710 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18711 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -Wignored-qualifiers"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__Wignored_qualifiers=yes
18724 else $as_nop
18725 ac_cv_cflags__Wignored_qualifiers=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18732 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18733 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18734 then :
18735 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18738 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18739 if test ${ac_cv_cflags__Winit_self+y}
18740 then :
18741 printf %s "(cached) " >&6
18742 else $as_nop
18743 ac_wine_try_cflags_saved=$CFLAGS
18744 CFLAGS="$CFLAGS -Winit-self"
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"
18750 then :
18751 ac_cv_cflags__Winit_self=yes
18752 else $as_nop
18753 ac_cv_cflags__Winit_self=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18756 conftest$ac_exeext conftest.$ac_ext
18757 CFLAGS=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18760 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18761 if test "x$ac_cv_cflags__Winit_self" = xyes
18762 then :
18763 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18766 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18767 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18768 then :
18769 printf %s "(cached) " >&6
18770 else $as_nop
18771 ac_wine_try_cflags_saved=$CFLAGS
18772 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18776 _ACEOF
18777 if ac_fn_c_try_link "$LINENO"
18778 then :
18779 ac_cv_cflags__Wpacked_not_aligned=yes
18780 else $as_nop
18781 ac_cv_cflags__Wpacked_not_aligned=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18784 conftest$ac_exeext conftest.$ac_ext
18785 CFLAGS=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18789 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18790 then :
18791 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18794 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18795 if test ${ac_cv_cflags__Wpragma_pack+y}
18796 then :
18797 printf %s "(cached) " >&6
18798 else $as_nop
18799 ac_wine_try_cflags_saved=$CFLAGS
18800 CFLAGS="$CFLAGS -Wpragma-pack"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"
18806 then :
18807 ac_cv_cflags__Wpragma_pack=yes
18808 else $as_nop
18809 ac_cv_cflags__Wpragma_pack=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18812 conftest$ac_exeext conftest.$ac_ext
18813 CFLAGS=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18817 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18818 then :
18819 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18822 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18823 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_wine_try_cflags_saved=$CFLAGS
18828 CFLAGS="$CFLAGS -Wshift-overflow=2"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"
18834 then :
18835 ac_cv_cflags__Wshift_overflow_2=yes
18836 else $as_nop
18837 ac_cv_cflags__Wshift_overflow_2=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18840 conftest$ac_exeext conftest.$ac_ext
18841 CFLAGS=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18844 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18845 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18846 then :
18847 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18850 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18851 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18852 then :
18853 printf %s "(cached) " >&6
18854 else $as_nop
18855 ac_wine_try_cflags_saved=$CFLAGS
18856 CFLAGS="$CFLAGS -Wstrict-prototypes"
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18859 int main(int argc, char **argv) { return 0; }
18860 _ACEOF
18861 if ac_fn_c_try_link "$LINENO"
18862 then :
18863 ac_cv_cflags__Wstrict_prototypes=yes
18864 else $as_nop
18865 ac_cv_cflags__Wstrict_prototypes=no
18867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18868 conftest$ac_exeext conftest.$ac_ext
18869 CFLAGS=$ac_wine_try_cflags_saved
18871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18872 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18873 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18874 then :
18875 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18878 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18879 if test ${ac_cv_cflags__Wtype_limits+y}
18880 then :
18881 printf %s "(cached) " >&6
18882 else $as_nop
18883 ac_wine_try_cflags_saved=$CFLAGS
18884 CFLAGS="$CFLAGS -Wtype-limits"
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 int main(int argc, char **argv) { return 0; }
18888 _ACEOF
18889 if ac_fn_c_try_link "$LINENO"
18890 then :
18891 ac_cv_cflags__Wtype_limits=yes
18892 else $as_nop
18893 ac_cv_cflags__Wtype_limits=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18896 conftest$ac_exeext conftest.$ac_ext
18897 CFLAGS=$ac_wine_try_cflags_saved
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18901 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18902 then :
18903 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18906 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18907 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18908 then :
18909 printf %s "(cached) " >&6
18910 else $as_nop
18911 ac_wine_try_cflags_saved=$CFLAGS
18912 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18915 int main(int argc, char **argv) { return 0; }
18916 _ACEOF
18917 if ac_fn_c_try_link "$LINENO"
18918 then :
18919 ac_cv_cflags__Wunused_but_set_parameter=yes
18920 else $as_nop
18921 ac_cv_cflags__Wunused_but_set_parameter=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18924 conftest$ac_exeext conftest.$ac_ext
18925 CFLAGS=$ac_wine_try_cflags_saved
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18928 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18929 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18930 then :
18931 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18934 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18935 if test ${ac_cv_cflags__Wvla+y}
18936 then :
18937 printf %s "(cached) " >&6
18938 else $as_nop
18939 ac_wine_try_cflags_saved=$CFLAGS
18940 CFLAGS="$CFLAGS -Wvla"
18941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18943 int main(int argc, char **argv) { return 0; }
18944 _ACEOF
18945 if ac_fn_c_try_link "$LINENO"
18946 then :
18947 ac_cv_cflags__Wvla=yes
18948 else $as_nop
18949 ac_cv_cflags__Wvla=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18952 conftest$ac_exeext conftest.$ac_ext
18953 CFLAGS=$ac_wine_try_cflags_saved
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18956 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18957 if test "x$ac_cv_cflags__Wvla" = xyes
18958 then :
18959 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18962 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18963 if test ${ac_cv_cflags__Wwrite_strings+y}
18964 then :
18965 printf %s "(cached) " >&6
18966 else $as_nop
18967 ac_wine_try_cflags_saved=$CFLAGS
18968 CFLAGS="$CFLAGS -Wwrite-strings"
18969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18970 /* end confdefs.h. */
18971 int main(int argc, char **argv) { return 0; }
18972 _ACEOF
18973 if ac_fn_c_try_link "$LINENO"
18974 then :
18975 ac_cv_cflags__Wwrite_strings=yes
18976 else $as_nop
18977 ac_cv_cflags__Wwrite_strings=no
18979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18980 conftest$ac_exeext conftest.$ac_ext
18981 CFLAGS=$ac_wine_try_cflags_saved
18983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18984 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18985 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18986 then :
18987 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18991 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18992 if test ${ac_cv_cflags__Wpointer_arith+y}
18993 then :
18994 printf %s "(cached) " >&6
18995 else $as_nop
18996 ac_wine_try_cflags_saved=$CFLAGS
18997 CFLAGS="$CFLAGS -Wpointer-arith"
18998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 /* end confdefs.h. */
19000 int main(int argc, char **argv) { return 0; }
19001 _ACEOF
19002 if ac_fn_c_try_link "$LINENO"
19003 then :
19004 ac_cv_cflags__Wpointer_arith=yes
19005 else $as_nop
19006 ac_cv_cflags__Wpointer_arith=no
19008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19009 conftest$ac_exeext conftest.$ac_ext
19010 CFLAGS=$ac_wine_try_cflags_saved
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19013 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19014 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19015 then :
19016 saved_string_h_CFLAGS=$CFLAGS
19017 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19019 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19020 if test ${ac_cv_c_string_h_warnings+y}
19021 then :
19022 printf %s "(cached) " >&6
19023 else $as_nop
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19026 #include <string.h>
19028 main (void)
19032 return 0;
19034 _ACEOF
19035 if ac_fn_c_try_compile "$LINENO"
19036 then :
19037 ac_cv_c_string_h_warnings=no
19038 else $as_nop
19039 ac_cv_c_string_h_warnings=yes
19041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19044 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19045 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19046 CFLAGS=$saved_string_h_CFLAGS
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19050 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19051 if test ${ac_cv_cflags__Wlogical_op+y}
19052 then :
19053 printf %s "(cached) " >&6
19054 else $as_nop
19055 ac_wine_try_cflags_saved=$CFLAGS
19056 CFLAGS="$CFLAGS -Wlogical-op"
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 int main(int argc, char **argv) { return 0; }
19060 _ACEOF
19061 if ac_fn_c_try_link "$LINENO"
19062 then :
19063 ac_cv_cflags__Wlogical_op=yes
19064 else $as_nop
19065 ac_cv_cflags__Wlogical_op=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19068 conftest$ac_exeext conftest.$ac_ext
19069 CFLAGS=$ac_wine_try_cflags_saved
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19072 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19073 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19074 then :
19075 saved_string_h_CFLAGS=$CFLAGS
19076 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19078 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19079 if test ${ac_cv_c_logicalop_noisy+y}
19080 then :
19081 printf %s "(cached) " >&6
19082 else $as_nop
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 #include <string.h>
19086 char*f(const char *h,char n) {return strchr(h,n);}
19088 main (void)
19092 return 0;
19094 _ACEOF
19095 if ac_fn_c_try_compile "$LINENO"
19096 then :
19097 ac_cv_c_logicalop_noisy=no
19098 else $as_nop
19099 ac_cv_c_logicalop_noisy=yes
19101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19104 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19105 CFLAGS=$saved_string_h_CFLAGS
19106 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19110 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19111 if test ${wine_cv_64bit_compare_swap+y}
19112 then :
19113 printf %s "(cached) " >&6
19114 else $as_nop
19115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19117 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19118 #error no
19119 #endif
19121 main (void)
19125 return 0;
19127 _ACEOF
19128 if ac_fn_c_try_compile "$LINENO"
19129 then :
19130 wine_cv_64bit_compare_swap="none needed"
19131 else $as_nop
19132 case $host_cpu in
19133 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19134 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19135 *) wine_cv_64bit_compare_swap="unknown" ;;
19136 esac
19137 if test "x$wine_cv_64bit_compare_swap" != xunknown
19138 then
19139 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19143 #error no
19144 #endif
19146 main (void)
19150 return 0;
19152 _ACEOF
19153 if ac_fn_c_try_compile "$LINENO"
19154 then :
19156 else $as_nop
19157 wine_cv_64bit_compare_swap="unknown"
19159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19160 CFLAGS=$saved_CFLAGS
19163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19166 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19167 case "$wine_cv_64bit_compare_swap" in
19168 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19169 "none needed") ;;
19170 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19171 esac
19173 ac_debug_format_seen=""
19174 for ac_flag in $CFLAGS; do
19175 case $ac_flag in
19176 -gdwarf*) ac_debug_format_seen=yes ;;
19177 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19178 esac
19179 done
19180 if test "x$ac_debug_format_seen" = xdefault
19181 then
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19183 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19184 if test ${ac_cv_cflags__gdwarf_4+y}
19185 then :
19186 printf %s "(cached) " >&6
19187 else $as_nop
19188 ac_wine_try_cflags_saved=$CFLAGS
19189 CFLAGS="$CFLAGS -gdwarf-4"
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"
19195 then :
19196 ac_cv_cflags__gdwarf_4=yes
19197 else $as_nop
19198 ac_cv_cflags__gdwarf_4=no
19200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19201 conftest$ac_exeext conftest.$ac_ext
19202 CFLAGS=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19205 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19206 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19207 then :
19208 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19212 MSVCRTFLAGS=""
19214 case $host_os in
19215 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19216 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19217 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19218 then :
19219 printf %s "(cached) " >&6
19220 else $as_nop
19221 ac_wine_try_cflags_saved=$CFLAGS
19222 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 int main(int argc, char **argv) { return 0; }
19226 _ACEOF
19227 if ac_fn_c_try_link "$LINENO"
19228 then :
19229 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19230 else $as_nop
19231 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19234 conftest$ac_exeext conftest.$ac_ext
19235 CFLAGS=$ac_wine_try_cflags_saved
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19238 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19239 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19240 then :
19241 DELAYLOADFLAG="-Wl,-delayload,"
19243 fi ;;
19244 *) MSVCRTFLAGS="-D_WIN32"
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19246 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19247 if test ${ac_cv_cflags__fno_builtin+y}
19248 then :
19249 printf %s "(cached) " >&6
19250 else $as_nop
19251 ac_wine_try_cflags_saved=$CFLAGS
19252 CFLAGS="$CFLAGS -fno-builtin"
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 int main(int argc, char **argv) { return 0; }
19256 _ACEOF
19257 if ac_fn_c_try_link "$LINENO"
19258 then :
19259 ac_cv_cflags__fno_builtin=yes
19260 else $as_nop
19261 ac_cv_cflags__fno_builtin=no
19263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19264 conftest$ac_exeext conftest.$ac_ext
19265 CFLAGS=$ac_wine_try_cflags_saved
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19268 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19269 if test "x$ac_cv_cflags__fno_builtin" = xyes
19270 then :
19271 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19274 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19275 if test ${ac_cv_cflags__fshort_wchar+y}
19276 then :
19277 printf %s "(cached) " >&6
19278 else $as_nop
19279 ac_wine_try_cflags_saved=$CFLAGS
19280 CFLAGS="$CFLAGS -fshort-wchar"
19281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19282 /* end confdefs.h. */
19283 int main(int argc, char **argv) { return 0; }
19284 _ACEOF
19285 if ac_fn_c_try_link "$LINENO"
19286 then :
19287 ac_cv_cflags__fshort_wchar=yes
19288 else $as_nop
19289 ac_cv_cflags__fshort_wchar=no
19291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19292 conftest$ac_exeext conftest.$ac_ext
19293 CFLAGS=$ac_wine_try_cflags_saved
19295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19296 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19297 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19298 then :
19299 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19302 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19303 if test ${ac_cv_cflags__Wno_format+y}
19304 then :
19305 printf %s "(cached) " >&6
19306 else $as_nop
19307 ac_wine_try_cflags_saved=$CFLAGS
19308 CFLAGS="$CFLAGS -Wno-format"
19309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 int main(int argc, char **argv) { return 0; }
19312 _ACEOF
19313 if ac_fn_c_try_link "$LINENO"
19314 then :
19315 ac_cv_cflags__Wno_format=yes
19316 else $as_nop
19317 ac_cv_cflags__Wno_format=no
19319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19320 conftest$ac_exeext conftest.$ac_ext
19321 CFLAGS=$ac_wine_try_cflags_saved
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19324 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19325 if test "x$ac_cv_cflags__Wno_format" = xyes
19326 then :
19327 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19328 fi ;;
19329 esac
19331 case $host_cpu in
19332 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19333 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19334 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19335 then :
19336 printf %s "(cached) " >&6
19337 else $as_nop
19338 ac_wine_try_cflags_saved=$CFLAGS
19339 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 int main(int argc, char **argv) { return 0; }
19343 _ACEOF
19344 if ac_fn_c_try_link "$LINENO"
19345 then :
19346 ac_cv_cflags__fno_omit_frame_pointer=yes
19347 else $as_nop
19348 ac_cv_cflags__fno_omit_frame_pointer=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19351 conftest$ac_exeext conftest.$ac_ext
19352 CFLAGS=$ac_wine_try_cflags_saved
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19355 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19356 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19357 then :
19358 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19359 fi ;;
19360 *x86_64*)
19361 case $host_os in
19362 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19363 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19364 if test ${ac_cv_cflags__Wno_format+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 ac_wine_try_cflags_saved=$CFLAGS
19369 CFLAGS="$CFLAGS -Wno-format"
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 int main(int argc, char **argv) { return 0; }
19373 _ACEOF
19374 if ac_fn_c_try_link "$LINENO"
19375 then :
19376 ac_cv_cflags__Wno_format=yes
19377 else $as_nop
19378 ac_cv_cflags__Wno_format=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19381 conftest$ac_exeext conftest.$ac_ext
19382 CFLAGS=$ac_wine_try_cflags_saved
19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19385 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19386 if test "x$ac_cv_cflags__Wno_format" = xyes
19387 then :
19388 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19389 fi ;;
19390 *) if test -z "$PE_ARCHS"
19391 then
19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19393 printf %s "checking for working -mabi=ms... " >&6; }
19394 if test ${ac_cv_mabi_ms+y}
19395 then :
19396 printf %s "(cached) " >&6
19397 else $as_nop
19398 CFLAGS="$CFLAGS -mabi=ms"
19399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19401 #include <stdarg.h>
19402 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19404 main (void)
19408 return 0;
19410 _ACEOF
19411 if ac_fn_c_try_compile "$LINENO"
19412 then :
19413 ac_cv_mabi_ms=yes
19414 else $as_nop
19415 ac_cv_mabi_ms=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19418 CFLAGS=$saved_CFLAGS
19420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19421 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19422 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
19424 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19425 esac ;;
19426 arm*)
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19428 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19429 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19430 then :
19431 printf %s "(cached) " >&6
19432 else $as_nop
19433 ac_wine_try_cflags_saved=$CFLAGS
19434 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19436 /* end confdefs.h. */
19437 int main(int argc, char **argv) { return 0; }
19438 _ACEOF
19439 if ac_fn_c_try_link "$LINENO"
19440 then :
19441 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19442 else $as_nop
19443 ac_cv_cflags__Wincompatible_function_pointer_types=no
19445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19446 conftest$ac_exeext conftest.$ac_ext
19447 CFLAGS=$ac_wine_try_cflags_saved
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19450 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19451 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19452 then :
19453 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19454 fi ;;
19455 esac
19457 CFLAGS=$saved_CFLAGS
19459 if test "x$enable_werror" = "xyes"
19460 then
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19462 printf %s "checking whether the compiler supports -Werror... " >&6; }
19463 if test ${ac_cv_cflags__Werror+y}
19464 then :
19465 printf %s "(cached) " >&6
19466 else $as_nop
19467 ac_wine_try_cflags_saved=$CFLAGS
19468 CFLAGS="$CFLAGS -Werror"
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 int main(int argc, char **argv) { return 0; }
19472 _ACEOF
19473 if ac_fn_c_try_link "$LINENO"
19474 then :
19475 ac_cv_cflags__Werror=yes
19476 else $as_nop
19477 ac_cv_cflags__Werror=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19480 conftest$ac_exeext conftest.$ac_ext
19481 CFLAGS=$ac_wine_try_cflags_saved
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19484 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19485 if test "x$ac_cv_cflags__Werror" = xyes
19486 then :
19487 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19490 if test "x$enable_build_id" = "xyes"
19491 then
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19493 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19494 if test ${ac_cv_cflags__Wl___build_id+y}
19495 then :
19496 printf %s "(cached) " >&6
19497 else $as_nop
19498 ac_wine_try_cflags_saved=$CFLAGS
19499 CFLAGS="$CFLAGS -Wl,--build-id"
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502 int main(int argc, char **argv) { return 0; }
19503 _ACEOF
19504 if ac_fn_c_try_link "$LINENO"
19505 then :
19506 ac_cv_cflags__Wl___build_id=yes
19507 else $as_nop
19508 ac_cv_cflags__Wl___build_id=no
19510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19511 conftest$ac_exeext conftest.$ac_ext
19512 CFLAGS=$ac_wine_try_cflags_saved
19514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19515 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19516 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19517 then :
19518 CFLAGS="$CFLAGS -Wl,--build-id"
19519 LDFLAGS="$LDFLAGS -Wl,--build-id"
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19526 printf %s "checking for the need to disable Fortify... " >&6; }
19527 if test ${ac_cv_c_fortify_enabled+y}
19528 then :
19529 printf %s "(cached) " >&6
19530 else $as_nop
19531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19532 /* end confdefs.h. */
19533 #include <string.h>
19535 main (void)
19537 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19538 #error Fortify enabled
19539 #endif
19541 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_compile "$LINENO"
19545 then :
19546 ac_cv_c_fortify_enabled=no
19547 else $as_nop
19548 ac_cv_c_fortify_enabled=yes
19550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19553 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19554 if test "$ac_cv_c_fortify_enabled" = yes
19555 then
19556 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19561 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19562 if test ${ac_cv_c_cfi_support+y}
19563 then :
19564 printf %s "(cached) " >&6
19565 else $as_nop
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19568 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19570 main (void)
19574 return 0;
19576 _ACEOF
19577 if ac_fn_c_try_compile "$LINENO"
19578 then :
19579 ac_cv_c_cfi_support="yes"
19580 else $as_nop
19581 ac_cv_c_cfi_support="no"
19583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19586 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19587 if test "$ac_cv_c_cfi_support" = "yes"
19588 then
19589 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19590 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19591 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19592 elif test $HOST_ARCH = x86_64
19593 then
19594 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19598 case "$HOST_ARCH,$PE_ARCHS" in
19599 x86_64,*i386*) wine_binary="wine" ;;
19600 x86_64,*) wine_binary="wine64" ;;
19601 *) wine_binary="wine" ;;
19602 esac
19603 WINELOADER_PROGRAMS="$wine_binary"
19606 case $host_os in
19607 linux*)
19608 case $host_cpu in
19609 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19610 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19611 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19613 esac
19615 darwin*|macosx*)
19616 if test "$wine_can_build_preloader" = "yes"
19617 then
19618 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19619 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19622 esac
19625 ac_save_CFLAGS="$CFLAGS"
19626 CFLAGS="$CFLAGS $BUILTINFLAG"
19627 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19628 if test "x$ac_cv_func_epoll_create" = xyes
19629 then :
19630 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19633 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19634 if test "x$ac_cv_func_fstatfs" = xyes
19635 then :
19636 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19639 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19640 if test "x$ac_cv_func_futimens" = xyes
19641 then :
19642 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19645 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19646 if test "x$ac_cv_func_futimes" = xyes
19647 then :
19648 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19651 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19652 if test "x$ac_cv_func_futimesat" = xyes
19653 then :
19654 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19657 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19658 if test "x$ac_cv_func_getattrlist" = xyes
19659 then :
19660 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19663 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19664 if test "x$ac_cv_func_getauxval" = xyes
19665 then :
19666 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19669 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19670 if test "x$ac_cv_func_getifaddrs" = xyes
19671 then :
19672 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19675 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19676 if test "x$ac_cv_func_getrandom" = xyes
19677 then :
19678 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19681 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19682 if test "x$ac_cv_func_kqueue" = xyes
19683 then :
19684 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19687 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19688 if test "x$ac_cv_func_mach_continuous_time" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19693 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19694 if test "x$ac_cv_func_pipe2" = xyes
19695 then :
19696 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19699 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19700 if test "x$ac_cv_func_port_create" = xyes
19701 then :
19702 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19705 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19706 if test "x$ac_cv_func_posix_fadvise" = xyes
19707 then :
19708 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19711 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19712 if test "x$ac_cv_func_posix_fallocate" = xyes
19713 then :
19714 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19717 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19718 if test "x$ac_cv_func_prctl" = xyes
19719 then :
19720 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19723 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19724 if test "x$ac_cv_func_proc_pidinfo" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19729 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19730 if test "x$ac_cv_func_sched_yield" = xyes
19731 then :
19732 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19735 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19736 if test "x$ac_cv_func_setproctitle" = xyes
19737 then :
19738 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19741 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19742 if test "x$ac_cv_func_setprogname" = xyes
19743 then :
19744 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19747 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19748 if test "x$ac_cv_func_sigprocmask" = xyes
19749 then :
19750 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19753 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19754 if test "x$ac_cv_func_sysinfo" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19759 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19760 if test "x$ac_cv_func_tcdrain" = xyes
19761 then :
19762 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19765 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19766 if test "x$ac_cv_func_thr_kill2" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19772 CFLAGS="$ac_save_CFLAGS"
19774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19775 printf %s "checking for library containing dlopen... " >&6; }
19776 if test ${ac_cv_search_dlopen+y}
19777 then :
19778 printf %s "(cached) " >&6
19779 else $as_nop
19780 ac_func_search_save_LIBS=$LIBS
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19784 /* Override any GCC internal prototype to avoid an error.
19785 Use char because int might match the return type of a GCC
19786 builtin and then its argument prototype would still apply. */
19787 char dlopen ();
19789 main (void)
19791 return dlopen ();
19793 return 0;
19795 _ACEOF
19796 for ac_lib in '' dl
19798 if test -z "$ac_lib"; then
19799 ac_res="none required"
19800 else
19801 ac_res=-l$ac_lib
19802 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19804 if ac_fn_c_try_link "$LINENO"
19805 then :
19806 ac_cv_search_dlopen=$ac_res
19808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19809 conftest$ac_exeext
19810 if test ${ac_cv_search_dlopen+y}
19811 then :
19812 break
19814 done
19815 if test ${ac_cv_search_dlopen+y}
19816 then :
19818 else $as_nop
19819 ac_cv_search_dlopen=no
19821 rm conftest.$ac_ext
19822 LIBS=$ac_func_search_save_LIBS
19824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19825 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19826 ac_res=$ac_cv_search_dlopen
19827 if test "$ac_res" != no
19828 then :
19829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19833 ac_wine_check_funcs_save_LIBS="$LIBS"
19834 LIBS="$LIBS $DL_LIBS"
19835 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19836 if test "x$ac_cv_func_dlinfo" = xyes
19837 then :
19838 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19842 LIBS="$ac_wine_check_funcs_save_LIBS"
19844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19845 printf %s "checking for library containing gethostbyname... " >&6; }
19846 if test ${ac_cv_search_gethostbyname+y}
19847 then :
19848 printf %s "(cached) " >&6
19849 else $as_nop
19850 ac_func_search_save_LIBS=$LIBS
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19854 /* Override any GCC internal prototype to avoid an error.
19855 Use char because int might match the return type of a GCC
19856 builtin and then its argument prototype would still apply. */
19857 char gethostbyname ();
19859 main (void)
19861 return gethostbyname ();
19863 return 0;
19865 _ACEOF
19866 for ac_lib in '' nsl
19868 if test -z "$ac_lib"; then
19869 ac_res="none required"
19870 else
19871 ac_res=-l$ac_lib
19872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19874 if ac_fn_c_try_link "$LINENO"
19875 then :
19876 ac_cv_search_gethostbyname=$ac_res
19878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19879 conftest$ac_exeext
19880 if test ${ac_cv_search_gethostbyname+y}
19881 then :
19882 break
19884 done
19885 if test ${ac_cv_search_gethostbyname+y}
19886 then :
19888 else $as_nop
19889 ac_cv_search_gethostbyname=no
19891 rm conftest.$ac_ext
19892 LIBS=$ac_func_search_save_LIBS
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19895 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19896 ac_res=$ac_cv_search_gethostbyname
19897 if test "$ac_res" != no
19898 then :
19899 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19905 printf %s "checking for library containing connect... " >&6; }
19906 if test ${ac_cv_search_connect+y}
19907 then :
19908 printf %s "(cached) " >&6
19909 else $as_nop
19910 ac_func_search_save_LIBS=$LIBS
19911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19914 /* Override any GCC internal prototype to avoid an error.
19915 Use char because int might match the return type of a GCC
19916 builtin and then its argument prototype would still apply. */
19917 char connect ();
19919 main (void)
19921 return connect ();
19923 return 0;
19925 _ACEOF
19926 for ac_lib in '' socket
19928 if test -z "$ac_lib"; then
19929 ac_res="none required"
19930 else
19931 ac_res=-l$ac_lib
19932 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19934 if ac_fn_c_try_link "$LINENO"
19935 then :
19936 ac_cv_search_connect=$ac_res
19938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19939 conftest$ac_exeext
19940 if test ${ac_cv_search_connect+y}
19941 then :
19942 break
19944 done
19945 if test ${ac_cv_search_connect+y}
19946 then :
19948 else $as_nop
19949 ac_cv_search_connect=no
19951 rm conftest.$ac_ext
19952 LIBS=$ac_func_search_save_LIBS
19954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19955 printf "%s\n" "$ac_cv_search_connect" >&6; }
19956 ac_res=$ac_cv_search_connect
19957 if test "$ac_res" != no
19958 then :
19959 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19965 printf %s "checking for library containing inet_aton... " >&6; }
19966 if test ${ac_cv_search_inet_aton+y}
19967 then :
19968 printf %s "(cached) " >&6
19969 else $as_nop
19970 ac_func_search_save_LIBS=$LIBS
19971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19972 /* end confdefs.h. */
19974 /* Override any GCC internal prototype to avoid an error.
19975 Use char because int might match the return type of a GCC
19976 builtin and then its argument prototype would still apply. */
19977 char inet_aton ();
19979 main (void)
19981 return inet_aton ();
19983 return 0;
19985 _ACEOF
19986 for ac_lib in '' resolv
19988 if test -z "$ac_lib"; then
19989 ac_res="none required"
19990 else
19991 ac_res=-l$ac_lib
19992 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19994 if ac_fn_c_try_link "$LINENO"
19995 then :
19996 ac_cv_search_inet_aton=$ac_res
19998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19999 conftest$ac_exeext
20000 if test ${ac_cv_search_inet_aton+y}
20001 then :
20002 break
20004 done
20005 if test ${ac_cv_search_inet_aton+y}
20006 then :
20008 else $as_nop
20009 ac_cv_search_inet_aton=no
20011 rm conftest.$ac_ext
20012 LIBS=$ac_func_search_save_LIBS
20014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20015 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20016 ac_res=$ac_cv_search_inet_aton
20017 if test "$ac_res" != no
20018 then :
20019 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20024 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20025 if test "x$ac_cv_func_getaddrinfo" = xyes
20026 then :
20027 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20032 case $host_os in
20033 darwin*|macosx*) ;;
20034 *) ac_save_LIBS=$LIBS
20035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20036 printf %s "checking for library containing clock_gettime... " >&6; }
20037 if test ${ac_cv_search_clock_gettime+y}
20038 then :
20039 printf %s "(cached) " >&6
20040 else $as_nop
20041 ac_func_search_save_LIBS=$LIBS
20042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20043 /* end confdefs.h. */
20045 /* Override any GCC internal prototype to avoid an error.
20046 Use char because int might match the return type of a GCC
20047 builtin and then its argument prototype would still apply. */
20048 char clock_gettime ();
20050 main (void)
20052 return clock_gettime ();
20054 return 0;
20056 _ACEOF
20057 for ac_lib in '' rt
20059 if test -z "$ac_lib"; then
20060 ac_res="none required"
20061 else
20062 ac_res=-l$ac_lib
20063 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20065 if ac_fn_c_try_link "$LINENO"
20066 then :
20067 ac_cv_search_clock_gettime=$ac_res
20069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20070 conftest$ac_exeext
20071 if test ${ac_cv_search_clock_gettime+y}
20072 then :
20073 break
20075 done
20076 if test ${ac_cv_search_clock_gettime+y}
20077 then :
20079 else $as_nop
20080 ac_cv_search_clock_gettime=no
20082 rm conftest.$ac_ext
20083 LIBS=$ac_func_search_save_LIBS
20085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20086 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20087 ac_res=$ac_cv_search_clock_gettime
20088 if test "$ac_res" != no
20089 then :
20090 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20092 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20094 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20098 LIBS=$ac_save_LIBS
20100 esac
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20103 printf %s "checking for sched_setaffinity... " >&6; }
20104 if test ${wine_cv_have_sched_setaffinity+y}
20105 then :
20106 printf %s "(cached) " >&6
20107 else $as_nop
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20110 #include <sched.h>
20112 main (void)
20114 sched_setaffinity(0, 0, 0);
20116 return 0;
20118 _ACEOF
20119 if ac_fn_c_try_link "$LINENO"
20120 then :
20121 wine_cv_have_sched_setaffinity=yes
20122 else $as_nop
20123 wine_cv_have_sched_setaffinity=no
20125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20126 conftest$ac_exeext conftest.$ac_ext
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20129 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20130 if test "$wine_cv_have_sched_setaffinity" = "yes"
20131 then
20133 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20139 printf %s "checking for inline... " >&6; }
20140 if test ${ac_cv_c_inline+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 ac_cv_c_inline=no
20145 for ac_kw in inline __inline__ __inline; do
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 #ifndef __cplusplus
20149 typedef int foo_t;
20150 static $ac_kw foo_t static_foo (void) {return 0; }
20151 $ac_kw foo_t foo (void) {return 0; }
20152 #endif
20154 _ACEOF
20155 if ac_fn_c_try_compile "$LINENO"
20156 then :
20157 ac_cv_c_inline=$ac_kw
20159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20160 test "$ac_cv_c_inline" != no && break
20161 done
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20165 printf "%s\n" "$ac_cv_c_inline" >&6; }
20167 case $ac_cv_c_inline in
20168 inline | yes) ;;
20170 case $ac_cv_c_inline in
20171 no) ac_val=;;
20172 *) ac_val=$ac_cv_c_inline;;
20173 esac
20174 cat >>confdefs.h <<_ACEOF
20175 #ifndef __cplusplus
20176 #define inline $ac_val
20177 #endif
20178 _ACEOF
20180 esac
20182 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20183 #include <signal.h>
20185 if test "x$ac_cv_type_sigset_t" = xyes
20186 then :
20188 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20193 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20195 if test "x$ac_cv_type_request_sense" = xyes
20196 then :
20198 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20204 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20205 #include <sys/socket.h>
20206 #ifdef HAVE_SYS_SOCKETVAR_H
20207 #include <sys/socketvar.h>
20208 #endif
20209 #ifdef HAVE_NET_ROUTE_H
20210 #include <net/route.h>
20211 #endif
20212 #ifdef HAVE_NETINET_IN_H
20213 #include <netinet/in.h>
20214 #endif
20215 #ifdef HAVE_NETINET_IN_SYSTM_H
20216 #include <netinet/in_systm.h>
20217 #endif
20218 #ifdef HAVE_NETINET_IP_H
20219 #include <netinet/ip.h>
20220 #endif
20221 #ifdef HAVE_NETINET_IN_PCB_H
20222 #include <netinet/in_pcb.h>
20223 #endif
20225 if test "x$ac_cv_type_struct_xinpgen" = xyes
20226 then :
20228 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20235 printf %s "checking for sigaddset... " >&6; }
20236 if test ${wine_cv_have_sigaddset+y}
20237 then :
20238 printf %s "(cached) " >&6
20239 else $as_nop
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <signal.h>
20244 main (void)
20246 sigset_t set; sigaddset(&set,SIGTERM);
20248 return 0;
20250 _ACEOF
20251 if ac_fn_c_try_link "$LINENO"
20252 then :
20253 wine_cv_have_sigaddset=yes
20254 else $as_nop
20255 wine_cv_have_sigaddset=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20258 conftest$ac_exeext conftest.$ac_ext
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20261 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20262 if test "$wine_cv_have_sigaddset" = "yes"
20263 then
20265 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20271 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20272 if test ${wine_cv_linux_gethostbyname_r_6+y}
20273 then :
20274 printf %s "(cached) " >&6
20275 else $as_nop
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #include <netdb.h>
20280 main (void)
20283 char *name=0;
20284 struct hostent he;
20285 struct hostent *result;
20286 char *buf=0;
20287 int bufsize=0;
20288 int errnr;
20289 char *addr=0;
20290 int addrlen=0;
20291 int addrtype=0;
20292 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20293 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20296 return 0;
20298 _ACEOF
20299 if ac_fn_c_try_link "$LINENO"
20300 then :
20301 wine_cv_linux_gethostbyname_r_6=yes
20302 else $as_nop
20303 wine_cv_linux_gethostbyname_r_6=no
20306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20307 conftest$ac_exeext conftest.$ac_ext
20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20311 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20312 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20313 then
20315 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#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_msghdr_msg_accrights" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20333 #include <sys/socket.h>
20334 #ifdef HAVE_SYS_UN_H
20335 # include <sys/un.h>
20336 #endif
20338 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20339 then :
20341 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20347 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20350 #endif
20352 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20359 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>
20360 #ifdef HAVE_SCSI_SG_H
20361 #include <scsi/sg.h>
20362 #endif
20364 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20365 then :
20367 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20373 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20375 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20376 then :
20378 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20387 #endif
20389 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20396 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20399 #endif
20401 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20409 #ifdef HAVE_SYS_MTIO_H
20410 #include <sys/mtio.h>
20411 #endif
20413 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20414 then :
20416 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20422 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20423 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20424 then :
20426 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20430 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20431 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20438 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20439 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20440 then :
20442 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20446 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20447 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20448 then :
20450 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20455 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20456 then :
20458 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20462 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20463 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20464 then :
20466 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20470 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20471 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20478 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20479 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20480 then :
20482 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20486 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20487 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20488 then :
20490 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20494 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20504 then :
20506 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20512 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>
20513 #ifdef HAVE_NETINET_IN_H
20514 #include <netinet/in.h>
20515 #endif
20517 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20526 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
20527 #include <resolv.h>
20528 #endif
20530 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20540 #include <netinet/in.h>
20541 #endif
20543 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20552 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20553 #ifdef HAVE_SYS_SOCKETVAR_H
20554 #include <sys/socketvar.h>
20555 #endif
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20558 #endif
20559 #ifdef HAVE_NETINET_IP_VAR_H
20560 #include <netinet/ip_var.h>
20561 #endif
20563 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20572 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
20573 #include <netinet/ip_var.h>
20574 #endif
20576 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20577 then :
20579 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20585 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20586 #ifdef HAVE_SYS_SOCKETVAR_H
20587 #include <sys/socketvar.h>
20588 #endif
20589 #ifdef HAVE_NETINET_IN_H
20590 #include <netinet/in.h>
20591 #endif
20592 #ifdef HAVE_NETINET6_IP6_VAR_H
20593 #include <netinet6/ip6_var.h>
20594 #endif
20596 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20597 then :
20599 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20605 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20606 #ifdef HAVE_SYS_SOCKETVAR_H
20607 #include <sys/socketvar.h>
20608 #endif
20609 #ifdef HAVE_NETINET_IN_H
20610 #include <netinet/in.h>
20611 #endif
20612 #ifdef HAVE_NETINET_IP_H
20613 #include <netinet/ip.h>
20614 #endif
20615 #ifdef HAVE_NETINET_IP_ICMP_H
20616 #include <netinet/ip_icmp.h>
20617 #endif
20618 #ifdef HAVE_NETINET_ICMP_VAR_H
20619 #include <netinet/icmp_var.h>
20620 #endif
20622 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20623 then :
20625 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20631 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20632 #ifdef HAVE_SYS_SOCKETVAR_H
20633 #include <sys/socketvar.h>
20634 #endif
20635 #ifdef HAVE_NETINET_IN_H
20636 #include <netinet/in.h>
20637 #endif
20638 #ifdef HAVE_NETINET_ICMP6_H
20639 #include <netinet/icmp6.h>
20640 #endif
20642 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20643 then :
20645 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20651 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20652 #ifdef HAVE_SYS_SOCKETVAR_H
20653 #include <sys/socketvar.h>
20654 #endif
20655 #ifdef HAVE_NETINET_IN_H
20656 #include <netinet/in.h>
20657 #endif
20658 #ifdef HAVE_NETINET_TCP_H
20659 #include <netinet/tcp.h>
20660 #endif
20661 #ifdef HAVE_NETINET_TCP_VAR_H
20662 #include <netinet/tcp_var.h>
20663 #endif
20665 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20666 then :
20668 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20674 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
20675 #include <netinet/tcp_var.h>
20676 #endif
20678 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20679 then :
20681 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20687 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20688 #ifdef HAVE_NETINET_IN_H
20689 #include <netinet/in.h>
20690 #endif
20691 #ifdef HAVE_NETINET_IP_VAR_H
20692 #include <netinet/ip_var.h>
20693 #endif
20694 #ifdef HAVE_NETINET_UDP_H
20695 #include <netinet/udp.h>
20696 #endif
20697 #ifdef HAVE_NETINET_UDP_VAR_H
20698 #include <netinet/udp_var.h>
20699 #endif
20701 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20702 then :
20704 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20710 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20711 #ifdef HAVE_NET_IF_H
20712 # include <net/if.h>
20713 #endif
20715 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20716 then :
20718 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20724 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20725 # include <sys/sysinfo.h>
20726 #endif
20728 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20729 then :
20731 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20735 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20736 # include <sys/sysinfo.h>
20737 #endif
20739 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20740 then :
20742 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20748 LIBS="$ac_save_LIBS"
20750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20751 printf %s "checking for __builtin_popcount... " >&6; }
20752 if test ${ac_cv_have___builtin_popcount+y}
20753 then :
20754 printf %s "(cached) " >&6
20755 else $as_nop
20756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20757 /* end confdefs.h. */
20760 main (void)
20762 return __builtin_popcount(1)
20764 return 0;
20766 _ACEOF
20767 if ac_fn_c_try_link "$LINENO"
20768 then :
20769 ac_cv_have___builtin_popcount="yes"
20770 else $as_nop
20771 ac_cv_have___builtin_popcount="no"
20773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20774 conftest$ac_exeext conftest.$ac_ext
20776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20777 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20778 if test "$ac_cv_have___builtin_popcount" = "yes"
20779 then
20781 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20786 printf %s "checking for __clear_cache... " >&6; }
20787 if test ${ac_cv_have___clear_cache+y}
20788 then :
20789 printf %s "(cached) " >&6
20790 else $as_nop
20791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20795 main (void)
20797 __clear_cache((void*)0, (void*)0); return 0;
20799 return 0;
20801 _ACEOF
20802 if ac_fn_c_try_link "$LINENO"
20803 then :
20804 ac_cv_have___clear_cache="yes"
20805 else $as_nop
20806 ac_cv_have___clear_cache="no"
20808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20809 conftest$ac_exeext conftest.$ac_ext
20811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20812 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20813 if test "$ac_cv_have___clear_cache" = "yes"
20814 then
20816 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20821 case $host_cpu in
20822 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20823 printf %s "checking whether we need to define __i386__... " >&6; }
20824 if test ${ac_cv_cpp_def___i386__+y}
20825 then :
20826 printf %s "(cached) " >&6
20827 else $as_nop
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #ifndef __i386__
20832 #endif
20833 _ACEOF
20834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20835 $EGREP "yes" >/dev/null 2>&1
20836 then :
20837 ac_cv_cpp_def___i386__=yes
20838 else $as_nop
20839 ac_cv_cpp_def___i386__=no
20841 rm -rf conftest*
20844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20845 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20846 if test "x$ac_cv_cpp_def___i386__" = xyes
20847 then :
20848 CFLAGS="$CFLAGS -D__i386__"
20849 LINTFLAGS="$LINTFLAGS -D__i386__"
20850 fi ;;
20851 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20852 printf %s "checking whether we need to define __x86_64__... " >&6; }
20853 if test ${ac_cv_cpp_def___x86_64__+y}
20854 then :
20855 printf %s "(cached) " >&6
20856 else $as_nop
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #ifndef __x86_64__
20861 #endif
20862 _ACEOF
20863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20864 $EGREP "yes" >/dev/null 2>&1
20865 then :
20866 ac_cv_cpp_def___x86_64__=yes
20867 else $as_nop
20868 ac_cv_cpp_def___x86_64__=no
20870 rm -rf conftest*
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20874 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20875 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20876 then :
20877 CFLAGS="$CFLAGS -D__x86_64__"
20878 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20879 fi ;;
20880 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20881 printf %s "checking whether we need to define __sparc64__... " >&6; }
20882 if test ${ac_cv_cpp_def___sparc64__+y}
20883 then :
20884 printf %s "(cached) " >&6
20885 else $as_nop
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20888 #ifndef __sparc64__
20890 #endif
20891 _ACEOF
20892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20893 $EGREP "yes" >/dev/null 2>&1
20894 then :
20895 ac_cv_cpp_def___sparc64__=yes
20896 else $as_nop
20897 ac_cv_cpp_def___sparc64__=no
20899 rm -rf conftest*
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20903 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20904 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20905 then :
20906 CFLAGS="$CFLAGS -D__sparc64__"
20907 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20908 fi ;;
20909 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20910 printf %s "checking whether we need to define __sparc__... " >&6; }
20911 if test ${ac_cv_cpp_def___sparc__+y}
20912 then :
20913 printf %s "(cached) " >&6
20914 else $as_nop
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #ifndef __sparc__
20919 #endif
20920 _ACEOF
20921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20922 $EGREP "yes" >/dev/null 2>&1
20923 then :
20924 ac_cv_cpp_def___sparc__=yes
20925 else $as_nop
20926 ac_cv_cpp_def___sparc__=no
20928 rm -rf conftest*
20931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20932 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20933 if test "x$ac_cv_cpp_def___sparc__" = xyes
20934 then :
20935 CFLAGS="$CFLAGS -D__sparc__"
20936 LINTFLAGS="$LINTFLAGS -D__sparc__"
20937 fi ;;
20938 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20939 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20940 if test ${ac_cv_cpp_def___powerpc64__+y}
20941 then :
20942 printf %s "(cached) " >&6
20943 else $as_nop
20944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20945 /* end confdefs.h. */
20946 #ifndef __powerpc64__
20948 #endif
20949 _ACEOF
20950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20951 $EGREP "yes" >/dev/null 2>&1
20952 then :
20953 ac_cv_cpp_def___powerpc64__=yes
20954 else $as_nop
20955 ac_cv_cpp_def___powerpc64__=no
20957 rm -rf conftest*
20960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20961 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20962 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20963 then :
20964 CFLAGS="$CFLAGS -D__powerpc64__"
20965 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20966 fi ;;
20967 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20968 printf %s "checking whether we need to define __powerpc__... " >&6; }
20969 if test ${ac_cv_cpp_def___powerpc__+y}
20970 then :
20971 printf %s "(cached) " >&6
20972 else $as_nop
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #ifndef __powerpc__
20977 #endif
20978 _ACEOF
20979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20980 $EGREP "yes" >/dev/null 2>&1
20981 then :
20982 ac_cv_cpp_def___powerpc__=yes
20983 else $as_nop
20984 ac_cv_cpp_def___powerpc__=no
20986 rm -rf conftest*
20989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20990 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20991 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20992 then :
20993 CFLAGS="$CFLAGS -D__powerpc__"
20994 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20995 fi ;;
20996 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20997 printf %s "checking whether we need to define __aarch64__... " >&6; }
20998 if test ${ac_cv_cpp_def___aarch64__+y}
20999 then :
21000 printf %s "(cached) " >&6
21001 else $as_nop
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #ifndef __aarch64__
21006 #endif
21007 _ACEOF
21008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21009 $EGREP "yes" >/dev/null 2>&1
21010 then :
21011 ac_cv_cpp_def___aarch64__=yes
21012 else $as_nop
21013 ac_cv_cpp_def___aarch64__=no
21015 rm -rf conftest*
21018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21019 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21020 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21021 then :
21022 CFLAGS="$CFLAGS -D__aarch64__"
21023 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21024 fi ;;
21025 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21026 printf %s "checking whether we need to define __arm__... " >&6; }
21027 if test ${ac_cv_cpp_def___arm__+y}
21028 then :
21029 printf %s "(cached) " >&6
21030 else $as_nop
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21033 #ifndef __arm__
21035 #endif
21036 _ACEOF
21037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21038 $EGREP "yes" >/dev/null 2>&1
21039 then :
21040 ac_cv_cpp_def___arm__=yes
21041 else $as_nop
21042 ac_cv_cpp_def___arm__=no
21044 rm -rf conftest*
21047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21048 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21049 if test "x$ac_cv_cpp_def___arm__" = xyes
21050 then :
21051 CFLAGS="$CFLAGS -D__arm__"
21052 LINTFLAGS="$LINTFLAGS -D__arm__"
21053 fi ;;
21054 esac
21056 case $host_vendor in
21057 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21058 printf %s "checking whether we need to define __sun__... " >&6; }
21059 if test ${ac_cv_cpp_def___sun__+y}
21060 then :
21061 printf %s "(cached) " >&6
21062 else $as_nop
21063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 /* end confdefs.h. */
21065 #ifndef __sun__
21067 #endif
21068 _ACEOF
21069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21070 $EGREP "yes" >/dev/null 2>&1
21071 then :
21072 ac_cv_cpp_def___sun__=yes
21073 else $as_nop
21074 ac_cv_cpp_def___sun__=no
21076 rm -rf conftest*
21079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21080 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21081 if test "x$ac_cv_cpp_def___sun__" = xyes
21082 then :
21083 CFLAGS="$CFLAGS -D__sun__"
21084 LINTFLAGS="$LINTFLAGS -D__sun__"
21085 fi ;;
21086 esac
21092 ac_config_commands="$ac_config_commands include/stamp-h"
21094 printf %s "creating Makefile rules..." >&6
21096 makedep_flags=""
21097 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21099 wine_srcdir=
21100 test "$srcdir" = . || wine_srcdir="$srcdir/"
21102 ac_config_links="$ac_config_links wine:tools/winewrapper"
21103 wine_fn_config_symlink wine
21104 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21105 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21106 wine_fn_config_symlink wine64
21109 wine_fn_config_makefile dlls/acledit enable_acledit
21110 wine_fn_config_makefile dlls/aclui enable_aclui
21111 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21112 wine_fn_config_makefile dlls/activeds enable_activeds
21113 wine_fn_config_makefile dlls/activeds/tests enable_tests
21114 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21115 wine_fn_config_makefile dlls/adsldp enable_adsldp
21116 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21117 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21118 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21119 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21120 wine_fn_config_makefile dlls/advpack enable_advpack
21121 wine_fn_config_makefile dlls/advpack/tests enable_tests
21122 wine_fn_config_makefile dlls/amsi enable_amsi
21123 wine_fn_config_makefile dlls/amstream enable_amstream
21124 wine_fn_config_makefile dlls/amstream/tests enable_tests
21125 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21126 wine_fn_config_makefile dlls/apphelp enable_apphelp
21127 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21128 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21129 wine_fn_config_makefile dlls/atl enable_atl
21130 wine_fn_config_makefile dlls/atl/tests enable_tests
21131 wine_fn_config_makefile dlls/atl100 enable_atl100
21132 wine_fn_config_makefile dlls/atl100/tests enable_tests
21133 wine_fn_config_makefile dlls/atl110 enable_atl110
21134 wine_fn_config_makefile dlls/atl110/tests enable_tests
21135 wine_fn_config_makefile dlls/atl80 enable_atl80
21136 wine_fn_config_makefile dlls/atl80/tests enable_tests
21137 wine_fn_config_makefile dlls/atl90 enable_atl90
21138 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21139 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21140 wine_fn_config_makefile dlls/atmlib enable_atmlib
21141 wine_fn_config_makefile dlls/authz enable_authz
21142 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21143 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21144 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21145 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21146 wine_fn_config_makefile dlls/avrt enable_avrt
21147 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21148 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21149 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21150 wine_fn_config_makefile dlls/browseui enable_browseui
21151 wine_fn_config_makefile dlls/browseui/tests enable_tests
21152 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21153 wine_fn_config_makefile dlls/cabinet enable_cabinet
21154 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21155 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21156 wine_fn_config_makefile dlls/cards enable_cards
21157 wine_fn_config_makefile dlls/cdosys enable_cdosys
21158 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21159 wine_fn_config_makefile dlls/clusapi enable_clusapi
21160 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21161 wine_fn_config_makefile dlls/combase enable_combase
21162 wine_fn_config_makefile dlls/combase/tests enable_tests
21163 wine_fn_config_makefile dlls/comcat enable_comcat
21164 wine_fn_config_makefile dlls/comcat/tests enable_tests
21165 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21166 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21167 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21168 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21169 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21170 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21171 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21172 wine_fn_config_makefile dlls/compstui enable_compstui
21173 wine_fn_config_makefile dlls/compstui/tests enable_tests
21174 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21175 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21176 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21177 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21178 wine_fn_config_makefile dlls/connect enable_connect
21179 wine_fn_config_makefile dlls/credui enable_credui
21180 wine_fn_config_makefile dlls/credui/tests enable_tests
21181 wine_fn_config_makefile dlls/crtdll enable_crtdll
21182 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21183 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21184 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21185 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21186 wine_fn_config_makefile dlls/cryptext enable_cryptext
21187 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21188 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21189 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21190 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21191 wine_fn_config_makefile dlls/cryptui enable_cryptui
21192 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21193 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21194 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21195 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21196 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21197 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21198 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21200 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21201 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21202 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21203 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21204 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21205 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21206 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21207 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21208 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21209 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21210 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21211 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21212 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21213 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21215 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21216 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21217 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21218 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21219 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21220 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21221 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21222 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21223 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21224 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21225 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21227 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21229 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21230 wine_fn_config_makefile dlls/d3dim enable_d3dim
21231 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21232 wine_fn_config_makefile dlls/d3drm enable_d3drm
21233 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21234 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21235 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21236 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21238 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21240 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21242 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21244 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21246 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21248 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21249 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21250 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21251 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21252 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21253 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21254 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21255 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21256 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21257 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21258 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21259 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21260 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21261 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21262 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21263 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21264 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21265 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21266 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21267 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21268 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21269 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21270 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21271 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21272 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21273 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21274 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21275 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21276 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21277 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21278 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21279 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21280 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21281 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21282 wine_fn_config_makefile dlls/davclnt enable_davclnt
21283 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21284 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21285 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21286 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21287 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21288 wine_fn_config_makefile dlls/dcomp enable_dcomp
21289 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21290 wine_fn_config_makefile dlls/ddraw enable_ddraw
21291 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21292 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21293 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21294 wine_fn_config_makefile dlls/devenum enable_devenum
21295 wine_fn_config_makefile dlls/devenum/tests enable_tests
21296 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21297 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21298 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21299 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21300 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21301 wine_fn_config_makefile dlls/difxapi enable_difxapi
21302 wine_fn_config_makefile dlls/dinput enable_dinput
21303 wine_fn_config_makefile dlls/dinput/tests enable_tests
21304 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21305 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21306 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21307 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21308 wine_fn_config_makefile dlls/dispex enable_dispex
21309 wine_fn_config_makefile dlls/dispex/tests enable_tests
21310 wine_fn_config_makefile dlls/display.drv16 enable_win16
21311 wine_fn_config_makefile dlls/dmband enable_dmband
21312 wine_fn_config_makefile dlls/dmband/tests enable_tests
21313 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21314 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21315 wine_fn_config_makefile dlls/dmime enable_dmime
21316 wine_fn_config_makefile dlls/dmime/tests enable_tests
21317 wine_fn_config_makefile dlls/dmloader enable_dmloader
21318 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21319 wine_fn_config_makefile dlls/dmscript enable_dmscript
21320 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21321 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21322 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21323 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21324 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21325 wine_fn_config_makefile dlls/dmusic enable_dmusic
21326 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21327 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21328 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21329 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21330 wine_fn_config_makefile dlls/dplay enable_dplay
21331 wine_fn_config_makefile dlls/dplayx enable_dplayx
21332 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21333 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21334 wine_fn_config_makefile dlls/dpnet enable_dpnet
21335 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21336 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21337 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21338 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21339 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21340 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21341 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21342 wine_fn_config_makefile dlls/drmclien enable_drmclien
21343 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21344 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21345 wine_fn_config_makefile dlls/dsound enable_dsound
21346 wine_fn_config_makefile dlls/dsound/tests enable_tests
21347 wine_fn_config_makefile dlls/dsquery enable_dsquery
21348 wine_fn_config_makefile dlls/dssenh enable_dssenh
21349 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21350 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21351 wine_fn_config_makefile dlls/dswave enable_dswave
21352 wine_fn_config_makefile dlls/dswave/tests enable_tests
21353 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21354 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21355 wine_fn_config_makefile dlls/dwrite enable_dwrite
21356 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21357 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21358 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21359 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21360 wine_fn_config_makefile dlls/dxgi enable_dxgi
21361 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21362 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21363 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21364 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21365 wine_fn_config_makefile dlls/esent enable_esent
21366 wine_fn_config_makefile dlls/evr enable_evr
21367 wine_fn_config_makefile dlls/evr/tests enable_tests
21368 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21369 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21370 wine_fn_config_makefile dlls/faultrep enable_faultrep
21371 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21372 wine_fn_config_makefile dlls/feclient enable_feclient
21373 wine_fn_config_makefile dlls/fltlib enable_fltlib
21374 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21375 wine_fn_config_makefile dlls/fntcache enable_fntcache
21376 wine_fn_config_makefile dlls/fontsub enable_fontsub
21377 wine_fn_config_makefile dlls/fusion enable_fusion
21378 wine_fn_config_makefile dlls/fusion/tests enable_tests
21379 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21380 wine_fn_config_makefile dlls/gameux enable_gameux
21381 wine_fn_config_makefile dlls/gameux/tests enable_tests
21382 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21383 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21384 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21385 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21386 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21387 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21388 wine_fn_config_makefile dlls/glu32 enable_glu32
21389 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21390 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21391 wine_fn_config_makefile dlls/hal enable_hal
21392 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21393 wine_fn_config_makefile dlls/hid enable_hid
21394 wine_fn_config_makefile dlls/hid/tests enable_tests
21395 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21396 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21397 wine_fn_config_makefile dlls/hlink enable_hlink
21398 wine_fn_config_makefile dlls/hlink/tests enable_tests
21399 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21400 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21401 wine_fn_config_makefile dlls/http.sys enable_http_sys
21402 wine_fn_config_makefile dlls/httpapi enable_httpapi
21403 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21404 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21405 wine_fn_config_makefile dlls/iccvid enable_iccvid
21406 wine_fn_config_makefile dlls/icmp enable_icmp
21407 wine_fn_config_makefile dlls/ieframe enable_ieframe
21408 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21409 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21410 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21411 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21412 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21413 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21414 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21415 wine_fn_config_makefile dlls/imm32 enable_imm32
21416 wine_fn_config_makefile dlls/imm32/tests enable_tests
21417 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21418 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21419 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21420 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21421 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21422 wine_fn_config_makefile dlls/infosoft enable_infosoft
21423 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21424 wine_fn_config_makefile dlls/initpki enable_initpki
21425 wine_fn_config_makefile dlls/inkobj enable_inkobj
21426 wine_fn_config_makefile dlls/inseng enable_inseng
21427 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21428 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21429 wine_fn_config_makefile dlls/iprop enable_iprop
21430 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21431 wine_fn_config_makefile dlls/itircl enable_itircl
21432 wine_fn_config_makefile dlls/itss enable_itss
21433 wine_fn_config_makefile dlls/itss/tests enable_tests
21434 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21435 wine_fn_config_makefile dlls/jscript enable_jscript
21436 wine_fn_config_makefile dlls/jscript/tests enable_tests
21437 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21438 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21439 wine_fn_config_makefile dlls/kerberos enable_kerberos
21440 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21441 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21442 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21443 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21444 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21445 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21446 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21447 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21448 wine_fn_config_makefile dlls/ksuser enable_ksuser
21449 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21450 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21451 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21452 wine_fn_config_makefile dlls/loadperf enable_loadperf
21453 wine_fn_config_makefile dlls/localspl enable_localspl
21454 wine_fn_config_makefile dlls/localspl/tests enable_tests
21455 wine_fn_config_makefile dlls/localui enable_localui
21456 wine_fn_config_makefile dlls/localui/tests enable_tests
21457 wine_fn_config_makefile dlls/lz32 enable_lz32
21458 wine_fn_config_makefile dlls/lz32/tests enable_tests
21459 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21460 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21461 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21462 wine_fn_config_makefile dlls/mapistub enable_mapistub
21463 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21464 wine_fn_config_makefile dlls/mcicda enable_mcicda
21465 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21466 wine_fn_config_makefile dlls/mciseq enable_mciseq
21467 wine_fn_config_makefile dlls/mciwave enable_mciwave
21468 wine_fn_config_makefile dlls/mf enable_mf
21469 wine_fn_config_makefile dlls/mf/tests enable_tests
21470 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21471 wine_fn_config_makefile dlls/mferror enable_mferror
21472 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21473 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21474 wine_fn_config_makefile dlls/mfplat enable_mfplat
21475 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21476 wine_fn_config_makefile dlls/mfplay enable_mfplay
21477 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21478 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21479 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21480 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21481 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21482 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21483 wine_fn_config_makefile dlls/midimap enable_midimap
21484 wine_fn_config_makefile dlls/mlang enable_mlang
21485 wine_fn_config_makefile dlls/mlang/tests enable_tests
21486 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21487 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21488 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21489 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21490 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21491 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21492 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21493 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21494 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21495 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21496 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21497 wine_fn_config_makefile dlls/mpr enable_mpr
21498 wine_fn_config_makefile dlls/mpr/tests enable_tests
21499 wine_fn_config_makefile dlls/mprapi enable_mprapi
21500 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21501 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21502 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21503 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21504 wine_fn_config_makefile dlls/msado15 enable_msado15
21505 wine_fn_config_makefile dlls/msado15/tests enable_tests
21506 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21507 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21508 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21509 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21510 wine_fn_config_makefile dlls/mscms enable_mscms
21511 wine_fn_config_makefile dlls/mscms/tests enable_tests
21512 wine_fn_config_makefile dlls/mscoree enable_mscoree
21513 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21514 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21515 wine_fn_config_makefile dlls/msctf enable_msctf
21516 wine_fn_config_makefile dlls/msctf/tests enable_tests
21517 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21518 wine_fn_config_makefile dlls/msctfp enable_msctfp
21519 wine_fn_config_makefile dlls/msdaps enable_msdaps
21520 wine_fn_config_makefile dlls/msdasql enable_msdasql
21521 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21522 wine_fn_config_makefile dlls/msdelta enable_msdelta
21523 wine_fn_config_makefile dlls/msdmo enable_msdmo
21524 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21525 wine_fn_config_makefile dlls/msdrm enable_msdrm
21526 wine_fn_config_makefile dlls/msftedit enable_msftedit
21527 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21528 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21529 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21530 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21531 wine_fn_config_makefile dlls/mshtml enable_mshtml
21532 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21533 wine_fn_config_makefile dlls/msi enable_msi
21534 wine_fn_config_makefile dlls/msi/tests enable_tests
21535 wine_fn_config_makefile dlls/msident enable_msident
21536 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21537 wine_fn_config_makefile dlls/msimsg enable_msimsg
21538 wine_fn_config_makefile dlls/msimtf enable_msimtf
21539 wine_fn_config_makefile dlls/msisip enable_msisip
21540 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21541 wine_fn_config_makefile dlls/msls31 enable_msls31
21542 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21543 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21544 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21545 wine_fn_config_makefile dlls/msports enable_msports
21546 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21547 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21548 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21549 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21550 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21551 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21552 wine_fn_config_makefile dlls/mstask enable_mstask
21553 wine_fn_config_makefile dlls/mstask/tests enable_tests
21554 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21555 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21556 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21557 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21558 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21559 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21560 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21562 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21564 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21565 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21566 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21567 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21569 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21570 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21571 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21572 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21574 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21576 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21577 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21578 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21579 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21581 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21582 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21583 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21584 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21585 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21586 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21587 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21588 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21589 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21590 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21591 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21592 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21593 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21594 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21595 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21596 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21597 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21598 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21599 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21600 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21601 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21602 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21603 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21604 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21605 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21606 wine_fn_config_makefile dlls/mswsock enable_mswsock
21607 wine_fn_config_makefile dlls/msxml enable_msxml
21608 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21609 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21610 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21611 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21612 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21613 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21614 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21615 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21616 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21617 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21618 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21619 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21620 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21621 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21622 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21623 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21624 wine_fn_config_makefile dlls/netprofm enable_netprofm
21625 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21626 wine_fn_config_makefile dlls/netutils enable_netutils
21627 wine_fn_config_makefile dlls/newdev enable_newdev
21628 wine_fn_config_makefile dlls/ninput enable_ninput
21629 wine_fn_config_makefile dlls/ninput/tests enable_tests
21630 wine_fn_config_makefile dlls/normaliz enable_normaliz
21631 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21632 wine_fn_config_makefile dlls/npptools enable_npptools
21633 wine_fn_config_makefile dlls/nsi enable_nsi
21634 wine_fn_config_makefile dlls/nsi/tests enable_tests
21635 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21636 wine_fn_config_makefile dlls/ntdll enable_ntdll
21637 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21638 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21639 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21640 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21641 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21642 wine_fn_config_makefile dlls/ntprint enable_ntprint
21643 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21644 wine_fn_config_makefile dlls/objsel enable_objsel
21645 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21646 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21647 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21648 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21649 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21650 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21651 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21652 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21653 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21654 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21655 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21656 wine_fn_config_makefile dlls/ole32 enable_ole32
21657 wine_fn_config_makefile dlls/ole32/tests enable_tests
21658 wine_fn_config_makefile dlls/oleacc enable_oleacc
21659 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21660 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21661 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21662 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21663 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21664 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21665 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21666 wine_fn_config_makefile dlls/oledlg enable_oledlg
21667 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21668 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21669 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21670 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21671 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21672 wine_fn_config_makefile dlls/opcservices enable_opcservices
21673 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21674 wine_fn_config_makefile dlls/opencl enable_opencl
21675 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21676 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21677 wine_fn_config_makefile dlls/packager enable_packager
21678 wine_fn_config_makefile dlls/packager/tests enable_tests
21679 wine_fn_config_makefile dlls/pdh enable_pdh
21680 wine_fn_config_makefile dlls/pdh/tests enable_tests
21681 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21682 wine_fn_config_makefile dlls/pidgen enable_pidgen
21683 wine_fn_config_makefile dlls/powrprof enable_powrprof
21684 wine_fn_config_makefile dlls/printui enable_printui
21685 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21686 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21687 wine_fn_config_makefile dlls/propsys enable_propsys
21688 wine_fn_config_makefile dlls/propsys/tests enable_tests
21689 wine_fn_config_makefile dlls/psapi enable_psapi
21690 wine_fn_config_makefile dlls/psapi/tests enable_tests
21691 wine_fn_config_makefile dlls/pstorec enable_pstorec
21692 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21693 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21694 wine_fn_config_makefile dlls/qasf enable_qasf
21695 wine_fn_config_makefile dlls/qasf/tests enable_tests
21696 wine_fn_config_makefile dlls/qcap enable_qcap
21697 wine_fn_config_makefile dlls/qcap/tests enable_tests
21698 wine_fn_config_makefile dlls/qdvd enable_qdvd
21699 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21700 wine_fn_config_makefile dlls/qedit enable_qedit
21701 wine_fn_config_makefile dlls/qedit/tests enable_tests
21702 wine_fn_config_makefile dlls/qmgr enable_qmgr
21703 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21704 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21705 wine_fn_config_makefile dlls/quartz enable_quartz
21706 wine_fn_config_makefile dlls/quartz/tests enable_tests
21707 wine_fn_config_makefile dlls/query enable_query
21708 wine_fn_config_makefile dlls/qwave enable_qwave
21709 wine_fn_config_makefile dlls/qwave/tests enable_tests
21710 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21711 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21712 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21713 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21714 wine_fn_config_makefile dlls/regapi enable_regapi
21715 wine_fn_config_makefile dlls/resutils enable_resutils
21716 wine_fn_config_makefile dlls/riched20 enable_riched20
21717 wine_fn_config_makefile dlls/riched20/tests enable_tests
21718 wine_fn_config_makefile dlls/riched32 enable_riched32
21719 wine_fn_config_makefile dlls/riched32/tests enable_tests
21720 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21721 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21722 wine_fn_config_makefile dlls/rsabase enable_rsabase
21723 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21724 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21725 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21726 wine_fn_config_makefile dlls/rtutils enable_rtutils
21727 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21728 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21729 wine_fn_config_makefile dlls/samlib enable_samlib
21730 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21731 wine_fn_config_makefile dlls/sapi enable_sapi
21732 wine_fn_config_makefile dlls/sapi/tests enable_tests
21733 wine_fn_config_makefile dlls/sas enable_sas
21734 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21735 wine_fn_config_makefile dlls/sccbase enable_sccbase
21736 wine_fn_config_makefile dlls/schannel enable_schannel
21737 wine_fn_config_makefile dlls/schannel/tests enable_tests
21738 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21739 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21740 wine_fn_config_makefile dlls/scrobj enable_scrobj
21741 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21742 wine_fn_config_makefile dlls/scrrun enable_scrrun
21743 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21744 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21745 wine_fn_config_makefile dlls/sechost enable_sechost
21746 wine_fn_config_makefile dlls/secur32 enable_secur32
21747 wine_fn_config_makefile dlls/secur32/tests enable_tests
21748 wine_fn_config_makefile dlls/security enable_security
21749 wine_fn_config_makefile dlls/sensapi enable_sensapi
21750 wine_fn_config_makefile dlls/serialui enable_serialui
21751 wine_fn_config_makefile dlls/serialui/tests enable_tests
21752 wine_fn_config_makefile dlls/setupapi enable_setupapi
21753 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21754 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21755 wine_fn_config_makefile dlls/sfc enable_sfc
21756 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21757 wine_fn_config_makefile dlls/shcore enable_shcore
21758 wine_fn_config_makefile dlls/shcore/tests enable_tests
21759 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21760 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21761 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21762 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21763 wine_fn_config_makefile dlls/shell32 enable_shell32
21764 wine_fn_config_makefile dlls/shell32/tests enable_tests
21765 wine_fn_config_makefile dlls/shfolder enable_shfolder
21766 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21767 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21768 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21769 wine_fn_config_makefile dlls/slc enable_slc
21770 wine_fn_config_makefile dlls/slc/tests enable_tests
21771 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21772 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21773 wine_fn_config_makefile dlls/softpub enable_softpub
21774 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21775 wine_fn_config_makefile dlls/spoolss enable_spoolss
21776 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21777 wine_fn_config_makefile dlls/sppc enable_sppc
21778 wine_fn_config_makefile dlls/srclient enable_srclient
21779 wine_fn_config_makefile dlls/srvcli enable_srvcli
21780 wine_fn_config_makefile dlls/sspicli enable_sspicli
21781 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21782 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21783 wine_fn_config_makefile dlls/sti enable_sti
21784 wine_fn_config_makefile dlls/sti/tests enable_tests
21785 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21786 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21787 wine_fn_config_makefile dlls/strmdll enable_strmdll
21788 wine_fn_config_makefile dlls/svrapi enable_svrapi
21789 wine_fn_config_makefile dlls/sxs enable_sxs
21790 wine_fn_config_makefile dlls/sxs/tests enable_tests
21791 wine_fn_config_makefile dlls/system.drv16 enable_win16
21792 wine_fn_config_makefile dlls/t2embed enable_t2embed
21793 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21794 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21795 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21796 wine_fn_config_makefile dlls/taskschd enable_taskschd
21797 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21798 wine_fn_config_makefile dlls/tbs enable_tbs
21799 wine_fn_config_makefile dlls/tdh enable_tdh
21800 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21801 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21802 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21803 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21804 wine_fn_config_makefile dlls/traffic enable_traffic
21805 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21806 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21807 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21808 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21809 wine_fn_config_makefile dlls/tzres enable_tzres
21810 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21811 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21812 wine_fn_config_makefile dlls/uianimation enable_uianimation
21813 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21814 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21815 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21816 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21817 wine_fn_config_makefile dlls/unicows enable_unicows
21818 wine_fn_config_makefile dlls/updspapi enable_updspapi
21819 wine_fn_config_makefile dlls/url enable_url
21820 wine_fn_config_makefile dlls/urlmon enable_urlmon
21821 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21822 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21823 wine_fn_config_makefile dlls/user.exe16 enable_win16
21824 wine_fn_config_makefile dlls/user32 enable_user32
21825 wine_fn_config_makefile dlls/user32/tests enable_tests
21826 wine_fn_config_makefile dlls/userenv enable_userenv
21827 wine_fn_config_makefile dlls/userenv/tests enable_tests
21828 wine_fn_config_makefile dlls/usp10 enable_usp10
21829 wine_fn_config_makefile dlls/usp10/tests enable_tests
21830 wine_fn_config_makefile dlls/utildll enable_utildll
21831 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21832 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21833 wine_fn_config_makefile dlls/vbscript enable_vbscript
21834 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21835 wine_fn_config_makefile dlls/vcomp enable_vcomp
21836 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21837 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21838 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21839 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21840 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21841 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21842 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21843 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21844 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21845 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21846 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21847 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21848 wine_fn_config_makefile dlls/version enable_version
21849 wine_fn_config_makefile dlls/version/tests enable_tests
21850 wine_fn_config_makefile dlls/vga enable_vga
21851 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21852 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21853 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21854 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21855 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21856 wine_fn_config_makefile dlls/vssapi enable_vssapi
21857 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21858 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21859 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21860 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21861 wine_fn_config_makefile dlls/w32skrnl enable_win16
21862 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21863 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21864 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21865 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21866 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21867 wine_fn_config_makefile dlls/wdscore enable_wdscore
21868 wine_fn_config_makefile dlls/webservices enable_webservices
21869 wine_fn_config_makefile dlls/webservices/tests enable_tests
21870 wine_fn_config_makefile dlls/websocket enable_websocket
21871 wine_fn_config_makefile dlls/wer enable_wer
21872 wine_fn_config_makefile dlls/wer/tests enable_tests
21873 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21874 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21875 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21876 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21877 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21878 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21879 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21880 wine_fn_config_makefile dlls/win32u enable_win32u
21881 wine_fn_config_makefile dlls/win32u/tests enable_tests
21882 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21883 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21884 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21885 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21886 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21887 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21888 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21889 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21890 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21891 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21892 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21893 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21894 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21895 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21896 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21897 wine_fn_config_makefile dlls/windows.media enable_windows_media
21898 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21899 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21900 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21901 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21902 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21903 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21904 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21905 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21906 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21907 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21908 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21909 wine_fn_config_makefile dlls/wined3d enable_wined3d
21910 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21911 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21912 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21913 wine_fn_config_makefile dlls/winemapi enable_winemapi
21914 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21915 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21916 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21917 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21918 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21919 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21920 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21921 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21922 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21923 wine_fn_config_makefile dlls/wing32 enable_wing32
21924 wine_fn_config_makefile dlls/winhttp enable_winhttp
21925 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21926 wine_fn_config_makefile dlls/wininet enable_wininet
21927 wine_fn_config_makefile dlls/wininet/tests enable_tests
21928 wine_fn_config_makefile dlls/winmm enable_winmm
21929 wine_fn_config_makefile dlls/winmm/tests enable_tests
21930 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21931 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21932 wine_fn_config_makefile dlls/winprint enable_winprint
21933 wine_fn_config_makefile dlls/winscard enable_winscard
21934 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21935 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21936 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21937 wine_fn_config_makefile dlls/winsta enable_winsta
21938 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21939 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21940 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21941 wine_fn_config_makefile dlls/wintrust enable_wintrust
21942 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21943 wine_fn_config_makefile dlls/wintypes enable_wintypes
21944 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21945 wine_fn_config_makefile dlls/winusb enable_winusb
21946 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21947 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21948 wine_fn_config_makefile dlls/wlanui enable_wlanui
21949 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21950 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21951 wine_fn_config_makefile dlls/wmasf enable_wmasf
21952 wine_fn_config_makefile dlls/wmi enable_wmi
21953 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21954 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21955 wine_fn_config_makefile dlls/wmp enable_wmp
21956 wine_fn_config_makefile dlls/wmp/tests enable_tests
21957 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21958 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21959 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21960 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21961 wine_fn_config_makefile dlls/wow32 enable_win16
21962 wine_fn_config_makefile dlls/wow64 enable_wow64
21963 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21964 wine_fn_config_makefile dlls/wow64win enable_wow64win
21965 wine_fn_config_makefile dlls/wpc enable_wpc
21966 wine_fn_config_makefile dlls/wpc/tests enable_tests
21967 wine_fn_config_makefile dlls/wpcap enable_wpcap
21968 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21969 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21970 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21971 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21972 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21973 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21974 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21975 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21976 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21977 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21978 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21979 wine_fn_config_makefile dlls/wuapi enable_wuapi
21980 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21981 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21982 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21983 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21984 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21985 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21986 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21987 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21988 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21989 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21990 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21991 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21992 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21993 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21994 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21995 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21996 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21997 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21998 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21999 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22000 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22001 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22002 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22003 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22004 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22005 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22006 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22007 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22008 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22009 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22010 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22011 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22012 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22013 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22014 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22015 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22016 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22017 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22018 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22019 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22020 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22021 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22022 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22023 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22024 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22025 wine_fn_config_makefile dlls/xmllite enable_xmllite
22026 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22027 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22028 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22029 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22030 wine_fn_config_makefile fonts enable_fonts
22031 wine_fn_config_makefile include enable_include
22032 wine_fn_config_makefile libs/adsiid enable_adsiid
22033 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22034 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22035 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22036 wine_fn_config_makefile libs/dxguid enable_dxguid
22037 wine_fn_config_makefile libs/faudio enable_faudio
22038 wine_fn_config_makefile libs/gsm enable_gsm
22039 wine_fn_config_makefile libs/jpeg enable_jpeg
22040 wine_fn_config_makefile libs/jxr enable_jxr
22041 wine_fn_config_makefile libs/lcms2 enable_lcms2
22042 wine_fn_config_makefile libs/ldap enable_ldap
22043 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22044 wine_fn_config_makefile libs/mpg123 enable_mpg123
22045 wine_fn_config_makefile libs/png enable_png
22046 wine_fn_config_makefile libs/strmbase enable_strmbase
22047 wine_fn_config_makefile libs/strmiids enable_strmiids
22048 wine_fn_config_makefile libs/tiff enable_tiff
22049 wine_fn_config_makefile libs/uuid enable_uuid
22050 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22051 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22052 wine_fn_config_makefile libs/wine enable_wine
22053 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22054 wine_fn_config_makefile libs/xml2 enable_xml2
22055 wine_fn_config_makefile libs/xslt enable_xslt
22056 wine_fn_config_makefile libs/zlib enable_zlib
22057 wine_fn_config_makefile loader enable_loader
22058 wine_fn_config_makefile nls enable_nls
22059 wine_fn_config_makefile po enable_po
22060 wine_fn_config_makefile programs/arp enable_arp
22061 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22062 wine_fn_config_makefile programs/attrib enable_attrib
22063 wine_fn_config_makefile programs/cabarc enable_cabarc
22064 wine_fn_config_makefile programs/cacls enable_cacls
22065 wine_fn_config_makefile programs/certutil enable_certutil
22066 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22067 wine_fn_config_makefile programs/clock enable_clock
22068 wine_fn_config_makefile programs/cmd enable_cmd
22069 wine_fn_config_makefile programs/cmd/tests enable_tests
22070 wine_fn_config_makefile programs/conhost enable_conhost
22071 wine_fn_config_makefile programs/conhost/tests enable_tests
22072 wine_fn_config_makefile programs/control enable_control
22073 wine_fn_config_makefile programs/cscript enable_cscript
22074 wine_fn_config_makefile programs/dism enable_dism
22075 wine_fn_config_makefile programs/dllhost enable_dllhost
22076 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22077 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22078 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22079 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22080 wine_fn_config_makefile programs/eject enable_eject
22081 wine_fn_config_makefile programs/expand enable_expand
22082 wine_fn_config_makefile programs/explorer enable_explorer
22083 wine_fn_config_makefile programs/explorer/tests enable_tests
22084 wine_fn_config_makefile programs/extrac32 enable_extrac32
22085 wine_fn_config_makefile programs/fc enable_fc
22086 wine_fn_config_makefile programs/find enable_find
22087 wine_fn_config_makefile programs/find/tests enable_tests
22088 wine_fn_config_makefile programs/findstr enable_findstr
22089 wine_fn_config_makefile programs/fsutil enable_fsutil
22090 wine_fn_config_makefile programs/fsutil/tests enable_tests
22091 wine_fn_config_makefile programs/hh enable_hh
22092 wine_fn_config_makefile programs/hostname enable_hostname
22093 wine_fn_config_makefile programs/icacls enable_icacls
22094 wine_fn_config_makefile programs/icinfo enable_icinfo
22095 wine_fn_config_makefile programs/iexplore enable_iexplore
22096 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22097 wine_fn_config_makefile programs/lodctr enable_lodctr
22098 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22099 wine_fn_config_makefile programs/mshta enable_mshta
22100 wine_fn_config_makefile programs/msidb enable_msidb
22101 wine_fn_config_makefile programs/msiexec enable_msiexec
22102 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22103 wine_fn_config_makefile programs/net enable_net
22104 wine_fn_config_makefile programs/netsh enable_netsh
22105 wine_fn_config_makefile programs/netstat enable_netstat
22106 wine_fn_config_makefile programs/ngen enable_ngen
22107 wine_fn_config_makefile programs/notepad enable_notepad
22108 wine_fn_config_makefile programs/oleview enable_oleview
22109 wine_fn_config_makefile programs/ping enable_ping
22110 wine_fn_config_makefile programs/plugplay enable_plugplay
22111 wine_fn_config_makefile programs/powershell enable_powershell
22112 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22113 wine_fn_config_makefile programs/progman enable_progman
22114 wine_fn_config_makefile programs/reg enable_reg
22115 wine_fn_config_makefile programs/reg/tests enable_tests
22116 wine_fn_config_makefile programs/regasm enable_regasm
22117 wine_fn_config_makefile programs/regedit enable_regedit
22118 wine_fn_config_makefile programs/regedit/tests enable_tests
22119 wine_fn_config_makefile programs/regini enable_regini
22120 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22121 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22122 wine_fn_config_makefile programs/robocopy enable_robocopy
22123 wine_fn_config_makefile programs/rpcss enable_rpcss
22124 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22125 wine_fn_config_makefile programs/rundll32 enable_rundll32
22126 wine_fn_config_makefile programs/sc enable_sc
22127 wine_fn_config_makefile programs/sc/tests enable_tests
22128 wine_fn_config_makefile programs/schtasks enable_schtasks
22129 wine_fn_config_makefile programs/schtasks/tests enable_tests
22130 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22131 wine_fn_config_makefile programs/secedit enable_secedit
22132 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22133 wine_fn_config_makefile programs/services enable_services
22134 wine_fn_config_makefile programs/services/tests enable_tests
22135 wine_fn_config_makefile programs/setx enable_setx
22136 wine_fn_config_makefile programs/shutdown enable_shutdown
22137 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22138 wine_fn_config_makefile programs/start enable_start
22139 wine_fn_config_makefile programs/subst enable_subst
22140 wine_fn_config_makefile programs/svchost enable_svchost
22141 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22142 wine_fn_config_makefile programs/taskkill enable_taskkill
22143 wine_fn_config_makefile programs/tasklist enable_tasklist
22144 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22145 wine_fn_config_makefile programs/termsv enable_termsv
22146 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22147 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22148 wine_fn_config_makefile programs/view enable_view
22149 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22150 wine_fn_config_makefile programs/where enable_where
22151 wine_fn_config_makefile programs/whoami enable_whoami
22152 wine_fn_config_makefile programs/wineboot enable_wineboot
22153 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22154 wine_fn_config_makefile programs/winecfg enable_winecfg
22155 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22156 wine_fn_config_makefile programs/winedbg enable_winedbg
22157 wine_fn_config_makefile programs/winedevice enable_winedevice
22158 wine_fn_config_makefile programs/winefile enable_winefile
22159 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22160 wine_fn_config_makefile programs/winemine enable_winemine
22161 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22162 wine_fn_config_makefile programs/winepath enable_winepath
22163 wine_fn_config_makefile programs/winetest enable_winetest
22164 wine_fn_config_makefile programs/winevdm enable_win16
22165 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22166 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22167 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22168 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22169 wine_fn_config_makefile programs/winver enable_winver
22170 wine_fn_config_makefile programs/wmic enable_wmic
22171 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22172 wine_fn_config_makefile programs/wordpad enable_wordpad
22173 wine_fn_config_makefile programs/write enable_write
22174 wine_fn_config_makefile programs/wscript enable_wscript
22175 wine_fn_config_makefile programs/wscript/tests enable_tests
22176 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22177 wine_fn_config_makefile programs/wusa enable_wusa
22178 wine_fn_config_makefile programs/xcopy enable_xcopy
22179 wine_fn_config_makefile programs/xcopy/tests enable_tests
22180 wine_fn_config_makefile server enable_server
22181 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22188 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22189 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22192 as_fn_append CONFIGURE_TARGETS " TAGS"
22193 as_fn_append CONFIGURE_TARGETS " tags"
22194 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22195 as_fn_append CONFIGURE_TARGETS " config.log"
22196 as_fn_append CONFIGURE_TARGETS " config.status"
22197 as_fn_append CONFIGURE_TARGETS " include/config.h"
22198 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22199 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22201 if test "x$enable_tools" != xno
22202 then
22203 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22204 ac_config_commands="$ac_config_commands tools/makedep"
22208 ac_config_commands="$ac_config_commands Makefile"
22212 SHELL=/bin/sh
22215 as_fn_append wine_rules "
22216 all: wine
22217 @echo \"Wine build complete.\"
22218 .INIT: Makefile
22219 .MAKEFILEDEPS:
22220 all: Makefile
22221 Makefile: config.status \$(MAKEDEP)
22222 @./config.status Makefile
22223 depend: \$(MAKEDEP)
22224 \$(MAKEDEP)$makedep_flags"
22227 as_fn_append wine_rules "
22228 config.status: ${wine_srcdir}configure
22229 @./config.status --recheck
22230 include/config.h: include/stamp-h
22231 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22232 @./config.status include/config.h include/stamp-h"
22234 if test "x$enable_maintainer_mode" = xyes
22235 then
22236 as_fn_append wine_rules "
22237 configure: configure.ac aclocal.m4
22238 autoconf --warnings=all
22239 include/config.h.in: include/stamp-h.in
22240 include/stamp-h.in: configure.ac aclocal.m4
22241 autoheader --warnings=all
22242 @echo timestamp > \$@"
22245 if test "x$enable_tools" != xno
22246 then
22247 as_fn_append wine_rules "
22248 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22249 @./config.status tools/makedep
22250 Makefile: tools/makedep$ac_exeext"
22251 else
22252 as_fn_append wine_rules "
22253 \$(MAKEDEP):
22254 @echo \"You need to run make in $toolsdir first\" && false"
22258 if test -n "$with_wine64"
22259 then
22260 case "$with_wine64" in
22261 /*) reldir="" ;;
22262 *) reldir="../" ;;
22263 esac
22264 rm -f fonts server 2>/dev/null
22265 as_fn_append wine_rules "
22266 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22267 loader/wine64 loader/wine64-preloader:
22268 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22269 $with_wine64/loader/wine:
22270 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22271 $with_wine64/loader/wine-preloader:
22272 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22273 clean::
22274 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22275 else
22276 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22277 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22278 fonts \
22279 loader/wine.inf \
22280 nls \
22281 programs/msidb/msidb \
22282 programs/msiexec/msiexec \
22283 programs/notepad/notepad \
22284 programs/regedit/regedit \
22285 programs/regsvr32/regsvr32 \
22286 programs/wineboot/wineboot \
22287 programs/winecfg/winecfg \
22288 programs/wineconsole/wineconsole \
22289 programs/winedbg/winedbg \
22290 programs/winefile/winefile \
22291 programs/winemine/winemine \
22292 programs/winepath/winepath \
22293 server/wineserver"
22295 case $host_os in
22296 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22297 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22298 esac
22302 as_fn_append wine_rules "
22303 distclean:: clean
22304 rm -rf autom4te.cache
22305 maintainer-clean::
22306 rm -f configure include/config.h.in"
22309 as_fn_append wine_rules "
22310 dlls/ntdll/unix/version.c: dummy
22311 @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)
22312 programs/winetest/build.rc: dummy
22313 @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)
22314 programs/winetest/build.nfo:
22315 @-\$(CC) -v 2>\$@
22316 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
22317 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22318 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22321 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22323 as_fn_append wine_rules "
22324 TAGS etags:
22325 rm -f TAGS
22326 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22327 tags ctags:
22328 rm -f tags
22329 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22330 dummy:
22331 .PHONY: depend dummy install-manpages"
22333 printf "%s\n" " done" >&6
22334 cat >confcache <<\_ACEOF
22335 # This file is a shell script that caches the results of configure
22336 # tests run on this system so they can be shared between configure
22337 # scripts and configure runs, see configure's option --config-cache.
22338 # It is not useful on other systems. If it contains results you don't
22339 # want to keep, you may remove or edit it.
22341 # config.status only pays attention to the cache file if you give it
22342 # the --recheck option to rerun configure.
22344 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22345 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22346 # following values.
22348 _ACEOF
22350 # The following way of writing the cache mishandles newlines in values,
22351 # but we know of no workaround that is simple, portable, and efficient.
22352 # So, we kill variables containing newlines.
22353 # Ultrix sh set writes to stderr and can't be redirected directly,
22354 # and sets the high bit in the cache file unless we assign to the vars.
22356 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22357 eval ac_val=\$$ac_var
22358 case $ac_val in #(
22359 *${as_nl}*)
22360 case $ac_var in #(
22361 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22362 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22363 esac
22364 case $ac_var in #(
22365 _ | IFS | as_nl) ;; #(
22366 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22367 *) { eval $ac_var=; unset $ac_var;} ;;
22368 esac ;;
22369 esac
22370 done
22372 (set) 2>&1 |
22373 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22374 *${as_nl}ac_space=\ *)
22375 # `set' does not quote correctly, so add quotes: double-quote
22376 # substitution turns \\\\ into \\, and sed turns \\ into \.
22377 sed -n \
22378 "s/'/'\\\\''/g;
22379 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22380 ;; #(
22382 # `set' quotes correctly as required by POSIX, so do not add quotes.
22383 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22385 esac |
22386 sort
22388 sed '
22389 /^ac_cv_env_/b end
22390 t clear
22391 :clear
22392 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22393 t end
22394 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22395 :end' >>confcache
22396 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22397 if test -w "$cache_file"; then
22398 if test "x$cache_file" != "x/dev/null"; then
22399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22400 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22401 if test ! -f "$cache_file" || test -h "$cache_file"; then
22402 cat confcache >"$cache_file"
22403 else
22404 case $cache_file in #(
22405 */* | ?:*)
22406 mv -f confcache "$cache_file"$$ &&
22407 mv -f "$cache_file"$$ "$cache_file" ;; #(
22409 mv -f confcache "$cache_file" ;;
22410 esac
22413 else
22414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22415 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22418 rm -f confcache
22420 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22421 # Let make expand exec_prefix.
22422 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22424 DEFS=-DHAVE_CONFIG_H
22426 ac_libobjs=
22427 ac_ltlibobjs=
22429 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22430 # 1. Remove the extension, and $U if already installed.
22431 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22432 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22433 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22434 # will be set to the directory where LIBOBJS objects are built.
22435 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22436 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22437 done
22438 LIBOBJS=$ac_libobjs
22440 LTLIBOBJS=$ac_ltlibobjs
22444 : "${CONFIG_STATUS=./config.status}"
22445 ac_write_fail=0
22446 ac_clean_files_save=$ac_clean_files
22447 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22449 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22450 as_write_fail=0
22451 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22452 #! $SHELL
22453 # Generated by $as_me.
22454 # Run this file to recreate the current configuration.
22455 # Compiler output produced by configure, useful for debugging
22456 # configure, is in config.log if it exists.
22458 debug=false
22459 ac_cs_recheck=false
22460 ac_cs_silent=false
22462 SHELL=\${CONFIG_SHELL-$SHELL}
22463 export SHELL
22464 _ASEOF
22465 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22466 ## -------------------- ##
22467 ## M4sh Initialization. ##
22468 ## -------------------- ##
22470 # Be more Bourne compatible
22471 DUALCASE=1; export DUALCASE # for MKS sh
22472 as_nop=:
22473 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22474 then :
22475 emulate sh
22476 NULLCMD=:
22477 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22478 # is contrary to our usage. Disable this feature.
22479 alias -g '${1+"$@"}'='"$@"'
22480 setopt NO_GLOB_SUBST
22481 else $as_nop
22482 case `(set -o) 2>/dev/null` in #(
22483 *posix*) :
22484 set -o posix ;; #(
22485 *) :
22487 esac
22492 # Reset variables that may have inherited troublesome values from
22493 # the environment.
22495 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22496 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22497 # side effect of setting IFS to empty, thus disabling word splitting.)
22498 # Quoting is to prevent editors from complaining about space-tab.
22499 as_nl='
22501 export as_nl
22502 IFS=" "" $as_nl"
22504 PS1='$ '
22505 PS2='> '
22506 PS4='+ '
22508 # Ensure predictable behavior from utilities with locale-dependent output.
22509 LC_ALL=C
22510 export LC_ALL
22511 LANGUAGE=C
22512 export LANGUAGE
22514 # We cannot yet rely on "unset" to work, but we need these variables
22515 # to be unset--not just set to an empty or harmless value--now, to
22516 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22517 # also avoids known problems related to "unset" and subshell syntax
22518 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22519 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22520 do eval test \${$as_var+y} \
22521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22522 done
22524 # Ensure that fds 0, 1, and 2 are open.
22525 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22526 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22527 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22529 # The user is always right.
22530 if ${PATH_SEPARATOR+false} :; then
22531 PATH_SEPARATOR=:
22532 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22533 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22534 PATH_SEPARATOR=';'
22539 # Find who we are. Look in the path if we contain no directory separator.
22540 as_myself=
22541 case $0 in #((
22542 *[\\/]* ) as_myself=$0 ;;
22543 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22544 for as_dir in $PATH
22546 IFS=$as_save_IFS
22547 case $as_dir in #(((
22548 '') as_dir=./ ;;
22549 */) ;;
22550 *) as_dir=$as_dir/ ;;
22551 esac
22552 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22553 done
22554 IFS=$as_save_IFS
22557 esac
22558 # We did not find ourselves, most probably we were run as `sh COMMAND'
22559 # in which case we are not to be found in the path.
22560 if test "x$as_myself" = x; then
22561 as_myself=$0
22563 if test ! -f "$as_myself"; then
22564 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22565 exit 1
22570 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22571 # ----------------------------------------
22572 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22573 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22574 # script with STATUS, using 1 if that was 0.
22575 as_fn_error ()
22577 as_status=$1; test $as_status -eq 0 && as_status=1
22578 if test "$4"; then
22579 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22582 printf "%s\n" "$as_me: error: $2" >&2
22583 as_fn_exit $as_status
22584 } # as_fn_error
22588 # as_fn_set_status STATUS
22589 # -----------------------
22590 # Set $? to STATUS, without forking.
22591 as_fn_set_status ()
22593 return $1
22594 } # as_fn_set_status
22596 # as_fn_exit STATUS
22597 # -----------------
22598 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22599 as_fn_exit ()
22601 set +e
22602 as_fn_set_status $1
22603 exit $1
22604 } # as_fn_exit
22606 # as_fn_unset VAR
22607 # ---------------
22608 # Portably unset VAR.
22609 as_fn_unset ()
22611 { eval $1=; unset $1;}
22613 as_unset=as_fn_unset
22615 # as_fn_append VAR VALUE
22616 # ----------------------
22617 # Append the text in VALUE to the end of the definition contained in VAR. Take
22618 # advantage of any shell optimizations that allow amortized linear growth over
22619 # repeated appends, instead of the typical quadratic growth present in naive
22620 # implementations.
22621 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22622 then :
22623 eval 'as_fn_append ()
22625 eval $1+=\$2
22627 else $as_nop
22628 as_fn_append ()
22630 eval $1=\$$1\$2
22632 fi # as_fn_append
22634 # as_fn_arith ARG...
22635 # ------------------
22636 # Perform arithmetic evaluation on the ARGs, and store the result in the
22637 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22638 # must be portable across $(()) and expr.
22639 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22640 then :
22641 eval 'as_fn_arith ()
22643 as_val=$(( $* ))
22645 else $as_nop
22646 as_fn_arith ()
22648 as_val=`expr "$@" || test $? -eq 1`
22650 fi # as_fn_arith
22653 if expr a : '\(a\)' >/dev/null 2>&1 &&
22654 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22655 as_expr=expr
22656 else
22657 as_expr=false
22660 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22661 as_basename=basename
22662 else
22663 as_basename=false
22666 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22667 as_dirname=dirname
22668 else
22669 as_dirname=false
22672 as_me=`$as_basename -- "$0" ||
22673 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22674 X"$0" : 'X\(//\)$' \| \
22675 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22676 printf "%s\n" X/"$0" |
22677 sed '/^.*\/\([^/][^/]*\)\/*$/{
22678 s//\1/
22681 /^X\/\(\/\/\)$/{
22682 s//\1/
22685 /^X\/\(\/\).*/{
22686 s//\1/
22689 s/.*/./; q'`
22691 # Avoid depending upon Character Ranges.
22692 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22693 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22694 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22695 as_cr_digits='0123456789'
22696 as_cr_alnum=$as_cr_Letters$as_cr_digits
22699 # Determine whether it's possible to make 'echo' print without a newline.
22700 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22701 # for compatibility with existing Makefiles.
22702 ECHO_C= ECHO_N= ECHO_T=
22703 case `echo -n x` in #(((((
22704 -n*)
22705 case `echo 'xy\c'` in
22706 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22707 xy) ECHO_C='\c';;
22708 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22709 ECHO_T=' ';;
22710 esac;;
22712 ECHO_N='-n';;
22713 esac
22715 # For backward compatibility with old third-party macros, we provide
22716 # the shell variables $as_echo and $as_echo_n. New code should use
22717 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22718 as_echo='printf %s\n'
22719 as_echo_n='printf %s'
22721 rm -f conf$$ conf$$.exe conf$$.file
22722 if test -d conf$$.dir; then
22723 rm -f conf$$.dir/conf$$.file
22724 else
22725 rm -f conf$$.dir
22726 mkdir conf$$.dir 2>/dev/null
22728 if (echo >conf$$.file) 2>/dev/null; then
22729 if ln -s conf$$.file conf$$ 2>/dev/null; then
22730 as_ln_s='ln -s'
22731 # ... but there are two gotchas:
22732 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22733 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22734 # In both cases, we have to default to `cp -pR'.
22735 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22736 as_ln_s='cp -pR'
22737 elif ln conf$$.file conf$$ 2>/dev/null; then
22738 as_ln_s=ln
22739 else
22740 as_ln_s='cp -pR'
22742 else
22743 as_ln_s='cp -pR'
22745 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22746 rmdir conf$$.dir 2>/dev/null
22749 # as_fn_mkdir_p
22750 # -------------
22751 # Create "$as_dir" as a directory, including parents if necessary.
22752 as_fn_mkdir_p ()
22755 case $as_dir in #(
22756 -*) as_dir=./$as_dir;;
22757 esac
22758 test -d "$as_dir" || eval $as_mkdir_p || {
22759 as_dirs=
22760 while :; do
22761 case $as_dir in #(
22762 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22763 *) as_qdir=$as_dir;;
22764 esac
22765 as_dirs="'$as_qdir' $as_dirs"
22766 as_dir=`$as_dirname -- "$as_dir" ||
22767 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22768 X"$as_dir" : 'X\(//\)[^/]' \| \
22769 X"$as_dir" : 'X\(//\)$' \| \
22770 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22771 printf "%s\n" X"$as_dir" |
22772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22773 s//\1/
22776 /^X\(\/\/\)[^/].*/{
22777 s//\1/
22780 /^X\(\/\/\)$/{
22781 s//\1/
22784 /^X\(\/\).*/{
22785 s//\1/
22788 s/.*/./; q'`
22789 test -d "$as_dir" && break
22790 done
22791 test -z "$as_dirs" || eval "mkdir $as_dirs"
22792 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22795 } # as_fn_mkdir_p
22796 if mkdir -p . 2>/dev/null; then
22797 as_mkdir_p='mkdir -p "$as_dir"'
22798 else
22799 test -d ./-p && rmdir ./-p
22800 as_mkdir_p=false
22804 # as_fn_executable_p FILE
22805 # -----------------------
22806 # Test if FILE is an executable regular file.
22807 as_fn_executable_p ()
22809 test -f "$1" && test -x "$1"
22810 } # as_fn_executable_p
22811 as_test_x='test -x'
22812 as_executable_p=as_fn_executable_p
22814 # Sed expression to map a string onto a valid CPP name.
22815 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22817 # Sed expression to map a string onto a valid variable name.
22818 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22821 exec 6>&1
22822 ## ----------------------------------- ##
22823 ## Main body of $CONFIG_STATUS script. ##
22824 ## ----------------------------------- ##
22825 _ASEOF
22826 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22829 # Save the log message, to keep $0 and so on meaningful, and to
22830 # report actual input values of CONFIG_FILES etc. instead of their
22831 # values after options handling.
22832 ac_log="
22833 This file was extended by Wine $as_me 7.21, which was
22834 generated by GNU Autoconf 2.71. Invocation command line was
22836 CONFIG_FILES = $CONFIG_FILES
22837 CONFIG_HEADERS = $CONFIG_HEADERS
22838 CONFIG_LINKS = $CONFIG_LINKS
22839 CONFIG_COMMANDS = $CONFIG_COMMANDS
22840 $ $0 $@
22842 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22845 _ACEOF
22848 case $ac_config_headers in *"
22849 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22850 esac
22853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22854 # Files that config.status was made for.
22855 config_headers="$ac_config_headers"
22856 config_links="$ac_config_links"
22857 config_commands="$ac_config_commands"
22859 _ACEOF
22861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22862 ac_cs_usage="\
22863 \`$as_me' instantiates files and other configuration actions
22864 from templates according to the current configuration. Unless the files
22865 and actions are specified as TAGs, all are instantiated by default.
22867 Usage: $0 [OPTION]... [TAG]...
22869 -h, --help print this help, then exit
22870 -V, --version print version number and configuration settings, then exit
22871 --config print configuration, then exit
22872 -q, --quiet, --silent
22873 do not print progress messages
22874 -d, --debug don't remove temporary files
22875 --recheck update $as_me by reconfiguring in the same conditions
22876 --header=FILE[:TEMPLATE]
22877 instantiate the configuration header FILE
22879 Configuration headers:
22880 $config_headers
22882 Configuration links:
22883 $config_links
22885 Configuration commands:
22886 $config_commands
22888 Report bugs to <wine-devel@winehq.org>.
22889 Wine home page: <https://www.winehq.org>."
22891 _ACEOF
22892 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22893 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22895 ac_cs_config='$ac_cs_config_escaped'
22896 ac_cs_version="\\
22897 Wine config.status 7.21
22898 configured by $0, generated by GNU Autoconf 2.71,
22899 with options \\"\$ac_cs_config\\"
22901 Copyright (C) 2021 Free Software Foundation, Inc.
22902 This config.status script is free software; the Free Software Foundation
22903 gives unlimited permission to copy, distribute and modify it."
22905 ac_pwd='$ac_pwd'
22906 srcdir='$srcdir'
22907 test -n "\$AWK" || AWK=awk
22908 _ACEOF
22910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22911 # The default lists apply if the user does not specify any file.
22912 ac_need_defaults=:
22913 while test $# != 0
22915 case $1 in
22916 --*=?*)
22917 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22918 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22919 ac_shift=:
22921 --*=)
22922 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22923 ac_optarg=
22924 ac_shift=:
22927 ac_option=$1
22928 ac_optarg=$2
22929 ac_shift=shift
22931 esac
22933 case $ac_option in
22934 # Handling of the options.
22935 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22936 ac_cs_recheck=: ;;
22937 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22938 printf "%s\n" "$ac_cs_version"; exit ;;
22939 --config | --confi | --conf | --con | --co | --c )
22940 printf "%s\n" "$ac_cs_config"; exit ;;
22941 --debug | --debu | --deb | --de | --d | -d )
22942 debug=: ;;
22943 --header | --heade | --head | --hea )
22944 $ac_shift
22945 case $ac_optarg in
22946 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22947 esac
22948 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22949 ac_need_defaults=false;;
22950 --he | --h)
22951 # Conflict between --help and --header
22952 as_fn_error $? "ambiguous option: \`$1'
22953 Try \`$0 --help' for more information.";;
22954 --help | --hel | -h )
22955 printf "%s\n" "$ac_cs_usage"; exit ;;
22956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22957 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22958 ac_cs_silent=: ;;
22960 # This is an error.
22961 -*) as_fn_error $? "unrecognized option: \`$1'
22962 Try \`$0 --help' for more information." ;;
22964 *) as_fn_append ac_config_targets " $1"
22965 ac_need_defaults=false ;;
22967 esac
22968 shift
22969 done
22971 ac_configure_extra_args=
22973 if $ac_cs_silent; then
22974 exec 6>/dev/null
22975 ac_configure_extra_args="$ac_configure_extra_args --silent"
22978 _ACEOF
22979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22980 if \$ac_cs_recheck; then
22981 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22982 shift
22983 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22984 CONFIG_SHELL='$SHELL'
22985 export CONFIG_SHELL
22986 exec "\$@"
22989 _ACEOF
22990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22991 exec 5>>config.log
22993 echo
22994 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22995 ## Running $as_me. ##
22996 _ASBOX
22997 printf "%s\n" "$ac_log"
22998 } >&5
23000 _ACEOF
23001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23003 # INIT-COMMANDS
23005 wine_fn_output_makedep ()
23007 as_dir=tools; as_fn_mkdir_p
23008 $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
23010 wine_fn_output_makefile ()
23012 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23013 # This Makefile understands the following targets:
23015 # all (default): build wine
23016 # clean: remove all intermediate files
23017 # distclean: also remove all files created by configure
23018 # test: run tests
23019 # testclean: clean test results to force running all tests again
23020 # install-lib: install libraries needed to run applications
23021 # install-dev: install development environment
23022 # install: install everything
23023 # uninstall: uninstall everything
23024 # ctags: create a tags file for vim and others.
23025 # etags: create a TAGS file for Emacs.
23027 SHELL = $SHELL
23028 PATH_SEPARATOR = $PATH_SEPARATOR
23029 PACKAGE_NAME = $PACKAGE_NAME
23030 PACKAGE_TARNAME = $PACKAGE_TARNAME
23031 PACKAGE_VERSION = $PACKAGE_VERSION
23032 PACKAGE_STRING = $PACKAGE_STRING
23033 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23034 PACKAGE_URL = $PACKAGE_URL
23035 exec_prefix = $exec_prefix
23036 prefix = $prefix
23037 program_transform_name = $program_transform_name
23038 bindir = $bindir
23039 sbindir = $sbindir
23040 libexecdir = $libexecdir
23041 datarootdir = $datarootdir
23042 datadir = $datadir
23043 sysconfdir = $sysconfdir
23044 sharedstatedir = $sharedstatedir
23045 localstatedir = $localstatedir
23046 runstatedir = $runstatedir
23047 includedir = $includedir
23048 oldincludedir = $oldincludedir
23049 docdir = $docdir
23050 infodir = $infodir
23051 htmldir = $htmldir
23052 dvidir = $dvidir
23053 pdfdir = $pdfdir
23054 psdir = $psdir
23055 libdir = $libdir
23056 localedir = $localedir
23057 mandir = $mandir
23058 DEFS = $DEFS
23059 ECHO_C = $ECHO_C
23060 ECHO_N = $ECHO_N
23061 ECHO_T = $ECHO_T
23062 LIBS = $LIBS
23063 build_alias = $build_alias
23064 host_alias = $host_alias
23065 target_alias = $target_alias
23066 system_dllpath = $system_dllpath
23067 build = $build
23068 build_cpu = $build_cpu
23069 build_vendor = $build_vendor
23070 build_os = $build_os
23071 host = $host
23072 host_cpu = $host_cpu
23073 host_vendor = $host_vendor
23074 host_os = $host_os
23075 dlldir = $dlldir
23076 fontdir = $fontdir
23077 nlsdir = $nlsdir
23078 srcdir = $srcdir
23079 SET_MAKE = $SET_MAKE
23080 CC = $CC
23081 CFLAGS = $CFLAGS
23082 LDFLAGS = $LDFLAGS
23083 CPPFLAGS = $CPPFLAGS
23084 ac_ct_CC = $ac_ct_CC
23085 EXEEXT = $EXEEXT
23086 OBJEXT = $OBJEXT
23087 CXX = $CXX
23088 CXXFLAGS = $CXXFLAGS
23089 ac_ct_CXX = $ac_ct_CXX
23090 CPPBIN = $CPPBIN
23091 LD = $LD
23092 TARGETFLAGS = $TARGETFLAGS
23093 toolsext = $toolsext
23094 HOST_ARCH = $HOST_ARCH
23095 aarch64_CC = $aarch64_CC
23096 aarch64_CFLAGS = $aarch64_CFLAGS
23097 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23098 aarch64_LDFLAGS = $aarch64_LDFLAGS
23099 aarch64_DEBUG = $aarch64_DEBUG
23100 aarch64_TARGET = $aarch64_TARGET
23101 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23102 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23103 arm_CC = $arm_CC
23104 arm_CFLAGS = $arm_CFLAGS
23105 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23106 arm_LDFLAGS = $arm_LDFLAGS
23107 arm_DEBUG = $arm_DEBUG
23108 arm_TARGET = $arm_TARGET
23109 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23110 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23111 i386_CC = $i386_CC
23112 i386_CFLAGS = $i386_CFLAGS
23113 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23114 i386_LDFLAGS = $i386_LDFLAGS
23115 i386_DEBUG = $i386_DEBUG
23116 i386_TARGET = $i386_TARGET
23117 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23118 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23119 x86_64_CC = $x86_64_CC
23120 x86_64_CFLAGS = $x86_64_CFLAGS
23121 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23122 x86_64_LDFLAGS = $x86_64_LDFLAGS
23123 x86_64_DEBUG = $x86_64_DEBUG
23124 x86_64_TARGET = $x86_64_TARGET
23125 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23126 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23127 toolsdir = $toolsdir
23128 MAKEDEP = $MAKEDEP
23129 RUNTESTFLAGS = $RUNTESTFLAGS
23130 SED_CMD = $SED_CMD
23131 FLEX = $FLEX
23132 BISON = $BISON
23133 AR = $AR
23134 ac_ct_AR = $ac_ct_AR
23135 STRIP = $STRIP
23136 RANLIB = $RANLIB
23137 LN_S = $LN_S
23138 GREP = $GREP
23139 EGREP = $EGREP
23140 LDCONFIG = $LDCONFIG
23141 MSGFMT = $MSGFMT
23142 PKG_CONFIG = $PKG_CONFIG
23143 FONTFORGE = $FONTFORGE
23144 RSVG = $RSVG
23145 CONVERT = $CONVERT
23146 ICOTOOL = $ICOTOOL
23147 I386_LIBS = $I386_LIBS
23148 OPENGL_LIBS = $OPENGL_LIBS
23149 DLLFLAGS = $DLLFLAGS
23150 LDDLLFLAGS = $LDDLLFLAGS
23151 LDEXECFLAGS = $LDEXECFLAGS
23152 EXTRACFLAGS = $EXTRACFLAGS
23153 UNIXDLLFLAGS = $UNIXDLLFLAGS
23154 UNIXLDFLAGS = $UNIXLDFLAGS
23155 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23156 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23157 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23158 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23159 LDD = $LDD
23160 OTOOL = $OTOOL
23161 READELF = $READELF
23162 SUBDIRS = $SUBDIRS
23163 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23164 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23165 OBJC = $OBJC
23166 OBJCFLAGS = $OBJCFLAGS
23167 ac_ct_OBJC = $ac_ct_OBJC
23168 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23169 IOKIT_LIBS = $IOKIT_LIBS
23170 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23171 CORESERVICES_LIBS = $CORESERVICES_LIBS
23172 APPKIT_LIBS = $APPKIT_LIBS
23173 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23174 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23175 SECURITY_LIBS = $SECURITY_LIBS
23176 COREAUDIO_LIBS = $COREAUDIO_LIBS
23177 OPENCL_LIBS = $OPENCL_LIBS
23178 CARBON_LIBS = $CARBON_LIBS
23179 METAL_LIBS = $METAL_LIBS
23180 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23181 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23182 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23183 PRELINK = $PRELINK
23184 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23185 PE_ARCHS = $PE_ARCHS
23186 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23187 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23188 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23189 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23190 GSM_PE_LIBS = $GSM_PE_LIBS
23191 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23192 JPEG_PE_LIBS = $JPEG_PE_LIBS
23193 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23194 JXR_PE_LIBS = $JXR_PE_LIBS
23195 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23196 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23197 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23198 LDAP_PE_LIBS = $LDAP_PE_LIBS
23199 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23200 MPG123_PE_LIBS = $MPG123_PE_LIBS
23201 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23202 PNG_PE_LIBS = $PNG_PE_LIBS
23203 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23204 TIFF_PE_LIBS = $TIFF_PE_LIBS
23205 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23206 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23207 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23208 XML2_PE_LIBS = $XML2_PE_LIBS
23209 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23210 XSLT_PE_LIBS = $XSLT_PE_LIBS
23211 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23212 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23213 PTHREAD_LIBS = $PTHREAD_LIBS
23214 XMKMF = $XMKMF
23215 CPP = $CPP
23216 X_CFLAGS = $X_CFLAGS
23217 X_PRE_LIBS = $X_PRE_LIBS
23218 X_LIBS = $X_LIBS
23219 X_EXTRA_LIBS = $X_EXTRA_LIBS
23220 PCAP_LIBS = $PCAP_LIBS
23221 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23222 INOTIFY_LIBS = $INOTIFY_LIBS
23223 DBUS_CFLAGS = $DBUS_CFLAGS
23224 DBUS_LIBS = $DBUS_LIBS
23225 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23226 GNUTLS_LIBS = $GNUTLS_LIBS
23227 SANE_CFLAGS = $SANE_CFLAGS
23228 SANE_LIBS = $SANE_LIBS
23229 USB_CFLAGS = $USB_CFLAGS
23230 USB_LIBS = $USB_LIBS
23231 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23232 GPHOTO2_LIBS = $GPHOTO2_LIBS
23233 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23234 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23235 RESOLV_LIBS = $RESOLV_LIBS
23236 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23237 FREETYPE_LIBS = $FREETYPE_LIBS
23238 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23239 PULSE_CFLAGS = $PULSE_CFLAGS
23240 PULSE_LIBS = $PULSE_LIBS
23241 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23242 GSTREAMER_LIBS = $GSTREAMER_LIBS
23243 ALSA_LIBS = $ALSA_LIBS
23244 OSS4_CFLAGS = $OSS4_CFLAGS
23245 OSS4_LIBS = $OSS4_LIBS
23246 UDEV_CFLAGS = $UDEV_CFLAGS
23247 UDEV_LIBS = $UDEV_LIBS
23248 UNWIND_CFLAGS = $UNWIND_CFLAGS
23249 UNWIND_LIBS = $UNWIND_LIBS
23250 SDL2_CFLAGS = $SDL2_CFLAGS
23251 SDL2_LIBS = $SDL2_LIBS
23252 CAPI20_CFLAGS = $CAPI20_CFLAGS
23253 CAPI20_LIBS = $CAPI20_LIBS
23254 CUPS_CFLAGS = $CUPS_CFLAGS
23255 CUPS_LIBS = $CUPS_LIBS
23256 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23257 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23258 KRB5_CFLAGS = $KRB5_CFLAGS
23259 KRB5_LIBS = $KRB5_LIBS
23260 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23261 GSSAPI_LIBS = $GSSAPI_LIBS
23262 PROCSTAT_LIBS = $PROCSTAT_LIBS
23263 NETAPI_CFLAGS = $NETAPI_CFLAGS
23264 NETAPI_LIBS = $NETAPI_LIBS
23265 MSVCRTFLAGS = $MSVCRTFLAGS
23266 DELAYLOADFLAG = $DELAYLOADFLAG
23267 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23268 RT_LIBS = $RT_LIBS
23269 TAGSFLAGS = $TAGSFLAGS
23270 LIBOBJS = $LIBOBJS
23271 LTLIBOBJS = $LTLIBOBJS
23272 $SET_MAKE
23273 $wine_rules
23274 _WINE_EOF
23275 as_fn_error $? "could not create Makefile" "$LINENO" 5
23278 _ACEOF
23280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23282 # Handling of arguments.
23283 for ac_config_target in $ac_config_targets
23285 case $ac_config_target in
23286 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23287 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23288 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23289 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23290 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23291 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23293 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23294 esac
23295 done
23298 # If the user did not use the arguments to specify the items to instantiate,
23299 # then the envvar interface is used. Set only those that are not.
23300 # We use the long form for the default assignment because of an extremely
23301 # bizarre bug on SunOS 4.1.3.
23302 if $ac_need_defaults; then
23303 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23304 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23305 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23308 # Have a temporary directory for convenience. Make it in the build tree
23309 # simply because there is no reason against having it here, and in addition,
23310 # creating and moving files from /tmp can sometimes cause problems.
23311 # Hook for its removal unless debugging.
23312 # Note that there is a small window in which the directory will not be cleaned:
23313 # after its creation but before its name has been assigned to `$tmp'.
23314 $debug ||
23316 tmp= ac_tmp=
23317 trap 'exit_status=$?
23318 : "${ac_tmp:=$tmp}"
23319 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23321 trap 'as_fn_exit 1' 1 2 13 15
23323 # Create a (secure) tmp directory for tmp files.
23326 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23327 test -d "$tmp"
23328 } ||
23330 tmp=./conf$$-$RANDOM
23331 (umask 077 && mkdir "$tmp")
23332 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23333 ac_tmp=$tmp
23335 # Set up the scripts for CONFIG_HEADERS section.
23336 # No need to generate them if there are no CONFIG_HEADERS.
23337 # This happens for instance with `./config.status Makefile'.
23338 if test -n "$CONFIG_HEADERS"; then
23339 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23340 BEGIN {
23341 _ACEOF
23343 # Transform confdefs.h into an awk script `defines.awk', embedded as
23344 # here-document in config.status, that substitutes the proper values into
23345 # config.h.in to produce config.h.
23347 # Create a delimiter string that does not exist in confdefs.h, to ease
23348 # handling of long lines.
23349 ac_delim='%!_!# '
23350 for ac_last_try in false false :; do
23351 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23352 if test -z "$ac_tt"; then
23353 break
23354 elif $ac_last_try; then
23355 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23356 else
23357 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23359 done
23361 # For the awk script, D is an array of macro values keyed by name,
23362 # likewise P contains macro parameters if any. Preserve backslash
23363 # newline sequences.
23365 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23366 sed -n '
23367 s/.\{148\}/&'"$ac_delim"'/g
23368 t rset
23369 :rset
23370 s/^[ ]*#[ ]*define[ ][ ]*/ /
23371 t def
23373 :def
23374 s/\\$//
23375 t bsnl
23376 s/["\\]/\\&/g
23377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23378 D["\1"]=" \3"/p
23379 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23381 :bsnl
23382 s/["\\]/\\&/g
23383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23384 D["\1"]=" \3\\\\\\n"\\/p
23385 t cont
23386 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23387 t cont
23389 :cont
23391 s/.\{148\}/&'"$ac_delim"'/g
23392 t clear
23393 :clear
23394 s/\\$//
23395 t bsnlc
23396 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23398 :bsnlc
23399 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23400 b cont
23401 ' <confdefs.h | sed '
23402 s/'"$ac_delim"'/"\\\
23403 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23406 for (key in D) D_is_set[key] = 1
23407 FS = "\a"
23409 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23410 line = \$ 0
23411 split(line, arg, " ")
23412 if (arg[1] == "#") {
23413 defundef = arg[2]
23414 mac1 = arg[3]
23415 } else {
23416 defundef = substr(arg[1], 2)
23417 mac1 = arg[2]
23419 split(mac1, mac2, "(") #)
23420 macro = mac2[1]
23421 prefix = substr(line, 1, index(line, defundef) - 1)
23422 if (D_is_set[macro]) {
23423 # Preserve the white space surrounding the "#".
23424 print prefix "define", macro P[macro] D[macro]
23425 next
23426 } else {
23427 # Replace #undef with comments. This is necessary, for example,
23428 # in the case of _POSIX_SOURCE, which is predefined and required
23429 # on some systems where configure will not decide to define it.
23430 if (defundef == "undef") {
23431 print "/*", prefix defundef, macro, "*/"
23432 next
23436 { print }
23437 _ACAWK
23438 _ACEOF
23439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23440 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23441 fi # test -n "$CONFIG_HEADERS"
23444 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23445 shift
23446 for ac_tag
23448 case $ac_tag in
23449 :[FHLC]) ac_mode=$ac_tag; continue;;
23450 esac
23451 case $ac_mode$ac_tag in
23452 :[FHL]*:*);;
23453 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23454 :[FH]-) ac_tag=-:-;;
23455 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23456 esac
23457 ac_save_IFS=$IFS
23458 IFS=:
23459 set x $ac_tag
23460 IFS=$ac_save_IFS
23461 shift
23462 ac_file=$1
23463 shift
23465 case $ac_mode in
23466 :L) ac_source=$1;;
23467 :[FH])
23468 ac_file_inputs=
23469 for ac_f
23471 case $ac_f in
23472 -) ac_f="$ac_tmp/stdin";;
23473 *) # Look for the file first in the build tree, then in the source tree
23474 # (if the path is not absolute). The absolute path cannot be DOS-style,
23475 # because $ac_f cannot contain `:'.
23476 test -f "$ac_f" ||
23477 case $ac_f in
23478 [\\/$]*) false;;
23479 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23480 esac ||
23481 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23482 esac
23483 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23484 as_fn_append ac_file_inputs " '$ac_f'"
23485 done
23487 # Let's still pretend it is `configure' which instantiates (i.e., don't
23488 # use $as_me), people would be surprised to read:
23489 # /* config.h. Generated by config.status. */
23490 configure_input='Generated from '`
23491 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23492 `' by configure.'
23493 if test x"$ac_file" != x-; then
23494 configure_input="$ac_file. $configure_input"
23495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23496 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23498 # Neutralize special characters interpreted by sed in replacement strings.
23499 case $configure_input in #(
23500 *\&* | *\|* | *\\* )
23501 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23502 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23503 *) ac_sed_conf_input=$configure_input;;
23504 esac
23506 case $ac_tag in
23507 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23509 esac
23511 esac
23513 ac_dir=`$as_dirname -- "$ac_file" ||
23514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23515 X"$ac_file" : 'X\(//\)[^/]' \| \
23516 X"$ac_file" : 'X\(//\)$' \| \
23517 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23518 printf "%s\n" X"$ac_file" |
23519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23520 s//\1/
23523 /^X\(\/\/\)[^/].*/{
23524 s//\1/
23527 /^X\(\/\/\)$/{
23528 s//\1/
23531 /^X\(\/\).*/{
23532 s//\1/
23535 s/.*/./; q'`
23536 as_dir="$ac_dir"; as_fn_mkdir_p
23537 ac_builddir=.
23539 case "$ac_dir" in
23540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23542 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23543 # A ".." for each directory in $ac_dir_suffix.
23544 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23545 case $ac_top_builddir_sub in
23546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23548 esac ;;
23549 esac
23550 ac_abs_top_builddir=$ac_pwd
23551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23552 # for backward compatibility:
23553 ac_top_builddir=$ac_top_build_prefix
23555 case $srcdir in
23556 .) # We are building in place.
23557 ac_srcdir=.
23558 ac_top_srcdir=$ac_top_builddir_sub
23559 ac_abs_top_srcdir=$ac_pwd ;;
23560 [\\/]* | ?:[\\/]* ) # Absolute name.
23561 ac_srcdir=$srcdir$ac_dir_suffix;
23562 ac_top_srcdir=$srcdir
23563 ac_abs_top_srcdir=$srcdir ;;
23564 *) # Relative name.
23565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23566 ac_top_srcdir=$ac_top_build_prefix$srcdir
23567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23568 esac
23569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23572 case $ac_mode in
23576 # CONFIG_HEADER
23578 if test x"$ac_file" != x-; then
23580 printf "%s\n" "/* $configure_input */" >&1 \
23581 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23582 } >"$ac_tmp/config.h" \
23583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23584 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23586 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23587 else
23588 rm -f "$ac_file"
23589 mv "$ac_tmp/config.h" "$ac_file" \
23590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23592 else
23593 printf "%s\n" "/* $configure_input */" >&1 \
23594 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23595 || as_fn_error $? "could not create -" "$LINENO" 5
23600 # CONFIG_LINK
23603 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23605 else
23606 # Prefer the file from the source tree if names are identical.
23607 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23608 ac_source=$srcdir/$ac_source
23611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23612 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23614 if test ! -r "$ac_source"; then
23615 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23617 rm -f "$ac_file"
23619 # Try a relative symlink, then a hard link, then a copy.
23620 case $ac_source in
23621 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23622 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23623 esac
23624 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23625 ln "$ac_source" "$ac_file" 2>/dev/null ||
23626 cp -p "$ac_source" "$ac_file" ||
23627 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23630 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23631 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23633 esac
23636 case $ac_file$ac_mode in
23637 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23638 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23639 "Makefile":C) wine_fn_output_makefile Makefile ;;
23641 esac
23642 done # for ac_tag
23645 as_fn_exit 0
23646 _ACEOF
23647 ac_clean_files=$ac_clean_files_save
23649 test $ac_write_fail = 0 ||
23650 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23653 # configure is writing to config.log, and then calls config.status.
23654 # config.status does its own redirection, appending to config.log.
23655 # Unfortunately, on DOS this fails, as config.log is still kept open
23656 # by configure, so config.status won't be able to write to it; its
23657 # output is simply discarded. So we exec the FD to /dev/null,
23658 # effectively closing config.log, so it can be properly (re)opened and
23659 # appended to by config.status. When coming back to configure, we
23660 # need to make the FD available again.
23661 if test "$no_create" != yes; then
23662 ac_cs_success=:
23663 ac_config_status_args=
23664 test "$silent" = yes &&
23665 ac_config_status_args="$ac_config_status_args --quiet"
23666 exec 5>/dev/null
23667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23668 exec 5>>config.log
23669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23670 # would make configure fail if this is the last instruction.
23671 $ac_cs_success || as_fn_exit 1
23673 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23675 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23679 if test "$no_create" = "yes"
23680 then
23681 exit 0
23684 ac_save_IFS="$IFS"
23685 if test "x$wine_notices" != x; then
23686 echo >&6
23687 IFS="|"
23688 for msg in $wine_notices; do
23689 IFS="$ac_save_IFS"
23690 if ${msg:+false} :
23691 then :
23693 else $as_nop
23694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23695 printf "%s\n" "$as_me: $msg" >&6;}
23697 done
23699 IFS="|"
23700 for msg in $wine_warnings; do
23701 IFS="$ac_save_IFS"
23702 if ${msg:+false} :
23703 then :
23705 else $as_nop
23706 echo >&2
23707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23708 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23710 done
23711 IFS="$ac_save_IFS"
23713 printf "%s\n" "
23714 $as_me: Finished. Do '${ac_make}' to compile Wine.
23715 " >&6