winmm/tests: Add MCI_DGV_WINDOW_STATE tests.
[wine.git] / configure
blob89500dc8f7a02295dfd3a093b470ff517f34c406
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.15.
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.15'
615 PACKAGE_STRING='Wine 7.15'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 LDAP_LIBS
656 LDAP_CFLAGS
657 RT_LIBS
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LCMS2_PE_LIBS
726 LCMS2_PE_CFLAGS
727 JXR_PE_LIBS
728 JXR_PE_CFLAGS
729 JPEG_PE_LIBS
730 JPEG_PE_CFLAGS
731 GSM_PE_LIBS
732 GSM_PE_CFLAGS
733 FAUDIO_PE_LIBS
734 FAUDIO_PE_CFLAGS
735 MINGW_PKG_CONFIG
736 EXCESS_PRECISION_CFLAGS
737 CROSSDEBUG
738 DELAYLOADFLAG
739 CROSSLDFLAGS
740 EXTRACROSSCFLAGS
741 CROSSCFLAGS
742 CROSSCC
743 CROSSTARGET
744 LIBWINE_DEPENDS
745 PRELINK
746 WINELOADER_DEPENDS
747 LIBWINE_LDFLAGS
748 LIBWINE_SHAREDLIB
749 METAL_LIBS
750 CARBON_LIBS
751 OPENCL_LIBS
752 OPENAL_LIBS
753 COREAUDIO_LIBS
754 SECURITY_LIBS
755 DISKARBITRATION_LIBS
756 SYSTEMCONFIGURATION_LIBS
757 APPKIT_LIBS
758 CORESERVICES_LIBS
759 APPLICATIONSERVICES_LIBS
760 IOKIT_LIBS
761 COREFOUNDATION_LIBS
762 ac_ct_OBJC
763 OBJCFLAGS
764 OBJC
765 DLLTOOL
766 WINELOADER_PROGRAMS
767 CONFIGURE_TARGETS
768 DISABLED_SUBDIRS
769 SUBDIRS
770 READELF
771 OTOOL
773 WINEPRELOADER_LDFLAGS
774 WINELOADER_LDFLAGS
775 TOP_INSTALL_DEV
776 TOP_INSTALL_LIB
777 UNIXLDFLAGS
778 UNIXDLLFLAGS
779 EXTRACFLAGS
780 LDEXECFLAGS
781 LDDLLFLAGS
782 DLLFLAGS
783 OPENGL_LIBS
784 I386_LIBS
785 ICOTOOL
786 CONVERT
787 RSVG
788 FONTFORGE
789 PKG_CONFIG
790 MSGFMT
791 LDCONFIG
792 EGREP
793 GREP
794 LN_S
795 RANLIB
796 STRIP
797 ac_ct_AR
799 BISON
800 FLEX
801 SED_CMD
802 RUNTESTFLAGS
803 MAKEDEP
804 toolsdir
805 toolsext
806 TARGETFLAGS
808 CPPBIN
809 ac_ct_CXX
810 CXXFLAGS
812 OBJEXT
813 EXEEXT
814 ac_ct_CC
815 CPPFLAGS
816 LDFLAGS
817 CFLAGS
819 SET_MAKE
820 srcdir
821 nlsdir
822 fontdir
823 dlldir
824 host_os
825 host_vendor
826 host_cpu
827 host
828 build_os
829 build_vendor
830 build_cpu
831 build
832 system_dllpath
833 target_alias
834 host_alias
835 build_alias
836 LIBS
837 ECHO_T
838 ECHO_N
839 ECHO_C
840 DEFS
841 mandir
842 localedir
843 libdir
844 psdir
845 pdfdir
846 dvidir
847 htmldir
848 infodir
849 docdir
850 oldincludedir
851 includedir
852 runstatedir
853 localstatedir
854 sharedstatedir
855 sysconfdir
856 datadir
857 datarootdir
858 libexecdir
859 sbindir
860 bindir
861 program_transform_name
862 prefix
863 exec_prefix
864 PACKAGE_URL
865 PACKAGE_BUGREPORT
866 PACKAGE_STRING
867 PACKAGE_VERSION
868 PACKAGE_TARNAME
869 PACKAGE_NAME
870 PATH_SEPARATOR
871 SHELL'
872 ac_subst_files=''
873 ac_user_opts='
874 enable_option_checking
875 enable_win16
876 enable_win64
877 enable_tests
878 enable_build_id
879 enable_maintainer_mode
880 enable_silent_rules
881 enable_werror
882 with_alsa
883 with_capi
884 with_coreaudio
885 with_cups
886 with_dbus
887 with_float_abi
888 with_fontconfig
889 with_freetype
890 with_gettext
891 with_gettextpo
892 with_gphoto
893 with_gnutls
894 with_gssapi
895 with_gstreamer
896 with_inotify
897 with_krb5
898 with_ldap
899 with_mingw
900 with_netapi
901 with_openal
902 with_opencl
903 with_opengl
904 with_osmesa
905 with_oss
906 with_pcap
907 with_pthread
908 with_pulse
909 with_sane
910 with_sdl
911 with_udev
912 with_unwind
913 with_usb
914 with_v4l2
915 with_vulkan
916 with_xcomposite
917 with_xcursor
918 with_xfixes
919 with_xinerama
920 with_xinput
921 with_xinput2
922 with_xrandr
923 with_xrender
924 with_xshape
925 with_xshm
926 with_xxf86vm
927 with_system_dllpath
928 with_wine_tools
929 with_wine64
930 enable_largefile
931 with_x
932 enable_acledit
933 enable_aclui
934 enable_activeds_tlb
935 enable_activeds
936 enable_actxprxy
937 enable_adsldp
938 enable_adsldpc
939 enable_advapi32
940 enable_advpack
941 enable_amsi
942 enable_amstream
943 enable_apisetschema
944 enable_apphelp
945 enable_appwiz_cpl
946 enable_atl
947 enable_atl100
948 enable_atl110
949 enable_atl80
950 enable_atl90
951 enable_atlthunk
952 enable_atmlib
953 enable_authz
954 enable_avicap32
955 enable_avifil32
956 enable_avrt
957 enable_bcrypt
958 enable_bluetoothapis
959 enable_browseui
960 enable_bthprops_cpl
961 enable_cabinet
962 enable_capi2032
963 enable_cards
964 enable_cdosys
965 enable_cfgmgr32
966 enable_clusapi
967 enable_cng_sys
968 enable_combase
969 enable_comcat
970 enable_comctl32
971 enable_comdlg32
972 enable_compstui
973 enable_comsvcs
974 enable_concrt140
975 enable_connect
976 enable_credui
977 enable_crtdll
978 enable_crypt32
979 enable_cryptdlg
980 enable_cryptdll
981 enable_cryptext
982 enable_cryptnet
983 enable_cryptsp
984 enable_cryptui
985 enable_ctapi32
986 enable_ctl3d32
987 enable_d2d1
988 enable_d3d10
989 enable_d3d10_1
990 enable_d3d10core
991 enable_d3d11
992 enable_d3d12
993 enable_d3d8
994 enable_d3d8thk
995 enable_d3d9
996 enable_d3dcompiler_33
997 enable_d3dcompiler_34
998 enable_d3dcompiler_35
999 enable_d3dcompiler_36
1000 enable_d3dcompiler_37
1001 enable_d3dcompiler_38
1002 enable_d3dcompiler_39
1003 enable_d3dcompiler_40
1004 enable_d3dcompiler_41
1005 enable_d3dcompiler_42
1006 enable_d3dcompiler_43
1007 enable_d3dcompiler_46
1008 enable_d3dcompiler_47
1009 enable_d3dim
1010 enable_d3dim700
1011 enable_d3drm
1012 enable_d3dx10_33
1013 enable_d3dx10_34
1014 enable_d3dx10_35
1015 enable_d3dx10_36
1016 enable_d3dx10_37
1017 enable_d3dx10_38
1018 enable_d3dx10_39
1019 enable_d3dx10_40
1020 enable_d3dx10_41
1021 enable_d3dx10_42
1022 enable_d3dx10_43
1023 enable_d3dx11_42
1024 enable_d3dx11_43
1025 enable_d3dx9_24
1026 enable_d3dx9_25
1027 enable_d3dx9_26
1028 enable_d3dx9_27
1029 enable_d3dx9_28
1030 enable_d3dx9_29
1031 enable_d3dx9_30
1032 enable_d3dx9_31
1033 enable_d3dx9_32
1034 enable_d3dx9_33
1035 enable_d3dx9_34
1036 enable_d3dx9_35
1037 enable_d3dx9_36
1038 enable_d3dx9_37
1039 enable_d3dx9_38
1040 enable_d3dx9_39
1041 enable_d3dx9_40
1042 enable_d3dx9_41
1043 enable_d3dx9_42
1044 enable_d3dx9_43
1045 enable_d3dxof
1046 enable_davclnt
1047 enable_dbgeng
1048 enable_dbghelp
1049 enable_dciman32
1050 enable_dcomp
1051 enable_ddraw
1052 enable_ddrawex
1053 enable_devenum
1054 enable_dhcpcsvc
1055 enable_dhcpcsvc6
1056 enable_dhtmled_ocx
1057 enable_diasymreader
1058 enable_difxapi
1059 enable_dinput
1060 enable_dinput8
1061 enable_directmanipulation
1062 enable_dispex
1063 enable_dmband
1064 enable_dmcompos
1065 enable_dmime
1066 enable_dmloader
1067 enable_dmscript
1068 enable_dmstyle
1069 enable_dmsynth
1070 enable_dmusic
1071 enable_dmusic32
1072 enable_dnsapi
1073 enable_dplay
1074 enable_dplayx
1075 enable_dpnaddr
1076 enable_dpnet
1077 enable_dpnhpast
1078 enable_dpnhupnp
1079 enable_dpnlobby
1080 enable_dpvoice
1081 enable_dpwsockx
1082 enable_drmclien
1083 enable_dsdmo
1084 enable_dsound
1085 enable_dsquery
1086 enable_dssenh
1087 enable_dsuiext
1088 enable_dswave
1089 enable_dwmapi
1090 enable_dwrite
1091 enable_dx8vb
1092 enable_dxdiagn
1093 enable_dxgi
1094 enable_dxtrans
1095 enable_dxva2
1096 enable_esent
1097 enable_evr
1098 enable_explorerframe
1099 enable_faultrep
1100 enable_feclient
1101 enable_fltlib
1102 enable_fltmgr_sys
1103 enable_fntcache
1104 enable_fontsub
1105 enable_fusion
1106 enable_fwpuclnt
1107 enable_gameux
1108 enable_gamingtcui
1109 enable_gdi32
1110 enable_gdiplus
1111 enable_glu32
1112 enable_gphoto2_ds
1113 enable_gpkcsp
1114 enable_hal
1115 enable_hhctrl_ocx
1116 enable_hid
1117 enable_hidclass_sys
1118 enable_hidparse_sys
1119 enable_hlink
1120 enable_hnetcfg
1121 enable_http_sys
1122 enable_httpapi
1123 enable_ia2comproxy
1124 enable_iccvid
1125 enable_icmp
1126 enable_ieframe
1127 enable_ieproxy
1128 enable_imaadp32_acm
1129 enable_imagehlp
1130 enable_imm32
1131 enable_inetcomm
1132 enable_inetcpl_cpl
1133 enable_inetmib1
1134 enable_infosoft
1135 enable_initpki
1136 enable_inkobj
1137 enable_inseng
1138 enable_iphlpapi
1139 enable_iprop
1140 enable_irprops_cpl
1141 enable_itircl
1142 enable_itss
1143 enable_joy_cpl
1144 enable_jscript
1145 enable_jsproxy
1146 enable_kerberos
1147 enable_kernel32
1148 enable_kernelbase
1149 enable_ksecdd_sys
1150 enable_ksproxy_ax
1151 enable_ksuser
1152 enable_ktmw32
1153 enable_l3codeca_acm
1154 enable_light_msstyles
1155 enable_loadperf
1156 enable_localspl
1157 enable_localui
1158 enable_lz32
1159 enable_mapi32
1160 enable_mapistub
1161 enable_mciavi32
1162 enable_mcicda
1163 enable_mciqtz32
1164 enable_mciseq
1165 enable_mciwave
1166 enable_mf
1167 enable_mf3216
1168 enable_mferror
1169 enable_mfmediaengine
1170 enable_mfplat
1171 enable_mfplay
1172 enable_mfreadwrite
1173 enable_mfsrcsnk
1174 enable_mgmtapi
1175 enable_midimap
1176 enable_mlang
1177 enable_mmcndmgr
1178 enable_mmdevapi
1179 enable_mountmgr_sys
1180 enable_mp3dmod
1181 enable_mpr
1182 enable_mprapi
1183 enable_msacm32_drv
1184 enable_msacm32
1185 enable_msado15
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_mscorwks
1192 enable_msctf
1193 enable_msctfmonitor
1194 enable_msctfp
1195 enable_msdaps
1196 enable_msdasql
1197 enable_msdelta
1198 enable_msdmo
1199 enable_msdrm
1200 enable_msftedit
1201 enable_msg711_acm
1202 enable_msgsm32_acm
1203 enable_mshtml_tlb
1204 enable_mshtml
1205 enable_msi
1206 enable_msident
1207 enable_msimg32
1208 enable_msimsg
1209 enable_msimtf
1210 enable_msisip
1211 enable_msisys_ocx
1212 enable_msls31
1213 enable_msnet32
1214 enable_mspatcha
1215 enable_msports
1216 enable_msrle32
1217 enable_msscript_ocx
1218 enable_mssign32
1219 enable_mssip32
1220 enable_mstask
1221 enable_msv1_0
1222 enable_msvcirt
1223 enable_msvcm80
1224 enable_msvcm90
1225 enable_msvcp100
1226 enable_msvcp110
1227 enable_msvcp120
1228 enable_msvcp120_app
1229 enable_msvcp140
1230 enable_msvcp140_1
1231 enable_msvcp140_2
1232 enable_msvcp140_atomic_wait
1233 enable_msvcp60
1234 enable_msvcp70
1235 enable_msvcp71
1236 enable_msvcp80
1237 enable_msvcp90
1238 enable_msvcp_win
1239 enable_msvcr100
1240 enable_msvcr110
1241 enable_msvcr120
1242 enable_msvcr120_app
1243 enable_msvcr70
1244 enable_msvcr71
1245 enable_msvcr80
1246 enable_msvcr90
1247 enable_msvcrt
1248 enable_msvcrt20
1249 enable_msvcrt40
1250 enable_msvcrtd
1251 enable_msvfw32
1252 enable_msvidc32
1253 enable_mswsock
1254 enable_msxml
1255 enable_msxml2
1256 enable_msxml3
1257 enable_msxml4
1258 enable_msxml6
1259 enable_mtxdm
1260 enable_ncrypt
1261 enable_nddeapi
1262 enable_ndis_sys
1263 enable_netapi32
1264 enable_netcfgx
1265 enable_netio_sys
1266 enable_netprofm
1267 enable_netutils
1268 enable_newdev
1269 enable_ninput
1270 enable_normaliz
1271 enable_npmshtml
1272 enable_npptools
1273 enable_nsi
1274 enable_nsiproxy_sys
1275 enable_ntdll
1276 enable_ntdsapi
1277 enable_ntoskrnl_exe
1278 enable_ntprint
1279 enable_objsel
1280 enable_odbc32
1281 enable_odbcbcp
1282 enable_odbccp32
1283 enable_odbccu32
1284 enable_ole32
1285 enable_oleacc
1286 enable_oleaut32
1287 enable_olecli32
1288 enable_oledb32
1289 enable_oledlg
1290 enable_olepro32
1291 enable_olesvr32
1292 enable_olethk32
1293 enable_opcservices
1294 enable_openal32
1295 enable_opencl
1296 enable_opengl32
1297 enable_packager
1298 enable_pdh
1299 enable_photometadatahandler
1300 enable_pidgen
1301 enable_powrprof
1302 enable_printui
1303 enable_prntvpt
1304 enable_propsys
1305 enable_psapi
1306 enable_pstorec
1307 enable_pwrshplugin
1308 enable_qasf
1309 enable_qcap
1310 enable_qdvd
1311 enable_qedit
1312 enable_qmgr
1313 enable_qmgrprxy
1314 enable_quartz
1315 enable_query
1316 enable_qwave
1317 enable_rasapi32
1318 enable_rasdlg
1319 enable_regapi
1320 enable_resutils
1321 enable_riched20
1322 enable_riched32
1323 enable_rpcrt4
1324 enable_rsabase
1325 enable_rsaenh
1326 enable_rstrtmgr
1327 enable_rtutils
1328 enable_rtworkq
1329 enable_samlib
1330 enable_sane_ds
1331 enable_sapi
1332 enable_sas
1333 enable_scarddlg
1334 enable_sccbase
1335 enable_schannel
1336 enable_schedsvc
1337 enable_scrobj
1338 enable_scrrun
1339 enable_scsiport_sys
1340 enable_sechost
1341 enable_secur32
1342 enable_security
1343 enable_sensapi
1344 enable_serialui
1345 enable_setupapi
1346 enable_sfc
1347 enable_sfc_os
1348 enable_shcore
1349 enable_shdoclc
1350 enable_shdocvw
1351 enable_shell32
1352 enable_shfolder
1353 enable_shlwapi
1354 enable_slbcsp
1355 enable_slc
1356 enable_snmpapi
1357 enable_softpub
1358 enable_spoolss
1359 enable_sppc
1360 enable_srclient
1361 enable_srvcli
1362 enable_sspicli
1363 enable_stdole2_tlb
1364 enable_stdole32_tlb
1365 enable_sti
1366 enable_strmdll
1367 enable_svrapi
1368 enable_sxs
1369 enable_t2embed
1370 enable_tapi32
1371 enable_taskschd
1372 enable_tbs
1373 enable_tdh
1374 enable_tdi_sys
1375 enable_traffic
1376 enable_twain_32
1377 enable_tzres
1378 enable_ucrtbase
1379 enable_uianimation
1380 enable_uiautomationcore
1381 enable_uiribbon
1382 enable_unicows
1383 enable_updspapi
1384 enable_url
1385 enable_urlmon
1386 enable_usbd_sys
1387 enable_user32
1388 enable_userenv
1389 enable_usp10
1390 enable_utildll
1391 enable_uxtheme
1392 enable_vbscript
1393 enable_vcomp
1394 enable_vcomp100
1395 enable_vcomp110
1396 enable_vcomp120
1397 enable_vcomp140
1398 enable_vcomp90
1399 enable_vcruntime140
1400 enable_vcruntime140_1
1401 enable_vdmdbg
1402 enable_version
1403 enable_vga
1404 enable_virtdisk
1405 enable_vssapi
1406 enable_vulkan_1
1407 enable_wbemdisp
1408 enable_wbemprox
1409 enable_wdscore
1410 enable_webservices
1411 enable_websocket
1412 enable_wer
1413 enable_wevtapi
1414 enable_wevtsvc
1415 enable_wiaservc
1416 enable_wimgapi
1417 enable_win32u
1418 enable_windows_devices_enumeration
1419 enable_windows_gaming_input
1420 enable_windows_globalization
1421 enable_windows_media_devices
1422 enable_windows_media_speech
1423 enable_windows_networking
1424 enable_windowscodecs
1425 enable_windowscodecsext
1426 enable_winealsa_drv
1427 enable_wineandroid_drv
1428 enable_winebus_sys
1429 enable_winecoreaudio_drv
1430 enable_winecrt0
1431 enable_wined3d
1432 enable_winegstreamer
1433 enable_winehid_sys
1434 enable_winemac_drv
1435 enable_winemapi
1436 enable_wineoss_drv
1437 enable_wineps_drv
1438 enable_winepulse_drv
1439 enable_wineusb_sys
1440 enable_winevulkan
1441 enable_winex11_drv
1442 enable_winexinput_sys
1443 enable_wing32
1444 enable_winhttp
1445 enable_wininet
1446 enable_winmm
1447 enable_winnls32
1448 enable_winscard
1449 enable_winspool_drv
1450 enable_winsta
1451 enable_wintab32
1452 enable_wintrust
1453 enable_wintypes
1454 enable_winusb
1455 enable_wlanapi
1456 enable_wlanui
1457 enable_wldap32
1458 enable_wmasf
1459 enable_wmi
1460 enable_wmiutils
1461 enable_wmp
1462 enable_wmphoto
1463 enable_wmvcore
1464 enable_wnaspi32
1465 enable_wow64
1466 enable_wow64cpu
1467 enable_wow64win
1468 enable_wpc
1469 enable_wpcap
1470 enable_ws2_32
1471 enable_wsdapi
1472 enable_wshom_ocx
1473 enable_wsnmp32
1474 enable_wsock32
1475 enable_wtsapi32
1476 enable_wuapi
1477 enable_wuaueng
1478 enable_x3daudio1_0
1479 enable_x3daudio1_1
1480 enable_x3daudio1_2
1481 enable_x3daudio1_3
1482 enable_x3daudio1_4
1483 enable_x3daudio1_5
1484 enable_x3daudio1_6
1485 enable_x3daudio1_7
1486 enable_xactengine2_0
1487 enable_xactengine2_4
1488 enable_xactengine2_7
1489 enable_xactengine2_9
1490 enable_xactengine3_0
1491 enable_xactengine3_1
1492 enable_xactengine3_2
1493 enable_xactengine3_3
1494 enable_xactengine3_4
1495 enable_xactengine3_5
1496 enable_xactengine3_6
1497 enable_xactengine3_7
1498 enable_xapofx1_1
1499 enable_xapofx1_2
1500 enable_xapofx1_3
1501 enable_xapofx1_4
1502 enable_xapofx1_5
1503 enable_xaudio2_0
1504 enable_xaudio2_1
1505 enable_xaudio2_2
1506 enable_xaudio2_3
1507 enable_xaudio2_4
1508 enable_xaudio2_5
1509 enable_xaudio2_6
1510 enable_xaudio2_7
1511 enable_xaudio2_8
1512 enable_xaudio2_9
1513 enable_xinput1_1
1514 enable_xinput1_2
1515 enable_xinput1_3
1516 enable_xinput1_4
1517 enable_xinput9_1_0
1518 enable_xmllite
1519 enable_xolehlp
1520 enable_xpsprint
1521 enable_xpssvcs
1522 enable_fonts
1523 enable_include
1524 enable_adsiid
1525 enable_dmoguids
1526 enable_dxerr8
1527 enable_dxerr9
1528 enable_dxguid
1529 enable_faudio
1530 enable_gsm
1531 enable_jpeg
1532 enable_jxr
1533 enable_lcms2
1534 enable_mfuuid
1535 enable_mpg123
1536 enable_png
1537 enable_strmbase
1538 enable_strmiids
1539 enable_tiff
1540 enable_uuid
1541 enable_vkd3d
1542 enable_wbemuuid
1543 enable_wine
1544 enable_wmcodecdspuuid
1545 enable_xml2
1546 enable_xslt
1547 enable_zlib
1548 enable_loader
1549 enable_nls
1550 enable_po
1551 enable_arp
1552 enable_aspnet_regiis
1553 enable_attrib
1554 enable_cabarc
1555 enable_cacls
1556 enable_chcp_com
1557 enable_clock
1558 enable_cmd
1559 enable_conhost
1560 enable_control
1561 enable_cscript
1562 enable_dism
1563 enable_dllhost
1564 enable_dplaysvr
1565 enable_dpnsvr
1566 enable_dpvsetup
1567 enable_dxdiag
1568 enable_eject
1569 enable_expand
1570 enable_explorer
1571 enable_extrac32
1572 enable_fc
1573 enable_find
1574 enable_findstr
1575 enable_fsutil
1576 enable_hh
1577 enable_hostname
1578 enable_icacls
1579 enable_icinfo
1580 enable_iexplore
1581 enable_ipconfig
1582 enable_lodctr
1583 enable_mofcomp
1584 enable_mshta
1585 enable_msidb
1586 enable_msiexec
1587 enable_msinfo32
1588 enable_net
1589 enable_netsh
1590 enable_netstat
1591 enable_ngen
1592 enable_notepad
1593 enable_oleview
1594 enable_ping
1595 enable_plugplay
1596 enable_powershell
1597 enable_presentationfontcache
1598 enable_progman
1599 enable_reg
1600 enable_regasm
1601 enable_regedit
1602 enable_regini
1603 enable_regsvcs
1604 enable_regsvr32
1605 enable_robocopy
1606 enable_rpcss
1607 enable_rundll32
1608 enable_sc
1609 enable_schtasks
1610 enable_sdbinst
1611 enable_secedit
1612 enable_servicemodelreg
1613 enable_services
1614 enable_shutdown
1615 enable_spoolsv
1616 enable_start
1617 enable_subst
1618 enable_svchost
1619 enable_systeminfo
1620 enable_taskkill
1621 enable_tasklist
1622 enable_taskmgr
1623 enable_termsv
1624 enable_uninstaller
1625 enable_unlodctr
1626 enable_view
1627 enable_wevtutil
1628 enable_where
1629 enable_whoami
1630 enable_wineboot
1631 enable_winebrowser
1632 enable_winecfg
1633 enable_wineconsole
1634 enable_winedbg
1635 enable_winedevice
1636 enable_winefile
1637 enable_winemenubuilder
1638 enable_winemine
1639 enable_winemsibuilder
1640 enable_winepath
1641 enable_winetest
1642 enable_winhlp32
1643 enable_winmgmt
1644 enable_winver
1645 enable_wmic
1646 enable_wmplayer
1647 enable_wordpad
1648 enable_write
1649 enable_wscript
1650 enable_wuauserv
1651 enable_wusa
1652 enable_xcopy
1653 enable_server
1654 enable_tools
1655 enable_sfnt2fon
1656 enable_widl
1657 enable_winebuild
1658 enable_winedump
1659 enable_winegcc
1660 enable_winemaker
1661 enable_wmc
1662 enable_wrc
1664 ac_precious_vars='build_alias
1665 host_alias
1666 target_alias
1668 CFLAGS
1669 LDFLAGS
1670 LIBS
1671 CPPFLAGS
1673 CXXFLAGS
1675 OBJC
1676 OBJCFLAGS
1677 FAUDIO_PE_CFLAGS
1678 FAUDIO_PE_LIBS
1679 GSM_PE_CFLAGS
1680 GSM_PE_LIBS
1681 JPEG_PE_CFLAGS
1682 JPEG_PE_LIBS
1683 JXR_PE_CFLAGS
1684 JXR_PE_LIBS
1685 LCMS2_PE_CFLAGS
1686 LCMS2_PE_LIBS
1687 MPG123_PE_CFLAGS
1688 MPG123_PE_LIBS
1689 PNG_PE_CFLAGS
1690 PNG_PE_LIBS
1691 TIFF_PE_CFLAGS
1692 TIFF_PE_LIBS
1693 VKD3D_PE_CFLAGS
1694 VKD3D_PE_LIBS
1695 XML2_PE_CFLAGS
1696 XML2_PE_LIBS
1697 XSLT_PE_CFLAGS
1698 XSLT_PE_LIBS
1699 ZLIB_PE_CFLAGS
1700 ZLIB_PE_LIBS
1701 XMKMF
1703 INOTIFY_CFLAGS
1704 INOTIFY_LIBS
1705 DBUS_CFLAGS
1706 DBUS_LIBS
1707 GNUTLS_CFLAGS
1708 GNUTLS_LIBS
1709 SANE_CFLAGS
1710 SANE_LIBS
1711 USB_CFLAGS
1712 USB_LIBS
1713 GPHOTO2_CFLAGS
1714 GPHOTO2_LIBS
1715 GPHOTO2_PORT_CFLAGS
1716 GPHOTO2_PORT_LIBS
1717 FREETYPE_CFLAGS
1718 FREETYPE_LIBS
1719 PULSE_CFLAGS
1720 PULSE_LIBS
1721 GSTREAMER_CFLAGS
1722 GSTREAMER_LIBS
1723 UDEV_CFLAGS
1724 UDEV_LIBS
1725 UNWIND_CFLAGS
1726 UNWIND_LIBS
1727 SDL2_CFLAGS
1728 SDL2_LIBS
1729 CAPI20_CFLAGS
1730 CAPI20_LIBS
1731 CUPS_CFLAGS
1732 CUPS_LIBS
1733 FONTCONFIG_CFLAGS
1734 FONTCONFIG_LIBS
1735 KRB5_CFLAGS
1736 KRB5_LIBS
1737 GSSAPI_CFLAGS
1738 GSSAPI_LIBS
1739 NETAPI_CFLAGS
1740 NETAPI_LIBS
1741 LDAP_CFLAGS
1742 LDAP_LIBS'
1745 # Initialize some variables set by options.
1746 ac_init_help=
1747 ac_init_version=false
1748 ac_unrecognized_opts=
1749 ac_unrecognized_sep=
1750 # The variables have the same names as the options, with
1751 # dashes changed to underlines.
1752 cache_file=/dev/null
1753 exec_prefix=NONE
1754 no_create=
1755 no_recursion=
1756 prefix=NONE
1757 program_prefix=NONE
1758 program_suffix=NONE
1759 program_transform_name=s,x,x,
1760 silent=
1761 site=
1762 srcdir=
1763 verbose=
1764 x_includes=NONE
1765 x_libraries=NONE
1767 # Installation directory options.
1768 # These are left unexpanded so users can "make install exec_prefix=/foo"
1769 # and all the variables that are supposed to be based on exec_prefix
1770 # by default will actually change.
1771 # Use braces instead of parens because sh, perl, etc. also accept them.
1772 # (The list follows the same order as the GNU Coding Standards.)
1773 bindir='${exec_prefix}/bin'
1774 sbindir='${exec_prefix}/sbin'
1775 libexecdir='${exec_prefix}/libexec'
1776 datarootdir='${prefix}/share'
1777 datadir='${datarootdir}'
1778 sysconfdir='${prefix}/etc'
1779 sharedstatedir='${prefix}/com'
1780 localstatedir='${prefix}/var'
1781 runstatedir='${localstatedir}/run'
1782 includedir='${prefix}/include'
1783 oldincludedir='/usr/include'
1784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1785 infodir='${datarootdir}/info'
1786 htmldir='${docdir}'
1787 dvidir='${docdir}'
1788 pdfdir='${docdir}'
1789 psdir='${docdir}'
1790 libdir='${exec_prefix}/lib'
1791 localedir='${datarootdir}/locale'
1792 mandir='${datarootdir}/man'
1794 ac_prev=
1795 ac_dashdash=
1796 for ac_option
1798 # If the previous option needs an argument, assign it.
1799 if test -n "$ac_prev"; then
1800 eval $ac_prev=\$ac_option
1801 ac_prev=
1802 continue
1805 case $ac_option in
1806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1807 *=) ac_optarg= ;;
1808 *) ac_optarg=yes ;;
1809 esac
1811 case $ac_dashdash$ac_option in
1813 ac_dashdash=yes ;;
1815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1816 ac_prev=bindir ;;
1817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1818 bindir=$ac_optarg ;;
1820 -build | --build | --buil | --bui | --bu)
1821 ac_prev=build_alias ;;
1822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1823 build_alias=$ac_optarg ;;
1825 -cache-file | --cache-file | --cache-fil | --cache-fi \
1826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1827 ac_prev=cache_file ;;
1828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1830 cache_file=$ac_optarg ;;
1832 --config-cache | -C)
1833 cache_file=config.cache ;;
1835 -datadir | --datadir | --datadi | --datad)
1836 ac_prev=datadir ;;
1837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1838 datadir=$ac_optarg ;;
1840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1841 | --dataroo | --dataro | --datar)
1842 ac_prev=datarootdir ;;
1843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1845 datarootdir=$ac_optarg ;;
1847 -disable-* | --disable-*)
1848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1851 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1852 ac_useropt_orig=$ac_useropt
1853 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_$ac_useropt"
1857 "*) ;;
1858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1859 ac_unrecognized_sep=', ';;
1860 esac
1861 eval enable_$ac_useropt=no ;;
1863 -docdir | --docdir | --docdi | --doc | --do)
1864 ac_prev=docdir ;;
1865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1866 docdir=$ac_optarg ;;
1868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1869 ac_prev=dvidir ;;
1870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1871 dvidir=$ac_optarg ;;
1873 -enable-* | --enable-*)
1874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1875 # Reject names that are not valid shell variable names.
1876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1877 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1878 ac_useropt_orig=$ac_useropt
1879 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1880 case $ac_user_opts in
1882 "enable_$ac_useropt"
1883 "*) ;;
1884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1885 ac_unrecognized_sep=', ';;
1886 esac
1887 eval enable_$ac_useropt=\$ac_optarg ;;
1889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1891 | --exec | --exe | --ex)
1892 ac_prev=exec_prefix ;;
1893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1895 | --exec=* | --exe=* | --ex=*)
1896 exec_prefix=$ac_optarg ;;
1898 -gas | --gas | --ga | --g)
1899 # Obsolete; use --with-gas.
1900 with_gas=yes ;;
1902 -help | --help | --hel | --he | -h)
1903 ac_init_help=long ;;
1904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1905 ac_init_help=recursive ;;
1906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1907 ac_init_help=short ;;
1909 -host | --host | --hos | --ho)
1910 ac_prev=host_alias ;;
1911 -host=* | --host=* | --hos=* | --ho=*)
1912 host_alias=$ac_optarg ;;
1914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1915 ac_prev=htmldir ;;
1916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1917 | --ht=*)
1918 htmldir=$ac_optarg ;;
1920 -includedir | --includedir | --includedi | --included | --include \
1921 | --includ | --inclu | --incl | --inc)
1922 ac_prev=includedir ;;
1923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1924 | --includ=* | --inclu=* | --incl=* | --inc=*)
1925 includedir=$ac_optarg ;;
1927 -infodir | --infodir | --infodi | --infod | --info | --inf)
1928 ac_prev=infodir ;;
1929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1930 infodir=$ac_optarg ;;
1932 -libdir | --libdir | --libdi | --libd)
1933 ac_prev=libdir ;;
1934 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1935 libdir=$ac_optarg ;;
1937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1938 | --libexe | --libex | --libe)
1939 ac_prev=libexecdir ;;
1940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1941 | --libexe=* | --libex=* | --libe=*)
1942 libexecdir=$ac_optarg ;;
1944 -localedir | --localedir | --localedi | --localed | --locale)
1945 ac_prev=localedir ;;
1946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1947 localedir=$ac_optarg ;;
1949 -localstatedir | --localstatedir | --localstatedi | --localstated \
1950 | --localstate | --localstat | --localsta | --localst | --locals)
1951 ac_prev=localstatedir ;;
1952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1954 localstatedir=$ac_optarg ;;
1956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1957 ac_prev=mandir ;;
1958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1959 mandir=$ac_optarg ;;
1961 -nfp | --nfp | --nf)
1962 # Obsolete; use --without-fp.
1963 with_fp=no ;;
1965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1966 | --no-cr | --no-c | -n)
1967 no_create=yes ;;
1969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1971 no_recursion=yes ;;
1973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1975 | --oldin | --oldi | --old | --ol | --o)
1976 ac_prev=oldincludedir ;;
1977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1980 oldincludedir=$ac_optarg ;;
1982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1983 ac_prev=prefix ;;
1984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1985 prefix=$ac_optarg ;;
1987 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1988 | --program-pre | --program-pr | --program-p)
1989 ac_prev=program_prefix ;;
1990 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1992 program_prefix=$ac_optarg ;;
1994 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1995 | --program-suf | --program-su | --program-s)
1996 ac_prev=program_suffix ;;
1997 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1999 program_suffix=$ac_optarg ;;
2001 -program-transform-name | --program-transform-name \
2002 | --program-transform-nam | --program-transform-na \
2003 | --program-transform-n | --program-transform- \
2004 | --program-transform | --program-transfor \
2005 | --program-transfo | --program-transf \
2006 | --program-trans | --program-tran \
2007 | --progr-tra | --program-tr | --program-t)
2008 ac_prev=program_transform_name ;;
2009 -program-transform-name=* | --program-transform-name=* \
2010 | --program-transform-nam=* | --program-transform-na=* \
2011 | --program-transform-n=* | --program-transform-=* \
2012 | --program-transform=* | --program-transfor=* \
2013 | --program-transfo=* | --program-transf=* \
2014 | --program-trans=* | --program-tran=* \
2015 | --progr-tra=* | --program-tr=* | --program-t=*)
2016 program_transform_name=$ac_optarg ;;
2018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2019 ac_prev=pdfdir ;;
2020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2021 pdfdir=$ac_optarg ;;
2023 -psdir | --psdir | --psdi | --psd | --ps)
2024 ac_prev=psdir ;;
2025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2026 psdir=$ac_optarg ;;
2028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2029 | -silent | --silent | --silen | --sile | --sil)
2030 silent=yes ;;
2032 -runstatedir | --runstatedir | --runstatedi | --runstated \
2033 | --runstate | --runstat | --runsta | --runst | --runs \
2034 | --run | --ru | --r)
2035 ac_prev=runstatedir ;;
2036 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2037 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2038 | --run=* | --ru=* | --r=*)
2039 runstatedir=$ac_optarg ;;
2041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2042 ac_prev=sbindir ;;
2043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2044 | --sbi=* | --sb=*)
2045 sbindir=$ac_optarg ;;
2047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2049 | --sharedst | --shareds | --shared | --share | --shar \
2050 | --sha | --sh)
2051 ac_prev=sharedstatedir ;;
2052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2055 | --sha=* | --sh=*)
2056 sharedstatedir=$ac_optarg ;;
2058 -site | --site | --sit)
2059 ac_prev=site ;;
2060 -site=* | --site=* | --sit=*)
2061 site=$ac_optarg ;;
2063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2064 ac_prev=srcdir ;;
2065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2066 srcdir=$ac_optarg ;;
2068 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2069 | --syscon | --sysco | --sysc | --sys | --sy)
2070 ac_prev=sysconfdir ;;
2071 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2072 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2073 sysconfdir=$ac_optarg ;;
2075 -target | --target | --targe | --targ | --tar | --ta | --t)
2076 ac_prev=target_alias ;;
2077 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2078 target_alias=$ac_optarg ;;
2080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2081 verbose=yes ;;
2083 -version | --version | --versio | --versi | --vers | -V)
2084 ac_init_version=: ;;
2086 -with-* | --with-*)
2087 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2088 # Reject names that are not valid shell variable names.
2089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2090 as_fn_error $? "invalid package name: \`$ac_useropt'"
2091 ac_useropt_orig=$ac_useropt
2092 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2093 case $ac_user_opts in
2095 "with_$ac_useropt"
2096 "*) ;;
2097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2098 ac_unrecognized_sep=', ';;
2099 esac
2100 eval with_$ac_useropt=\$ac_optarg ;;
2102 -without-* | --without-*)
2103 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2104 # Reject names that are not valid shell variable names.
2105 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2106 as_fn_error $? "invalid package name: \`$ac_useropt'"
2107 ac_useropt_orig=$ac_useropt
2108 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2109 case $ac_user_opts in
2111 "with_$ac_useropt"
2112 "*) ;;
2113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2114 ac_unrecognized_sep=', ';;
2115 esac
2116 eval with_$ac_useropt=no ;;
2118 --x)
2119 # Obsolete; use --with-x.
2120 with_x=yes ;;
2122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2123 | --x-incl | --x-inc | --x-in | --x-i)
2124 ac_prev=x_includes ;;
2125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2127 x_includes=$ac_optarg ;;
2129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2131 ac_prev=x_libraries ;;
2132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2134 x_libraries=$ac_optarg ;;
2136 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2137 Try \`$0 --help' for more information"
2140 *=*)
2141 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2142 # Reject names that are not valid shell variable names.
2143 case $ac_envvar in #(
2144 '' | [0-9]* | *[!_$as_cr_alnum]* )
2145 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2146 esac
2147 eval $ac_envvar=\$ac_optarg
2148 export $ac_envvar ;;
2151 # FIXME: should be removed in autoconf 3.0.
2152 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2154 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2155 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2158 esac
2159 done
2161 if test -n "$ac_prev"; then
2162 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2163 as_fn_error $? "missing argument to $ac_option"
2166 if test -n "$ac_unrecognized_opts"; then
2167 case $enable_option_checking in
2168 no) ;;
2169 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2170 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2171 esac
2174 # Check all directory arguments for consistency.
2175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2176 datadir sysconfdir sharedstatedir localstatedir includedir \
2177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2178 libdir localedir mandir runstatedir
2180 eval ac_val=\$$ac_var
2181 # Remove trailing slashes.
2182 case $ac_val in
2183 */ )
2184 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2185 eval $ac_var=\$ac_val;;
2186 esac
2187 # Be sure to have absolute directory names.
2188 case $ac_val in
2189 [\\/$]* | ?:[\\/]* ) continue;;
2190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2191 esac
2192 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2193 done
2195 # There might be people who depend on the old broken behavior: `$host'
2196 # used to hold the argument of --host etc.
2197 # FIXME: To remove some day.
2198 build=$build_alias
2199 host=$host_alias
2200 target=$target_alias
2202 # FIXME: To remove some day.
2203 if test "x$host_alias" != x; then
2204 if test "x$build_alias" = x; then
2205 cross_compiling=maybe
2206 elif test "x$build_alias" != "x$host_alias"; then
2207 cross_compiling=yes
2211 ac_tool_prefix=
2212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2214 test "$silent" = yes && exec 6>/dev/null
2217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2218 ac_ls_di=`ls -di .` &&
2219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2220 as_fn_error $? "working directory cannot be determined"
2221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2222 as_fn_error $? "pwd does not report name of working directory"
2225 # Find the source files, if location was not specified.
2226 if test -z "$srcdir"; then
2227 ac_srcdir_defaulted=yes
2228 # Try the directory containing this script, then the parent directory.
2229 ac_confdir=`$as_dirname -- "$as_myself" ||
2230 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2231 X"$as_myself" : 'X\(//\)[^/]' \| \
2232 X"$as_myself" : 'X\(//\)$' \| \
2233 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2234 printf "%s\n" X"$as_myself" |
2235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2236 s//\1/
2239 /^X\(\/\/\)[^/].*/{
2240 s//\1/
2243 /^X\(\/\/\)$/{
2244 s//\1/
2247 /^X\(\/\).*/{
2248 s//\1/
2251 s/.*/./; q'`
2252 srcdir=$ac_confdir
2253 if test ! -r "$srcdir/$ac_unique_file"; then
2254 srcdir=..
2256 else
2257 ac_srcdir_defaulted=no
2259 if test ! -r "$srcdir/$ac_unique_file"; then
2260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2261 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2264 ac_abs_confdir=`(
2265 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2266 pwd)`
2267 # When building in place, set srcdir=.
2268 if test "$ac_abs_confdir" = "$ac_pwd"; then
2269 srcdir=.
2271 # Remove unnecessary trailing slashes from srcdir.
2272 # Double slashes in file names in object file debugging info
2273 # mess up M-x gdb in Emacs.
2274 case $srcdir in
2275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2276 esac
2277 for ac_var in $ac_precious_vars; do
2278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2279 eval ac_env_${ac_var}_value=\$${ac_var}
2280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2282 done
2285 # Report the --help message.
2287 if test "$ac_init_help" = "long"; then
2288 # Omit some internal or obsolete options to make the list less imposing.
2289 # This message is too long to be a string in the A/UX 3.1 sh.
2290 cat <<_ACEOF
2291 \`configure' configures Wine 7.15 to adapt to many kinds of systems.
2293 Usage: $0 [OPTION]... [VAR=VALUE]...
2295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2296 VAR=VALUE. See below for descriptions of some of the useful variables.
2298 Defaults for the options are specified in brackets.
2300 Configuration:
2301 -h, --help display this help and exit
2302 --help=short display options specific to this package
2303 --help=recursive display the short help of all the included packages
2304 -V, --version display version information and exit
2305 -q, --quiet, --silent do not print \`checking ...' messages
2306 --cache-file=FILE cache test results in FILE [disabled]
2307 -C, --config-cache alias for \`--cache-file=config.cache'
2308 -n, --no-create do not create output files
2309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2311 Installation directories:
2312 --prefix=PREFIX install architecture-independent files in PREFIX
2313 [$ac_default_prefix]
2314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2315 [PREFIX]
2317 By default, \`make install' will install all the files in
2318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2320 for instance \`--prefix=\$HOME'.
2322 For better control, use the options below.
2324 Fine tuning of the installation directories:
2325 --bindir=DIR user executables [EPREFIX/bin]
2326 --sbindir=DIR system admin executables [EPREFIX/sbin]
2327 --libexecdir=DIR program executables [EPREFIX/libexec]
2328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2331 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2332 --libdir=DIR object code libraries [EPREFIX/lib]
2333 --includedir=DIR C header files [PREFIX/include]
2334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2337 --infodir=DIR info documentation [DATAROOTDIR/info]
2338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2339 --mandir=DIR man documentation [DATAROOTDIR/man]
2340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2341 --htmldir=DIR html documentation [DOCDIR]
2342 --dvidir=DIR dvi documentation [DOCDIR]
2343 --pdfdir=DIR pdf documentation [DOCDIR]
2344 --psdir=DIR ps documentation [DOCDIR]
2345 _ACEOF
2347 cat <<\_ACEOF
2349 X features:
2350 --x-includes=DIR X include files are in DIR
2351 --x-libraries=DIR X library files are in DIR
2353 System types:
2354 --build=BUILD configure for building on BUILD [guessed]
2355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2356 _ACEOF
2359 if test -n "$ac_init_help"; then
2360 case $ac_init_help in
2361 short | recursive ) echo "Configuration of Wine 7.15:";;
2362 esac
2363 cat <<\_ACEOF
2365 Optional Features:
2366 --disable-option-checking ignore unrecognized --enable/--with options
2367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2369 --disable-win16 do not include Win16 support
2370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2371 binaries)
2372 --disable-tests do not build the regression tests
2373 --enable-build-id include .buildid section in output objects
2374 --enable-maintainer-mode
2375 enable maintainer-specific build rules
2376 --enable-silent-rules use silent build rules (override: "make V=1")
2377 --enable-werror treat compilation warnings as errors
2378 --disable-largefile omit support for large files
2380 Optional Packages:
2381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2383 --without-alsa do not use the Alsa sound support
2384 --without-capi do not use CAPI (ISDN support)
2385 --without-coreaudio do not use the CoreAudio sound support
2386 --without-cups do not use CUPS
2387 --without-dbus do not use DBus (dynamic device support)
2388 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2389 --without-fontconfig do not use fontconfig
2390 --without-freetype do not use the FreeType library
2391 --without-gettext do not use gettext
2392 --with-gettextpo use the GetTextPO library to rebuild po files
2393 --without-gphoto do not use gphoto (Digital Camera support)
2394 --without-gnutls do not use GnuTLS (schannel support)
2395 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2396 --without-gstreamer do not use GStreamer (codecs support)
2397 --without-inotify do not use inotify (filesystem change notifications)
2398 --without-krb5 do not use krb5 (Kerberos)
2399 --without-ldap do not use LDAP
2400 --without-mingw do not use the MinGW cross-compiler
2401 --without-netapi do not use the Samba NetAPI library
2402 --without-openal do not use OpenAL
2403 --without-opencl do not use OpenCL
2404 --without-opengl do not use OpenGL
2405 --without-osmesa do not use the OSMesa library
2406 --without-oss do not use the OSS sound support
2407 --without-pcap do not use the Packet Capture library
2408 --without-pthread do not use the pthread library
2409 --without-pulse do not use PulseAudio sound support
2410 --without-sane do not use SANE (scanner support)
2411 --without-sdl do not use SDL
2412 --without-udev do not use udev (plug and play support)
2413 --without-unwind do not use the libunwind library (exception
2414 handling)
2415 --without-usb do not use the libusb library
2416 --without-v4l2 do not use v4l2 (video capture)
2417 --without-vulkan do not use Vulkan
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xrandr do not use Xrandr (multi-monitor support)
2425 --without-xrender do not use the Xrender extension
2426 --without-xshape do not use the Xshape extension
2427 --without-xshm do not use XShm (shared memory extension)
2428 --without-xxf86vm do not use XFree video mode extension
2429 --with-system-dllpath=PATH
2430 load external PE dependencies from colon-separated
2431 path PATH
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 OBJC Objective C compiler command
2447 OBJCFLAGS Objective C compiler flags
2448 FAUDIO_PE_CFLAGS
2449 C compiler flags for the PE faudio, overriding the bundled
2450 version
2451 FAUDIO_PE_LIBS
2452 Linker flags for the PE faudio, overriding the bundled version
2453 GSM_PE_CFLAGS
2454 C compiler flags for the PE gsm, overriding the bundled version
2455 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2456 JPEG_PE_CFLAGS
2457 C compiler flags for the PE jpeg, overriding the bundled version
2458 JPEG_PE_LIBS
2459 Linker flags for the PE jpeg, overriding the bundled version
2460 JXR_PE_CFLAGS
2461 C compiler flags for the PE jxr, overriding the bundled version
2462 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2463 LCMS2_PE_CFLAGS
2464 C compiler flags for the PE lcms2, overriding the bundled
2465 version
2466 LCMS2_PE_LIBS
2467 Linker flags for the PE lcms2, overriding the bundled version
2468 MPG123_PE_CFLAGS
2469 C compiler flags for the PE mpg123, overriding the bundled
2470 version
2471 MPG123_PE_LIBS
2472 Linker flags for the PE mpg123, overriding the bundled version
2473 PNG_PE_CFLAGS
2474 C compiler flags for the PE png, overriding the bundled version
2475 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2476 TIFF_PE_CFLAGS
2477 C compiler flags for the PE tiff, overriding the bundled version
2478 TIFF_PE_LIBS
2479 Linker flags for the PE tiff, overriding the bundled version
2480 VKD3D_PE_CFLAGS
2481 C compiler flags for the PE vkd3d, overriding the bundled
2482 version
2483 VKD3D_PE_LIBS
2484 Linker flags for the PE vkd3d, overriding the bundled version
2485 XML2_PE_CFLAGS
2486 C compiler flags for the PE xml2, overriding the bundled version
2487 XML2_PE_LIBS
2488 Linker flags for the PE xml2, overriding the bundled version
2489 XSLT_PE_CFLAGS
2490 C compiler flags for the PE xslt, overriding the bundled version
2491 XSLT_PE_LIBS
2492 Linker flags for the PE xslt, overriding the bundled version
2493 ZLIB_PE_CFLAGS
2494 C compiler flags for the PE zlib, overriding the bundled version
2495 ZLIB_PE_LIBS
2496 Linker flags for the PE zlib, overriding the bundled version
2497 XMKMF Path to xmkmf, Makefile generator for X Window System
2498 CPP C preprocessor
2499 INOTIFY_CFLAGS
2500 C compiler flags for libinotify, overriding pkg-config
2501 INOTIFY_LIBS
2502 Linker flags for libinotify, overriding pkg-config
2503 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2504 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2505 GNUTLS_CFLAGS
2506 C compiler flags for gnutls, overriding pkg-config
2507 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2508 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2509 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2510 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2511 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2512 GPHOTO2_CFLAGS
2513 C compiler flags for libgphoto2, overriding pkg-config
2514 GPHOTO2_LIBS
2515 Linker flags for libgphoto2, overriding pkg-config
2516 GPHOTO2_PORT_CFLAGS
2517 C compiler flags for libgphoto2_port, overriding pkg-config
2518 GPHOTO2_PORT_LIBS
2519 Linker flags for libgphoto2_port, overriding pkg-config
2520 FREETYPE_CFLAGS
2521 C compiler flags for freetype2, overriding pkg-config
2522 FREETYPE_LIBS
2523 Linker flags for freetype2, overriding pkg-config
2524 PULSE_CFLAGS
2525 C compiler flags for libpulse, overriding pkg-config
2526 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2527 GSTREAMER_CFLAGS
2528 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2529 gstreamer-audio-1.0, overriding pkg-config
2530 GSTREAMER_LIBS
2531 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2532 gstreamer-audio-1.0, overriding pkg-config
2533 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2534 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2535 UNWIND_CFLAGS
2536 C compiler flags for libunwind, overriding pkg-config
2537 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2538 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2539 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2540 CAPI20_CFLAGS
2541 C compiler flags for capi20, overriding pkg-config
2542 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2543 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2544 CUPS_LIBS Linker flags for cups, overriding pkg-config
2545 FONTCONFIG_CFLAGS
2546 C compiler flags for fontconfig, overriding pkg-config
2547 FONTCONFIG_LIBS
2548 Linker flags for fontconfig, overriding pkg-config
2549 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2550 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2551 GSSAPI_CFLAGS
2552 C compiler flags for krb5-gssapi, overriding pkg-config
2553 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2554 NETAPI_CFLAGS
2555 C compiler flags for netapi, overriding pkg-config
2556 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2557 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2558 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2560 Use these variables to override the choices made by `configure' or to help
2561 it to find libraries and programs with nonstandard names/locations.
2563 Report bugs to <wine-devel@winehq.org>.
2564 Wine home page: <https://www.winehq.org>.
2565 _ACEOF
2566 ac_status=$?
2569 if test "$ac_init_help" = "recursive"; then
2570 # If there are subdirs, report their specific --help.
2571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2572 test -d "$ac_dir" ||
2573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2574 continue
2575 ac_builddir=.
2577 case "$ac_dir" in
2578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2580 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2581 # A ".." for each directory in $ac_dir_suffix.
2582 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2583 case $ac_top_builddir_sub in
2584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2586 esac ;;
2587 esac
2588 ac_abs_top_builddir=$ac_pwd
2589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2590 # for backward compatibility:
2591 ac_top_builddir=$ac_top_build_prefix
2593 case $srcdir in
2594 .) # We are building in place.
2595 ac_srcdir=.
2596 ac_top_srcdir=$ac_top_builddir_sub
2597 ac_abs_top_srcdir=$ac_pwd ;;
2598 [\\/]* | ?:[\\/]* ) # Absolute name.
2599 ac_srcdir=$srcdir$ac_dir_suffix;
2600 ac_top_srcdir=$srcdir
2601 ac_abs_top_srcdir=$srcdir ;;
2602 *) # Relative name.
2603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2604 ac_top_srcdir=$ac_top_build_prefix$srcdir
2605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2606 esac
2607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2609 cd "$ac_dir" || { ac_status=$?; continue; }
2610 # Check for configure.gnu first; this name is used for a wrapper for
2611 # Metaconfig's "Configure" on case-insensitive file systems.
2612 if test -f "$ac_srcdir/configure.gnu"; then
2613 echo &&
2614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2615 elif test -f "$ac_srcdir/configure"; then
2616 echo &&
2617 $SHELL "$ac_srcdir/configure" --help=recursive
2618 else
2619 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2620 fi || ac_status=$?
2621 cd "$ac_pwd" || { ac_status=$?; break; }
2622 done
2625 test -n "$ac_init_help" && exit $ac_status
2626 if $ac_init_version; then
2627 cat <<\_ACEOF
2628 Wine configure 7.15
2629 generated by GNU Autoconf 2.71
2631 Copyright (C) 2021 Free Software Foundation, Inc.
2632 This configure script is free software; the Free Software Foundation
2633 gives unlimited permission to copy, distribute and modify it.
2634 _ACEOF
2635 exit
2638 ## ------------------------ ##
2639 ## Autoconf initialization. ##
2640 ## ------------------------ ##
2642 # ac_fn_c_try_compile LINENO
2643 # --------------------------
2644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_compile ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 rm -f conftest.$ac_objext conftest.beam
2649 if { { ac_try="$ac_compile"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 printf "%s\n" "$ac_try_echo"; } >&5
2656 (eval "$ac_compile") 2>conftest.err
2657 ac_status=$?
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext
2668 then :
2669 ac_retval=0
2670 else $as_nop
2671 printf "%s\n" "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2674 ac_retval=1
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 as_fn_set_status $ac_retval
2679 } # ac_fn_c_try_compile
2681 # ac_fn_cxx_try_compile LINENO
2682 # ----------------------------
2683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2684 ac_fn_cxx_try_compile ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 rm -f conftest.$ac_objext conftest.beam
2688 if { { ac_try="$ac_compile"
2689 case "(($ac_try" in
2690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691 *) ac_try_echo=$ac_try;;
2692 esac
2693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694 printf "%s\n" "$ac_try_echo"; } >&5
2695 (eval "$ac_compile") 2>conftest.err
2696 ac_status=$?
2697 if test -s conftest.err; then
2698 grep -v '^ *+' conftest.err >conftest.er1
2699 cat conftest.er1 >&5
2700 mv -f conftest.er1 conftest.err
2702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2703 test $ac_status = 0; } && {
2704 test -z "$ac_cxx_werror_flag" ||
2705 test ! -s conftest.err
2706 } && test -s conftest.$ac_objext
2707 then :
2708 ac_retval=0
2709 else $as_nop
2710 printf "%s\n" "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_retval=1
2715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 as_fn_set_status $ac_retval
2718 } # ac_fn_cxx_try_compile
2720 # ac_fn_c_try_link LINENO
2721 # -----------------------
2722 # Try to link conftest.$ac_ext, and return whether this succeeded.
2723 ac_fn_c_try_link ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2727 if { { ac_try="$ac_link"
2728 case "(($ac_try" in
2729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2730 *) ac_try_echo=$ac_try;;
2731 esac
2732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2733 printf "%s\n" "$ac_try_echo"; } >&5
2734 (eval "$ac_link") 2>conftest.err
2735 ac_status=$?
2736 if test -s conftest.err; then
2737 grep -v '^ *+' conftest.err >conftest.er1
2738 cat conftest.er1 >&5
2739 mv -f conftest.er1 conftest.err
2741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2742 test $ac_status = 0; } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest$ac_exeext && {
2746 test "$cross_compiling" = yes ||
2747 test -x conftest$ac_exeext
2749 then :
2750 ac_retval=0
2751 else $as_nop
2752 printf "%s\n" "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 ac_retval=1
2757 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2758 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2759 # interfere with the next link command; also delete a directory that is
2760 # left behind by Apple's compiler. We do this before executing the actions.
2761 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_link
2767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2768 # -------------------------------------------------------
2769 # Tests whether HEADER exists and can be compiled using the include files in
2770 # INCLUDES, setting the cache variable VAR accordingly.
2771 ac_fn_c_check_header_compile ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 printf %s "checking for $2... " >&6; }
2776 if eval test \${$3+y}
2777 then :
2778 printf %s "(cached) " >&6
2779 else $as_nop
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2783 #include <$2>
2784 _ACEOF
2785 if ac_fn_c_try_compile "$LINENO"
2786 then :
2787 eval "$3=yes"
2788 else $as_nop
2789 eval "$3=no"
2791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2793 eval ac_res=\$$3
2794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2795 printf "%s\n" "$ac_res" >&6; }
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 } # ac_fn_c_check_header_compile
2800 # ac_fn_objc_try_compile LINENO
2801 # -----------------------------
2802 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2803 ac_fn_objc_try_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 rm -f conftest.$ac_objext conftest.beam
2807 if { { ac_try="$ac_compile"
2808 case "(($ac_try" in
2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2811 esac
2812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2813 printf "%s\n" "$ac_try_echo"; } >&5
2814 (eval "$ac_compile") 2>conftest.err
2815 ac_status=$?
2816 if test -s conftest.err; then
2817 grep -v '^ *+' conftest.err >conftest.er1
2818 cat conftest.er1 >&5
2819 mv -f conftest.er1 conftest.err
2821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2822 test $ac_status = 0; } && {
2823 test -z "$ac_objc_werror_flag" ||
2824 test ! -s conftest.err
2825 } && test -s conftest.$ac_objext
2826 then :
2827 ac_retval=0
2828 else $as_nop
2829 printf "%s\n" "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.$ac_ext >&5
2832 ac_retval=1
2834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2835 as_fn_set_status $ac_retval
2837 } # ac_fn_objc_try_compile
2839 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2840 # ----------------------------------------------------------
2841 # Tests whether HEADER exists and can be compiled using the include files in
2842 # INCLUDES, setting the cache variable VAR accordingly.
2843 ac_fn_objc_check_header_compile ()
2845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 printf %s "checking for $2... " >&6; }
2848 if eval test \${$3+y}
2849 then :
2850 printf %s "(cached) " >&6
2851 else $as_nop
2852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2853 /* end confdefs.h. */
2855 #include <$2>
2856 _ACEOF
2857 if ac_fn_objc_try_compile "$LINENO"
2858 then :
2859 eval "$3=yes"
2860 else $as_nop
2861 eval "$3=no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2865 eval ac_res=\$$3
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 printf "%s\n" "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_objc_check_header_compile
2872 # ac_fn_c_check_func LINENO FUNC VAR
2873 # ----------------------------------
2874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2875 ac_fn_c_check_func ()
2877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2879 printf %s "checking for $2... " >&6; }
2880 if eval test \${$3+y}
2881 then :
2882 printf %s "(cached) " >&6
2883 else $as_nop
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2888 #define $2 innocuous_$2
2890 /* System header to define __stub macros and hopefully few prototypes,
2891 which can conflict with char $2 (); below. */
2893 #include <limits.h>
2894 #undef $2
2896 /* Override any GCC internal prototype to avoid an error.
2897 Use char because int might match the return type of a GCC
2898 builtin and then its argument prototype would still apply. */
2899 #ifdef __cplusplus
2900 extern "C"
2901 #endif
2902 char $2 ();
2903 /* The GNU C library defines this for functions which it implements
2904 to always fail with ENOSYS. Some functions are actually named
2905 something starting with __ and the normal name is an alias. */
2906 #if defined __stub_$2 || defined __stub___$2
2907 choke me
2908 #endif
2911 main (void)
2913 return $2 ();
2915 return 0;
2917 _ACEOF
2918 if ac_fn_c_try_link "$LINENO"
2919 then :
2920 eval "$3=yes"
2921 else $as_nop
2922 eval "$3=no"
2924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2925 conftest$ac_exeext conftest.$ac_ext
2927 eval ac_res=\$$3
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2929 printf "%s\n" "$ac_res" >&6; }
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 } # ac_fn_c_check_func
2934 # ac_fn_c_try_cpp LINENO
2935 # ----------------------
2936 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2937 ac_fn_c_try_cpp ()
2939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2940 if { { ac_try="$ac_cpp conftest.$ac_ext"
2941 case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2946 printf "%s\n" "$ac_try_echo"; } >&5
2947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2948 ac_status=$?
2949 if test -s conftest.err; then
2950 grep -v '^ *+' conftest.err >conftest.er1
2951 cat conftest.er1 >&5
2952 mv -f conftest.er1 conftest.err
2954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; } > conftest.i && {
2956 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2957 test ! -s conftest.err
2959 then :
2960 ac_retval=0
2961 else $as_nop
2962 printf "%s\n" "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 ac_retval=1
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2970 } # ac_fn_c_try_cpp
2972 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2973 # ----------------------------------------------------
2974 # Tries to find if the field MEMBER exists in type AGGR, after including
2975 # INCLUDES, setting cache variable VAR accordingly.
2976 ac_fn_c_check_member ()
2978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2980 printf %s "checking for $2.$3... " >&6; }
2981 if eval test \${$4+y}
2982 then :
2983 printf %s "(cached) " >&6
2984 else $as_nop
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2989 main (void)
2991 static $2 ac_aggr;
2992 if (ac_aggr.$3)
2993 return 0;
2995 return 0;
2997 _ACEOF
2998 if ac_fn_c_try_compile "$LINENO"
2999 then :
3000 eval "$4=yes"
3001 else $as_nop
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main (void)
3008 static $2 ac_aggr;
3009 if (sizeof ac_aggr.$3)
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"
3016 then :
3017 eval "$4=yes"
3018 else $as_nop
3019 eval "$4=no"
3021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 eval ac_res=\$$4
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_member
3032 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3033 # -------------------------------------------
3034 # Tests whether TYPE exists after having included INCLUDES, setting cache
3035 # variable VAR accordingly.
3036 ac_fn_c_check_type ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3040 printf %s "checking for $2... " >&6; }
3041 if eval test \${$3+y}
3042 then :
3043 printf %s "(cached) " >&6
3044 else $as_nop
3045 eval "$3=no"
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3050 main (void)
3052 if (sizeof ($2))
3053 return 0;
3055 return 0;
3057 _ACEOF
3058 if ac_fn_c_try_compile "$LINENO"
3059 then :
3060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061 /* end confdefs.h. */
3064 main (void)
3066 if (sizeof (($2)))
3067 return 0;
3069 return 0;
3071 _ACEOF
3072 if ac_fn_c_try_compile "$LINENO"
3073 then :
3075 else $as_nop
3076 eval "$3=yes"
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 eval ac_res=\$$3
3083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 printf "%s\n" "$ac_res" >&6; }
3085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3087 } # ac_fn_c_check_type
3088 ac_configure_args_raw=
3089 for ac_arg
3091 case $ac_arg in
3092 *\'*)
3093 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3094 esac
3095 as_fn_append ac_configure_args_raw " '$ac_arg'"
3096 done
3098 case $ac_configure_args_raw in
3099 *$as_nl*)
3100 ac_safe_unquote= ;;
3102 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3103 ac_unsafe_a="$ac_unsafe_z#~"
3104 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3105 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3106 esac
3108 cat >config.log <<_ACEOF
3109 This file contains any messages produced by compilers while
3110 running configure, to aid debugging if configure makes a mistake.
3112 It was created by Wine $as_me 7.15, which was
3113 generated by GNU Autoconf 2.71. Invocation command line was
3115 $ $0$ac_configure_args_raw
3117 _ACEOF
3118 exec 5>>config.log
3120 cat <<_ASUNAME
3121 ## --------- ##
3122 ## Platform. ##
3123 ## --------- ##
3125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3142 _ASUNAME
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 for as_dir in $PATH
3147 IFS=$as_save_IFS
3148 case $as_dir in #(((
3149 '') as_dir=./ ;;
3150 */) ;;
3151 *) as_dir=$as_dir/ ;;
3152 esac
3153 printf "%s\n" "PATH: $as_dir"
3154 done
3155 IFS=$as_save_IFS
3157 } >&5
3159 cat >&5 <<_ACEOF
3162 ## ----------- ##
3163 ## Core tests. ##
3164 ## ----------- ##
3166 _ACEOF
3169 # Keep a trace of the command line.
3170 # Strip out --no-create and --no-recursion so they do not pile up.
3171 # Strip out --silent because we don't want to record it for future runs.
3172 # Also quote any args containing shell meta-characters.
3173 # Make two passes to allow for proper duplicate-argument suppression.
3174 ac_configure_args=
3175 ac_configure_args0=
3176 ac_configure_args1=
3177 ac_must_keep_next=false
3178 for ac_pass in 1 2
3180 for ac_arg
3182 case $ac_arg in
3183 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3185 | -silent | --silent | --silen | --sile | --sil)
3186 continue ;;
3187 *\'*)
3188 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3189 esac
3190 case $ac_pass in
3191 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3193 as_fn_append ac_configure_args1 " '$ac_arg'"
3194 if test $ac_must_keep_next = true; then
3195 ac_must_keep_next=false # Got value, back to normal.
3196 else
3197 case $ac_arg in
3198 *=* | --config-cache | -C | -disable-* | --disable-* \
3199 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3200 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3201 | -with-* | --with-* | -without-* | --without-* | --x)
3202 case "$ac_configure_args0 " in
3203 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3204 esac
3206 -* ) ac_must_keep_next=true ;;
3207 esac
3209 as_fn_append ac_configure_args " '$ac_arg'"
3211 esac
3212 done
3213 done
3214 { ac_configure_args0=; unset ac_configure_args0;}
3215 { ac_configure_args1=; unset ac_configure_args1;}
3217 # When interrupted or exit'd, cleanup temporary files, and complete
3218 # config.log. We remove comments because anyway the quotes in there
3219 # would cause problems or look ugly.
3220 # WARNING: Use '\'' to represent an apostrophe within the trap.
3221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3222 trap 'exit_status=$?
3223 # Sanitize IFS.
3224 IFS=" "" $as_nl"
3225 # Save into config.log some information that might help in debugging.
3227 echo
3229 printf "%s\n" "## ---------------- ##
3230 ## Cache variables. ##
3231 ## ---------------- ##"
3232 echo
3233 # The following way of writing the cache mishandles newlines in values,
3235 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3236 eval ac_val=\$$ac_var
3237 case $ac_val in #(
3238 *${as_nl}*)
3239 case $ac_var in #(
3240 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3241 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3242 esac
3243 case $ac_var in #(
3244 _ | IFS | as_nl) ;; #(
3245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3246 *) { eval $ac_var=; unset $ac_var;} ;;
3247 esac ;;
3248 esac
3249 done
3250 (set) 2>&1 |
3251 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3252 *${as_nl}ac_space=\ *)
3253 sed -n \
3254 "s/'\''/'\''\\\\'\'''\''/g;
3255 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3256 ;; #(
3258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3260 esac |
3261 sort
3263 echo
3265 printf "%s\n" "## ----------------- ##
3266 ## Output variables. ##
3267 ## ----------------- ##"
3268 echo
3269 for ac_var in $ac_subst_vars
3271 eval ac_val=\$$ac_var
3272 case $ac_val in
3273 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3274 esac
3275 printf "%s\n" "$ac_var='\''$ac_val'\''"
3276 done | sort
3277 echo
3279 if test -n "$ac_subst_files"; then
3280 printf "%s\n" "## ------------------- ##
3281 ## File substitutions. ##
3282 ## ------------------- ##"
3283 echo
3284 for ac_var in $ac_subst_files
3286 eval ac_val=\$$ac_var
3287 case $ac_val in
3288 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3289 esac
3290 printf "%s\n" "$ac_var='\''$ac_val'\''"
3291 done | sort
3292 echo
3295 if test -s confdefs.h; then
3296 printf "%s\n" "## ----------- ##
3297 ## confdefs.h. ##
3298 ## ----------- ##"
3299 echo
3300 cat confdefs.h
3301 echo
3303 test "$ac_signal" != 0 &&
3304 printf "%s\n" "$as_me: caught signal $ac_signal"
3305 printf "%s\n" "$as_me: exit $exit_status"
3306 } >&5
3307 rm -f core *.core core.conftest.* &&
3308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3309 exit $exit_status
3311 for ac_signal in 1 2 13 15; do
3312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3313 done
3314 ac_signal=0
3316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3317 rm -f -r conftest* confdefs.h
3319 printf "%s\n" "/* confdefs.h */" > confdefs.h
3321 # Predefined preprocessor variables.
3323 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3336 # Let the site file select an alternate cache file if it wants to.
3337 # Prefer an explicitly selected file to automatically selected ones.
3338 if test -n "$CONFIG_SITE"; then
3339 ac_site_files="$CONFIG_SITE"
3340 elif test "x$prefix" != xNONE; then
3341 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3342 else
3343 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3346 for ac_site_file in $ac_site_files
3348 case $ac_site_file in #(
3349 */*) :
3350 ;; #(
3351 *) :
3352 ac_site_file=./$ac_site_file ;;
3353 esac
3354 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3356 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3357 sed 's/^/| /' "$ac_site_file" >&5
3358 . "$ac_site_file" \
3359 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3360 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3361 as_fn_error $? "failed to load site script $ac_site_file
3362 See \`config.log' for more details" "$LINENO" 5; }
3364 done
3366 if test -r "$cache_file"; then
3367 # Some versions of bash will fail to source /dev/null (special files
3368 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3369 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3371 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3372 case $cache_file in
3373 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3374 *) . "./$cache_file";;
3375 esac
3377 else
3378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3379 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3380 >$cache_file
3383 # Test code for whether the C compiler supports C89 (global declarations)
3384 ac_c_conftest_c89_globals='
3385 /* Does the compiler advertise C89 conformance?
3386 Do not test the value of __STDC__, because some compilers set it to 0
3387 while being otherwise adequately conformant. */
3388 #if !defined __STDC__
3389 # error "Compiler does not advertise C89 conformance"
3390 #endif
3392 #include <stddef.h>
3393 #include <stdarg.h>
3394 struct stat;
3395 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3396 struct buf { int x; };
3397 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3398 static char *e (p, i)
3399 char **p;
3400 int i;
3402 return p[i];
3404 static char *f (char * (*g) (char **, int), char **p, ...)
3406 char *s;
3407 va_list v;
3408 va_start (v,p);
3409 s = g (p, va_arg (v,int));
3410 va_end (v);
3411 return s;
3414 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3415 function prototypes and stuff, but not \xHH hex character constants.
3416 These do not provoke an error unfortunately, instead are silently treated
3417 as an "x". The following induces an error, until -std is added to get
3418 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3419 array size at least. It is necessary to write \x00 == 0 to get something
3420 that is true only with -std. */
3421 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3423 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3424 inside strings and character constants. */
3425 #define FOO(x) '\''x'\''
3426 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3428 int test (int i, double x);
3429 struct s1 {int (*f) (int a);};
3430 struct s2 {int (*f) (double a);};
3431 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3432 int, int);'
3434 # Test code for whether the C compiler supports C89 (body of main).
3435 ac_c_conftest_c89_main='
3436 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3439 # Test code for whether the C compiler supports C99 (global declarations)
3440 ac_c_conftest_c99_globals='
3441 // Does the compiler advertise C99 conformance?
3442 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3443 # error "Compiler does not advertise C99 conformance"
3444 #endif
3446 #include <stdbool.h>
3447 extern int puts (const char *);
3448 extern int printf (const char *, ...);
3449 extern int dprintf (int, const char *, ...);
3450 extern void *malloc (size_t);
3452 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3453 // dprintf is used instead of fprintf to avoid needing to declare
3454 // FILE and stderr.
3455 #define debug(...) dprintf (2, __VA_ARGS__)
3456 #define showlist(...) puts (#__VA_ARGS__)
3457 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3458 static void
3459 test_varargs_macros (void)
3461 int x = 1234;
3462 int y = 5678;
3463 debug ("Flag");
3464 debug ("X = %d\n", x);
3465 showlist (The first, second, and third items.);
3466 report (x>y, "x is %d but y is %d", x, y);
3469 // Check long long types.
3470 #define BIG64 18446744073709551615ull
3471 #define BIG32 4294967295ul
3472 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3473 #if !BIG_OK
3474 #error "your preprocessor is broken"
3475 #endif
3476 #if BIG_OK
3477 #else
3478 #error "your preprocessor is broken"
3479 #endif
3480 static long long int bignum = -9223372036854775807LL;
3481 static unsigned long long int ubignum = BIG64;
3483 struct incomplete_array
3485 int datasize;
3486 double data[];
3489 struct named_init {
3490 int number;
3491 const wchar_t *name;
3492 double average;
3495 typedef const char *ccp;
3497 static inline int
3498 test_restrict (ccp restrict text)
3500 // See if C++-style comments work.
3501 // Iterate through items via the restricted pointer.
3502 // Also check for declarations in for loops.
3503 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3504 continue;
3505 return 0;
3508 // Check varargs and va_copy.
3509 static bool
3510 test_varargs (const char *format, ...)
3512 va_list args;
3513 va_start (args, format);
3514 va_list args_copy;
3515 va_copy (args_copy, args);
3517 const char *str = "";
3518 int number = 0;
3519 float fnumber = 0;
3521 while (*format)
3523 switch (*format++)
3525 case '\''s'\'': // string
3526 str = va_arg (args_copy, const char *);
3527 break;
3528 case '\''d'\'': // int
3529 number = va_arg (args_copy, int);
3530 break;
3531 case '\''f'\'': // float
3532 fnumber = va_arg (args_copy, double);
3533 break;
3534 default:
3535 break;
3538 va_end (args_copy);
3539 va_end (args);
3541 return *str && number && fnumber;
3545 # Test code for whether the C compiler supports C99 (body of main).
3546 ac_c_conftest_c99_main='
3547 // Check bool.
3548 _Bool success = false;
3549 success |= (argc != 0);
3551 // Check restrict.
3552 if (test_restrict ("String literal") == 0)
3553 success = true;
3554 char *restrict newvar = "Another string";
3556 // Check varargs.
3557 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3558 test_varargs_macros ();
3560 // Check flexible array members.
3561 struct incomplete_array *ia =
3562 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3563 ia->datasize = 10;
3564 for (int i = 0; i < ia->datasize; ++i)
3565 ia->data[i] = i * 1.234;
3567 // Check named initializers.
3568 struct named_init ni = {
3569 .number = 34,
3570 .name = L"Test wide string",
3571 .average = 543.34343,
3574 ni.number = 58;
3576 int dynamic_array[ni.number];
3577 dynamic_array[0] = argv[0][0];
3578 dynamic_array[ni.number - 1] = 543;
3580 // work around unused variable warnings
3581 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3582 || dynamic_array[ni.number - 1] != 543);
3585 # Test code for whether the C compiler supports C11 (global declarations)
3586 ac_c_conftest_c11_globals='
3587 // Does the compiler advertise C11 conformance?
3588 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3589 # error "Compiler does not advertise C11 conformance"
3590 #endif
3592 // Check _Alignas.
3593 char _Alignas (double) aligned_as_double;
3594 char _Alignas (0) no_special_alignment;
3595 extern char aligned_as_int;
3596 char _Alignas (0) _Alignas (int) aligned_as_int;
3598 // Check _Alignof.
3599 enum
3601 int_alignment = _Alignof (int),
3602 int_array_alignment = _Alignof (int[100]),
3603 char_alignment = _Alignof (char)
3605 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3607 // Check _Noreturn.
3608 int _Noreturn does_not_return (void) { for (;;) continue; }
3610 // Check _Static_assert.
3611 struct test_static_assert
3613 int x;
3614 _Static_assert (sizeof (int) <= sizeof (long int),
3615 "_Static_assert does not work in struct");
3616 long int y;
3619 // Check UTF-8 literals.
3620 #define u8 syntax error!
3621 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3623 // Check duplicate typedefs.
3624 typedef long *long_ptr;
3625 typedef long int *long_ptr;
3626 typedef long_ptr long_ptr;
3628 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3629 struct anonymous
3631 union {
3632 struct { int i; int j; };
3633 struct { int k; long int l; } w;
3635 int m;
3636 } v1;
3639 # Test code for whether the C compiler supports C11 (body of main).
3640 ac_c_conftest_c11_main='
3641 _Static_assert ((offsetof (struct anonymous, i)
3642 == offsetof (struct anonymous, w.k)),
3643 "Anonymous union alignment botch");
3644 v1.i = 2;
3645 v1.w.k = 5;
3646 ok |= v1.i != 5;
3649 # Test code for whether the C compiler supports C11 (complete).
3650 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3651 ${ac_c_conftest_c99_globals}
3652 ${ac_c_conftest_c11_globals}
3655 main (int argc, char **argv)
3657 int ok = 0;
3658 ${ac_c_conftest_c89_main}
3659 ${ac_c_conftest_c99_main}
3660 ${ac_c_conftest_c11_main}
3661 return ok;
3665 # Test code for whether the C compiler supports C99 (complete).
3666 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3667 ${ac_c_conftest_c99_globals}
3670 main (int argc, char **argv)
3672 int ok = 0;
3673 ${ac_c_conftest_c89_main}
3674 ${ac_c_conftest_c99_main}
3675 return ok;
3679 # Test code for whether the C compiler supports C89 (complete).
3680 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3683 main (int argc, char **argv)
3685 int ok = 0;
3686 ${ac_c_conftest_c89_main}
3687 return ok;
3691 # Test code for whether the C++ compiler supports C++98 (global declarations)
3692 ac_cxx_conftest_cxx98_globals='
3693 // Does the compiler advertise C++98 conformance?
3694 #if !defined __cplusplus || __cplusplus < 199711L
3695 # error "Compiler does not advertise C++98 conformance"
3696 #endif
3698 // These inclusions are to reject old compilers that
3699 // lack the unsuffixed header files.
3700 #include <cstdlib>
3701 #include <exception>
3703 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3704 extern void assert (int);
3705 namespace std {
3706 extern int strcmp (const char *, const char *);
3709 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3710 using std::exception;
3711 using std::strcmp;
3713 namespace {
3715 void test_exception_syntax()
3717 try {
3718 throw "test";
3719 } catch (const char *s) {
3720 // Extra parentheses suppress a warning when building autoconf itself,
3721 // due to lint rules shared with more typical C programs.
3722 assert (!(strcmp) (s, "test"));
3726 template <typename T> struct test_template
3728 T const val;
3729 explicit test_template(T t) : val(t) {}
3730 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3733 } // anonymous namespace
3736 # Test code for whether the C++ compiler supports C++98 (body of main)
3737 ac_cxx_conftest_cxx98_main='
3738 assert (argc);
3739 assert (! argv[0]);
3741 test_exception_syntax ();
3742 test_template<double> tt (2.0);
3743 assert (tt.add (4) == 6.0);
3744 assert (true && !false);
3748 # Test code for whether the C++ compiler supports C++11 (global declarations)
3749 ac_cxx_conftest_cxx11_globals='
3750 // Does the compiler advertise C++ 2011 conformance?
3751 #if !defined __cplusplus || __cplusplus < 201103L
3752 # error "Compiler does not advertise C++11 conformance"
3753 #endif
3755 namespace cxx11test
3757 constexpr int get_val() { return 20; }
3759 struct testinit
3761 int i;
3762 double d;
3765 class delegate
3767 public:
3768 delegate(int n) : n(n) {}
3769 delegate(): delegate(2354) {}
3771 virtual int getval() { return this->n; };
3772 protected:
3773 int n;
3776 class overridden : public delegate
3778 public:
3779 overridden(int n): delegate(n) {}
3780 virtual int getval() override final { return this->n * 2; }
3783 class nocopy
3785 public:
3786 nocopy(int i): i(i) {}
3787 nocopy() = default;
3788 nocopy(const nocopy&) = delete;
3789 nocopy & operator=(const nocopy&) = delete;
3790 private:
3791 int i;
3794 // for testing lambda expressions
3795 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3797 return f(v);
3800 // for testing variadic templates and trailing return types
3801 template <typename V> auto sum(V first) -> V
3803 return first;
3805 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3807 return first + sum(rest...);
3812 # Test code for whether the C++ compiler supports C++11 (body of main)
3813 ac_cxx_conftest_cxx11_main='
3815 // Test auto and decltype
3816 auto a1 = 6538;
3817 auto a2 = 48573953.4;
3818 auto a3 = "String literal";
3820 int total = 0;
3821 for (auto i = a3; *i; ++i) { total += *i; }
3823 decltype(a2) a4 = 34895.034;
3826 // Test constexpr
3827 short sa[cxx11test::get_val()] = { 0 };
3830 // Test initializer lists
3831 cxx11test::testinit il = { 4323, 435234.23544 };
3834 // Test range-based for
3835 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3836 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3837 for (auto &x : array) { x += 23; }
3840 // Test lambda expressions
3841 using cxx11test::eval;
3842 assert (eval ([](int x) { return x*2; }, 21) == 42);
3843 double d = 2.0;
3844 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3845 assert (d == 5.0);
3846 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3847 assert (d == 5.0);
3850 // Test use of variadic templates
3851 using cxx11test::sum;
3852 auto a = sum(1);
3853 auto b = sum(1, 2);
3854 auto c = sum(1.0, 2.0, 3.0);
3857 // Test constructor delegation
3858 cxx11test::delegate d1;
3859 cxx11test::delegate d2();
3860 cxx11test::delegate d3(45);
3863 // Test override and final
3864 cxx11test::overridden o1(55464);
3867 // Test nullptr
3868 char *c = nullptr;
3871 // Test template brackets
3872 test_template<::test_template<int>> v(test_template<int>(12));
3875 // Unicode literals
3876 char const *utf8 = u8"UTF-8 string \u2500";
3877 char16_t const *utf16 = u"UTF-8 string \u2500";
3878 char32_t const *utf32 = U"UTF-32 string \u2500";
3882 # Test code for whether the C compiler supports C++11 (complete).
3883 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3884 ${ac_cxx_conftest_cxx11_globals}
3887 main (int argc, char **argv)
3889 int ok = 0;
3890 ${ac_cxx_conftest_cxx98_main}
3891 ${ac_cxx_conftest_cxx11_main}
3892 return ok;
3896 # Test code for whether the C compiler supports C++98 (complete).
3897 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3899 main (int argc, char **argv)
3901 int ok = 0;
3902 ${ac_cxx_conftest_cxx98_main}
3903 return ok;
3907 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3908 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3909 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3910 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3911 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3912 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3913 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3914 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3915 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3917 # Auxiliary files required by this configure script.
3918 ac_aux_files="config.guess config.sub"
3920 # Locations in which to look for auxiliary files.
3921 ac_aux_dir_candidates="${srcdir}/tools"
3923 # Search for a directory containing all of the required auxiliary files,
3924 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3925 # If we don't find one directory that contains all the files we need,
3926 # we report the set of missing files from the *first* directory in
3927 # $ac_aux_dir_candidates and give up.
3928 ac_missing_aux_files=""
3929 ac_first_candidate=:
3930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 as_found=false
3933 for as_dir in $ac_aux_dir_candidates
3935 IFS=$as_save_IFS
3936 case $as_dir in #(((
3937 '') as_dir=./ ;;
3938 */) ;;
3939 *) as_dir=$as_dir/ ;;
3940 esac
3941 as_found=:
3943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3944 ac_aux_dir_found=yes
3945 ac_install_sh=
3946 for ac_aux in $ac_aux_files
3948 # As a special case, if "install-sh" is required, that requirement
3949 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3950 # and $ac_install_sh is set appropriately for whichever one is found.
3951 if test x"$ac_aux" = x"install-sh"
3952 then
3953 if test -f "${as_dir}install-sh"; then
3954 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3955 ac_install_sh="${as_dir}install-sh -c"
3956 elif test -f "${as_dir}install.sh"; then
3957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3958 ac_install_sh="${as_dir}install.sh -c"
3959 elif test -f "${as_dir}shtool"; then
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3961 ac_install_sh="${as_dir}shtool install -c"
3962 else
3963 ac_aux_dir_found=no
3964 if $ac_first_candidate; then
3965 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3966 else
3967 break
3970 else
3971 if test -f "${as_dir}${ac_aux}"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3973 else
3974 ac_aux_dir_found=no
3975 if $ac_first_candidate; then
3976 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3977 else
3978 break
3982 done
3983 if test "$ac_aux_dir_found" = yes; then
3984 ac_aux_dir="$as_dir"
3985 break
3987 ac_first_candidate=false
3989 as_found=false
3990 done
3991 IFS=$as_save_IFS
3992 if $as_found
3993 then :
3995 else $as_nop
3996 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4000 # These three variables are undocumented and unsupported,
4001 # and are intended to be withdrawn in a future Autoconf release.
4002 # They can cause serious problems if a builder's source tree is in a directory
4003 # whose full name contains unusual characters.
4004 if test -f "${ac_aux_dir}config.guess"; then
4005 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4007 if test -f "${ac_aux_dir}config.sub"; then
4008 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4010 if test -f "$ac_aux_dir/configure"; then
4011 ac_configure="$SHELL ${ac_aux_dir}configure"
4014 # Check that the precious variables saved in the cache have kept the same
4015 # value.
4016 ac_cache_corrupted=false
4017 for ac_var in $ac_precious_vars; do
4018 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4019 eval ac_new_set=\$ac_env_${ac_var}_set
4020 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4021 eval ac_new_val=\$ac_env_${ac_var}_value
4022 case $ac_old_set,$ac_new_set in
4023 set,)
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4025 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4026 ac_cache_corrupted=: ;;
4027 ,set)
4028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4029 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4030 ac_cache_corrupted=: ;;
4031 ,);;
4033 if test "x$ac_old_val" != "x$ac_new_val"; then
4034 # differences in whitespace do not lead to failure.
4035 ac_old_val_w=`echo x $ac_old_val`
4036 ac_new_val_w=`echo x $ac_new_val`
4037 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4039 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4040 ac_cache_corrupted=:
4041 else
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4043 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4044 eval $ac_var=\$ac_old_val
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4047 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4049 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4050 fi;;
4051 esac
4052 # Pass precious variables to config.status.
4053 if test "$ac_new_set" = set; then
4054 case $ac_new_val in
4055 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4056 *) ac_arg=$ac_var=$ac_new_val ;;
4057 esac
4058 case " $ac_configure_args " in
4059 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4060 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4061 esac
4063 done
4064 if $ac_cache_corrupted; then
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4068 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4069 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4070 and start over" "$LINENO" 5
4072 ## -------------------- ##
4073 ## Main body of script. ##
4074 ## -------------------- ##
4076 ac_ext=c
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 ac_config_headers="$ac_config_headers include/config.h"
4088 libwine_version="1.0"
4091 # Check whether --enable-win16 was given.
4092 if test ${enable_win16+y}
4093 then :
4094 enableval=$enable_win16;
4097 # Check whether --enable-win64 was given.
4098 if test ${enable_win64+y}
4099 then :
4100 enableval=$enable_win64;
4103 # Check whether --enable-tests was given.
4104 if test ${enable_tests+y}
4105 then :
4106 enableval=$enable_tests;
4109 # Check whether --enable-build-id was given.
4110 if test ${enable_build_id+y}
4111 then :
4112 enableval=$enable_build_id;
4115 # Check whether --enable-maintainer-mode was given.
4116 if test ${enable_maintainer_mode+y}
4117 then :
4118 enableval=$enable_maintainer_mode;
4121 # Check whether --enable-silent-rules was given.
4122 if test ${enable_silent_rules+y}
4123 then :
4124 enableval=$enable_silent_rules;
4127 # Check whether --enable-werror was given.
4128 if test ${enable_werror+y}
4129 then :
4130 enableval=$enable_werror;
4135 # Check whether --with-alsa was given.
4136 if test ${with_alsa+y}
4137 then :
4138 withval=$with_alsa;
4142 # Check whether --with-capi was given.
4143 if test ${with_capi+y}
4144 then :
4145 withval=$with_capi;
4149 # Check whether --with-coreaudio was given.
4150 if test ${with_coreaudio+y}
4151 then :
4152 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4156 # Check whether --with-cups was given.
4157 if test ${with_cups+y}
4158 then :
4159 withval=$with_cups;
4163 # Check whether --with-dbus was given.
4164 if test ${with_dbus+y}
4165 then :
4166 withval=$with_dbus;
4170 # Check whether --with-float-abi was given.
4171 if test ${with_float_abi+y}
4172 then :
4173 withval=$with_float_abi;
4177 # Check whether --with-fontconfig was given.
4178 if test ${with_fontconfig+y}
4179 then :
4180 withval=$with_fontconfig;
4184 # Check whether --with-freetype was given.
4185 if test ${with_freetype+y}
4186 then :
4187 withval=$with_freetype;
4191 # Check whether --with-gettext was given.
4192 if test ${with_gettext+y}
4193 then :
4194 withval=$with_gettext;
4198 # Check whether --with-gettextpo was given.
4199 if test ${with_gettextpo+y}
4200 then :
4201 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4205 # Check whether --with-gphoto was given.
4206 if test ${with_gphoto+y}
4207 then :
4208 withval=$with_gphoto;
4212 # Check whether --with-gnutls was given.
4213 if test ${with_gnutls+y}
4214 then :
4215 withval=$with_gnutls;
4219 # Check whether --with-gssapi was given.
4220 if test ${with_gssapi+y}
4221 then :
4222 withval=$with_gssapi;
4226 # Check whether --with-gstreamer was given.
4227 if test ${with_gstreamer+y}
4228 then :
4229 withval=$with_gstreamer;
4233 # Check whether --with-inotify was given.
4234 if test ${with_inotify+y}
4235 then :
4236 withval=$with_inotify;
4240 # Check whether --with-krb5 was given.
4241 if test ${with_krb5+y}
4242 then :
4243 withval=$with_krb5;
4247 # Check whether --with-ldap was given.
4248 if test ${with_ldap+y}
4249 then :
4250 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4254 # Check whether --with-mingw was given.
4255 if test ${with_mingw+y}
4256 then :
4257 withval=$with_mingw;
4261 # Check whether --with-netapi was given.
4262 if test ${with_netapi+y}
4263 then :
4264 withval=$with_netapi;
4268 # Check whether --with-openal was given.
4269 if test ${with_openal+y}
4270 then :
4271 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4275 # Check whether --with-opencl was given.
4276 if test ${with_opencl+y}
4277 then :
4278 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4282 # Check whether --with-opengl was given.
4283 if test ${with_opengl+y}
4284 then :
4285 withval=$with_opengl;
4289 # Check whether --with-osmesa was given.
4290 if test ${with_osmesa+y}
4291 then :
4292 withval=$with_osmesa;
4296 # Check whether --with-oss was given.
4297 if test ${with_oss+y}
4298 then :
4299 withval=$with_oss;
4303 # Check whether --with-pcap was given.
4304 if test ${with_pcap+y}
4305 then :
4306 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4310 # Check whether --with-pthread was given.
4311 if test ${with_pthread+y}
4312 then :
4313 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4317 # Check whether --with-pulse was given.
4318 if test ${with_pulse+y}
4319 then :
4320 withval=$with_pulse;
4324 # Check whether --with-sane was given.
4325 if test ${with_sane+y}
4326 then :
4327 withval=$with_sane;
4331 # Check whether --with-sdl was given.
4332 if test ${with_sdl+y}
4333 then :
4334 withval=$with_sdl;
4338 # Check whether --with-udev was given.
4339 if test ${with_udev+y}
4340 then :
4341 withval=$with_udev;
4345 # Check whether --with-unwind was given.
4346 if test ${with_unwind+y}
4347 then :
4348 withval=$with_unwind;
4352 # Check whether --with-usb was given.
4353 if test ${with_usb+y}
4354 then :
4355 withval=$with_usb;
4359 # Check whether --with-v4l2 was given.
4360 if test ${with_v4l2+y}
4361 then :
4362 withval=$with_v4l2;
4366 # Check whether --with-vulkan was given.
4367 if test ${with_vulkan+y}
4368 then :
4369 withval=$with_vulkan;
4373 # Check whether --with-xcomposite was given.
4374 if test ${with_xcomposite+y}
4375 then :
4376 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4380 # Check whether --with-xcursor was given.
4381 if test ${with_xcursor+y}
4382 then :
4383 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4387 # Check whether --with-xfixes was given.
4388 if test ${with_xfixes+y}
4389 then :
4390 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4394 # Check whether --with-xinerama was given.
4395 if test ${with_xinerama+y}
4396 then :
4397 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4401 # Check whether --with-xinput was given.
4402 if test ${with_xinput+y}
4403 then :
4404 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4408 # Check whether --with-xinput2 was given.
4409 if test ${with_xinput2+y}
4410 then :
4411 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4415 # Check whether --with-xrandr was given.
4416 if test ${with_xrandr+y}
4417 then :
4418 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4422 # Check whether --with-xrender was given.
4423 if test ${with_xrender+y}
4424 then :
4425 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4429 # Check whether --with-xshape was given.
4430 if test ${with_xshape+y}
4431 then :
4432 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4436 # Check whether --with-xshm was given.
4437 if test ${with_xshm+y}
4438 then :
4439 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4443 # Check whether --with-xxf86vm was given.
4444 if test ${with_xxf86vm+y}
4445 then :
4446 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
4451 # Check whether --with-system-dllpath was given.
4452 if test ${with_system_dllpath+y}
4453 then :
4454 withval=$with_system_dllpath; system_dllpath=$withval
4459 # Check whether --with-wine-tools was given.
4460 if test ${with_wine_tools+y}
4461 then :
4462 withval=$with_wine_tools;
4466 # Check whether --with-wine64 was given.
4467 if test ${with_wine64+y}
4468 then :
4469 withval=$with_wine64;
4476 # Make sure we can run config.sub.
4477 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4478 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4481 printf %s "checking build system type... " >&6; }
4482 if test ${ac_cv_build+y}
4483 then :
4484 printf %s "(cached) " >&6
4485 else $as_nop
4486 ac_build_alias=$build_alias
4487 test "x$ac_build_alias" = x &&
4488 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4489 test "x$ac_build_alias" = x &&
4490 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4491 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4492 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4496 printf "%s\n" "$ac_cv_build" >&6; }
4497 case $ac_cv_build in
4498 *-*-*) ;;
4499 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4500 esac
4501 build=$ac_cv_build
4502 ac_save_IFS=$IFS; IFS='-'
4503 set x $ac_cv_build
4504 shift
4505 build_cpu=$1
4506 build_vendor=$2
4507 shift; shift
4508 # Remember, the first character of IFS is used to create $*,
4509 # except with old shells:
4510 build_os=$*
4511 IFS=$ac_save_IFS
4512 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4516 printf %s "checking host system type... " >&6; }
4517 if test ${ac_cv_host+y}
4518 then :
4519 printf %s "(cached) " >&6
4520 else $as_nop
4521 if test "x$host_alias" = x; then
4522 ac_cv_host=$ac_cv_build
4523 else
4524 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4525 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4530 printf "%s\n" "$ac_cv_host" >&6; }
4531 case $ac_cv_host in
4532 *-*-*) ;;
4533 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4534 esac
4535 host=$ac_cv_host
4536 ac_save_IFS=$IFS; IFS='-'
4537 set x $ac_cv_host
4538 shift
4539 host_cpu=$1
4540 host_vendor=$2
4541 shift; shift
4542 # Remember, the first character of IFS is used to create $*,
4543 # except with old shells:
4544 host_os=$*
4545 IFS=$ac_save_IFS
4546 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4550 dlldir=\${libdir}/wine
4552 fontdir=\${datadir}/wine/fonts
4554 nlsdir=\${datadir}/wine/nls
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4560 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4561 set x ${MAKE-make}
4562 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4563 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4564 then :
4565 printf %s "(cached) " >&6
4566 else $as_nop
4567 cat >conftest.make <<\_ACEOF
4568 SHELL = /bin/sh
4569 all:
4570 @echo '@@@%%%=$(MAKE)=@@@%%%'
4571 _ACEOF
4572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4573 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4574 *@@@%%%=?*=@@@%%%*)
4575 eval ac_cv_prog_make_${ac_make}_set=yes;;
4577 eval ac_cv_prog_make_${ac_make}_set=no;;
4578 esac
4579 rm -f conftest.make
4581 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4583 printf "%s\n" "yes" >&6; }
4584 SET_MAKE=
4585 else
4586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4587 printf "%s\n" "no" >&6; }
4588 SET_MAKE="MAKE=${MAKE-make}"
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 if test -n "$ac_tool_prefix"; then
4606 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4607 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4609 printf %s "checking for $ac_word... " >&6; }
4610 if test ${ac_cv_prog_CC+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else $as_nop
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC="$CC" # Let the user override the test.
4616 else
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4620 IFS=$as_save_IFS
4621 case $as_dir in #(((
4622 '') as_dir=./ ;;
4623 */) ;;
4624 *) as_dir=$as_dir/ ;;
4625 esac
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4630 break 2
4632 done
4633 done
4634 IFS=$as_save_IFS
4638 CC=$ac_cv_prog_CC
4639 if test -n "$CC"; then
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4641 printf "%s\n" "$CC" >&6; }
4642 else
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4644 printf "%s\n" "no" >&6; }
4649 if test -z "$ac_cv_prog_CC"; then
4650 ac_ct_CC=$CC
4651 # Extract the first word of "gcc", so it can be a program name with args.
4652 set dummy gcc; ac_word=$2
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 printf %s "checking for $ac_word... " >&6; }
4655 if test ${ac_cv_prog_ac_ct_CC+y}
4656 then :
4657 printf %s "(cached) " >&6
4658 else $as_nop
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 case $as_dir in #(((
4667 '') as_dir=./ ;;
4668 */) ;;
4669 *) as_dir=$as_dir/ ;;
4670 esac
4671 for ac_exec_ext in '' $ac_executable_extensions; do
4672 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_ac_ct_CC="gcc"
4674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4675 break 2
4677 done
4678 done
4679 IFS=$as_save_IFS
4683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4684 if test -n "$ac_ct_CC"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4686 printf "%s\n" "$ac_ct_CC" >&6; }
4687 else
4688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 printf "%s\n" "no" >&6; }
4692 if test "x$ac_ct_CC" = x; then
4693 CC=""
4694 else
4695 case $cross_compiling:$ac_tool_warned in
4696 yes:)
4697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4700 esac
4701 CC=$ac_ct_CC
4703 else
4704 CC="$ac_cv_prog_CC"
4707 if test -z "$CC"; then
4708 if test -n "$ac_tool_prefix"; then
4709 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4710 set dummy ${ac_tool_prefix}cc; ac_word=$2
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 printf %s "checking for $ac_word... " >&6; }
4713 if test ${ac_cv_prog_CC+y}
4714 then :
4715 printf %s "(cached) " >&6
4716 else $as_nop
4717 if test -n "$CC"; then
4718 ac_cv_prog_CC="$CC" # Let the user override the test.
4719 else
4720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 for as_dir in $PATH
4723 IFS=$as_save_IFS
4724 case $as_dir in #(((
4725 '') as_dir=./ ;;
4726 */) ;;
4727 *) as_dir=$as_dir/ ;;
4728 esac
4729 for ac_exec_ext in '' $ac_executable_extensions; do
4730 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4731 ac_cv_prog_CC="${ac_tool_prefix}cc"
4732 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4733 break 2
4735 done
4736 done
4737 IFS=$as_save_IFS
4741 CC=$ac_cv_prog_CC
4742 if test -n "$CC"; then
4743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4744 printf "%s\n" "$CC" >&6; }
4745 else
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 printf "%s\n" "no" >&6; }
4753 if test -z "$CC"; then
4754 # Extract the first word of "cc", so it can be a program name with args.
4755 set dummy cc; ac_word=$2
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 printf %s "checking for $ac_word... " >&6; }
4758 if test ${ac_cv_prog_CC+y}
4759 then :
4760 printf %s "(cached) " >&6
4761 else $as_nop
4762 if test -n "$CC"; then
4763 ac_cv_prog_CC="$CC" # Let the user override the test.
4764 else
4765 ac_prog_rejected=no
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4778 ac_prog_rejected=yes
4779 continue
4781 ac_cv_prog_CC="cc"
4782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4783 break 2
4785 done
4786 done
4787 IFS=$as_save_IFS
4789 if test $ac_prog_rejected = yes; then
4790 # We found a bogon in the path, so make sure we never use it.
4791 set dummy $ac_cv_prog_CC
4792 shift
4793 if test $# != 0; then
4794 # We chose a different compiler from the bogus one.
4795 # However, it has the same basename, so the bogon will be chosen
4796 # first if we set CC to just the basename; use the full file name.
4797 shift
4798 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4803 CC=$ac_cv_prog_CC
4804 if test -n "$CC"; then
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4806 printf "%s\n" "$CC" >&6; }
4807 else
4808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog in cl.exe
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 printf %s "checking for $ac_word... " >&6; }
4822 if test ${ac_cv_prog_CC+y}
4823 then :
4824 printf %s "(cached) " >&6
4825 else $as_nop
4826 if test -n "$CC"; then
4827 ac_cv_prog_CC="$CC" # Let the user override the test.
4828 else
4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4830 for as_dir in $PATH
4832 IFS=$as_save_IFS
4833 case $as_dir in #(((
4834 '') as_dir=./ ;;
4835 */) ;;
4836 *) as_dir=$as_dir/ ;;
4837 esac
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4850 CC=$ac_cv_prog_CC
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4853 printf "%s\n" "$CC" >&6; }
4854 else
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4860 test -n "$CC" && break
4861 done
4863 if test -z "$CC"; then
4864 ac_ct_CC=$CC
4865 for ac_prog in cl.exe
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy $ac_prog; ac_word=$2
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 printf %s "checking for $ac_word... " >&6; }
4871 if test ${ac_cv_prog_ac_ct_CC+y}
4872 then :
4873 printf %s "(cached) " >&6
4874 else $as_nop
4875 if test -n "$ac_ct_CC"; then
4876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 case $as_dir in #(((
4883 '') as_dir=./ ;;
4884 */) ;;
4885 *) as_dir=$as_dir/ ;;
4886 esac
4887 for ac_exec_ext in '' $ac_executable_extensions; do
4888 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4889 ac_cv_prog_ac_ct_CC="$ac_prog"
4890 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4891 break 2
4893 done
4894 done
4895 IFS=$as_save_IFS
4899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4900 if test -n "$ac_ct_CC"; then
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4902 printf "%s\n" "$ac_ct_CC" >&6; }
4903 else
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 printf "%s\n" "no" >&6; }
4909 test -n "$ac_ct_CC" && break
4910 done
4912 if test "x$ac_ct_CC" = x; then
4913 CC=""
4914 else
4915 case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921 CC=$ac_ct_CC
4926 if test -z "$CC"; then
4927 if test -n "$ac_tool_prefix"; then
4928 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4929 set dummy ${ac_tool_prefix}clang; ac_word=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s "checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_CC+y}
4933 then :
4934 printf %s "(cached) " >&6
4935 else $as_nop
4936 if test -n "$CC"; then
4937 ac_cv_prog_CC="$CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 case $as_dir in #(((
4944 '') as_dir=./ ;;
4945 */) ;;
4946 *) as_dir=$as_dir/ ;;
4947 esac
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_CC="${ac_tool_prefix}clang"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 CC=$ac_cv_prog_CC
4961 if test -n "$CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4963 printf "%s\n" "$CC" >&6; }
4964 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4971 if test -z "$ac_cv_prog_CC"; then
4972 ac_ct_CC=$CC
4973 # Extract the first word of "clang", so it can be a program name with args.
4974 set dummy clang; ac_word=$2
4975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4976 printf %s "checking for $ac_word... " >&6; }
4977 if test ${ac_cv_prog_ac_ct_CC+y}
4978 then :
4979 printf %s "(cached) " >&6
4980 else $as_nop
4981 if test -n "$ac_ct_CC"; then
4982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4983 else
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4985 for as_dir in $PATH
4987 IFS=$as_save_IFS
4988 case $as_dir in #(((
4989 '') as_dir=./ ;;
4990 */) ;;
4991 *) as_dir=$as_dir/ ;;
4992 esac
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_CC="clang"
4996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4997 break 2
4999 done
5000 done
5001 IFS=$as_save_IFS
5005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5006 if test -n "$ac_ct_CC"; then
5007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5008 printf "%s\n" "$ac_ct_CC" >&6; }
5009 else
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 printf "%s\n" "no" >&6; }
5014 if test "x$ac_ct_CC" = x; then
5015 CC=""
5016 else
5017 case $cross_compiling:$ac_tool_warned in
5018 yes:)
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021 ac_tool_warned=yes ;;
5022 esac
5023 CC=$ac_ct_CC
5025 else
5026 CC="$ac_cv_prog_CC"
5032 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5033 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5034 as_fn_error $? "no acceptable C compiler found in \$PATH
5035 See \`config.log' for more details" "$LINENO" 5; }
5037 # Provide some information about the compiler.
5038 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5039 set X $ac_compile
5040 ac_compiler=$2
5041 for ac_option in --version -v -V -qversion -version; do
5042 { { ac_try="$ac_compiler $ac_option >&5"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5048 printf "%s\n" "$ac_try_echo"; } >&5
5049 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5050 ac_status=$?
5051 if test -s conftest.err; then
5052 sed '10a\
5053 ... rest of stderr output deleted ...
5054 10q' conftest.err >conftest.er1
5055 cat conftest.er1 >&5
5057 rm -f conftest.er1 conftest.err
5058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5059 test $ac_status = 0; }
5060 done
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main (void)
5070 return 0;
5072 _ACEOF
5073 ac_clean_files_save=$ac_clean_files
5074 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5075 # Try to create an executable without -o first, disregard a.out.
5076 # It will help us diagnose broken compilers, and finding out an intuition
5077 # of exeext.
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5079 printf %s "checking whether the C compiler works... " >&6; }
5080 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5082 # The possible output files:
5083 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5085 ac_rmfiles=
5086 for ac_file in $ac_files
5088 case $ac_file in
5089 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5090 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5091 esac
5092 done
5093 rm -f $ac_rmfiles
5095 if { { ac_try="$ac_link_default"
5096 case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099 esac
5100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5101 printf "%s\n" "$ac_try_echo"; } >&5
5102 (eval "$ac_link_default") 2>&5
5103 ac_status=$?
5104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5105 test $ac_status = 0; }
5106 then :
5107 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5108 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5109 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5110 # so that the user can short-circuit this test for compilers unknown to
5111 # Autoconf.
5112 for ac_file in $ac_files ''
5114 test -f "$ac_file" || continue
5115 case $ac_file in
5116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5118 [ab].out )
5119 # We found the default executable, but exeext='' is most
5120 # certainly right.
5121 break;;
5122 *.* )
5123 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5124 then :; else
5125 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5127 # We set ac_cv_exeext here because the later test for it is not
5128 # safe: cross compilers may not add the suffix if given an `-o'
5129 # argument, so we may need to know it at that point already.
5130 # Even if this section looks crufty: it has the advantage of
5131 # actually working.
5132 break;;
5134 break;;
5135 esac
5136 done
5137 test "$ac_cv_exeext" = no && ac_cv_exeext=
5139 else $as_nop
5140 ac_file=''
5142 if test -z "$ac_file"
5143 then :
5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 printf "%s\n" "no" >&6; }
5146 printf "%s\n" "$as_me: failed program was:" >&5
5147 sed 's/^/| /' conftest.$ac_ext >&5
5149 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5150 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5151 as_fn_error 77 "C compiler cannot create executables
5152 See \`config.log' for more details" "$LINENO" 5; }
5153 else $as_nop
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5155 printf "%s\n" "yes" >&6; }
5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5158 printf %s "checking for C compiler default output file name... " >&6; }
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5160 printf "%s\n" "$ac_file" >&6; }
5161 ac_exeext=$ac_cv_exeext
5163 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5164 ac_clean_files=$ac_clean_files_save
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5166 printf %s "checking for suffix of executables... " >&6; }
5167 if { { ac_try="$ac_link"
5168 case "(($ac_try" in
5169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5170 *) ac_try_echo=$ac_try;;
5171 esac
5172 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5173 printf "%s\n" "$ac_try_echo"; } >&5
5174 (eval "$ac_link") 2>&5
5175 ac_status=$?
5176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5177 test $ac_status = 0; }
5178 then :
5179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5181 # work properly (i.e., refer to `conftest.exe'), while it won't with
5182 # `rm'.
5183 for ac_file in conftest.exe conftest conftest.*; do
5184 test -f "$ac_file" || continue
5185 case $ac_file in
5186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5188 break;;
5189 * ) break;;
5190 esac
5191 done
5192 else $as_nop
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5194 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5196 See \`config.log' for more details" "$LINENO" 5; }
5198 rm -f conftest conftest$ac_cv_exeext
5199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5200 printf "%s\n" "$ac_cv_exeext" >&6; }
5202 rm -f conftest.$ac_ext
5203 EXEEXT=$ac_cv_exeext
5204 ac_exeext=$EXEEXT
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5207 #include <stdio.h>
5209 main (void)
5211 FILE *f = fopen ("conftest.out", "w");
5212 return ferror (f) || fclose (f) != 0;
5215 return 0;
5217 _ACEOF
5218 ac_clean_files="$ac_clean_files conftest.out"
5219 # Check that the compiler produces executables we can run. If not, either
5220 # the compiler is broken, or we cross compile.
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5222 printf %s "checking whether we are cross compiling... " >&6; }
5223 if test "$cross_compiling" != yes; then
5224 { { ac_try="$ac_link"
5225 case "(($ac_try" in
5226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5227 *) ac_try_echo=$ac_try;;
5228 esac
5229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5230 printf "%s\n" "$ac_try_echo"; } >&5
5231 (eval "$ac_link") 2>&5
5232 ac_status=$?
5233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5234 test $ac_status = 0; }
5235 if { ac_try='./conftest$ac_cv_exeext'
5236 { { case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_try") 2>&5
5243 ac_status=$?
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }; }; then
5246 cross_compiling=no
5247 else
5248 if test "$cross_compiling" = maybe; then
5249 cross_compiling=yes
5250 else
5251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5252 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5253 as_fn_error 77 "cannot run C compiled programs.
5254 If you meant to cross compile, use \`--host'.
5255 See \`config.log' for more details" "$LINENO" 5; }
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5260 printf "%s\n" "$cross_compiling" >&6; }
5262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5263 ac_clean_files=$ac_clean_files_save
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5265 printf %s "checking for suffix of object files... " >&6; }
5266 if test ${ac_cv_objext+y}
5267 then :
5268 printf %s "(cached) " >&6
5269 else $as_nop
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5274 main (void)
5278 return 0;
5280 _ACEOF
5281 rm -f conftest.o conftest.obj
5282 if { { ac_try="$ac_compile"
5283 case "(($ac_try" in
5284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5285 *) ac_try_echo=$ac_try;;
5286 esac
5287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5288 printf "%s\n" "$ac_try_echo"; } >&5
5289 (eval "$ac_compile") 2>&5
5290 ac_status=$?
5291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5292 test $ac_status = 0; }
5293 then :
5294 for ac_file in conftest.o conftest.obj conftest.*; do
5295 test -f "$ac_file" || continue;
5296 case $ac_file in
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5299 break;;
5300 esac
5301 done
5302 else $as_nop
5303 printf "%s\n" "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5307 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5308 as_fn_error $? "cannot compute suffix of object files: cannot compile
5309 See \`config.log' for more details" "$LINENO" 5; }
5311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5314 printf "%s\n" "$ac_cv_objext" >&6; }
5315 OBJEXT=$ac_cv_objext
5316 ac_objext=$OBJEXT
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5318 printf %s "checking whether the compiler supports GNU C... " >&6; }
5319 if test ${ac_cv_c_compiler_gnu+y}
5320 then :
5321 printf %s "(cached) " >&6
5322 else $as_nop
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5327 main (void)
5329 #ifndef __GNUC__
5330 choke me
5331 #endif
5334 return 0;
5336 _ACEOF
5337 if ac_fn_c_try_compile "$LINENO"
5338 then :
5339 ac_compiler_gnu=yes
5340 else $as_nop
5341 ac_compiler_gnu=no
5343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5348 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5351 if test $ac_compiler_gnu = yes; then
5352 GCC=yes
5353 else
5354 GCC=
5356 ac_test_CFLAGS=${CFLAGS+y}
5357 ac_save_CFLAGS=$CFLAGS
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5359 printf %s "checking whether $CC accepts -g... " >&6; }
5360 if test ${ac_cv_prog_cc_g+y}
5361 then :
5362 printf %s "(cached) " >&6
5363 else $as_nop
5364 ac_save_c_werror_flag=$ac_c_werror_flag
5365 ac_c_werror_flag=yes
5366 ac_cv_prog_cc_g=no
5367 CFLAGS="-g"
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5372 main (void)
5376 return 0;
5378 _ACEOF
5379 if ac_fn_c_try_compile "$LINENO"
5380 then :
5381 ac_cv_prog_cc_g=yes
5382 else $as_nop
5383 CFLAGS=""
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5398 else $as_nop
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5400 CFLAGS="-g"
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main (void)
5409 return 0;
5411 _ACEOF
5412 if ac_fn_c_try_compile "$LINENO"
5413 then :
5414 ac_cv_prog_cc_g=yes
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5421 ac_c_werror_flag=$ac_save_c_werror_flag
5423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5424 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5425 if test $ac_test_CFLAGS; then
5426 CFLAGS=$ac_save_CFLAGS
5427 elif test $ac_cv_prog_cc_g = yes; then
5428 if test "$GCC" = yes; then
5429 CFLAGS="-g -O2"
5430 else
5431 CFLAGS="-g"
5433 else
5434 if test "$GCC" = yes; then
5435 CFLAGS="-O2"
5436 else
5437 CFLAGS=
5440 ac_prog_cc_stdc=no
5441 if test x$ac_prog_cc_stdc = xno
5442 then :
5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5444 printf %s "checking for $CC option to enable C11 features... " >&6; }
5445 if test ${ac_cv_prog_cc_c11+y}
5446 then :
5447 printf %s "(cached) " >&6
5448 else $as_nop
5449 ac_cv_prog_cc_c11=no
5450 ac_save_CC=$CC
5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5453 $ac_c_conftest_c11_program
5454 _ACEOF
5455 for ac_arg in '' -std=gnu11
5457 CC="$ac_save_CC $ac_arg"
5458 if ac_fn_c_try_compile "$LINENO"
5459 then :
5460 ac_cv_prog_cc_c11=$ac_arg
5462 rm -f core conftest.err conftest.$ac_objext conftest.beam
5463 test "x$ac_cv_prog_cc_c11" != "xno" && break
5464 done
5465 rm -f conftest.$ac_ext
5466 CC=$ac_save_CC
5469 if test "x$ac_cv_prog_cc_c11" = xno
5470 then :
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5472 printf "%s\n" "unsupported" >&6; }
5473 else $as_nop
5474 if test "x$ac_cv_prog_cc_c11" = x
5475 then :
5476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5477 printf "%s\n" "none needed" >&6; }
5478 else $as_nop
5479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5480 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5481 CC="$CC $ac_cv_prog_cc_c11"
5483 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5484 ac_prog_cc_stdc=c11
5487 if test x$ac_prog_cc_stdc = xno
5488 then :
5489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5490 printf %s "checking for $CC option to enable C99 features... " >&6; }
5491 if test ${ac_cv_prog_cc_c99+y}
5492 then :
5493 printf %s "(cached) " >&6
5494 else $as_nop
5495 ac_cv_prog_cc_c99=no
5496 ac_save_CC=$CC
5497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 /* end confdefs.h. */
5499 $ac_c_conftest_c99_program
5500 _ACEOF
5501 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5503 CC="$ac_save_CC $ac_arg"
5504 if ac_fn_c_try_compile "$LINENO"
5505 then :
5506 ac_cv_prog_cc_c99=$ac_arg
5508 rm -f core conftest.err conftest.$ac_objext conftest.beam
5509 test "x$ac_cv_prog_cc_c99" != "xno" && break
5510 done
5511 rm -f conftest.$ac_ext
5512 CC=$ac_save_CC
5515 if test "x$ac_cv_prog_cc_c99" = xno
5516 then :
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5518 printf "%s\n" "unsupported" >&6; }
5519 else $as_nop
5520 if test "x$ac_cv_prog_cc_c99" = x
5521 then :
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5523 printf "%s\n" "none needed" >&6; }
5524 else $as_nop
5525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5526 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5527 CC="$CC $ac_cv_prog_cc_c99"
5529 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5530 ac_prog_cc_stdc=c99
5533 if test x$ac_prog_cc_stdc = xno
5534 then :
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5536 printf %s "checking for $CC option to enable C89 features... " >&6; }
5537 if test ${ac_cv_prog_cc_c89+y}
5538 then :
5539 printf %s "(cached) " >&6
5540 else $as_nop
5541 ac_cv_prog_cc_c89=no
5542 ac_save_CC=$CC
5543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5544 /* end confdefs.h. */
5545 $ac_c_conftest_c89_program
5546 _ACEOF
5547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5549 CC="$ac_save_CC $ac_arg"
5550 if ac_fn_c_try_compile "$LINENO"
5551 then :
5552 ac_cv_prog_cc_c89=$ac_arg
5554 rm -f core conftest.err conftest.$ac_objext conftest.beam
5555 test "x$ac_cv_prog_cc_c89" != "xno" && break
5556 done
5557 rm -f conftest.$ac_ext
5558 CC=$ac_save_CC
5561 if test "x$ac_cv_prog_cc_c89" = xno
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5564 printf "%s\n" "unsupported" >&6; }
5565 else $as_nop
5566 if test "x$ac_cv_prog_cc_c89" = x
5567 then :
5568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5569 printf "%s\n" "none needed" >&6; }
5570 else $as_nop
5571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5572 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5573 CC="$CC $ac_cv_prog_cc_c89"
5575 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5576 ac_prog_cc_stdc=c89
5580 ac_ext=c
5581 ac_cpp='$CPP $CPPFLAGS'
5582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5592 ac_ext=cpp
5593 ac_cpp='$CXXCPP $CPPFLAGS'
5594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5597 if test -z "$CXX"; then
5598 if test -n "$CCC"; then
5599 CXX=$CCC
5600 else
5601 if test -n "$ac_tool_prefix"; then
5602 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607 printf %s "checking for $ac_word... " >&6; }
5608 if test ${ac_cv_prog_CXX+y}
5609 then :
5610 printf %s "(cached) " >&6
5611 else $as_nop
5612 if test -n "$CXX"; then
5613 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 case $as_dir in #(((
5620 '') as_dir=./ ;;
5621 */) ;;
5622 *) as_dir=$as_dir/ ;;
5623 esac
5624 for ac_exec_ext in '' $ac_executable_extensions; do
5625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5628 break 2
5630 done
5631 done
5632 IFS=$as_save_IFS
5636 CXX=$ac_cv_prog_CXX
5637 if test -n "$CXX"; then
5638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5639 printf "%s\n" "$CXX" >&6; }
5640 else
5641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 printf "%s\n" "no" >&6; }
5646 test -n "$CXX" && break
5647 done
5649 if test -z "$CXX"; then
5650 ac_ct_CXX=$CXX
5651 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5656 printf %s "checking for $ac_word... " >&6; }
5657 if test ${ac_cv_prog_ac_ct_CXX+y}
5658 then :
5659 printf %s "(cached) " >&6
5660 else $as_nop
5661 if test -n "$ac_ct_CXX"; then
5662 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5663 else
5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665 for as_dir in $PATH
5667 IFS=$as_save_IFS
5668 case $as_dir in #(((
5669 '') as_dir=./ ;;
5670 */) ;;
5671 *) as_dir=$as_dir/ ;;
5672 esac
5673 for ac_exec_ext in '' $ac_executable_extensions; do
5674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5675 ac_cv_prog_ac_ct_CXX="$ac_prog"
5676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5677 break 2
5679 done
5680 done
5681 IFS=$as_save_IFS
5685 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5686 if test -n "$ac_ct_CXX"; then
5687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5688 printf "%s\n" "$ac_ct_CXX" >&6; }
5689 else
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5691 printf "%s\n" "no" >&6; }
5695 test -n "$ac_ct_CXX" && break
5696 done
5698 if test "x$ac_ct_CXX" = x; then
5699 CXX="g++"
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 CXX=$ac_ct_CXX
5713 # Provide some information about the compiler.
5714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5715 set X $ac_compile
5716 ac_compiler=$2
5717 for ac_option in --version -v -V -qversion; do
5718 { { ac_try="$ac_compiler $ac_option >&5"
5719 case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722 esac
5723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5724 printf "%s\n" "$ac_try_echo"; } >&5
5725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5726 ac_status=$?
5727 if test -s conftest.err; then
5728 sed '10a\
5729 ... rest of stderr output deleted ...
5730 10q' conftest.err >conftest.er1
5731 cat conftest.er1 >&5
5733 rm -f conftest.er1 conftest.err
5734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; }
5736 done
5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5739 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5740 if test ${ac_cv_cxx_compiler_gnu+y}
5741 then :
5742 printf %s "(cached) " >&6
5743 else $as_nop
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5748 main (void)
5750 #ifndef __GNUC__
5751 choke me
5752 #endif
5755 return 0;
5757 _ACEOF
5758 if ac_fn_cxx_try_compile "$LINENO"
5759 then :
5760 ac_compiler_gnu=yes
5761 else $as_nop
5762 ac_compiler_gnu=no
5764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5765 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5769 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5772 if test $ac_compiler_gnu = yes; then
5773 GXX=yes
5774 else
5775 GXX=
5777 ac_test_CXXFLAGS=${CXXFLAGS+y}
5778 ac_save_CXXFLAGS=$CXXFLAGS
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5780 printf %s "checking whether $CXX accepts -g... " >&6; }
5781 if test ${ac_cv_prog_cxx_g+y}
5782 then :
5783 printf %s "(cached) " >&6
5784 else $as_nop
5785 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5786 ac_cxx_werror_flag=yes
5787 ac_cv_prog_cxx_g=no
5788 CXXFLAGS="-g"
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main (void)
5797 return 0;
5799 _ACEOF
5800 if ac_fn_cxx_try_compile "$LINENO"
5801 then :
5802 ac_cv_prog_cxx_g=yes
5803 else $as_nop
5804 CXXFLAGS=""
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5819 else $as_nop
5820 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5821 CXXFLAGS="-g"
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5826 main (void)
5830 return 0;
5832 _ACEOF
5833 if ac_fn_cxx_try_compile "$LINENO"
5834 then :
5835 ac_cv_prog_cxx_g=yes
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5842 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5845 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5846 if test $ac_test_CXXFLAGS; then
5847 CXXFLAGS=$ac_save_CXXFLAGS
5848 elif test $ac_cv_prog_cxx_g = yes; then
5849 if test "$GXX" = yes; then
5850 CXXFLAGS="-g -O2"
5851 else
5852 CXXFLAGS="-g"
5854 else
5855 if test "$GXX" = yes; then
5856 CXXFLAGS="-O2"
5857 else
5858 CXXFLAGS=
5861 ac_prog_cxx_stdcxx=no
5862 if test x$ac_prog_cxx_stdcxx = xno
5863 then :
5864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5865 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5866 if test ${ac_cv_prog_cxx_11+y}
5867 then :
5868 printf %s "(cached) " >&6
5869 else $as_nop
5870 ac_cv_prog_cxx_11=no
5871 ac_save_CXX=$CXX
5872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 $ac_cxx_conftest_cxx11_program
5875 _ACEOF
5876 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5878 CXX="$ac_save_CXX $ac_arg"
5879 if ac_fn_cxx_try_compile "$LINENO"
5880 then :
5881 ac_cv_prog_cxx_cxx11=$ac_arg
5883 rm -f core conftest.err conftest.$ac_objext conftest.beam
5884 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5885 done
5886 rm -f conftest.$ac_ext
5887 CXX=$ac_save_CXX
5890 if test "x$ac_cv_prog_cxx_cxx11" = xno
5891 then :
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5893 printf "%s\n" "unsupported" >&6; }
5894 else $as_nop
5895 if test "x$ac_cv_prog_cxx_cxx11" = x
5896 then :
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5898 printf "%s\n" "none needed" >&6; }
5899 else $as_nop
5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5901 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5902 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5904 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5905 ac_prog_cxx_stdcxx=cxx11
5908 if test x$ac_prog_cxx_stdcxx = xno
5909 then :
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5911 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5912 if test ${ac_cv_prog_cxx_98+y}
5913 then :
5914 printf %s "(cached) " >&6
5915 else $as_nop
5916 ac_cv_prog_cxx_98=no
5917 ac_save_CXX=$CXX
5918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5919 /* end confdefs.h. */
5920 $ac_cxx_conftest_cxx98_program
5921 _ACEOF
5922 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5924 CXX="$ac_save_CXX $ac_arg"
5925 if ac_fn_cxx_try_compile "$LINENO"
5926 then :
5927 ac_cv_prog_cxx_cxx98=$ac_arg
5929 rm -f core conftest.err conftest.$ac_objext conftest.beam
5930 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5931 done
5932 rm -f conftest.$ac_ext
5933 CXX=$ac_save_CXX
5936 if test "x$ac_cv_prog_cxx_cxx98" = xno
5937 then :
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5939 printf "%s\n" "unsupported" >&6; }
5940 else $as_nop
5941 if test "x$ac_cv_prog_cxx_cxx98" = x
5942 then :
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5944 printf "%s\n" "none needed" >&6; }
5945 else $as_nop
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5947 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5948 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5950 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5951 ac_prog_cxx_stdcxx=cxx98
5955 ac_ext=c
5956 ac_cpp='$CPP $CPPFLAGS'
5957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5961 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5963 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 printf %s "checking for $ac_word... " >&6; }
5966 if test ${ac_cv_prog_CPPBIN+y}
5967 then :
5968 printf %s "(cached) " >&6
5969 else $as_nop
5970 if test -n "$CPPBIN"; then
5971 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5972 else
5973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 for as_dir in $PATH
5976 IFS=$as_save_IFS
5977 case $as_dir in #(((
5978 '') as_dir=./ ;;
5979 */) ;;
5980 *) as_dir=$as_dir/ ;;
5981 esac
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 CPPBIN=$ac_cv_prog_CPPBIN
5995 if test -n "$CPPBIN"; then
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5997 printf "%s\n" "$CPPBIN" >&6; }
5998 else
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 printf "%s\n" "no" >&6; }
6005 if test -z "$ac_cv_prog_CPPBIN"; then
6006 ac_ct_CPPBIN=$CPPBIN
6007 # Extract the first word of "cpp", so it can be a program name with args.
6008 set dummy cpp; ac_word=$2
6009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 printf %s "checking for $ac_word... " >&6; }
6011 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6012 then :
6013 printf %s "(cached) " >&6
6014 else $as_nop
6015 if test -n "$ac_ct_CPPBIN"; then
6016 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6017 else
6018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6019 for as_dir in $PATH
6021 IFS=$as_save_IFS
6022 case $as_dir in #(((
6023 '') as_dir=./ ;;
6024 */) ;;
6025 *) as_dir=$as_dir/ ;;
6026 esac
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_ac_ct_CPPBIN="cpp"
6030 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6040 if test -n "$ac_ct_CPPBIN"; then
6041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6042 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6043 else
6044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 printf "%s\n" "no" >&6; }
6048 if test "x$ac_ct_CPPBIN" = x; then
6049 CPPBIN="cpp"
6050 else
6051 case $cross_compiling:$ac_tool_warned in
6052 yes:)
6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6056 esac
6057 CPPBIN=$ac_ct_CPPBIN
6059 else
6060 CPPBIN="$ac_cv_prog_CPPBIN"
6064 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6066 if test -n "$ac_tool_prefix"; then
6067 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6068 set dummy ${ac_tool_prefix}ld; ac_word=$2
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 printf %s "checking for $ac_word... " >&6; }
6071 if test ${ac_cv_prog_LD+y}
6072 then :
6073 printf %s "(cached) " >&6
6074 else $as_nop
6075 if test -n "$LD"; then
6076 ac_cv_prog_LD="$LD" # Let the user override the test.
6077 else
6078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 for as_dir in $PATH
6081 IFS=$as_save_IFS
6082 case $as_dir in #(((
6083 '') as_dir=./ ;;
6084 */) ;;
6085 *) as_dir=$as_dir/ ;;
6086 esac
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6089 ac_cv_prog_LD="${ac_tool_prefix}ld"
6090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6091 break 2
6093 done
6094 done
6095 IFS=$as_save_IFS
6099 LD=$ac_cv_prog_LD
6100 if test -n "$LD"; then
6101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6102 printf "%s\n" "$LD" >&6; }
6103 else
6104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 printf "%s\n" "no" >&6; }
6110 if test -z "$ac_cv_prog_LD"; then
6111 ac_ct_LD=$LD
6112 # Extract the first word of "ld", so it can be a program name with args.
6113 set dummy ld; ac_word=$2
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 printf %s "checking for $ac_word... " >&6; }
6116 if test ${ac_cv_prog_ac_ct_LD+y}
6117 then :
6118 printf %s "(cached) " >&6
6119 else $as_nop
6120 if test -n "$ac_ct_LD"; then
6121 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6122 else
6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6124 for as_dir in $PATH
6126 IFS=$as_save_IFS
6127 case $as_dir in #(((
6128 '') as_dir=./ ;;
6129 */) ;;
6130 *) as_dir=$as_dir/ ;;
6131 esac
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_ac_ct_LD="ld"
6135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6144 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6145 if test -n "$ac_ct_LD"; then
6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6147 printf "%s\n" "$ac_ct_LD" >&6; }
6148 else
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 printf "%s\n" "no" >&6; }
6153 if test "x$ac_ct_LD" = x; then
6154 LD=""
6155 else
6156 case $cross_compiling:$ac_tool_warned in
6157 yes:)
6158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6159 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6160 ac_tool_warned=yes ;;
6161 esac
6162 LD=$ac_ct_LD
6164 else
6165 LD="$ac_cv_prog_LD"
6169 case $host in
6170 *-darwin*)
6171 with_fontconfig=${with_fontconfig:-no}
6173 *-mingw32*|*-cygwin*)
6174 enable_win16=${enable_win16:-no}
6175 with_mingw=${with_mingw:-no}
6177 esac
6180 case $host in
6181 x86_64*|amd64*)
6182 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6183 then
6184 CC="$CC -m32"
6185 CXX="$CXX -m32"
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6188 printf %s "checking whether $CC works... " >&6; }
6189 if test ${wine_cv_cc_m32+y}
6190 then :
6191 printf %s "(cached) " >&6
6192 else $as_nop
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6197 main (void)
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_link "$LINENO"
6205 then :
6206 wine_cv_cc_m32=yes
6207 else $as_nop
6208 wine_cv_cc_m32=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6211 conftest$ac_exeext conftest.$ac_ext
6213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6214 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6215 test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
6216 host_cpu="i386"
6217 notice_platform="32-bit "
6218 TARGETFLAGS="$TARGETFLAGS -m32"
6219 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6220 export PKG_CONFIG_PATH
6221 enable_win16=${enable_win16:-yes}
6222 with_unwind=${with_unwind:-no}
6223 else
6224 if test "x${GCC}" = "xyes"
6225 then
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6227 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6228 if test ${wine_cv_builtin_ms_va_list+y}
6229 then :
6230 printf %s "(cached) " >&6
6231 else $as_nop
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6234 #include <stdarg.h>
6236 main (void)
6238 void func(__builtin_ms_va_list *args);
6240 return 0;
6242 _ACEOF
6243 if ac_fn_c_try_compile "$LINENO"
6244 then :
6245 wine_cv_builtin_ms_va_list=yes
6246 else $as_nop
6247 wine_cv_builtin_ms_va_list=no
6249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6252 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6253 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6255 CC="$CC -m64"
6256 CXX="$CXX -m64"
6257 host_cpu="x86_64"
6258 notice_platform="64-bit "
6259 TARGETFLAGS="$TARGETFLAGS -m64"
6260 enable_wow64=${enable_wow64:-yes}
6261 enable_wow64win=${enable_wow64win:-yes}
6262 enable_wow64cpu=${enable_wow64cpu:-yes}
6265 arm*)
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6267 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6268 if test ${wine_cv_thumb2+y}
6269 then :
6270 printf %s "(cached) " >&6
6271 else $as_nop
6272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6273 /* end confdefs.h. */
6276 main (void)
6278 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6280 return 0;
6282 _ACEOF
6283 if ac_fn_c_try_link "$LINENO"
6284 then :
6285 wine_cv_thumb2=yes
6286 else $as_nop
6287 wine_cv_thumb2=no
6289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6290 conftest$ac_exeext conftest.$ac_ext
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6293 printf "%s\n" "$wine_cv_thumb2" >&6; }
6294 if test x"$wine_cv_thumb2" = xyes
6295 then
6296 CFLAGS="$CFLAGS -mthumb"
6297 TARGETFLAGS="$TARGETFLAGS -mthumb"
6298 else
6299 CFLAGS="$CFLAGS -marm"
6300 TARGETFLAGS="$TARGETFLAGS -marm"
6302 case $with_float_abi in
6303 soft|softfp|hard)
6304 float_abi=$with_float_abi ;;
6306 case $host_os in
6307 *eabihf)
6308 float_abi=hard ;;
6310 float_abi=softfp
6311 saved_CFLAGS=$CFLAGS
6312 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6314 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6315 if test ${wine_cv_float_abi+y}
6316 then :
6317 printf %s "(cached) " >&6
6318 else $as_nop
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6323 main (void)
6325 asm("vmrs r2,fpscr");
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_link "$LINENO"
6331 then :
6332 wine_cv_float_abi=yes
6333 else $as_nop
6334 wine_cv_float_abi=no
6336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6337 conftest$ac_exeext conftest.$ac_ext
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6340 printf "%s\n" "$wine_cv_float_abi" >&6; }
6341 if test $wine_cv_float_abi = no
6342 then
6343 float_abi=soft
6344 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6346 CFLAGS=$saved_CFLAGS
6347 esac
6349 esac
6350 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6351 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6353 aarch64*)
6354 enable_wow64=${enable_wow64:-yes}
6355 enable_wow64win=${enable_wow64win:-yes}
6357 i[3456789]86*)
6358 enable_win16=${enable_win16:-yes}
6359 with_unwind=${with_unwind:-no}
6361 esac
6363 enable_win16=${enable_win16:-no}
6364 enable_win64=${enable_win64:-no}
6365 enable_wow64=${enable_wow64:-no}
6366 enable_wow64win=${enable_wow64win:-no}
6367 enable_wow64cpu=${enable_wow64cpu:-no}
6369 enable_winetest=${enable_winetest:-$enable_tests}
6371 if test "x$enable_win64" = "xyes"
6372 then
6373 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6374 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6377 case $build_os in
6378 cygwin*|mingw32*) toolsext=".exe"
6380 *) toolsext=""
6382 esac
6384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6385 printf %s "checking for the directory containing the Wine tools... " >&6; }
6386 if test ${wine_cv_toolsdir+y}
6387 then :
6388 printf %s "(cached) " >&6
6389 else $as_nop
6390 wine_cv_toolsdir="$with_wine_tools"
6391 if test -z "$with_wine_tools"; then
6392 if test "$cross_compiling" = "yes"; then
6393 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6394 elif test -n "$with_wine64"; then
6395 wine_cv_toolsdir="$with_wine64"
6399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6400 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6401 if test -z "$wine_cv_toolsdir"; then
6402 wine_makedep=tools/makedep$toolsext
6403 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6404 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6405 enable_tools=${enable_tools:-no}
6406 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6407 else
6408 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6410 toolsdir=$wine_cv_toolsdir
6412 MAKEDEP=$wine_makedep
6414 RUNTESTFLAGS="-q -P wine"
6416 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6419 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6420 then
6421 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6424 for ac_prog in flex
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 printf %s "checking for $ac_word... " >&6; }
6430 if test ${ac_cv_prog_FLEX+y}
6431 then :
6432 printf %s "(cached) " >&6
6433 else $as_nop
6434 if test -n "$FLEX"; then
6435 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6436 else
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6438 for as_dir in $PATH
6440 IFS=$as_save_IFS
6441 case $as_dir in #(((
6442 '') as_dir=./ ;;
6443 */) ;;
6444 *) as_dir=$as_dir/ ;;
6445 esac
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6448 ac_cv_prog_FLEX="$ac_prog"
6449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6450 break 2
6452 done
6453 done
6454 IFS=$as_save_IFS
6458 FLEX=$ac_cv_prog_FLEX
6459 if test -n "$FLEX"; then
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6461 printf "%s\n" "$FLEX" >&6; }
6462 else
6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 printf "%s\n" "no" >&6; }
6468 test -n "$FLEX" && break
6469 done
6470 test -n "$FLEX" || FLEX="none"
6472 if test "$FLEX" = "none"
6473 then
6474 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6477 printf %s "checking whether flex is recent enough... " >&6; }
6478 if test ${wine_cv_recent_flex+y}
6479 then :
6480 printf %s "(cached) " >&6
6481 else $as_nop
6482 cat >conftest.l <<EOF
6483 %top{
6484 #include "prediluvian.h"
6488 if $FLEX -t conftest.l >/dev/null 2>&5
6489 then
6490 wine_cv_recent_flex=yes
6491 else
6492 wine_cv_recent_flex=no
6495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6496 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6497 test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
6499 for ac_prog in bison
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 printf %s "checking for $ac_word... " >&6; }
6505 if test ${ac_cv_prog_BISON+y}
6506 then :
6507 printf %s "(cached) " >&6
6508 else $as_nop
6509 if test -n "$BISON"; then
6510 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 case $as_dir in #(((
6517 '') as_dir=./ ;;
6518 */) ;;
6519 *) as_dir=$as_dir/ ;;
6520 esac
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_BISON="$ac_prog"
6524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 BISON=$ac_cv_prog_BISON
6534 if test -n "$BISON"; then
6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6536 printf "%s\n" "$BISON" >&6; }
6537 else
6538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 printf "%s\n" "no" >&6; }
6543 test -n "$BISON" && break
6544 done
6545 test -n "$BISON" || BISON="none"
6547 if test "$BISON" = "none"
6548 then
6549 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6552 printf %s "checking whether bison is recent enough... " >&6; }
6553 if test ${wine_cv_recent_bison+y}
6554 then :
6555 printf %s "(cached) " >&6
6556 else $as_nop
6557 cat >conftest.y <<EOF
6558 %define parse.error verbose
6560 empty: ;
6562 if $BISON conftest.y >/dev/null 2>&5
6563 then
6564 wine_cv_recent_bison=yes
6565 else
6566 wine_cv_recent_bison=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6570 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6571 test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
6573 if test -n "$ac_tool_prefix"; then
6574 for ac_prog in ar gar
6576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6577 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579 printf %s "checking for $ac_word... " >&6; }
6580 if test ${ac_cv_prog_AR+y}
6581 then :
6582 printf %s "(cached) " >&6
6583 else $as_nop
6584 if test -n "$AR"; then
6585 ac_cv_prog_AR="$AR" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 case $as_dir in #(((
6592 '') as_dir=./ ;;
6593 */) ;;
6594 *) as_dir=$as_dir/ ;;
6595 esac
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6600 break 2
6602 done
6603 done
6604 IFS=$as_save_IFS
6608 AR=$ac_cv_prog_AR
6609 if test -n "$AR"; then
6610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6611 printf "%s\n" "$AR" >&6; }
6612 else
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 printf "%s\n" "no" >&6; }
6618 test -n "$AR" && break
6619 done
6621 if test -z "$AR"; then
6622 ac_ct_AR=$AR
6623 for ac_prog in ar gar
6625 # Extract the first word of "$ac_prog", so it can be a program name with args.
6626 set dummy $ac_prog; ac_word=$2
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6628 printf %s "checking for $ac_word... " >&6; }
6629 if test ${ac_cv_prog_ac_ct_AR+y}
6630 then :
6631 printf %s "(cached) " >&6
6632 else $as_nop
6633 if test -n "$ac_ct_AR"; then
6634 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6639 IFS=$as_save_IFS
6640 case $as_dir in #(((
6641 '') as_dir=./ ;;
6642 */) ;;
6643 *) as_dir=$as_dir/ ;;
6644 esac
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6647 ac_cv_prog_ac_ct_AR="$ac_prog"
6648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6649 break 2
6651 done
6652 done
6653 IFS=$as_save_IFS
6657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6658 if test -n "$ac_ct_AR"; then
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6660 printf "%s\n" "$ac_ct_AR" >&6; }
6661 else
6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 printf "%s\n" "no" >&6; }
6667 test -n "$ac_ct_AR" && break
6668 done
6670 if test "x$ac_ct_AR" = x; then
6671 AR="ar"
6672 else
6673 case $cross_compiling:$ac_tool_warned in
6674 yes:)
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677 ac_tool_warned=yes ;;
6678 esac
6679 AR=$ac_ct_AR
6683 if test -n "$ac_tool_prefix"; then
6684 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6685 set dummy ${ac_tool_prefix}strip; ac_word=$2
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 printf %s "checking for $ac_word... " >&6; }
6688 if test ${ac_cv_prog_STRIP+y}
6689 then :
6690 printf %s "(cached) " >&6
6691 else $as_nop
6692 if test -n "$STRIP"; then
6693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 case $as_dir in #(((
6700 '') as_dir=./ ;;
6701 */) ;;
6702 *) as_dir=$as_dir/ ;;
6703 esac
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 STRIP=$ac_cv_prog_STRIP
6717 if test -n "$STRIP"; then
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6719 printf "%s\n" "$STRIP" >&6; }
6720 else
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 printf "%s\n" "no" >&6; }
6727 if test -z "$ac_cv_prog_STRIP"; then
6728 ac_ct_STRIP=$STRIP
6729 # Extract the first word of "strip", so it can be a program name with args.
6730 set dummy strip; ac_word=$2
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 printf %s "checking for $ac_word... " >&6; }
6733 if test ${ac_cv_prog_ac_ct_STRIP+y}
6734 then :
6735 printf %s "(cached) " >&6
6736 else $as_nop
6737 if test -n "$ac_ct_STRIP"; then
6738 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 case $as_dir in #(((
6745 '') as_dir=./ ;;
6746 */) ;;
6747 *) as_dir=$as_dir/ ;;
6748 esac
6749 for ac_exec_ext in '' $ac_executable_extensions; do
6750 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6751 ac_cv_prog_ac_ct_STRIP="strip"
6752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6753 break 2
6755 done
6756 done
6757 IFS=$as_save_IFS
6761 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6762 if test -n "$ac_ct_STRIP"; then
6763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6764 printf "%s\n" "$ac_ct_STRIP" >&6; }
6765 else
6766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 printf "%s\n" "no" >&6; }
6770 if test "x$ac_ct_STRIP" = x; then
6771 STRIP="strip"
6772 else
6773 case $cross_compiling:$ac_tool_warned in
6774 yes:)
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6777 ac_tool_warned=yes ;;
6778 esac
6779 STRIP=$ac_ct_STRIP
6781 else
6782 STRIP="$ac_cv_prog_STRIP"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 printf %s "checking for $ac_word... " >&6; }
6790 if test ${ac_cv_prog_RANLIB+y}
6791 then :
6792 printf %s "(cached) " >&6
6793 else $as_nop
6794 if test -n "$RANLIB"; then
6795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6796 else
6797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 for as_dir in $PATH
6800 IFS=$as_save_IFS
6801 case $as_dir in #(((
6802 '') as_dir=./ ;;
6803 */) ;;
6804 *) as_dir=$as_dir/ ;;
6805 esac
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6810 break 2
6812 done
6813 done
6814 IFS=$as_save_IFS
6818 RANLIB=$ac_cv_prog_RANLIB
6819 if test -n "$RANLIB"; then
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6821 printf "%s\n" "$RANLIB" >&6; }
6822 else
6823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 printf "%s\n" "no" >&6; }
6829 if test -z "$ac_cv_prog_RANLIB"; then
6830 ac_ct_RANLIB=$RANLIB
6831 # Extract the first word of "ranlib", so it can be a program name with args.
6832 set dummy ranlib; ac_word=$2
6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 printf %s "checking for $ac_word... " >&6; }
6835 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6836 then :
6837 printf %s "(cached) " >&6
6838 else $as_nop
6839 if test -n "$ac_ct_RANLIB"; then
6840 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6841 else
6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 for as_dir in $PATH
6845 IFS=$as_save_IFS
6846 case $as_dir in #(((
6847 '') as_dir=./ ;;
6848 */) ;;
6849 *) as_dir=$as_dir/ ;;
6850 esac
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_ac_ct_RANLIB="ranlib"
6854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6855 break 2
6857 done
6858 done
6859 IFS=$as_save_IFS
6863 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6864 if test -n "$ac_ct_RANLIB"; then
6865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6866 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6867 else
6868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6869 printf "%s\n" "no" >&6; }
6872 if test "x$ac_ct_RANLIB" = x; then
6873 RANLIB=":"
6874 else
6875 case $cross_compiling:$ac_tool_warned in
6876 yes:)
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6878 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6879 ac_tool_warned=yes ;;
6880 esac
6881 RANLIB=$ac_ct_RANLIB
6883 else
6884 RANLIB="$ac_cv_prog_RANLIB"
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6888 printf %s "checking whether ln -s works... " >&6; }
6889 LN_S=$as_ln_s
6890 if test "$LN_S" = "ln -s"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892 printf "%s\n" "yes" >&6; }
6893 else
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6895 printf "%s\n" "no, using $LN_S" >&6; }
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6899 printf %s "checking for grep that handles long lines and -e... " >&6; }
6900 if test ${ac_cv_path_GREP+y}
6901 then :
6902 printf %s "(cached) " >&6
6903 else $as_nop
6904 if test -z "$GREP"; then
6905 ac_path_GREP_found=false
6906 # Loop through the user's path and test for each of PROGNAME-LIST
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6910 IFS=$as_save_IFS
6911 case $as_dir in #(((
6912 '') as_dir=./ ;;
6913 */) ;;
6914 *) as_dir=$as_dir/ ;;
6915 esac
6916 for ac_prog in grep ggrep
6918 for ac_exec_ext in '' $ac_executable_extensions; do
6919 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6920 as_fn_executable_p "$ac_path_GREP" || continue
6921 # Check for GNU ac_path_GREP and select it if it is found.
6922 # Check for GNU $ac_path_GREP
6923 case `"$ac_path_GREP" --version 2>&1` in
6924 *GNU*)
6925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6927 ac_count=0
6928 printf %s 0123456789 >"conftest.in"
6929 while :
6931 cat "conftest.in" "conftest.in" >"conftest.tmp"
6932 mv "conftest.tmp" "conftest.in"
6933 cp "conftest.in" "conftest.nl"
6934 printf "%s\n" 'GREP' >> "conftest.nl"
6935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6937 as_fn_arith $ac_count + 1 && ac_count=$as_val
6938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6939 # Best one so far, save it but keep looking for a better one
6940 ac_cv_path_GREP="$ac_path_GREP"
6941 ac_path_GREP_max=$ac_count
6943 # 10*(2^10) chars as input seems more than enough
6944 test $ac_count -gt 10 && break
6945 done
6946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6947 esac
6949 $ac_path_GREP_found && break 3
6950 done
6951 done
6952 done
6953 IFS=$as_save_IFS
6954 if test -z "$ac_cv_path_GREP"; then
6955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6957 else
6958 ac_cv_path_GREP=$GREP
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6963 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6964 GREP="$ac_cv_path_GREP"
6967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6968 printf %s "checking for egrep... " >&6; }
6969 if test ${ac_cv_path_EGREP+y}
6970 then :
6971 printf %s "(cached) " >&6
6972 else $as_nop
6973 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6974 then ac_cv_path_EGREP="$GREP -E"
6975 else
6976 if test -z "$EGREP"; then
6977 ac_path_EGREP_found=false
6978 # Loop through the user's path and test for each of PROGNAME-LIST
6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6982 IFS=$as_save_IFS
6983 case $as_dir in #(((
6984 '') as_dir=./ ;;
6985 */) ;;
6986 *) as_dir=$as_dir/ ;;
6987 esac
6988 for ac_prog in egrep
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6992 as_fn_executable_p "$ac_path_EGREP" || continue
6993 # Check for GNU ac_path_EGREP and select it if it is found.
6994 # Check for GNU $ac_path_EGREP
6995 case `"$ac_path_EGREP" --version 2>&1` in
6996 *GNU*)
6997 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6999 ac_count=0
7000 printf %s 0123456789 >"conftest.in"
7001 while :
7003 cat "conftest.in" "conftest.in" >"conftest.tmp"
7004 mv "conftest.tmp" "conftest.in"
7005 cp "conftest.in" "conftest.nl"
7006 printf "%s\n" 'EGREP' >> "conftest.nl"
7007 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7009 as_fn_arith $ac_count + 1 && ac_count=$as_val
7010 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7011 # Best one so far, save it but keep looking for a better one
7012 ac_cv_path_EGREP="$ac_path_EGREP"
7013 ac_path_EGREP_max=$ac_count
7015 # 10*(2^10) chars as input seems more than enough
7016 test $ac_count -gt 10 && break
7017 done
7018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7019 esac
7021 $ac_path_EGREP_found && break 3
7022 done
7023 done
7024 done
7025 IFS=$as_save_IFS
7026 if test -z "$ac_cv_path_EGREP"; then
7027 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7029 else
7030 ac_cv_path_EGREP=$EGREP
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7036 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7037 EGREP="$ac_cv_path_EGREP"
7040 # Extract the first word of "ldconfig", so it can be a program name with args.
7041 set dummy ldconfig; ac_word=$2
7042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 printf %s "checking for $ac_word... " >&6; }
7044 if test ${ac_cv_path_LDCONFIG+y}
7045 then :
7046 printf %s "(cached) " >&6
7047 else $as_nop
7048 case $LDCONFIG in
7049 [\\/]* | ?:[\\/]*)
7050 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in /sbin /usr/sbin $PATH
7056 IFS=$as_save_IFS
7057 case $as_dir in #(((
7058 '') as_dir=./ ;;
7059 */) ;;
7060 *) as_dir=$as_dir/ ;;
7061 esac
7062 for ac_exec_ext in '' $ac_executable_extensions; do
7063 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7064 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7066 break 2
7068 done
7069 done
7070 IFS=$as_save_IFS
7072 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7074 esac
7076 LDCONFIG=$ac_cv_path_LDCONFIG
7077 if test -n "$LDCONFIG"; then
7078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7079 printf "%s\n" "$LDCONFIG" >&6; }
7080 else
7081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7082 printf "%s\n" "no" >&6; }
7086 for ac_prog in msgfmt
7088 # Extract the first word of "$ac_prog", so it can be a program name with args.
7089 set dummy $ac_prog; ac_word=$2
7090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 printf %s "checking for $ac_word... " >&6; }
7092 if test ${ac_cv_prog_MSGFMT+y}
7093 then :
7094 printf %s "(cached) " >&6
7095 else $as_nop
7096 if test -n "$MSGFMT"; then
7097 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7098 else
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7100 for as_dir in $PATH
7102 IFS=$as_save_IFS
7103 case $as_dir in #(((
7104 '') as_dir=./ ;;
7105 */) ;;
7106 *) as_dir=$as_dir/ ;;
7107 esac
7108 for ac_exec_ext in '' $ac_executable_extensions; do
7109 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7110 ac_cv_prog_MSGFMT="$ac_prog"
7111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7112 break 2
7114 done
7115 done
7116 IFS=$as_save_IFS
7120 MSGFMT=$ac_cv_prog_MSGFMT
7121 if test -n "$MSGFMT"; then
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7123 printf "%s\n" "$MSGFMT" >&6; }
7124 else
7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 printf "%s\n" "no" >&6; }
7130 test -n "$MSGFMT" && break
7131 done
7132 test -n "$MSGFMT" || MSGFMT="false"
7134 if test ${ac_tool_prefix+y}
7135 then :
7136 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7137 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7139 printf %s "checking for $ac_word... " >&6; }
7140 if test ${ac_cv_prog_PKG_CONFIG+y}
7141 then :
7142 printf %s "(cached) " >&6
7143 else $as_nop
7144 if test -n "$PKG_CONFIG"; then
7145 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150 IFS=$as_save_IFS
7151 case $as_dir in #(((
7152 '') as_dir=./ ;;
7153 */) ;;
7154 *) as_dir=$as_dir/ ;;
7155 esac
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7169 if test -n "$PKG_CONFIG"; then
7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7171 printf "%s\n" "$PKG_CONFIG" >&6; }
7172 else
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 printf "%s\n" "no" >&6; }
7179 if ${ac_cv_prog_PKG_CONFIG:+false} :
7180 then :
7181 if test "x$cross_compiling" = xyes
7182 then :
7184 else $as_nop
7185 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7186 # Extract the first word of "pkg-config", so it can be a program name with args.
7187 set dummy pkg-config; ac_word=$2
7188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 printf %s "checking for $ac_word... " >&6; }
7190 if test ${ac_cv_prog_PKG_CONFIG+y}
7191 then :
7192 printf %s "(cached) " >&6
7193 else $as_nop
7194 if test -n "$PKG_CONFIG"; then
7195 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7196 else
7197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7198 for as_dir in $PATH
7200 IFS=$as_save_IFS
7201 case $as_dir in #(((
7202 '') as_dir=./ ;;
7203 */) ;;
7204 *) as_dir=$as_dir/ ;;
7205 esac
7206 for ac_exec_ext in '' $ac_executable_extensions; do
7207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7208 ac_cv_prog_PKG_CONFIG="pkg-config"
7209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7210 break 2
7212 done
7213 done
7214 IFS=$as_save_IFS
7218 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7219 if test -n "$PKG_CONFIG"; then
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7221 printf "%s\n" "$PKG_CONFIG" >&6; }
7222 else
7223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 printf "%s\n" "no" >&6; }
7229 else $as_nop
7230 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7233 if test "x$enable_maintainer_mode" != "xyes"
7234 then
7235 FONTFORGE=""
7236 RSVG=""
7237 CONVERT=""
7238 ICOTOOL=""
7239 else
7240 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7241 for ac_prog in fontforge
7243 # Extract the first word of "$ac_prog", so it can be a program name with args.
7244 set dummy $ac_prog; ac_word=$2
7245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 printf %s "checking for $ac_word... " >&6; }
7247 if test ${ac_cv_prog_FONTFORGE+y}
7248 then :
7249 printf %s "(cached) " >&6
7250 else $as_nop
7251 if test -n "$FONTFORGE"; then
7252 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7257 IFS=$as_save_IFS
7258 case $as_dir in #(((
7259 '') as_dir=./ ;;
7260 */) ;;
7261 *) as_dir=$as_dir/ ;;
7262 esac
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7265 ac_cv_prog_FONTFORGE="$ac_prog"
7266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7267 break 2
7269 done
7270 done
7271 IFS=$as_save_IFS
7275 FONTFORGE=$ac_cv_prog_FONTFORGE
7276 if test -n "$FONTFORGE"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7278 printf "%s\n" "$FONTFORGE" >&6; }
7279 else
7280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 printf "%s\n" "no" >&6; }
7285 test -n "$FONTFORGE" && break
7286 done
7287 test -n "$FONTFORGE" || FONTFORGE="false"
7289 for ac_prog in rsvg-convert rsvg
7291 # Extract the first word of "$ac_prog", so it can be a program name with args.
7292 set dummy $ac_prog; ac_word=$2
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7294 printf %s "checking for $ac_word... " >&6; }
7295 if test ${ac_cv_prog_RSVG+y}
7296 then :
7297 printf %s "(cached) " >&6
7298 else $as_nop
7299 if test -n "$RSVG"; then
7300 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7301 else
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH
7305 IFS=$as_save_IFS
7306 case $as_dir in #(((
7307 '') as_dir=./ ;;
7308 */) ;;
7309 *) as_dir=$as_dir/ ;;
7310 esac
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7313 ac_cv_prog_RSVG="$ac_prog"
7314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7315 break 2
7317 done
7318 done
7319 IFS=$as_save_IFS
7323 RSVG=$ac_cv_prog_RSVG
7324 if test -n "$RSVG"; then
7325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7326 printf "%s\n" "$RSVG" >&6; }
7327 else
7328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 printf "%s\n" "no" >&6; }
7333 test -n "$RSVG" && break
7334 done
7335 test -n "$RSVG" || RSVG="false"
7337 for ac_prog in convert
7339 # Extract the first word of "$ac_prog", so it can be a program name with args.
7340 set dummy $ac_prog; ac_word=$2
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 printf %s "checking for $ac_word... " >&6; }
7343 if test ${ac_cv_prog_CONVERT+y}
7344 then :
7345 printf %s "(cached) " >&6
7346 else $as_nop
7347 if test -n "$CONVERT"; then
7348 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7353 IFS=$as_save_IFS
7354 case $as_dir in #(((
7355 '') as_dir=./ ;;
7356 */) ;;
7357 *) as_dir=$as_dir/ ;;
7358 esac
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7360 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7361 ac_cv_prog_CONVERT="$ac_prog"
7362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7363 break 2
7365 done
7366 done
7367 IFS=$as_save_IFS
7371 CONVERT=$ac_cv_prog_CONVERT
7372 if test -n "$CONVERT"; then
7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7374 printf "%s\n" "$CONVERT" >&6; }
7375 else
7376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 printf "%s\n" "no" >&6; }
7381 test -n "$CONVERT" && break
7382 done
7383 test -n "$CONVERT" || CONVERT="false"
7385 for ac_prog in icotool
7387 # Extract the first word of "$ac_prog", so it can be a program name with args.
7388 set dummy $ac_prog; ac_word=$2
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 printf %s "checking for $ac_word... " >&6; }
7391 if test ${ac_cv_prog_ICOTOOL+y}
7392 then :
7393 printf %s "(cached) " >&6
7394 else $as_nop
7395 if test -n "$ICOTOOL"; then
7396 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7401 IFS=$as_save_IFS
7402 case $as_dir in #(((
7403 '') as_dir=./ ;;
7404 */) ;;
7405 *) as_dir=$as_dir/ ;;
7406 esac
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7409 ac_cv_prog_ICOTOOL="$ac_prog"
7410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7411 break 2
7413 done
7414 done
7415 IFS=$as_save_IFS
7419 ICOTOOL=$ac_cv_prog_ICOTOOL
7420 if test -n "$ICOTOOL"; then
7421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7422 printf "%s\n" "$ICOTOOL" >&6; }
7423 else
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425 printf "%s\n" "no" >&6; }
7429 test -n "$ICOTOOL" && break
7430 done
7431 test -n "$ICOTOOL" || ICOTOOL="false"
7433 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7434 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7436 if test "$CONVERT" = false
7437 then
7438 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7439 else
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7441 printf %s "checking for recent enough imagemagick... " >&6; }
7442 convert_version=`convert --version | head -n1`
7443 if test "x$convert_version" != "x"
7444 then
7445 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7446 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7447 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7448 then
7449 CONVERT=false
7452 if test "$CONVERT" = false
7453 then
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7456 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7457 else
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7459 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7463 if test "$ICOTOOL" = false
7464 then
7465 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7466 else
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7468 printf %s "checking for recent enough icotool... " >&6; }
7469 icotool_version=`icotool --version | head -n1`
7470 if test "x$icotool_version" != "x"
7471 then
7472 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7473 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7474 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7475 then
7476 ICOTOOL=false
7477 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7480 if test "$ICOTOOL" = false
7481 then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7484 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7487 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7491 with_gettext=yes
7492 with_gettextpo=yes
7494 enable_werror=yes
7497 test "x$with_gettext" != xno || MSGFMT=false
7498 if test "$MSGFMT" != "false"
7499 then
7500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7501 printf %s "checking whether msgfmt supports contexts... " >&6; }
7502 if test ${wine_cv_msgfmt_contexts+y}
7503 then :
7504 printf %s "(cached) " >&6
7505 else $as_nop
7506 cat >conftest.po <<EOF
7507 # comment
7508 msgctxt "ctxt"
7509 msgid "id"
7510 msgstr "str"
7512 if $MSGFMT -o /dev/null conftest.po 2>&5
7513 then
7514 wine_cv_msgfmt_contexts=yes
7515 else
7516 wine_cv_msgfmt_contexts=no
7519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7520 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7521 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7523 if test "$MSGFMT" = false
7524 then :
7525 case "x$with_gettext" in
7526 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7527 xno) ;;
7528 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7529 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7530 esac
7531 enable_po=${enable_po:-no}
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7536 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7537 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7538 then :
7539 printf %s "(cached) " >&6
7540 else $as_nop
7541 ac_check_lib_save_LIBS=$LIBS
7542 LIBS="-li386 $LIBS"
7543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7546 /* Override any GCC internal prototype to avoid an error.
7547 Use char because int might match the return type of a GCC
7548 builtin and then its argument prototype would still apply. */
7549 char i386_set_ldt ();
7551 main (void)
7553 return i386_set_ldt ();
7555 return 0;
7557 _ACEOF
7558 if ac_fn_c_try_link "$LINENO"
7559 then :
7560 ac_cv_lib_i386_i386_set_ldt=yes
7561 else $as_nop
7562 ac_cv_lib_i386_i386_set_ldt=no
7564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7565 conftest$ac_exeext conftest.$ac_ext
7566 LIBS=$ac_check_lib_save_LIBS
7568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7569 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7570 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7571 then :
7572 I386_LIBS="-li386"
7577 OPENGL_LIBS=""
7581 # Check whether --enable-largefile was given.
7582 if test ${enable_largefile+y}
7583 then :
7584 enableval=$enable_largefile;
7587 if test "$enable_largefile" != no; then
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7590 printf %s "checking for special C compiler options needed for large files... " >&6; }
7591 if test ${ac_cv_sys_largefile_CC+y}
7592 then :
7593 printf %s "(cached) " >&6
7594 else $as_nop
7595 ac_cv_sys_largefile_CC=no
7596 if test "$GCC" != yes; then
7597 ac_save_CC=$CC
7598 while :; do
7599 # IRIX 6.2 and later do not support large files by default,
7600 # so use the C compiler's -n32 option if that helps.
7601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7602 /* end confdefs.h. */
7603 #include <sys/types.h>
7604 /* Check that off_t can represent 2**63 - 1 correctly.
7605 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7606 since some C++ compilers masquerading as C compilers
7607 incorrectly reject 9223372036854775807. */
7608 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7609 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7610 && LARGE_OFF_T % 2147483647 == 1)
7611 ? 1 : -1];
7613 main (void)
7617 return 0;
7619 _ACEOF
7620 if ac_fn_c_try_compile "$LINENO"
7621 then :
7622 break
7624 rm -f core conftest.err conftest.$ac_objext conftest.beam
7625 CC="$CC -n32"
7626 if ac_fn_c_try_compile "$LINENO"
7627 then :
7628 ac_cv_sys_largefile_CC=' -n32'; break
7630 rm -f core conftest.err conftest.$ac_objext conftest.beam
7631 break
7632 done
7633 CC=$ac_save_CC
7634 rm -f conftest.$ac_ext
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7638 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7639 if test "$ac_cv_sys_largefile_CC" != no; then
7640 CC=$CC$ac_cv_sys_largefile_CC
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7644 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7645 if test ${ac_cv_sys_file_offset_bits+y}
7646 then :
7647 printf %s "(cached) " >&6
7648 else $as_nop
7649 while :; do
7650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7651 /* end confdefs.h. */
7652 #include <sys/types.h>
7653 /* Check that off_t can represent 2**63 - 1 correctly.
7654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7655 since some C++ compilers masquerading as C compilers
7656 incorrectly reject 9223372036854775807. */
7657 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7659 && LARGE_OFF_T % 2147483647 == 1)
7660 ? 1 : -1];
7662 main (void)
7666 return 0;
7668 _ACEOF
7669 if ac_fn_c_try_compile "$LINENO"
7670 then :
7671 ac_cv_sys_file_offset_bits=no; break
7673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 /* end confdefs.h. */
7676 #define _FILE_OFFSET_BITS 64
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 ac_cv_sys_file_offset_bits=64; break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7699 ac_cv_sys_file_offset_bits=unknown
7700 break
7701 done
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7704 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7705 case $ac_cv_sys_file_offset_bits in #(
7706 no | unknown) ;;
7708 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7710 esac
7711 rm -rf conftest*
7712 if test $ac_cv_sys_file_offset_bits = unknown; then
7713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7714 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7715 if test ${ac_cv_sys_large_files+y}
7716 then :
7717 printf %s "(cached) " >&6
7718 else $as_nop
7719 while :; do
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7721 /* end confdefs.h. */
7722 #include <sys/types.h>
7723 /* Check that off_t can represent 2**63 - 1 correctly.
7724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7725 since some C++ compilers masquerading as C compilers
7726 incorrectly reject 9223372036854775807. */
7727 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7729 && LARGE_OFF_T % 2147483647 == 1)
7730 ? 1 : -1];
7732 main (void)
7736 return 0;
7738 _ACEOF
7739 if ac_fn_c_try_compile "$LINENO"
7740 then :
7741 ac_cv_sys_large_files=no; break
7743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7745 /* end confdefs.h. */
7746 #define _LARGE_FILES 1
7747 #include <sys/types.h>
7748 /* Check that off_t can represent 2**63 - 1 correctly.
7749 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7750 since some C++ compilers masquerading as C compilers
7751 incorrectly reject 9223372036854775807. */
7752 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7753 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7754 && LARGE_OFF_T % 2147483647 == 1)
7755 ? 1 : -1];
7757 main (void)
7761 return 0;
7763 _ACEOF
7764 if ac_fn_c_try_compile "$LINENO"
7765 then :
7766 ac_cv_sys_large_files=1; break
7768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 ac_cv_sys_large_files=unknown
7770 break
7771 done
7773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7774 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7775 case $ac_cv_sys_large_files in #(
7776 no | unknown) ;;
7778 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7780 esac
7781 rm -rf conftest*
7786 ac_header= ac_cache=
7787 for ac_item in $ac_header_c_list
7789 if test $ac_cache; then
7790 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7791 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7792 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7794 ac_header= ac_cache=
7795 elif test $ac_header; then
7796 ac_cache=$ac_item
7797 else
7798 ac_header=$ac_item
7800 done
7809 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7810 then :
7812 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7815 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7816 if test "x$ac_cv_header_AL_al_h" = xyes
7817 then :
7818 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7821 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7822 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7823 then :
7824 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7827 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7828 if test "x$ac_cv_header_CL_cl_h" = xyes
7829 then :
7830 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7833 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7834 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7835 then :
7836 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7839 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7840 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7841 then :
7842 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7845 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7847 then :
7848 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_EGL_egl_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_Security_Security_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_arpa_inet_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_asm_types_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_asm_user_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_elf_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_float_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_gettext_po_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_libproc_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_link_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_filter_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_input_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_linux_major_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_linux_param_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_linux_serial_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_linux_types_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_lwp_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_mach_mach_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_machine_cpu_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_mntent_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_netdb_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_netinet_in_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_port_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_pthread_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_pwd_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sched_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_scsi_sg_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_stdint_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_attr_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_auxv_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_cdio_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_epoll_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_event_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_filio_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_ipc_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_link_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_modem_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_mtio_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_param_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_prctl_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_queue_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_random_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_resource_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_shm_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_signal_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_sockio_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_strtio_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_syscall_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_times_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_uio_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_user_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_sys_utsname_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_sys_vnode_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8325 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8326 if test "x$ac_cv_header_syscall_h" = xyes
8327 then :
8328 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8331 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8332 if test "x$ac_cv_header_utime_h" = xyes
8333 then :
8334 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8337 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8338 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8339 then :
8340 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8343 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8344 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8345 then :
8346 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8350 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8351 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8352 then :
8354 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8358 if test $ac_cv_header_sys_mkdev_h = no; then
8359 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8360 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8361 then :
8363 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8369 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8370 if test ${ac_cv_header_stat_broken+y}
8371 then :
8372 printf %s "(cached) " >&6
8373 else $as_nop
8374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8375 /* end confdefs.h. */
8376 #include <sys/types.h>
8377 #include <sys/stat.h>
8379 #if defined S_ISBLK && defined S_IFDIR
8380 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8381 #endif
8383 #if defined S_ISBLK && defined S_IFCHR
8384 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8385 #endif
8387 #if defined S_ISLNK && defined S_IFREG
8388 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8389 #endif
8391 #if defined S_ISSOCK && defined S_IFREG
8392 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8393 #endif
8395 _ACEOF
8396 if ac_fn_c_try_compile "$LINENO"
8397 then :
8398 ac_cv_header_stat_broken=no
8399 else $as_nop
8400 ac_cv_header_stat_broken=yes
8402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8405 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8406 if test $ac_cv_header_stat_broken = yes; then
8408 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8414 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8415 #ifdef HAVE_SYS_PARAM_H
8416 # include <sys/param.h>
8417 #endif
8419 if test "x$ac_cv_header_sys_conf_h" = xyes
8420 then :
8421 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8424 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_mount_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8434 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8435 #ifdef HAVE_SYS_PARAM_H
8436 # include <sys/param.h>
8437 #endif
8439 if test "x$ac_cv_header_sys_statfs_h" = xyes
8440 then :
8441 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8444 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_user_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8454 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8455 #ifdef HAVE_SYS_PARAM_H
8456 # include <sys/param.h>
8457 #endif
8459 if test "x$ac_cv_header_sys_vfs_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8466 saved_sysctl_h_CFLAGS=$CFLAGS
8467 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8468 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8471 #endif
8473 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8479 CFLAGS=$saved_sysctl_h_CFLAGS
8481 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8482 #include <sys/socket.h>
8483 #ifdef HAVE_SYS_SOCKETVAR_H
8484 # include <sys/socketvar.h>
8485 #endif
8486 #ifdef HAVE_NET_ROUTE_H
8487 # include <net/route.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_H
8490 # include <netinet/in.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_SYSTM_H
8493 # include <netinet/in_systm.h>
8494 #endif
8495 #ifdef HAVE_NET_IF_H
8496 # include <net/if.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IP_H
8499 # include <netinet/ip.h>
8500 #endif
8502 if test "x$ac_cv_header_netinet_ip_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8511 #endif
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8520 #endif
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8526 #endif
8528 if test "x$ac_cv_header_net_if_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8537 #endif
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8546 #endif
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8552 #endif
8554 if test "x$ac_cv_header_net_if_arp_h" = xyes
8555 then :
8556 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8563 #endif
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8572 #endif
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8578 #endif
8580 if test "x$ac_cv_header_net_if_dl_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8589 #endif
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8598 #endif
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8604 #endif
8606 if test "x$ac_cv_header_net_if_types_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8615 #endif
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8624 #endif
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8630 #endif
8632 if test "x$ac_cv_header_net_route_h" = xyes
8633 then :
8634 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8641 #endif
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8650 #endif
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8656 #endif
8658 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8667 #endif
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8676 #endif
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8682 #endif
8684 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8685 then :
8686 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8693 #endif
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8702 #endif
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8708 #endif
8710 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8711 then :
8712 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8719 #endif
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8728 #endif
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8734 #endif
8736 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8737 then :
8738 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8745 #endif
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8754 #endif
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8760 #endif
8762 if test "x$ac_cv_header_netinet_udp_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8771 #endif
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8780 #endif
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8786 #endif
8788 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8789 then :
8790 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8797 #endif
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8806 #endif
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8812 #endif
8814 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8815 then :
8816 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8819 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8820 #include <sys/socket.h>
8821 #ifdef HAVE_SYS_SOCKETVAR_H
8822 # include <sys/socketvar.h>
8823 #endif
8824 #ifdef HAVE_NET_ROUTE_H
8825 # include <net/route.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IN_H
8828 # include <netinet/in.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_SYSTM_H
8831 # include <netinet/in_systm.h>
8832 #endif
8833 #ifdef HAVE_NET_IF_H
8834 # include <net/if.h>
8835 #endif
8836 #ifdef HAVE_NETINET_IP_H
8837 # include <netinet/ip.h>
8838 #endif
8840 if test "x$ac_cv_header_sys_un_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8847 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8848 #include <sys/socket.h>
8849 #ifdef HAVE_SYS_SOCKETVAR_H
8850 # include <sys/socketvar.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_H
8853 # include <netinet/in.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_SYSTM_H
8856 # include <netinet/in_systm.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_H
8859 # include <netinet/ip.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_VAR_H
8862 # include <netinet/ip_var.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_ICMP_H
8865 # include <netinet/ip_icmp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_UDP_H
8868 # include <netinet/udp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_TCP_H
8871 # include <netinet/tcp.h>
8872 #endif
8874 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8875 then :
8876 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8879 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8880 #include <sys/socket.h>
8881 #ifdef HAVE_SYS_SOCKETVAR_H
8882 # include <sys/socketvar.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_H
8885 # include <netinet/in.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_SYSTM_H
8888 # include <netinet/in_systm.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_H
8891 # include <netinet/ip.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_VAR_H
8894 # include <netinet/ip_var.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_ICMP_H
8897 # include <netinet/ip_icmp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_UDP_H
8900 # include <netinet/udp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_TCP_H
8903 # include <netinet/tcp.h>
8904 #endif
8906 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8907 then :
8908 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8911 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8912 #include <sys/socket.h>
8913 #ifdef HAVE_SYS_SOCKETVAR_H
8914 # include <sys/socketvar.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IN_H
8917 # include <netinet/in.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IN_SYSTM_H
8920 # include <netinet/in_systm.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IP_H
8923 # include <netinet/ip.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_VAR_H
8926 # include <netinet/ip_var.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_ICMP_H
8929 # include <netinet/ip_icmp.h>
8930 #endif
8931 #ifdef HAVE_NETINET_UDP_H
8932 # include <netinet/udp.h>
8933 #endif
8934 #ifdef HAVE_NETINET_TCP_H
8935 # include <netinet/tcp.h>
8936 #endif
8938 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_SYS_SOCKETVAR_H
8946 # include <sys/socketvar.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IN_H
8949 # include <netinet/in.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IN_SYSTM_H
8952 # include <netinet/in_systm.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IP_H
8955 # include <netinet/ip.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_VAR_H
8958 # include <netinet/ip_var.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IP_ICMP_H
8961 # include <netinet/ip_icmp.h>
8962 #endif
8963 #ifdef HAVE_NETINET_UDP_H
8964 # include <netinet/udp.h>
8965 #endif
8966 #ifdef HAVE_NETINET_TCP_H
8967 # include <netinet/tcp.h>
8968 #endif
8970 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_ASM_TYPES_H
8980 # include <asm/types.h>
8981 #endif
8982 #ifdef HAVE_LINUX_TYPES_H
8983 # include <linux/types.h>
8984 #endif
8986 if test "x$ac_cv_header_linux_ipx_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8995 #endif
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
8998 #endif
9000 if test "x$ac_cv_header_linux_irda_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9006 #include <sys/socket.h>
9007 #ifdef HAVE_ASM_TYPES_H
9008 # include <asm/types.h>
9009 #endif
9010 #ifdef HAVE_LINUX_TYPES_H
9011 # include <linux/types.h>
9012 #endif
9014 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9021 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9022 #include <sys/socket.h>
9023 #ifdef HAVE_NETINET_IN_H
9024 # include <netinet/in.h>
9025 #endif
9026 #ifdef HAVE_ARPA_NAMESER_H
9027 # include <arpa/nameser.h>
9028 #endif
9030 if test "x$ac_cv_header_resolv_h" = xyes
9031 then :
9032 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9037 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9039 if test "x$ac_cv_header_ifaddrs_h" = xyes
9040 then :
9041 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9046 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9048 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9049 then :
9050 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9055 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9056 #ifdef HAVE_SYS_UCONTEXT_H
9057 #include <sys/ucontext.h>
9058 #endif
9060 if test "x$ac_cv_header_sys_thr_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9068 #include <pthread.h>
9069 #endif
9071 if test "x$ac_cv_header_pthread_np_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9079 #include <sys/types.h>
9080 #ifdef HAVE_ASM_TYPES_H
9081 #include <asm/types.h>
9082 #endif
9084 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9085 then :
9086 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9091 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9092 #include <sys/param.h>
9093 #endif
9094 #include <sys/socket.h>
9095 #ifdef HAVE_SYS_QUEUE_H
9096 #include <sys/queue.h>
9097 #endif
9099 if test "x$ac_cv_header_libprocstat_h" = xyes
9100 then :
9101 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9107 DLLFLAGS=""
9109 LDDLLFLAGS=""
9111 LDEXECFLAGS=""
9113 EXTRACFLAGS=""
9115 UNIXDLLFLAGS="-fPIC"
9117 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9119 TOP_INSTALL_LIB=""
9121 TOP_INSTALL_DEV=""
9123 WINELOADER_LDFLAGS=""
9125 WINEPRELOADER_LDFLAGS=""
9127 LIBEXT="so"
9128 # Extract the first word of "ldd", so it can be a program name with args.
9129 set dummy ldd; ac_word=$2
9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 printf %s "checking for $ac_word... " >&6; }
9132 if test ${ac_cv_path_LDD+y}
9133 then :
9134 printf %s "(cached) " >&6
9135 else $as_nop
9136 case $LDD in
9137 [\\/]* | ?:[\\/]*)
9138 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9142 as_dummy="/sbin:/usr/sbin:$PATH"
9143 for as_dir in $as_dummy
9145 IFS=$as_save_IFS
9146 case $as_dir in #(((
9147 '') as_dir=./ ;;
9148 */) ;;
9149 *) as_dir=$as_dir/ ;;
9150 esac
9151 for ac_exec_ext in '' $ac_executable_extensions; do
9152 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9153 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9155 break 2
9157 done
9158 done
9159 IFS=$as_save_IFS
9161 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9163 esac
9165 LDD=$ac_cv_path_LDD
9166 if test -n "$LDD"; then
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9168 printf "%s\n" "$LDD" >&6; }
9169 else
9170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 printf "%s\n" "no" >&6; }
9175 if test -n "$ac_tool_prefix"; then
9176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9177 set dummy ${ac_tool_prefix}otool; ac_word=$2
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 printf %s "checking for $ac_word... " >&6; }
9180 if test ${ac_cv_prog_OTOOL+y}
9181 then :
9182 printf %s "(cached) " >&6
9183 else $as_nop
9184 if test -n "$OTOOL"; then
9185 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9186 else
9187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9188 for as_dir in $PATH
9190 IFS=$as_save_IFS
9191 case $as_dir in #(((
9192 '') as_dir=./ ;;
9193 */) ;;
9194 *) as_dir=$as_dir/ ;;
9195 esac
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9198 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9200 break 2
9202 done
9203 done
9204 IFS=$as_save_IFS
9208 OTOOL=$ac_cv_prog_OTOOL
9209 if test -n "$OTOOL"; then
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9211 printf "%s\n" "$OTOOL" >&6; }
9212 else
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9214 printf "%s\n" "no" >&6; }
9219 if test -z "$ac_cv_prog_OTOOL"; then
9220 ac_ct_OTOOL=$OTOOL
9221 # Extract the first word of "otool", so it can be a program name with args.
9222 set dummy otool; ac_word=$2
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9224 printf %s "checking for $ac_word... " >&6; }
9225 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9226 then :
9227 printf %s "(cached) " >&6
9228 else $as_nop
9229 if test -n "$ac_ct_OTOOL"; then
9230 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9231 else
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 for as_dir in $PATH
9235 IFS=$as_save_IFS
9236 case $as_dir in #(((
9237 '') as_dir=./ ;;
9238 */) ;;
9239 *) as_dir=$as_dir/ ;;
9240 esac
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9243 ac_cv_prog_ac_ct_OTOOL="otool"
9244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9245 break 2
9247 done
9248 done
9249 IFS=$as_save_IFS
9253 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9254 if test -n "$ac_ct_OTOOL"; then
9255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9256 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9257 else
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9259 printf "%s\n" "no" >&6; }
9262 if test "x$ac_ct_OTOOL" = x; then
9263 OTOOL="otool"
9264 else
9265 case $cross_compiling:$ac_tool_warned in
9266 yes:)
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9268 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9269 ac_tool_warned=yes ;;
9270 esac
9271 OTOOL=$ac_ct_OTOOL
9273 else
9274 OTOOL="$ac_cv_prog_OTOOL"
9277 if test -n "$ac_tool_prefix"; then
9278 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9279 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s "checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_READELF+y}
9283 then :
9284 printf %s "(cached) " >&6
9285 else $as_nop
9286 if test -n "$READELF"; then
9287 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9288 else
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 for as_dir in $PATH
9292 IFS=$as_save_IFS
9293 case $as_dir in #(((
9294 '') as_dir=./ ;;
9295 */) ;;
9296 *) as_dir=$as_dir/ ;;
9297 esac
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9302 break 2
9304 done
9305 done
9306 IFS=$as_save_IFS
9310 READELF=$ac_cv_prog_READELF
9311 if test -n "$READELF"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9313 printf "%s\n" "$READELF" >&6; }
9314 else
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9321 if test -z "$ac_cv_prog_READELF"; then
9322 ac_ct_READELF=$READELF
9323 # Extract the first word of "readelf", so it can be a program name with args.
9324 set dummy readelf; ac_word=$2
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 printf %s "checking for $ac_word... " >&6; }
9327 if test ${ac_cv_prog_ac_ct_READELF+y}
9328 then :
9329 printf %s "(cached) " >&6
9330 else $as_nop
9331 if test -n "$ac_ct_READELF"; then
9332 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9333 else
9334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9335 for as_dir in $PATH
9337 IFS=$as_save_IFS
9338 case $as_dir in #(((
9339 '') as_dir=./ ;;
9340 */) ;;
9341 *) as_dir=$as_dir/ ;;
9342 esac
9343 for ac_exec_ext in '' $ac_executable_extensions; do
9344 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9345 ac_cv_prog_ac_ct_READELF="readelf"
9346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9347 break 2
9349 done
9350 done
9351 IFS=$as_save_IFS
9355 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9356 if test -n "$ac_ct_READELF"; then
9357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9358 printf "%s\n" "$ac_ct_READELF" >&6; }
9359 else
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9361 printf "%s\n" "no" >&6; }
9364 if test "x$ac_ct_READELF" = x; then
9365 READELF="true"
9366 else
9367 case $cross_compiling:$ac_tool_warned in
9368 yes:)
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9370 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9371 ac_tool_warned=yes ;;
9372 esac
9373 READELF=$ac_ct_READELF
9375 else
9376 READELF="$ac_cv_prog_READELF"
9379 wine_rules="all:"
9380 SUBDIRS=""
9382 DISABLED_SUBDIRS=""
9384 CONFIGURE_TARGETS=""
9387 wine_fn_append_file ()
9389 as_fn_append $1 " \\$as_nl $2"
9392 wine_fn_append_rule ()
9394 as_fn_append wine_rules "$as_nl$1"
9397 wine_fn_config_makefile ()
9399 wine_fn_append_file SUBDIRS $1
9400 if eval test \"x\$"$2"\" = x"no"
9401 then :
9402 wine_fn_append_file DISABLED_SUBDIRS $1
9406 wine_fn_config_symlink ()
9408 ac_links=$@
9409 wine_fn_append_rule \
9410 "$ac_links:
9411 @./config.status \$@"
9412 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9415 wine_binary="wine"
9416 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9417 WINELOADER_PROGRAMS="$wine_binary"
9419 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9421 case $host_os in
9422 cygwin*|mingw32*)
9423 if test -n "$ac_tool_prefix"; then
9424 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9425 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9427 printf %s "checking for $ac_word... " >&6; }
9428 if test ${ac_cv_prog_DLLTOOL+y}
9429 then :
9430 printf %s "(cached) " >&6
9431 else $as_nop
9432 if test -n "$DLLTOOL"; then
9433 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9434 else
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 for as_dir in $PATH
9438 IFS=$as_save_IFS
9439 case $as_dir in #(((
9440 '') as_dir=./ ;;
9441 */) ;;
9442 *) as_dir=$as_dir/ ;;
9443 esac
9444 for ac_exec_ext in '' $ac_executable_extensions; do
9445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9446 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9448 break 2
9450 done
9451 done
9452 IFS=$as_save_IFS
9456 DLLTOOL=$ac_cv_prog_DLLTOOL
9457 if test -n "$DLLTOOL"; then
9458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9459 printf "%s\n" "$DLLTOOL" >&6; }
9460 else
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9462 printf "%s\n" "no" >&6; }
9467 if test -z "$ac_cv_prog_DLLTOOL"; then
9468 ac_ct_DLLTOOL=$DLLTOOL
9469 # Extract the first word of "dlltool", so it can be a program name with args.
9470 set dummy dlltool; ac_word=$2
9471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9472 printf %s "checking for $ac_word... " >&6; }
9473 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9474 then :
9475 printf %s "(cached) " >&6
9476 else $as_nop
9477 if test -n "$ac_ct_DLLTOOL"; then
9478 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9483 IFS=$as_save_IFS
9484 case $as_dir in #(((
9485 '') as_dir=./ ;;
9486 */) ;;
9487 *) as_dir=$as_dir/ ;;
9488 esac
9489 for ac_exec_ext in '' $ac_executable_extensions; do
9490 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9491 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9493 break 2
9495 done
9496 done
9497 IFS=$as_save_IFS
9501 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9502 if test -n "$ac_ct_DLLTOOL"; then
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9504 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9505 else
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9507 printf "%s\n" "no" >&6; }
9510 if test "x$ac_ct_DLLTOOL" = x; then
9511 DLLTOOL="false"
9512 else
9513 case $cross_compiling:$ac_tool_warned in
9514 yes:)
9515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9516 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9517 ac_tool_warned=yes ;;
9518 esac
9519 DLLTOOL=$ac_ct_DLLTOOL
9521 else
9522 DLLTOOL="$ac_cv_prog_DLLTOOL"
9525 LIBEXT="dll"
9526 EXTRACFLAGS="-D__WINE_PE_BUILD"
9527 case $host_cpu in
9528 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9529 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9530 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9531 then :
9532 printf %s "(cached) " >&6
9533 else $as_nop
9534 ac_wine_try_cflags_saved=$CFLAGS
9535 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9537 /* end confdefs.h. */
9538 int main(int argc, char **argv) { return 0; }
9539 _ACEOF
9540 if ac_fn_c_try_link "$LINENO"
9541 then :
9542 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9543 else $as_nop
9544 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9547 conftest$ac_exeext conftest.$ac_ext
9548 CFLAGS=$ac_wine_try_cflags_saved
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9551 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9552 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9553 then :
9554 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9555 fi ;;
9556 esac
9557 enable_loader=${enable_loader:-no}
9558 enable_server=${enable_server:-no}
9559 with_x=${with_x:-no}
9560 with_pthread=${with_pthread:-no}
9563 darwin*|macosx*)
9564 ac_ext=m
9565 ac_cpp='$OBJCPP $CPPFLAGS'
9566 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9570 ac_ext=m
9571 ac_cpp='$OBJCPP $CPPFLAGS'
9572 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9573 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9574 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9575 if test -n "$ac_tool_prefix"; then
9576 for ac_prog in gcc objcc objc cc CC clang
9578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 printf %s "checking for $ac_word... " >&6; }
9582 if test ${ac_cv_prog_OBJC+y}
9583 then :
9584 printf %s "(cached) " >&6
9585 else $as_nop
9586 if test -n "$OBJC"; then
9587 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9588 else
9589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9590 for as_dir in $PATH
9592 IFS=$as_save_IFS
9593 case $as_dir in #(((
9594 '') as_dir=./ ;;
9595 */) ;;
9596 *) as_dir=$as_dir/ ;;
9597 esac
9598 for ac_exec_ext in '' $ac_executable_extensions; do
9599 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9600 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9602 break 2
9604 done
9605 done
9606 IFS=$as_save_IFS
9610 OBJC=$ac_cv_prog_OBJC
9611 if test -n "$OBJC"; then
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9613 printf "%s\n" "$OBJC" >&6; }
9614 else
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9616 printf "%s\n" "no" >&6; }
9620 test -n "$OBJC" && break
9621 done
9623 if test -z "$OBJC"; then
9624 ac_ct_OBJC=$OBJC
9625 for ac_prog in gcc objcc objc cc CC clang
9627 # Extract the first word of "$ac_prog", so it can be a program name with args.
9628 set dummy $ac_prog; ac_word=$2
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 printf %s "checking for $ac_word... " >&6; }
9631 if test ${ac_cv_prog_ac_ct_OBJC+y}
9632 then :
9633 printf %s "(cached) " >&6
9634 else $as_nop
9635 if test -n "$ac_ct_OBJC"; then
9636 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9637 else
9638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9639 for as_dir in $PATH
9641 IFS=$as_save_IFS
9642 case $as_dir in #(((
9643 '') as_dir=./ ;;
9644 */) ;;
9645 *) as_dir=$as_dir/ ;;
9646 esac
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9649 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9651 break 2
9653 done
9654 done
9655 IFS=$as_save_IFS
9659 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9660 if test -n "$ac_ct_OBJC"; then
9661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9662 printf "%s\n" "$ac_ct_OBJC" >&6; }
9663 else
9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 printf "%s\n" "no" >&6; }
9669 test -n "$ac_ct_OBJC" && break
9670 done
9672 if test "x$ac_ct_OBJC" = x; then
9673 OBJC="gcc"
9674 else
9675 case $cross_compiling:$ac_tool_warned in
9676 yes:)
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9678 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9679 ac_tool_warned=yes ;;
9680 esac
9681 OBJC=$ac_ct_OBJC
9685 # Provide some information about the compiler.
9686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9687 set X $ac_compile
9688 ac_compiler=$2
9689 for ac_option in --version -v -V -qversion; do
9690 { { ac_try="$ac_compiler $ac_option >&5"
9691 case "(($ac_try" in
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9694 esac
9695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9696 printf "%s\n" "$ac_try_echo"; } >&5
9697 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9698 ac_status=$?
9699 if test -s conftest.err; then
9700 sed '10a\
9701 ... rest of stderr output deleted ...
9702 10q' conftest.err >conftest.er1
9703 cat conftest.er1 >&5
9705 rm -f conftest.er1 conftest.err
9706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707 test $ac_status = 0; }
9708 done
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9711 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9712 if test ${ac_cv_objc_compiler_gnu+y}
9713 then :
9714 printf %s "(cached) " >&6
9715 else $as_nop
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9722 #ifndef __GNUC__
9723 choke me
9724 #endif
9727 return 0;
9729 _ACEOF
9730 if ac_fn_objc_try_compile "$LINENO"
9731 then :
9732 ac_compiler_gnu=yes
9733 else $as_nop
9734 ac_compiler_gnu=no
9736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9737 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9741 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9742 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9744 if test $ac_compiler_gnu = yes; then
9745 GOBJC=yes
9746 else
9747 GOBJC=
9749 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9750 ac_save_OBJCFLAGS=$OBJCFLAGS
9751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9752 printf %s "checking whether $OBJC accepts -g... " >&6; }
9753 if test ${ac_cv_prog_objc_g+y}
9754 then :
9755 printf %s "(cached) " >&6
9756 else $as_nop
9757 ac_save_objc_werror_flag=$ac_objc_werror_flag
9758 ac_objc_werror_flag=yes
9759 ac_cv_prog_objc_g=no
9760 OBJCFLAGS="-g"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9765 main (void)
9769 return 0;
9771 _ACEOF
9772 if ac_fn_objc_try_compile "$LINENO"
9773 then :
9774 ac_cv_prog_objc_g=yes
9775 else $as_nop
9776 OBJCFLAGS=""
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main (void)
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9791 else $as_nop
9792 ac_objc_werror_flag=$ac_save_objc_werror_flag
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9814 ac_objc_werror_flag=$ac_save_objc_werror_flag
9816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9817 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9818 if test $ac_test_OBJCFLAGS; then
9819 OBJCFLAGS=$ac_save_OBJCFLAGS
9820 elif test $ac_cv_prog_objc_g = yes; then
9821 if test "$GOBJC" = yes; then
9822 OBJCFLAGS="-g -O2"
9823 else
9824 OBJCFLAGS="-g"
9826 else
9827 if test "$GOBJC" = yes; then
9828 OBJCFLAGS="-O2"
9829 else
9830 OBJCFLAGS=
9833 ac_ext=m
9834 ac_cpp='$OBJCPP $CPPFLAGS'
9835 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9836 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9837 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9840 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9841 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9842 then :
9843 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9847 ac_ext=c
9848 ac_cpp='$CPP $CPPFLAGS'
9849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9853 LIBEXT="dylib"
9854 DLLFLAGS="$DLLFLAGS -fPIC"
9855 LDDLLFLAGS="-fPIC"
9856 COREFOUNDATION_LIBS="-framework CoreFoundation"
9858 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9860 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9862 CORESERVICES_LIBS="-framework CoreServices"
9864 APPKIT_LIBS="-framework AppKit"
9866 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9869 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9871 wine_can_build_preloader=yes
9872 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9874 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9875 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9876 then :
9877 printf %s "(cached) " >&6
9878 else $as_nop
9879 ac_wine_try_cflags_saved=$CFLAGS
9880 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883 int main(int argc, char **argv) { return 0; }
9884 _ACEOF
9885 if ac_fn_c_try_link "$LINENO"
9886 then :
9887 ac_cv_cflags__Wl__no_new_main__e__main=yes
9888 else $as_nop
9889 ac_cv_cflags__Wl__no_new_main__e__main=no
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9892 conftest$ac_exeext conftest.$ac_ext
9893 CFLAGS=$ac_wine_try_cflags_saved
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9896 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9897 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9898 then :
9899 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9901 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9902 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9903 then :
9904 printf %s "(cached) " >&6
9905 else $as_nop
9906 ac_wine_try_cflags_saved=$CFLAGS
9907 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int main(int argc, char **argv) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"
9913 then :
9914 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9915 else $as_nop
9916 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9919 conftest$ac_exeext conftest.$ac_ext
9920 CFLAGS=$ac_wine_try_cflags_saved
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9923 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9924 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9925 then :
9926 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9927 else $as_nop
9928 wine_can_build_preloader=no
9930 else $as_nop
9931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9932 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9933 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9934 then :
9935 printf %s "(cached) " >&6
9936 else $as_nop
9937 ac_wine_try_cflags_saved=$CFLAGS
9938 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int main(int argc, char **argv) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"
9944 then :
9945 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9946 else $as_nop
9947 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9954 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9955 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9956 then :
9957 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9958 else $as_nop
9959 wine_can_build_preloader=no
9962 if test "$wine_can_build_preloader" = "yes"
9963 then
9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9965 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9966 if test ${ac_cv_cflags__Wl__no_pie+y}
9967 then :
9968 printf %s "(cached) " >&6
9969 else $as_nop
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 CFLAGS="$CFLAGS -Wl,-no_pie"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int main(int argc, char **argv) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"
9977 then :
9978 ac_cv_cflags__Wl__no_pie=yes
9979 else $as_nop
9980 ac_cv_cflags__Wl__no_pie=no
9982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9983 conftest$ac_exeext conftest.$ac_ext
9984 CFLAGS=$ac_wine_try_cflags_saved
9986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9987 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9988 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9989 then :
9990 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9992 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9993 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9994 else
9995 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9998 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9999 then
10000 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
10003 if test "$ac_cv_header_Security_Security_h" = "yes"
10004 then
10005 SECURITY_LIBS="-framework Security -framework CoreFoundation"
10008 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
10009 then
10010 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
10012 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
10014 if test "$ac_cv_header_OpenAL_al_h" = "yes"
10015 then
10016 OPENAL_LIBS="-framework OpenAL"
10019 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
10021 ac_cv_lib_openal=yes
10023 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
10024 then
10025 OPENCL_LIBS="-framework OpenCL"
10027 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10029 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
10030 then
10031 ac_save_LIBS="$LIBS"
10032 LIBS="$LIBS $IOKIT_LIBS"
10033 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
10034 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
10035 then :
10036 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
10040 LIBS="$ac_save_LIBS"
10043 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
10044 then
10045 CARBON_LIBS="-framework Carbon"
10048 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10049 then
10050 METAL_LIBS="-framework Metal"
10054 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10055 then
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10057 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10058 ac_ext=m
10059 ac_cpp='$OBJCPP $CPPFLAGS'
10060 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10061 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10062 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 #include <Metal/Metal.h>
10068 main (void)
10070 id<MTLDevice> device; device.registryID;
10072 return 0;
10074 _ACEOF
10075 if ac_fn_objc_try_compile "$LINENO"
10076 then :
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10078 printf "%s\n" "yes" >&6; }
10080 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10082 else $as_nop
10083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 printf "%s\n" "no" >&6; }
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10087 ac_ext=c
10088 ac_cpp='$CPP $CPPFLAGS'
10089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10095 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10096 then
10097 ac_save_LIBS="$LIBS"
10098 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10099 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10100 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10101 then :
10102 enable_winemac_drv=${enable_winemac_drv:-yes}
10105 LIBS="$ac_save_LIBS"
10108 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10109 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10111 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10113 WINELOADER_DEPENDS="wine_info.plist"
10115 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10118 linux-android*)
10120 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10122 DLLFLAGS="$DLLFLAGS -fPIC"
10123 LDDLLFLAGS="-fPIC"
10124 LDEXECFLAGS="-Wl,-pie"
10125 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10127 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10128 if test ${ac_cv_cflags__Wl__z_defs+y}
10129 then :
10130 printf %s "(cached) " >&6
10131 else $as_nop
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 CFLAGS="$CFLAGS -Wl,-z,defs"
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135 /* end confdefs.h. */
10136 int main(int argc, char **argv) { return 0; }
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"
10139 then :
10140 ac_cv_cflags__Wl__z_defs=yes
10141 else $as_nop
10142 ac_cv_cflags__Wl__z_defs=no
10144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10145 conftest$ac_exeext conftest.$ac_ext
10146 CFLAGS=$ac_wine_try_cflags_saved
10148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10149 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10150 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10151 then :
10152 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10155 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10156 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10157 then :
10158 printf %s "(cached) " >&6
10159 else $as_nop
10160 ac_wine_try_cflags_saved=$CFLAGS
10161 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"
10167 then :
10168 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10169 else $as_nop
10170 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10173 conftest$ac_exeext conftest.$ac_ext
10174 CFLAGS=$ac_wine_try_cflags_saved
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10177 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10178 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10179 then :
10180 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10182 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10185 printf %s "checking for -lEGL... " >&6; }
10186 if test ${ac_cv_lib_soname_EGL+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lEGL $LIBS"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10195 /* Override any GCC internal prototype to avoid an error.
10196 Use char because int might match the return type of a GCC
10197 builtin and then its argument prototype would still apply. */
10198 char eglGetProcAddress ();
10200 main (void)
10202 return eglGetProcAddress ();
10204 return 0;
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"
10208 then :
10209 case "$LIBEXT" in
10210 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10211 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10212 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10213 if ${ac_cv_lib_soname_EGL:+false} :
10214 then :
10215 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10218 else $as_nop
10219 ac_cv_lib_soname_EGL=
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 LIBS=$ac_check_soname_save_LIBS
10225 if ${ac_cv_lib_soname_EGL:+false} :
10226 then :
10227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 printf "%s\n" "not found" >&6; }
10230 else $as_nop
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10232 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10234 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10239 printf %s "checking for -lGLESv2... " >&6; }
10240 if test ${ac_cv_lib_soname_GLESv2+y}
10241 then :
10242 printf %s "(cached) " >&6
10243 else $as_nop
10244 ac_check_soname_save_LIBS=$LIBS
10245 LIBS="-lGLESv2 $LIBS"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10249 /* Override any GCC internal prototype to avoid an error.
10250 Use char because int might match the return type of a GCC
10251 builtin and then its argument prototype would still apply. */
10252 char glFlush ();
10254 main (void)
10256 return glFlush ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"
10262 then :
10263 case "$LIBEXT" in
10264 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10265 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10266 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10267 if ${ac_cv_lib_soname_GLESv2:+false} :
10268 then :
10269 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10270 fi ;;
10271 esac
10272 else $as_nop
10273 ac_cv_lib_soname_GLESv2=
10275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10276 conftest$ac_exeext conftest.$ac_ext
10277 LIBS=$ac_check_soname_save_LIBS
10279 if ${ac_cv_lib_soname_GLESv2:+false} :
10280 then :
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10282 printf "%s\n" "not found" >&6; }
10284 else $as_nop
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10286 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10288 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10293 if test "x$exec_prefix" = xNONE
10294 then
10295 case $host_cpu in
10296 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10297 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10298 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10299 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10300 esac
10306 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10308 test "$ac_cv_sys_file_offset_bits" = 64 &&
10309 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10311 case $host_cpu in
10312 *i[3456789]86*)
10313 DLLFLAGS="$DLLFLAGS -fno-PIC"
10314 LDDLLFLAGS="-fno-PIC"
10315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10316 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10317 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10318 then :
10319 printf %s "(cached) " >&6
10320 else $as_nop
10321 ac_wine_try_cflags_saved=$CFLAGS
10322 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10325 int main(int argc, char **argv) { return 0; }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"
10328 then :
10329 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10330 else $as_nop
10331 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10333 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10334 conftest$ac_exeext conftest.$ac_ext
10335 CFLAGS=$ac_wine_try_cflags_saved
10337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10338 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10339 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10340 then :
10341 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10345 DLLFLAGS="$DLLFLAGS -fPIC"
10346 LDDLLFLAGS="-fPIC" ;;
10347 esac
10348 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10350 echo '{ global: *; };' >conftest.map
10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10352 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10353 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10354 then :
10355 printf %s "(cached) " >&6
10356 else $as_nop
10357 ac_wine_try_cflags_saved=$CFLAGS
10358 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 int main(int argc, char **argv) { return 0; }
10362 _ACEOF
10363 if ac_fn_c_try_link "$LINENO"
10364 then :
10365 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10366 else $as_nop
10367 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10370 conftest$ac_exeext conftest.$ac_ext
10371 CFLAGS=$ac_wine_try_cflags_saved
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10374 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10375 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10376 then :
10377 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10379 rm -f conftest.map
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10382 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10383 if test ${ac_cv_cflags__Wl__z_defs+y}
10384 then :
10385 printf %s "(cached) " >&6
10386 else $as_nop
10387 ac_wine_try_cflags_saved=$CFLAGS
10388 CFLAGS="$CFLAGS -Wl,-z,defs"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10391 int main(int argc, char **argv) { return 0; }
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"
10394 then :
10395 ac_cv_cflags__Wl__z_defs=yes
10396 else $as_nop
10397 ac_cv_cflags__Wl__z_defs=no
10399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10400 conftest$ac_exeext conftest.$ac_ext
10401 CFLAGS=$ac_wine_try_cflags_saved
10403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10404 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10405 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10406 then :
10407 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10410 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10411 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10412 then :
10413 printf %s "(cached) " >&6
10414 else $as_nop
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10419 int main(int argc, char **argv) { return 0; }
10420 _ACEOF
10421 if ac_fn_c_try_link "$LINENO"
10422 then :
10423 ac_cv_cflags__Wl___export_dynamic=yes
10424 else $as_nop
10425 ac_cv_cflags__Wl___export_dynamic=no
10427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10432 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10434 then :
10435 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10437 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10439 case $host_cpu in
10440 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10442 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10443 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10444 then :
10445 printf %s "(cached) " >&6
10446 else $as_nop
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10451 int main(int argc, char **argv) { return 0; }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"
10454 then :
10455 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10456 else $as_nop
10457 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10460 conftest$ac_exeext conftest.$ac_ext
10461 CFLAGS=$ac_wine_try_cflags_saved
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10464 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10465 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10466 then :
10467 case $host_os in
10468 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10469 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10470 esac
10471 else $as_nop
10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10473 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10474 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10475 then :
10476 printf %s "(cached) " >&6
10477 else $as_nop
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10482 int main(int argc, char **argv) { return 0; }
10483 _ACEOF
10484 if ac_fn_c_try_link "$LINENO"
10485 then :
10486 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10487 else $as_nop
10488 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10495 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10496 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10497 then :
10498 case $host_os in
10499 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10500 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10501 esac
10503 # Extract the first word of "prelink", so it can be a program name with args.
10504 set dummy prelink; ac_word=$2
10505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10506 printf %s "checking for $ac_word... " >&6; }
10507 if test ${ac_cv_path_PRELINK+y}
10508 then :
10509 printf %s "(cached) " >&6
10510 else $as_nop
10511 case $PRELINK in
10512 [\\/]* | ?:[\\/]*)
10513 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in /sbin /usr/sbin $PATH
10519 IFS=$as_save_IFS
10520 case $as_dir in #(((
10521 '') as_dir=./ ;;
10522 */) ;;
10523 *) as_dir=$as_dir/ ;;
10524 esac
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10529 break 2
10531 done
10532 done
10533 IFS=$as_save_IFS
10535 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10537 esac
10539 PRELINK=$ac_cv_path_PRELINK
10540 if test -n "$PRELINK"; then
10541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10542 printf "%s\n" "$PRELINK" >&6; }
10543 else
10544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10545 printf "%s\n" "no" >&6; }
10549 if test "x$PRELINK" = xfalse
10550 then
10551 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10555 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10556 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10557 then :
10558 printf %s "(cached) " >&6
10559 else $as_nop
10560 ac_wine_try_cflags_saved=$CFLAGS
10561 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10564 int main(int argc, char **argv) { return 0; }
10565 _ACEOF
10566 if ac_fn_c_try_link "$LINENO"
10567 then :
10568 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10569 else $as_nop
10570 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10573 conftest$ac_exeext conftest.$ac_ext
10574 CFLAGS=$ac_wine_try_cflags_saved
10576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10577 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10578 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10579 then :
10580 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10583 esac
10584 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10586 LIBWINE_DEPENDS="wine.map"
10588 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10590 esac
10592 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10593 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10594 enable_winemac_drv=${enable_winemac_drv:-no}
10597 if test "x$with_mingw" != xno
10598 then
10599 case "x$with_mingw" in
10600 x|xyes) case "$host_cpu" in
10601 aarch64*)
10602 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10603 arm*)
10604 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10605 i[3456789]86*)
10606 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
10607 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10608 mingw32-gcc clang" ;;
10609 x86_64)
10610 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
10611 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10613 ac_prefix_list="" ;;
10614 esac
10615 for ac_prog in $ac_prefix_list
10617 # Extract the first word of "$ac_prog", so it can be a program name with args.
10618 set dummy $ac_prog; ac_word=$2
10619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10620 printf %s "checking for $ac_word... " >&6; }
10621 if test ${ac_cv_prog_CROSSCC+y}
10622 then :
10623 printf %s "(cached) " >&6
10624 else $as_nop
10625 if test -n "$CROSSCC"; then
10626 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10627 else
10628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10629 for as_dir in $PATH
10631 IFS=$as_save_IFS
10632 case $as_dir in #(((
10633 '') as_dir=./ ;;
10634 */) ;;
10635 *) as_dir=$as_dir/ ;;
10636 esac
10637 for ac_exec_ext in '' $ac_executable_extensions; do
10638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10639 ac_cv_prog_CROSSCC="$ac_prog"
10640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10641 break 2
10643 done
10644 done
10645 IFS=$as_save_IFS
10649 CROSSCC=$ac_cv_prog_CROSSCC
10650 if test -n "$CROSSCC"; then
10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10652 printf "%s\n" "$CROSSCC" >&6; }
10653 else
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10655 printf "%s\n" "no" >&6; }
10659 test -n "$CROSSCC" && break
10660 done
10661 test -n "$CROSSCC" || CROSSCC="false"
10663 *) CROSSCC=$with_mingw ;;
10664 esac
10665 if test "$CROSSCC" != "false"
10666 then
10667 ac_save_CC="$CC"
10668 saved_CFLAGS=$CFLAGS
10669 saved_LDFLAGS=$LDFLAGS
10670 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10672 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10676 CC="$CROSSCC"
10677 CFLAGS=$CROSSCFLAGS
10678 LDFLAGS=$CROSSLDFLAGS
10679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10680 printf %s "checking whether $CROSSCC works... " >&6; }
10681 if test ${wine_cv_crosscc+y}
10682 then :
10683 printf %s "(cached) " >&6
10684 else $as_nop
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10689 main (void)
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_compile "$LINENO"
10697 then :
10698 wine_cv_crosscc=yes
10699 else $as_nop
10700 wine_cv_crosscc=no
10702 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10705 printf "%s\n" "$wine_cv_crosscc" >&6; }
10706 if test $wine_cv_crosscc = yes
10707 then
10708 set x $CROSSCC
10709 shift
10710 while test $# -ge 1
10712 case "$1" in
10713 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10714 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10715 esac
10716 shift
10717 done
10719 llvm_target=$CROSSTARGET
10720 llvm_cflags="-fuse-ld=lld"
10721 if test -z "$llvm_target"
10722 then
10723 case $host_cpu in
10724 *i[3456789]86*) llvm_target=i686-windows ;;
10725 *) llvm_target=$host_cpu-windows ;;
10726 esac
10728 case $llvm_target in
10729 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10730 esac
10731 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10733 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10734 if eval test \${$as_ac_var+y}
10735 then :
10736 printf %s "(cached) " >&6
10737 else $as_nop
10738 ac_wine_try_cflags_saved=$CFLAGS
10739 ac_wine_try_cflags_saved_cc=$CC
10740 ac_wine_try_cflags_saved_exeext=$ac_exeext
10741 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10742 CC="$CROSSCC"
10743 ac_exeext=".exe"
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10746 int __cdecl mainCRTStartup(void) { return 0; }
10747 _ACEOF
10748 if ac_fn_c_try_link "$LINENO"
10749 then :
10750 eval "$as_ac_var=yes"
10751 else $as_nop
10752 eval "$as_ac_var=no"
10754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10755 conftest$ac_exeext conftest.$ac_ext
10756 CFLAGS=$ac_wine_try_cflags_saved
10757 CC=$ac_wine_try_cflags_saved_cc
10758 ac_exeext=$ac_wine_try_cflags_saved_exeext
10760 eval ac_res=\$$as_ac_var
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10762 printf "%s\n" "$ac_res" >&6; }
10763 if eval test \"x\$"$as_ac_var"\" = x"yes"
10764 then :
10765 CROSSTARGET=$llvm_target
10766 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10767 DELAYLOADFLAG="-Wl,-delayload,"
10769 CFLAGS="$CFLAGS $llvm_cflags"
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CROSSCC option to enable C99 features" >&5
10773 printf %s "checking for $CROSSCC option to enable C99 features... " >&6; }
10774 if test ${wine_cv_crosscc_c99+y}
10775 then :
10776 printf %s "(cached) " >&6
10777 else $as_nop
10778 wine_cv_crosscc_c99=no
10779 for arg in '' '-std=gnu99'
10781 CC="$CROSSCC $arg"
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10784 $ac_c_conftest_c99_program
10785 _ACEOF
10786 if ac_fn_c_try_compile "$LINENO"
10787 then :
10788 wine_cv_crosscc_c99=$arg
10789 else $as_nop
10790 wine_cv_crosscc_c99=no
10792 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10793 test "x$wine_cv_crosscc_c99" != xno && break
10794 done
10797 case "x$wine_cv_crosscc_c99" in
10798 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10799 printf "%s\n" "none needed" >&6; } ;;
10800 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10801 printf "%s\n" "unsupported" >&6; } ;;
10802 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc_c99" >&5
10803 printf "%s\n" "$wine_cv_crosscc_c99" >&6; }
10804 CROSSCC="$CROSSCC $wine_cv_crosscc_c99" ;;
10805 esac
10807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10808 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10809 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10810 then :
10811 printf %s "(cached) " >&6
10812 else $as_nop
10813 ac_wine_try_cflags_saved=$CFLAGS
10814 ac_wine_try_cflags_saved_cc=$CC
10815 ac_wine_try_cflags_saved_exeext=$ac_exeext
10816 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10817 CC="$CROSSCC"
10818 ac_exeext=".exe"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"
10824 then :
10825 ac_cv_crosscflags__fno_strict_aliasing=yes
10826 else $as_nop
10827 ac_cv_crosscflags__fno_strict_aliasing=no
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 CC=$ac_wine_try_cflags_saved_cc
10833 ac_exeext=$ac_wine_try_cflags_saved_exeext
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10836 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10837 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10838 then :
10839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10842 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10843 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10844 then :
10845 printf %s "(cached) " >&6
10846 else $as_nop
10847 ac_wine_try_cflags_saved=$CFLAGS
10848 ac_wine_try_cflags_saved_cc=$CC
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10851 CC="$CROSSCC"
10852 ac_exeext=".exe"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10855 int __cdecl mainCRTStartup(void) { return 0; }
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"
10858 then :
10859 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10860 else $as_nop
10861 ac_cv_crosscflags__Werror_unknown_warning_option=no
10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10864 conftest$ac_exeext conftest.$ac_ext
10865 CFLAGS=$ac_wine_try_cflags_saved
10866 CC=$ac_wine_try_cflags_saved_cc
10867 ac_exeext=$ac_wine_try_cflags_saved_exeext
10869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10870 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10871 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10872 then :
10873 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10876 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10877 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10878 then :
10879 printf %s "(cached) " >&6
10880 else $as_nop
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_cc=$CC
10883 ac_wine_try_cflags_saved_exeext=$ac_exeext
10884 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10885 CC="$CROSSCC"
10886 ac_exeext=".exe"
10887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 /* end confdefs.h. */
10889 int __cdecl mainCRTStartup(void) { return 0; }
10890 _ACEOF
10891 if ac_fn_c_try_link "$LINENO"
10892 then :
10893 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10894 else $as_nop
10895 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10898 conftest$ac_exeext conftest.$ac_ext
10899 CFLAGS=$ac_wine_try_cflags_saved
10900 CC=$ac_wine_try_cflags_saved_cc
10901 ac_exeext=$ac_wine_try_cflags_saved_exeext
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10904 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10905 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10906 then :
10907 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10910 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10911 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10912 then :
10913 printf %s "(cached) " >&6
10914 else $as_nop
10915 ac_wine_try_cflags_saved=$CFLAGS
10916 ac_wine_try_cflags_saved_cc=$CC
10917 ac_wine_try_cflags_saved_exeext=$ac_exeext
10918 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10919 CC="$CROSSCC"
10920 ac_exeext=".exe"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10923 int __cdecl mainCRTStartup(void) { return 0; }
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"
10926 then :
10927 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10928 else $as_nop
10929 ac_cv_crosscflags__Wdeclaration_after_statement=no
10931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10932 conftest$ac_exeext conftest.$ac_ext
10933 CFLAGS=$ac_wine_try_cflags_saved
10934 CC=$ac_wine_try_cflags_saved_cc
10935 ac_exeext=$ac_wine_try_cflags_saved_exeext
10937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10938 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10939 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10940 then :
10941 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10944 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10945 if test ${ac_cv_crosscflags__Wempty_body+y}
10946 then :
10947 printf %s "(cached) " >&6
10948 else $as_nop
10949 ac_wine_try_cflags_saved=$CFLAGS
10950 ac_wine_try_cflags_saved_cc=$CC
10951 ac_wine_try_cflags_saved_exeext=$ac_exeext
10952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10953 CC="$CROSSCC"
10954 ac_exeext=".exe"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 int __cdecl mainCRTStartup(void) { return 0; }
10958 _ACEOF
10959 if ac_fn_c_try_link "$LINENO"
10960 then :
10961 ac_cv_crosscflags__Wempty_body=yes
10962 else $as_nop
10963 ac_cv_crosscflags__Wempty_body=no
10965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10966 conftest$ac_exeext conftest.$ac_ext
10967 CFLAGS=$ac_wine_try_cflags_saved
10968 CC=$ac_wine_try_cflags_saved_cc
10969 ac_exeext=$ac_wine_try_cflags_saved_exeext
10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10972 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10973 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10974 then :
10975 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10978 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10979 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10980 then :
10981 printf %s "(cached) " >&6
10982 else $as_nop
10983 ac_wine_try_cflags_saved=$CFLAGS
10984 ac_wine_try_cflags_saved_cc=$CC
10985 ac_wine_try_cflags_saved_exeext=$ac_exeext
10986 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10987 CC="$CROSSCC"
10988 ac_exeext=".exe"
10989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10991 int __cdecl mainCRTStartup(void) { return 0; }
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"
10994 then :
10995 ac_cv_crosscflags__Wignored_qualifiers=yes
10996 else $as_nop
10997 ac_cv_crosscflags__Wignored_qualifiers=no
10999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11000 conftest$ac_exeext conftest.$ac_ext
11001 CFLAGS=$ac_wine_try_cflags_saved
11002 CC=$ac_wine_try_cflags_saved_cc
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
11006 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
11007 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
11008 then :
11009 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
11012 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
11013 if test ${ac_cv_crosscflags__Winit_self+y}
11014 then :
11015 printf %s "(cached) " >&6
11016 else $as_nop
11017 ac_wine_try_cflags_saved=$CFLAGS
11018 ac_wine_try_cflags_saved_cc=$CC
11019 ac_wine_try_cflags_saved_exeext=$ac_exeext
11020 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11021 CC="$CROSSCC"
11022 ac_exeext=".exe"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"
11028 then :
11029 ac_cv_crosscflags__Winit_self=yes
11030 else $as_nop
11031 ac_cv_crosscflags__Winit_self=no
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 CC=$ac_wine_try_cflags_saved_cc
11037 ac_exeext=$ac_wine_try_cflags_saved_exeext
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
11040 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
11041 if test "x$ac_cv_crosscflags__Winit_self" = xyes
11042 then :
11043 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
11045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
11046 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
11047 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
11048 then :
11049 printf %s "(cached) " >&6
11050 else $as_nop
11051 ac_wine_try_cflags_saved=$CFLAGS
11052 ac_wine_try_cflags_saved_cc=$CC
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11055 CC="$CROSSCC"
11056 ac_exeext=".exe"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11058 /* end confdefs.h. */
11059 int __cdecl mainCRTStartup(void) { return 0; }
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"
11062 then :
11063 ac_cv_crosscflags__Wpacked_not_aligned=yes
11064 else $as_nop
11065 ac_cv_crosscflags__Wpacked_not_aligned=no
11067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11068 conftest$ac_exeext conftest.$ac_ext
11069 CFLAGS=$ac_wine_try_cflags_saved
11070 CC=$ac_wine_try_cflags_saved_cc
11071 ac_exeext=$ac_wine_try_cflags_saved_exeext
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
11074 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
11075 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
11076 then :
11077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
11080 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
11081 if test ${ac_cv_crosscflags__Wpragma_pack+y}
11082 then :
11083 printf %s "(cached) " >&6
11084 else $as_nop
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_cc=$CC
11087 ac_wine_try_cflags_saved_exeext=$ac_exeext
11088 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11089 CC="$CROSSCC"
11090 ac_exeext=".exe"
11091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11092 /* end confdefs.h. */
11093 int __cdecl mainCRTStartup(void) { return 0; }
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"
11096 then :
11097 ac_cv_crosscflags__Wpragma_pack=yes
11098 else $as_nop
11099 ac_cv_crosscflags__Wpragma_pack=no
11101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11102 conftest$ac_exeext conftest.$ac_ext
11103 CFLAGS=$ac_wine_try_cflags_saved
11104 CC=$ac_wine_try_cflags_saved_cc
11105 ac_exeext=$ac_wine_try_cflags_saved_exeext
11107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11108 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11109 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11110 then :
11111 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11114 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11115 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11116 then :
11117 printf %s "(cached) " >&6
11118 else $as_nop
11119 ac_wine_try_cflags_saved=$CFLAGS
11120 ac_wine_try_cflags_saved_cc=$CC
11121 ac_wine_try_cflags_saved_exeext=$ac_exeext
11122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11123 CC="$CROSSCC"
11124 ac_exeext=".exe"
11125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 /* end confdefs.h. */
11127 int __cdecl mainCRTStartup(void) { return 0; }
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"
11130 then :
11131 ac_cv_crosscflags__Wshift_overflow_2=yes
11132 else $as_nop
11133 ac_cv_crosscflags__Wshift_overflow_2=no
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11136 conftest$ac_exeext conftest.$ac_ext
11137 CFLAGS=$ac_wine_try_cflags_saved
11138 CC=$ac_wine_try_cflags_saved_cc
11139 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11142 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11143 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11144 then :
11145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11148 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11149 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11150 then :
11151 printf %s "(cached) " >&6
11152 else $as_nop
11153 ac_wine_try_cflags_saved=$CFLAGS
11154 ac_wine_try_cflags_saved_cc=$CC
11155 ac_wine_try_cflags_saved_exeext=$ac_exeext
11156 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11157 CC="$CROSSCC"
11158 ac_exeext=".exe"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"
11164 then :
11165 ac_cv_crosscflags__Wstrict_prototypes=yes
11166 else $as_nop
11167 ac_cv_crosscflags__Wstrict_prototypes=no
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 CC=$ac_wine_try_cflags_saved_cc
11173 ac_exeext=$ac_wine_try_cflags_saved_exeext
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11176 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11177 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11178 then :
11179 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11182 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11183 if test ${ac_cv_crosscflags__Wtype_limits+y}
11184 then :
11185 printf %s "(cached) " >&6
11186 else $as_nop
11187 ac_wine_try_cflags_saved=$CFLAGS
11188 ac_wine_try_cflags_saved_cc=$CC
11189 ac_wine_try_cflags_saved_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11191 CC="$CROSSCC"
11192 ac_exeext=".exe"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11195 int __cdecl mainCRTStartup(void) { return 0; }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"
11198 then :
11199 ac_cv_crosscflags__Wtype_limits=yes
11200 else $as_nop
11201 ac_cv_crosscflags__Wtype_limits=no
11203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11204 conftest$ac_exeext conftest.$ac_ext
11205 CFLAGS=$ac_wine_try_cflags_saved
11206 CC=$ac_wine_try_cflags_saved_cc
11207 ac_exeext=$ac_wine_try_cflags_saved_exeext
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11210 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11211 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11212 then :
11213 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11216 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11217 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11218 then :
11219 printf %s "(cached) " >&6
11220 else $as_nop
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_cc=$CC
11223 ac_wine_try_cflags_saved_exeext=$ac_exeext
11224 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11225 CC="$CROSSCC"
11226 ac_exeext=".exe"
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 int __cdecl mainCRTStartup(void) { return 0; }
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"
11232 then :
11233 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11234 else $as_nop
11235 ac_cv_crosscflags__Wunused_but_set_parameter=no
11237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11238 conftest$ac_exeext conftest.$ac_ext
11239 CFLAGS=$ac_wine_try_cflags_saved
11240 CC=$ac_wine_try_cflags_saved_cc
11241 ac_exeext=$ac_wine_try_cflags_saved_exeext
11243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11244 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11245 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11246 then :
11247 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11250 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11251 if test ${ac_cv_crosscflags__Wvla+y}
11252 then :
11253 printf %s "(cached) " >&6
11254 else $as_nop
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 ac_wine_try_cflags_saved_cc=$CC
11257 ac_wine_try_cflags_saved_exeext=$ac_exeext
11258 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11259 CC="$CROSSCC"
11260 ac_exeext=".exe"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h. */
11263 int __cdecl mainCRTStartup(void) { return 0; }
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"
11266 then :
11267 ac_cv_crosscflags__Wvla=yes
11268 else $as_nop
11269 ac_cv_crosscflags__Wvla=no
11271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11272 conftest$ac_exeext conftest.$ac_ext
11273 CFLAGS=$ac_wine_try_cflags_saved
11274 CC=$ac_wine_try_cflags_saved_cc
11275 ac_exeext=$ac_wine_try_cflags_saved_exeext
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11278 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11279 if test "x$ac_cv_crosscflags__Wvla" = xyes
11280 then :
11281 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11284 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11285 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11286 then :
11287 printf %s "(cached) " >&6
11288 else $as_nop
11289 ac_wine_try_cflags_saved=$CFLAGS
11290 ac_wine_try_cflags_saved_cc=$CC
11291 ac_wine_try_cflags_saved_exeext=$ac_exeext
11292 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11293 CC="$CROSSCC"
11294 ac_exeext=".exe"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11297 int __cdecl mainCRTStartup(void) { return 0; }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"
11300 then :
11301 ac_cv_crosscflags__Wwrite_strings=yes
11302 else $as_nop
11303 ac_cv_crosscflags__Wwrite_strings=no
11305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11306 conftest$ac_exeext conftest.$ac_ext
11307 CFLAGS=$ac_wine_try_cflags_saved
11308 CC=$ac_wine_try_cflags_saved_cc
11309 ac_exeext=$ac_wine_try_cflags_saved_exeext
11311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11312 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11313 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11314 then :
11315 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11318 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11319 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11320 then :
11321 printf %s "(cached) " >&6
11322 else $as_nop
11323 ac_wine_try_cflags_saved=$CFLAGS
11324 ac_wine_try_cflags_saved_cc=$CC
11325 ac_wine_try_cflags_saved_exeext=$ac_exeext
11326 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11327 CC="$CROSSCC"
11328 ac_exeext=".exe"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 int __cdecl mainCRTStartup(void) { return 0; }
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"
11334 then :
11335 ac_cv_crosscflags__Wpointer_arith=yes
11336 else $as_nop
11337 ac_cv_crosscflags__Wpointer_arith=no
11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11340 conftest$ac_exeext conftest.$ac_ext
11341 CFLAGS=$ac_wine_try_cflags_saved
11342 CC=$ac_wine_try_cflags_saved_cc
11343 ac_exeext=$ac_wine_try_cflags_saved_exeext
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11346 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11347 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11348 then :
11349 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11352 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11353 if test ${ac_cv_crosscflags__Wlogical_op+y}
11354 then :
11355 printf %s "(cached) " >&6
11356 else $as_nop
11357 ac_wine_try_cflags_saved=$CFLAGS
11358 ac_wine_try_cflags_saved_cc=$CC
11359 ac_wine_try_cflags_saved_exeext=$ac_exeext
11360 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11361 CC="$CROSSCC"
11362 ac_exeext=".exe"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11365 int __cdecl mainCRTStartup(void) { return 0; }
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"
11368 then :
11369 ac_cv_crosscflags__Wlogical_op=yes
11370 else $as_nop
11371 ac_cv_crosscflags__Wlogical_op=no
11373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11374 conftest$ac_exeext conftest.$ac_ext
11375 CFLAGS=$ac_wine_try_cflags_saved
11376 CC=$ac_wine_try_cflags_saved_cc
11377 ac_exeext=$ac_wine_try_cflags_saved_exeext
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11380 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11381 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11382 then :
11383 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11386 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11387 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11388 then :
11389 printf %s "(cached) " >&6
11390 else $as_nop
11391 ac_wine_try_cflags_saved=$CFLAGS
11392 ac_wine_try_cflags_saved_cc=$CC
11393 ac_wine_try_cflags_saved_exeext=$ac_exeext
11394 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11395 CC="$CROSSCC"
11396 ac_exeext=".exe"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 int __cdecl mainCRTStartup(void) { return 0; }
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"
11402 then :
11403 ac_cv_crosscflags__Wabsolute_value=yes
11404 else $as_nop
11405 ac_cv_crosscflags__Wabsolute_value=no
11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11408 conftest$ac_exeext conftest.$ac_ext
11409 CFLAGS=$ac_wine_try_cflags_saved
11410 CC=$ac_wine_try_cflags_saved_cc
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11414 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11415 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11416 then :
11417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11420 case $host_cpu in
11421 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11422 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11423 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11424 then :
11425 printf %s "(cached) " >&6
11426 else $as_nop
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_cc=$CC
11429 ac_wine_try_cflags_saved_exeext=$ac_exeext
11430 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11431 CC="$CROSSCC"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"
11438 then :
11439 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11440 else $as_nop
11441 ac_cv_crosscflags__fno_omit_frame_pointer=no
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 CC=$ac_wine_try_cflags_saved_cc
11447 ac_exeext=$ac_wine_try_cflags_saved_exeext
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11450 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11451 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11452 then :
11453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11454 fi ;;
11455 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11456 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11457 if test ${ac_cv_crosscflags__Wno_format+y}
11458 then :
11459 printf %s "(cached) " >&6
11460 else $as_nop
11461 ac_wine_try_cflags_saved=$CFLAGS
11462 ac_wine_try_cflags_saved_cc=$CC
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11465 CC="$CROSSCC"
11466 ac_exeext=".exe"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 int __cdecl mainCRTStartup(void) { return 0; }
11470 _ACEOF
11471 if ac_fn_c_try_link "$LINENO"
11472 then :
11473 ac_cv_crosscflags__Wno_format=yes
11474 else $as_nop
11475 ac_cv_crosscflags__Wno_format=no
11477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11478 conftest$ac_exeext conftest.$ac_ext
11479 CFLAGS=$ac_wine_try_cflags_saved
11480 CC=$ac_wine_try_cflags_saved_cc
11481 ac_exeext=$ac_wine_try_cflags_saved_exeext
11483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11484 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11485 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11486 then :
11487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11490 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11491 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11492 then :
11493 printf %s "(cached) " >&6
11494 else $as_nop
11495 ac_wine_try_cflags_saved=$CFLAGS
11496 ac_wine_try_cflags_saved_cc=$CC
11497 ac_wine_try_cflags_saved_exeext=$ac_exeext
11498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11499 CC="$CROSSCC"
11500 ac_exeext=".exe"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11503 int __cdecl mainCRTStartup(void) { return 0; }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"
11506 then :
11507 ac_cv_crosscflags__Wformat_overflow=yes
11508 else $as_nop
11509 ac_cv_crosscflags__Wformat_overflow=no
11511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11512 conftest$ac_exeext conftest.$ac_ext
11513 CFLAGS=$ac_wine_try_cflags_saved
11514 CC=$ac_wine_try_cflags_saved_cc
11515 ac_exeext=$ac_wine_try_cflags_saved_exeext
11517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11518 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11519 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11520 then :
11521 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11524 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11525 if test ${ac_cv_crosscflags__Wnonnull+y}
11526 then :
11527 printf %s "(cached) " >&6
11528 else $as_nop
11529 ac_wine_try_cflags_saved=$CFLAGS
11530 ac_wine_try_cflags_saved_cc=$CC
11531 ac_wine_try_cflags_saved_exeext=$ac_exeext
11532 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11533 CC="$CROSSCC"
11534 ac_exeext=".exe"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11537 int __cdecl mainCRTStartup(void) { return 0; }
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"
11540 then :
11541 ac_cv_crosscflags__Wnonnull=yes
11542 else $as_nop
11543 ac_cv_crosscflags__Wnonnull=no
11545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11546 conftest$ac_exeext conftest.$ac_ext
11547 CFLAGS=$ac_wine_try_cflags_saved
11548 CC=$ac_wine_try_cflags_saved_cc
11549 ac_exeext=$ac_wine_try_cflags_saved_exeext
11551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11552 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11553 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11554 then :
11555 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11558 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11559 if test ${ac_cv_crosscflags__mcx16+y}
11560 then :
11561 printf %s "(cached) " >&6
11562 else $as_nop
11563 ac_wine_try_cflags_saved=$CFLAGS
11564 ac_wine_try_cflags_saved_cc=$CC
11565 ac_wine_try_cflags_saved_exeext=$ac_exeext
11566 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11567 CC="$CROSSCC"
11568 ac_exeext=".exe"
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 int __cdecl mainCRTStartup(void) { return 0; }
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"
11574 then :
11575 ac_cv_crosscflags__mcx16=yes
11576 else $as_nop
11577 ac_cv_crosscflags__mcx16=no
11579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11580 conftest$ac_exeext conftest.$ac_ext
11581 CFLAGS=$ac_wine_try_cflags_saved
11582 CC=$ac_wine_try_cflags_saved_cc
11583 ac_exeext=$ac_wine_try_cflags_saved_exeext
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11586 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11587 if test "x$ac_cv_crosscflags__mcx16" = xyes
11588 then :
11589 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11590 fi ;;
11591 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11592 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11593 if test ${ac_cv_crosscflags__Wno_format+y}
11594 then :
11595 printf %s "(cached) " >&6
11596 else $as_nop
11597 ac_wine_try_cflags_saved=$CFLAGS
11598 ac_wine_try_cflags_saved_cc=$CC
11599 ac_wine_try_cflags_saved_exeext=$ac_exeext
11600 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11601 CC="$CROSSCC"
11602 ac_exeext=".exe"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"
11608 then :
11609 ac_cv_crosscflags__Wno_format=yes
11610 else $as_nop
11611 ac_cv_crosscflags__Wno_format=no
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 CC=$ac_wine_try_cflags_saved_cc
11617 ac_exeext=$ac_wine_try_cflags_saved_exeext
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11620 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11621 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11622 then :
11623 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11624 fi ;;
11625 esac
11628 if test -z "$CROSSDEBUG"
11629 then
11630 for ac_flag in $CROSSCFLAGS; do
11631 case $ac_flag in
11632 -gdwarf*) CROSSDEBUG=dwarf ;;
11633 -gcodeview) CROSSDEBUG=pdb ;;
11634 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11635 esac
11636 done
11639 ac_debug_format_seen=""
11640 for ac_flag in $CROSSCFLAGS; do
11641 case $ac_flag in
11642 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11643 esac
11644 done
11645 if test "x$ac_debug_format_seen" = x
11646 then
11647 case $CROSSDEBUG in
11648 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11649 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11650 if test ${ac_cv_crosscflags__gdwarf_4+y}
11651 then :
11652 printf %s "(cached) " >&6
11653 else $as_nop
11654 ac_wine_try_cflags_saved=$CFLAGS
11655 ac_wine_try_cflags_saved_cc=$CC
11656 ac_wine_try_cflags_saved_exeext=$ac_exeext
11657 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11658 CC="$CROSSCC"
11659 ac_exeext=".exe"
11660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661 /* end confdefs.h. */
11662 int __cdecl mainCRTStartup(void) { return 0; }
11663 _ACEOF
11664 if ac_fn_c_try_link "$LINENO"
11665 then :
11666 ac_cv_crosscflags__gdwarf_4=yes
11667 else $as_nop
11668 ac_cv_crosscflags__gdwarf_4=no
11670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11671 conftest$ac_exeext conftest.$ac_ext
11672 CFLAGS=$ac_wine_try_cflags_saved
11673 CC=$ac_wine_try_cflags_saved_cc
11674 ac_exeext=$ac_wine_try_cflags_saved_exeext
11676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11677 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11678 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11679 then :
11680 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11681 fi ;;
11682 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11683 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11684 if test ${ac_cv_crosscflags__gcodeview+y}
11685 then :
11686 printf %s "(cached) " >&6
11687 else $as_nop
11688 ac_wine_try_cflags_saved=$CFLAGS
11689 ac_wine_try_cflags_saved_cc=$CC
11690 ac_wine_try_cflags_saved_exeext=$ac_exeext
11691 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11692 CC="$CROSSCC"
11693 ac_exeext=".exe"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11696 int __cdecl mainCRTStartup(void) { return 0; }
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"
11699 then :
11700 ac_cv_crosscflags__gcodeview=yes
11701 else $as_nop
11702 ac_cv_crosscflags__gcodeview=no
11704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11705 conftest$ac_exeext conftest.$ac_ext
11706 CFLAGS=$ac_wine_try_cflags_saved
11707 CC=$ac_wine_try_cflags_saved_cc
11708 ac_exeext=$ac_wine_try_cflags_saved_exeext
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11711 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11712 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11713 then :
11714 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11715 fi ;;
11716 esac
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11720 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11721 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11722 then :
11723 printf %s "(cached) " >&6
11724 else $as_nop
11725 ac_wine_try_cflags_saved=$CFLAGS
11726 ac_wine_try_cflags_saved_cc=$CC
11727 ac_wine_try_cflags_saved_exeext=$ac_exeext
11728 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11729 CC="$CROSSCC"
11730 ac_exeext=".exe"
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11733 int __cdecl mainCRTStartup(void) { return 0; }
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"
11736 then :
11737 ac_cv_crosscflags__fexcess_precision_standard=yes
11738 else $as_nop
11739 ac_cv_crosscflags__fexcess_precision_standard=no
11741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11742 conftest$ac_exeext conftest.$ac_ext
11743 CFLAGS=$ac_wine_try_cflags_saved
11744 CC=$ac_wine_try_cflags_saved_cc
11745 ac_exeext=$ac_wine_try_cflags_saved_exeext
11747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11748 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11749 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11750 then :
11751 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11755 if test "x$enable_werror" = "xyes"
11756 then
11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11758 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11759 if test ${ac_cv_crosscflags__Werror+y}
11760 then :
11761 printf %s "(cached) " >&6
11762 else $as_nop
11763 ac_wine_try_cflags_saved=$CFLAGS
11764 ac_wine_try_cflags_saved_cc=$CC
11765 ac_wine_try_cflags_saved_exeext=$ac_exeext
11766 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11767 CC="$CROSSCC"
11768 ac_exeext=".exe"
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771 int __cdecl mainCRTStartup(void) { return 0; }
11772 _ACEOF
11773 if ac_fn_c_try_link "$LINENO"
11774 then :
11775 ac_cv_crosscflags__Werror=yes
11776 else $as_nop
11777 ac_cv_crosscflags__Werror=no
11779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11780 conftest$ac_exeext conftest.$ac_ext
11781 CFLAGS=$ac_wine_try_cflags_saved
11782 CC=$ac_wine_try_cflags_saved_cc
11783 ac_exeext=$ac_wine_try_cflags_saved_exeext
11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11786 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11787 if test "x$ac_cv_crosscflags__Werror" = xyes
11788 then :
11789 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11792 if test "x$enable_build_id" = "xyes"
11793 then
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11795 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11796 if test ${ac_cv_crosscflags__Wl___build_id+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_cc=$CC
11802 ac_wine_try_cflags_saved_exeext=$ac_exeext
11803 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11804 CC="$CROSSCC"
11805 ac_exeext=".exe"
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 int __cdecl mainCRTStartup(void) { return 0; }
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"
11811 then :
11812 ac_cv_crosscflags__Wl___build_id=yes
11813 else $as_nop
11814 ac_cv_crosscflags__Wl___build_id=no
11816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11817 conftest$ac_exeext conftest.$ac_ext
11818 CFLAGS=$ac_wine_try_cflags_saved
11819 CC=$ac_wine_try_cflags_saved_cc
11820 ac_exeext=$ac_wine_try_cflags_saved_exeext
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11823 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11824 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11825 then :
11826 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11827 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11831 CFLAGS=$saved_CFLAGS
11832 LDFLAGS=$saved_LDFLAGS
11833 CC="$ac_save_CC"
11836 if test "x$CROSSTARGET" = "x"
11837 then :
11838 case "x$with_mingw" in
11839 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11840 xno) ;;
11841 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11842 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11843 esac
11847 case $host_cpu in
11848 aarch64*) test "x$CROSSTARGET" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5 ;;
11849 esac
11852 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11853 then
11854 case "$host_cpu" in
11855 i[3456789]86*)
11856 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11858 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11859 esac
11860 for ac_prog in $ac_prefix_list
11862 # Extract the first word of "$ac_prog", so it can be a program name with args.
11863 set dummy $ac_prog; ac_word=$2
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 printf %s "checking for $ac_word... " >&6; }
11866 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 if test -n "$MINGW_PKG_CONFIG"; then
11871 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11872 else
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11876 IFS=$as_save_IFS
11877 case $as_dir in #(((
11878 '') as_dir=./ ;;
11879 */) ;;
11880 *) as_dir=$as_dir/ ;;
11881 esac
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11884 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11886 break 2
11888 done
11889 done
11890 IFS=$as_save_IFS
11894 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11895 if test -n "$MINGW_PKG_CONFIG"; then
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11897 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11898 else
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 printf "%s\n" "no" >&6; }
11904 test -n "$MINGW_PKG_CONFIG" && break
11905 done
11906 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11908 if ${FAUDIO_PE_CFLAGS:+false} :
11909 then :
11910 if test ${MINGW_PKG_CONFIG+y}
11911 then :
11912 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11915 if ${FAUDIO_PE_LIBS:+false} :
11916 then :
11917 if test ${MINGW_PKG_CONFIG+y}
11918 then :
11919 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11922 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11926 printf %s "checking for MinGW FAudio.h... " >&6; }
11927 if test ${ac_cv_mingw_header_FAudio_h+y}
11928 then :
11929 printf %s "(cached) " >&6
11930 else $as_nop
11931 ac_wine_check_headers_saved_cc=$CC
11932 ac_wine_check_headers_saved_exeext=$ac_exeext
11933 CC="$CROSSCC"
11934 ac_exeext=".exe"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 #include <FAudio.h>
11940 main (void)
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_compile "$LINENO"
11948 then :
11949 ac_cv_mingw_header_FAudio_h=yes
11950 else $as_nop
11951 ac_cv_mingw_header_FAudio_h=no
11953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11954 CC=$ac_wine_check_headers_saved_cc
11955 ac_exeext=$ac_wine_check_headers_saved_exeext
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11958 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11959 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11960 then :
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11962 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11963 if test ${ac_cv_mingw_lib_FAudio+y}
11964 then :
11965 printf %s "(cached) " >&6
11966 else $as_nop
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 ac_wine_check_headers_saved_libs=$LIBS
11970 CC="$CROSSCC"
11971 ac_exeext=".exe"
11972 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 char FAudio_CommitOperationSet ();
11981 main (void)
11983 return FAudio_CommitOperationSet ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"
11989 then :
11990 ac_cv_mingw_lib_FAudio=yes
11991 else $as_nop
11992 ac_cv_mingw_lib_FAudio=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CC=$ac_wine_check_headers_saved_cc
11997 ac_exeext=$ac_wine_check_headers_saved_exeext
11998 LIBS=$ac_wine_check_headers_saved_libs
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12001 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12002 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12003 then :
12005 else $as_nop
12006 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12008 else $as_nop
12009 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12013 if test "x$FAUDIO_PE_LIBS" = "x"
12014 then
12015 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12018 if ${JPEG_PE_CFLAGS:+false} :
12019 then :
12020 if test ${MINGW_PKG_CONFIG+y}
12021 then :
12022 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12025 if ${JPEG_PE_LIBS:+false} :
12026 then :
12027 if test ${MINGW_PKG_CONFIG+y}
12028 then :
12029 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12036 printf %s "checking for MinGW jpeglib.h... " >&6; }
12037 if test ${ac_cv_mingw_header_jpeglib_h+y}
12038 then :
12039 printf %s "(cached) " >&6
12040 else $as_nop
12041 ac_wine_check_headers_saved_cc=$CC
12042 ac_wine_check_headers_saved_exeext=$ac_exeext
12043 CC="$CROSSCC"
12044 ac_exeext=".exe"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 #include <stddef.h>
12048 #include <stdio.h>
12049 #include <jpeglib.h>
12051 main (void)
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_compile "$LINENO"
12059 then :
12060 ac_cv_mingw_header_jpeglib_h=yes
12061 else $as_nop
12062 ac_cv_mingw_header_jpeglib_h=no
12064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12065 CC=$ac_wine_check_headers_saved_cc
12066 ac_exeext=$ac_wine_check_headers_saved_exeext
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12069 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12070 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12071 then :
12072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12073 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12074 if test ${ac_cv_mingw_lib_jpeg+y}
12075 then :
12076 printf %s "(cached) " >&6
12077 else $as_nop
12078 ac_wine_check_headers_saved_cc=$CC
12079 ac_wine_check_headers_saved_exeext=$ac_exeext
12080 ac_wine_check_headers_saved_libs=$LIBS
12081 CC="$CROSSCC"
12082 ac_exeext=".exe"
12083 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 char jpeg_start_decompress ();
12092 main (void)
12094 return jpeg_start_decompress ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"
12100 then :
12101 ac_cv_mingw_lib_jpeg=yes
12102 else $as_nop
12103 ac_cv_mingw_lib_jpeg=no
12105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12106 conftest$ac_exeext conftest.$ac_ext
12107 CC=$ac_wine_check_headers_saved_cc
12108 ac_exeext=$ac_wine_check_headers_saved_exeext
12109 LIBS=$ac_wine_check_headers_saved_libs
12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12112 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12113 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12114 then :
12116 else $as_nop
12117 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12119 else $as_nop
12120 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12122 CPPFLAGS=$ac_save_CPPFLAGS
12124 if test "x$JPEG_PE_LIBS" = "x"
12125 then
12126 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12129 if ${LCMS2_PE_CFLAGS:+false} :
12130 then :
12131 if test ${MINGW_PKG_CONFIG+y}
12132 then :
12133 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12136 if ${LCMS2_PE_LIBS:+false} :
12137 then :
12138 if test ${MINGW_PKG_CONFIG+y}
12139 then :
12140 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12143 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12144 ac_save_CPPFLAGS=$CPPFLAGS
12145 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12147 printf %s "checking for MinGW lcms2.h... " >&6; }
12148 if test ${ac_cv_mingw_header_lcms2_h+y}
12149 then :
12150 printf %s "(cached) " >&6
12151 else $as_nop
12152 ac_wine_check_headers_saved_cc=$CC
12153 ac_wine_check_headers_saved_exeext=$ac_exeext
12154 CC="$CROSSCC"
12155 ac_exeext=".exe"
12156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157 /* end confdefs.h. */
12159 #include <lcms2.h>
12161 main (void)
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_compile "$LINENO"
12169 then :
12170 ac_cv_mingw_header_lcms2_h=yes
12171 else $as_nop
12172 ac_cv_mingw_header_lcms2_h=no
12174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12175 CC=$ac_wine_check_headers_saved_cc
12176 ac_exeext=$ac_wine_check_headers_saved_exeext
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12179 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12180 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12181 then :
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12183 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12184 if test ${ac_cv_mingw_lib_lcms2+y}
12185 then :
12186 printf %s "(cached) " >&6
12187 else $as_nop
12188 ac_wine_check_headers_saved_cc=$CC
12189 ac_wine_check_headers_saved_exeext=$ac_exeext
12190 ac_wine_check_headers_saved_libs=$LIBS
12191 CC="$CROSSCC"
12192 ac_exeext=".exe"
12193 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 char cmsOpenProfileFromFile ();
12202 main (void)
12204 return cmsOpenProfileFromFile ();
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"
12210 then :
12211 ac_cv_mingw_lib_lcms2=yes
12212 else $as_nop
12213 ac_cv_mingw_lib_lcms2=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CC=$ac_wine_check_headers_saved_cc
12218 ac_exeext=$ac_wine_check_headers_saved_exeext
12219 LIBS=$ac_wine_check_headers_saved_libs
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12222 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12223 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12224 then :
12226 else $as_nop
12227 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12229 else $as_nop
12230 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12232 CPPFLAGS=$ac_save_CPPFLAGS
12234 if test "x$LCMS2_PE_LIBS" = "x"
12235 then
12236 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12239 if ${MPG123_PE_CFLAGS:+false} :
12240 then :
12241 if test ${MINGW_PKG_CONFIG+y}
12242 then :
12243 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12246 if ${MPG123_PE_LIBS:+false} :
12247 then :
12248 if test ${MINGW_PKG_CONFIG+y}
12249 then :
12250 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12253 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12257 printf %s "checking for MinGW mpg123.h... " >&6; }
12258 if test ${ac_cv_mingw_header_mpg123_h+y}
12259 then :
12260 printf %s "(cached) " >&6
12261 else $as_nop
12262 ac_wine_check_headers_saved_cc=$CC
12263 ac_wine_check_headers_saved_exeext=$ac_exeext
12264 CC="$CROSSCC"
12265 ac_exeext=".exe"
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 #include <mpg123.h>
12271 main (void)
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"
12279 then :
12280 ac_cv_mingw_header_mpg123_h=yes
12281 else $as_nop
12282 ac_cv_mingw_header_mpg123_h=no
12284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12285 CC=$ac_wine_check_headers_saved_cc
12286 ac_exeext=$ac_wine_check_headers_saved_exeext
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12289 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12290 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12291 then :
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12293 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12294 if test ${ac_cv_mingw_lib_mpg123+y}
12295 then :
12296 printf %s "(cached) " >&6
12297 else $as_nop
12298 ac_wine_check_headers_saved_cc=$CC
12299 ac_wine_check_headers_saved_exeext=$ac_exeext
12300 ac_wine_check_headers_saved_libs=$LIBS
12301 CC="$CROSSCC"
12302 ac_exeext=".exe"
12303 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12307 /* Override any GCC internal prototype to avoid an error.
12308 Use char because int might match the return type of a GCC
12309 builtin and then its argument prototype would still apply. */
12310 char mpg123_feed ();
12312 main (void)
12314 return mpg123_feed ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"
12320 then :
12321 ac_cv_mingw_lib_mpg123=yes
12322 else $as_nop
12323 ac_cv_mingw_lib_mpg123=no
12325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12326 conftest$ac_exeext conftest.$ac_ext
12327 CC=$ac_wine_check_headers_saved_cc
12328 ac_exeext=$ac_wine_check_headers_saved_exeext
12329 LIBS=$ac_wine_check_headers_saved_libs
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12332 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12333 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12334 then :
12336 else $as_nop
12337 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12339 else $as_nop
12340 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12342 CPPFLAGS=$ac_save_CPPFLAGS
12344 if test "x$MPG123_PE_LIBS" = "x"
12345 then
12346 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12349 if ${PNG_PE_CFLAGS:+false} :
12350 then :
12351 if test ${MINGW_PKG_CONFIG+y}
12352 then :
12353 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12356 if ${PNG_PE_LIBS:+false} :
12357 then :
12358 if test ${MINGW_PKG_CONFIG+y}
12359 then :
12360 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12367 printf %s "checking for MinGW png.h... " >&6; }
12368 if test ${ac_cv_mingw_header_png_h+y}
12369 then :
12370 printf %s "(cached) " >&6
12371 else $as_nop
12372 ac_wine_check_headers_saved_cc=$CC
12373 ac_wine_check_headers_saved_exeext=$ac_exeext
12374 CC="$CROSSCC"
12375 ac_exeext=".exe"
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12379 #include <png.h>
12381 main (void)
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_compile "$LINENO"
12389 then :
12390 ac_cv_mingw_header_png_h=yes
12391 else $as_nop
12392 ac_cv_mingw_header_png_h=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12395 CC=$ac_wine_check_headers_saved_cc
12396 ac_exeext=$ac_wine_check_headers_saved_exeext
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12399 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12400 if test "x$ac_cv_mingw_header_png_h" = xyes
12401 then :
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12403 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12404 if test ${ac_cv_mingw_lib_png+y}
12405 then :
12406 printf %s "(cached) " >&6
12407 else $as_nop
12408 ac_wine_check_headers_saved_cc=$CC
12409 ac_wine_check_headers_saved_exeext=$ac_exeext
12410 ac_wine_check_headers_saved_libs=$LIBS
12411 CC="$CROSSCC"
12412 ac_exeext=".exe"
12413 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 char png_create_read_struct ();
12422 main (void)
12424 return png_create_read_struct ();
12426 return 0;
12428 _ACEOF
12429 if ac_fn_c_try_link "$LINENO"
12430 then :
12431 ac_cv_mingw_lib_png=yes
12432 else $as_nop
12433 ac_cv_mingw_lib_png=no
12435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12436 conftest$ac_exeext conftest.$ac_ext
12437 CC=$ac_wine_check_headers_saved_cc
12438 ac_exeext=$ac_wine_check_headers_saved_exeext
12439 LIBS=$ac_wine_check_headers_saved_libs
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12442 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12443 if test "x$ac_cv_mingw_lib_png" = xyes
12444 then :
12446 else $as_nop
12447 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12449 else $as_nop
12450 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12454 if test "x$PNG_PE_LIBS" = "x"
12455 then
12456 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12459 if ${TIFF_PE_CFLAGS:+false} :
12460 then :
12461 if test ${MINGW_PKG_CONFIG+y}
12462 then :
12463 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12466 if ${TIFF_PE_LIBS:+false} :
12467 then :
12468 if test ${MINGW_PKG_CONFIG+y}
12469 then :
12470 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12474 ac_save_CPPFLAGS=$CPPFLAGS
12475 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12477 printf %s "checking for MinGW tiffio.h... " >&6; }
12478 if test ${ac_cv_mingw_header_tiffio_h+y}
12479 then :
12480 printf %s "(cached) " >&6
12481 else $as_nop
12482 ac_wine_check_headers_saved_cc=$CC
12483 ac_wine_check_headers_saved_exeext=$ac_exeext
12484 CC="$CROSSCC"
12485 ac_exeext=".exe"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 #include <tiffio.h>
12491 main (void)
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_compile "$LINENO"
12499 then :
12500 ac_cv_mingw_header_tiffio_h=yes
12501 else $as_nop
12502 ac_cv_mingw_header_tiffio_h=no
12504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12505 CC=$ac_wine_check_headers_saved_cc
12506 ac_exeext=$ac_wine_check_headers_saved_exeext
12508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12509 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12510 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12511 then :
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12513 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12514 if test ${ac_cv_mingw_lib_tiff+y}
12515 then :
12516 printf %s "(cached) " >&6
12517 else $as_nop
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12521 CC="$CROSSCC"
12522 ac_exeext=".exe"
12523 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char TIFFClientOpen ();
12532 main (void)
12534 return TIFFClientOpen ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"
12540 then :
12541 ac_cv_mingw_lib_tiff=yes
12542 else $as_nop
12543 ac_cv_mingw_lib_tiff=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12553 if test "x$ac_cv_mingw_lib_tiff" = xyes
12554 then :
12556 else $as_nop
12557 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12559 else $as_nop
12560 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$TIFF_PE_LIBS" = "x"
12565 then
12566 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12569 if ${XML2_PE_CFLAGS:+false} :
12570 then :
12571 if test ${MINGW_PKG_CONFIG+y}
12572 then :
12573 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12576 if ${XML2_PE_LIBS:+false} :
12577 then :
12578 if test ${MINGW_PKG_CONFIG+y}
12579 then :
12580 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12583 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12587 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12588 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12589 then :
12590 printf %s "(cached) " >&6
12591 else $as_nop
12592 ac_wine_check_headers_saved_cc=$CC
12593 ac_wine_check_headers_saved_exeext=$ac_exeext
12594 CC="$CROSSCC"
12595 ac_exeext=".exe"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 #include <libxml/parser.h>
12601 main (void)
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"
12609 then :
12610 ac_cv_mingw_header_libxml_parser_h=yes
12611 else $as_nop
12612 ac_cv_mingw_header_libxml_parser_h=no
12614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12620 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12621 then :
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12625 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12626 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12627 then :
12628 printf %s "(cached) " >&6
12629 else $as_nop
12630 ac_wine_check_headers_saved_cc=$CC
12631 ac_wine_check_headers_saved_exeext=$ac_exeext
12632 CC="$CROSSCC"
12633 ac_exeext=".exe"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 #include <libxml/xmlsave.h>
12639 main (void)
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_compile "$LINENO"
12647 then :
12648 ac_cv_mingw_header_libxml_xmlsave_h=yes
12649 else $as_nop
12650 ac_cv_mingw_header_libxml_xmlsave_h=no
12652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12653 CC=$ac_wine_check_headers_saved_cc
12654 ac_exeext=$ac_wine_check_headers_saved_exeext
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12657 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12658 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12659 then :
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12663 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12664 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12665 then :
12666 printf %s "(cached) " >&6
12667 else $as_nop
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 CC="$CROSSCC"
12671 ac_exeext=".exe"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 #include <libxml/SAX2.h>
12677 main (void)
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_compile "$LINENO"
12685 then :
12686 ac_cv_mingw_header_libxml_SAX2_h=yes
12687 else $as_nop
12688 ac_cv_mingw_header_libxml_SAX2_h=no
12690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12691 CC=$ac_wine_check_headers_saved_cc
12692 ac_exeext=$ac_wine_check_headers_saved_exeext
12694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12695 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12696 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12697 then :
12700 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"
12701 then
12702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12703 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12704 if test ${ac_cv_mingw_lib_xml2+y}
12705 then :
12706 printf %s "(cached) " >&6
12707 else $as_nop
12708 ac_wine_check_headers_saved_cc=$CC
12709 ac_wine_check_headers_saved_exeext=$ac_exeext
12710 ac_wine_check_headers_saved_libs=$LIBS
12711 CC="$CROSSCC"
12712 ac_exeext=".exe"
12713 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 char xmlFirstElementChild ();
12722 main (void)
12724 return xmlFirstElementChild ();
12726 return 0;
12728 _ACEOF
12729 if ac_fn_c_try_link "$LINENO"
12730 then :
12731 ac_cv_mingw_lib_xml2=yes
12732 else $as_nop
12733 ac_cv_mingw_lib_xml2=no
12735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12736 conftest$ac_exeext conftest.$ac_ext
12737 CC=$ac_wine_check_headers_saved_cc
12738 ac_exeext=$ac_wine_check_headers_saved_exeext
12739 LIBS=$ac_wine_check_headers_saved_libs
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12742 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12743 if test "x$ac_cv_mingw_lib_xml2" = xyes
12744 then :
12746 else $as_nop
12747 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12749 else
12750 XML2_PE_CFLAGS=""
12751 XML2_PE_LIBS=""
12753 CPPFLAGS=$ac_save_CPPFLAGS
12755 if test "x$XML2_PE_LIBS" = "x"
12756 then
12757 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12760 if ${XSLT_PE_CFLAGS:+false} :
12761 then :
12762 if test ${MINGW_PKG_CONFIG+y}
12763 then :
12764 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12767 if ${XSLT_PE_LIBS:+false} :
12768 then :
12769 if test ${MINGW_PKG_CONFIG+y}
12770 then :
12771 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12774 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12775 ac_save_CPPFLAGS=$CPPFLAGS
12776 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12778 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12779 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12780 then :
12781 printf %s "(cached) " >&6
12782 else $as_nop
12783 ac_wine_check_headers_saved_cc=$CC
12784 ac_wine_check_headers_saved_exeext=$ac_exeext
12785 CC="$CROSSCC"
12786 ac_exeext=".exe"
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 #include <libxslt/pattern.h>
12792 main (void)
12796 return 0;
12798 _ACEOF
12799 if ac_fn_c_try_compile "$LINENO"
12800 then :
12801 ac_cv_mingw_header_libxslt_pattern_h=yes
12802 else $as_nop
12803 ac_cv_mingw_header_libxslt_pattern_h=no
12805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12806 CC=$ac_wine_check_headers_saved_cc
12807 ac_exeext=$ac_wine_check_headers_saved_exeext
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12810 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12811 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12812 then :
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12816 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12817 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12818 then :
12819 printf %s "(cached) " >&6
12820 else $as_nop
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 CC="$CROSSCC"
12824 ac_exeext=".exe"
12825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12826 /* end confdefs.h. */
12828 #include <libxslt/transform.h>
12830 main (void)
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"
12838 then :
12839 ac_cv_mingw_header_libxslt_transform_h=yes
12840 else $as_nop
12841 ac_cv_mingw_header_libxslt_transform_h=no
12843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12844 CC=$ac_wine_check_headers_saved_cc
12845 ac_exeext=$ac_wine_check_headers_saved_exeext
12847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12848 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12849 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12850 then :
12853 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12854 then
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12856 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12857 if test ${ac_cv_mingw_lib_xslt+y}
12858 then :
12859 printf %s "(cached) " >&6
12860 else $as_nop
12861 ac_wine_check_headers_saved_cc=$CC
12862 ac_wine_check_headers_saved_exeext=$ac_exeext
12863 ac_wine_check_headers_saved_libs=$LIBS
12864 CC="$CROSSCC"
12865 ac_exeext=".exe"
12866 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12868 /* end confdefs.h. */
12870 /* Override any GCC internal prototype to avoid an error.
12871 Use char because int might match the return type of a GCC
12872 builtin and then its argument prototype would still apply. */
12873 char xsltCompilePattern ();
12875 main (void)
12877 return xsltCompilePattern ();
12879 return 0;
12881 _ACEOF
12882 if ac_fn_c_try_link "$LINENO"
12883 then :
12884 ac_cv_mingw_lib_xslt=yes
12885 else $as_nop
12886 ac_cv_mingw_lib_xslt=no
12888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12889 conftest$ac_exeext conftest.$ac_ext
12890 CC=$ac_wine_check_headers_saved_cc
12891 ac_exeext=$ac_wine_check_headers_saved_exeext
12892 LIBS=$ac_wine_check_headers_saved_libs
12894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12895 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12896 if test "x$ac_cv_mingw_lib_xslt" = xyes
12897 then :
12899 else $as_nop
12900 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12902 else
12903 XSLT_PE_CFLAGS=""
12904 XSLT_PE_LIBS=""
12906 CPPFLAGS=$ac_save_CPPFLAGS
12908 if test "x$XSLT_PE_LIBS" = "x"
12909 then
12910 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12913 if ${VKD3D_PE_CFLAGS:+false} :
12914 then :
12915 if test ${MINGW_PKG_CONFIG+y}
12916 then :
12917 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12920 if ${VKD3D_PE_LIBS:+false} :
12921 then :
12922 if test ${MINGW_PKG_CONFIG+y}
12923 then :
12924 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12927 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12928 ac_save_CPPFLAGS=$CPPFLAGS
12929 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12931 printf %s "checking for MinGW vkd3d.h... " >&6; }
12932 if test ${ac_cv_mingw_header_vkd3d_h+y}
12933 then :
12934 printf %s "(cached) " >&6
12935 else $as_nop
12936 ac_wine_check_headers_saved_cc=$CC
12937 ac_wine_check_headers_saved_exeext=$ac_exeext
12938 CC="$CROSSCC"
12939 ac_exeext=".exe"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 #include <vkd3d.h>
12945 main (void)
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_compile "$LINENO"
12953 then :
12954 ac_cv_mingw_header_vkd3d_h=yes
12955 else $as_nop
12956 ac_cv_mingw_header_vkd3d_h=no
12958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12959 CC=$ac_wine_check_headers_saved_cc
12960 ac_exeext=$ac_wine_check_headers_saved_exeext
12962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12963 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12964 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12965 then :
12968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12969 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12970 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12971 then :
12972 printf %s "(cached) " >&6
12973 else $as_nop
12974 ac_wine_check_headers_saved_cc=$CC
12975 ac_wine_check_headers_saved_exeext=$ac_exeext
12976 CC="$CROSSCC"
12977 ac_exeext=".exe"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 #include <vkd3d_shader.h>
12983 main (void)
12987 return 0;
12989 _ACEOF
12990 if ac_fn_c_try_compile "$LINENO"
12991 then :
12992 ac_cv_mingw_header_vkd3d_shader_h=yes
12993 else $as_nop
12994 ac_cv_mingw_header_vkd3d_shader_h=no
12996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12997 CC=$ac_wine_check_headers_saved_cc
12998 ac_exeext=$ac_wine_check_headers_saved_exeext
13000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13001 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13002 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13003 then :
13006 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13007 then
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13009 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13010 if test ${ac_cv_mingw_lib_vkd3d+y}
13011 then :
13012 printf %s "(cached) " >&6
13013 else $as_nop
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 ac_wine_check_headers_saved_libs=$LIBS
13017 CC="$CROSSCC"
13018 ac_exeext=".exe"
13019 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 char vkd3d_set_log_callback ();
13028 main (void)
13030 return vkd3d_set_log_callback ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"
13036 then :
13037 ac_cv_mingw_lib_vkd3d=yes
13038 else $as_nop
13039 ac_cv_mingw_lib_vkd3d=no
13041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13042 conftest$ac_exeext conftest.$ac_ext
13043 CC=$ac_wine_check_headers_saved_cc
13044 ac_exeext=$ac_wine_check_headers_saved_exeext
13045 LIBS=$ac_wine_check_headers_saved_libs
13047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13048 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13049 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13050 then :
13052 else $as_nop
13055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13056 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13057 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13058 then :
13059 printf %s "(cached) " >&6
13060 else $as_nop
13061 ac_wine_check_headers_saved_cc=$CC
13062 ac_wine_check_headers_saved_exeext=$ac_exeext
13063 ac_wine_check_headers_saved_libs=$LIBS
13064 CC="$CROSSCC"
13065 ac_exeext=".exe"
13066 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 char vkd3d_shader_compile ();
13075 main (void)
13077 return vkd3d_shader_compile ();
13079 return 0;
13081 _ACEOF
13082 if ac_fn_c_try_link "$LINENO"
13083 then :
13084 ac_cv_mingw_lib_vkd3d_shader=yes
13085 else $as_nop
13086 ac_cv_mingw_lib_vkd3d_shader=no
13088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13089 conftest$ac_exeext conftest.$ac_ext
13090 CC=$ac_wine_check_headers_saved_cc
13091 ac_exeext=$ac_wine_check_headers_saved_exeext
13092 LIBS=$ac_wine_check_headers_saved_libs
13094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13095 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13096 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13097 then :
13099 else $as_nop
13102 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13103 then
13104 VKD3D_PE_CFLAGS=""
13105 VKD3D_PE_LIBS=""
13107 else
13108 VKD3D_PE_CFLAGS=""
13109 VKD3D_PE_LIBS=""
13111 CPPFLAGS=$ac_save_CPPFLAGS
13113 if test "x$VKD3D_PE_LIBS" = "x"
13114 then
13115 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13118 if ${ZLIB_PE_CFLAGS:+false} :
13119 then :
13120 if test ${MINGW_PKG_CONFIG+y}
13121 then :
13122 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13125 if ${ZLIB_PE_LIBS:+false} :
13126 then :
13127 if test ${MINGW_PKG_CONFIG+y}
13128 then :
13129 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13132 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13133 ac_save_CPPFLAGS=$CPPFLAGS
13134 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13136 printf %s "checking for MinGW zlib.h... " >&6; }
13137 if test ${ac_cv_mingw_header_zlib_h+y}
13138 then :
13139 printf %s "(cached) " >&6
13140 else $as_nop
13141 ac_wine_check_headers_saved_cc=$CC
13142 ac_wine_check_headers_saved_exeext=$ac_exeext
13143 CC="$CROSSCC"
13144 ac_exeext=".exe"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 #include <zlib.h>
13150 main (void)
13154 return 0;
13156 _ACEOF
13157 if ac_fn_c_try_compile "$LINENO"
13158 then :
13159 ac_cv_mingw_header_zlib_h=yes
13160 else $as_nop
13161 ac_cv_mingw_header_zlib_h=no
13163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13164 CC=$ac_wine_check_headers_saved_cc
13165 ac_exeext=$ac_wine_check_headers_saved_exeext
13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13168 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13169 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13170 then :
13171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13172 printf %s "checking for inflate in MinGW -lz... " >&6; }
13173 if test ${ac_cv_mingw_lib_z+y}
13174 then :
13175 printf %s "(cached) " >&6
13176 else $as_nop
13177 ac_wine_check_headers_saved_cc=$CC
13178 ac_wine_check_headers_saved_exeext=$ac_exeext
13179 ac_wine_check_headers_saved_libs=$LIBS
13180 CC="$CROSSCC"
13181 ac_exeext=".exe"
13182 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13189 char inflate ();
13191 main (void)
13193 return inflate ();
13195 return 0;
13197 _ACEOF
13198 if ac_fn_c_try_link "$LINENO"
13199 then :
13200 ac_cv_mingw_lib_z=yes
13201 else $as_nop
13202 ac_cv_mingw_lib_z=no
13204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13205 conftest$ac_exeext conftest.$ac_ext
13206 CC=$ac_wine_check_headers_saved_cc
13207 ac_exeext=$ac_wine_check_headers_saved_exeext
13208 LIBS=$ac_wine_check_headers_saved_libs
13210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13211 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13212 if test "x$ac_cv_mingw_lib_z" = xyes
13213 then :
13215 else $as_nop
13216 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13218 else $as_nop
13219 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13221 CPPFLAGS=$ac_save_CPPFLAGS
13223 if test "x$ZLIB_PE_LIBS" = "x"
13224 then
13225 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13229 if ${FAUDIO_PE_LIBS:+false} :
13230 then :
13231 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13232 if ${FAUDIO_PE_CFLAGS:+false} :
13233 then :
13234 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13235 else $as_nop
13236 enable_faudio=no
13238 else $as_nop
13239 enable_faudio=no
13241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13244 if ${GSM_PE_LIBS:+false} :
13245 then :
13246 GSM_PE_LIBS=gsm
13247 if ${GSM_PE_CFLAGS:+false} :
13248 then :
13249 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13250 else $as_nop
13251 enable_gsm=no
13253 else $as_nop
13254 enable_gsm=no
13256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13259 if ${JPEG_PE_LIBS:+false} :
13260 then :
13261 JPEG_PE_LIBS=jpeg
13262 if ${JPEG_PE_CFLAGS:+false} :
13263 then :
13264 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13265 else $as_nop
13266 enable_jpeg=no
13268 else $as_nop
13269 enable_jpeg=no
13271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13274 if ${JXR_PE_LIBS:+false} :
13275 then :
13276 JXR_PE_LIBS=jxr
13277 if ${JXR_PE_CFLAGS:+false} :
13278 then :
13279 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13280 else $as_nop
13281 enable_jxr=no
13283 else $as_nop
13284 enable_jxr=no
13286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13289 if ${LCMS2_PE_LIBS:+false} :
13290 then :
13291 LCMS2_PE_LIBS=lcms2
13292 if ${LCMS2_PE_CFLAGS:+false} :
13293 then :
13294 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13295 else $as_nop
13296 enable_lcms2=no
13298 else $as_nop
13299 enable_lcms2=no
13301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13304 if ${MPG123_PE_LIBS:+false} :
13305 then :
13306 MPG123_PE_LIBS=mpg123
13307 if ${MPG123_PE_CFLAGS:+false} :
13308 then :
13309 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13310 else $as_nop
13311 enable_mpg123=no
13313 else $as_nop
13314 enable_mpg123=no
13316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13319 if ${PNG_PE_LIBS:+false} :
13320 then :
13321 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13322 if ${PNG_PE_CFLAGS:+false} :
13323 then :
13324 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13325 else $as_nop
13326 enable_png=no
13328 else $as_nop
13329 enable_png=no
13331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13334 if ${TIFF_PE_LIBS:+false} :
13335 then :
13336 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13337 if ${TIFF_PE_CFLAGS:+false} :
13338 then :
13339 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13340 else $as_nop
13341 enable_tiff=no
13343 else $as_nop
13344 enable_tiff=no
13346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13349 if ${VKD3D_PE_LIBS:+false} :
13350 then :
13351 VKD3D_PE_LIBS=vkd3d
13352 if ${VKD3D_PE_CFLAGS:+false} :
13353 then :
13354 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13355 else $as_nop
13356 enable_vkd3d=no
13358 else $as_nop
13359 enable_vkd3d=no
13361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13364 if ${XML2_PE_LIBS:+false} :
13365 then :
13366 XML2_PE_LIBS=xml2
13367 if ${XML2_PE_CFLAGS:+false} :
13368 then :
13369 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13370 else $as_nop
13371 enable_xml2=no
13373 else $as_nop
13374 enable_xml2=no
13376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13379 if ${XSLT_PE_LIBS:+false} :
13380 then :
13381 XSLT_PE_LIBS=xslt
13382 if ${XSLT_PE_CFLAGS:+false} :
13383 then :
13384 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13385 else $as_nop
13386 enable_xslt=no
13388 else $as_nop
13389 enable_xslt=no
13391 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13394 if ${ZLIB_PE_LIBS:+false} :
13395 then :
13396 ZLIB_PE_LIBS=z
13397 if ${ZLIB_PE_CFLAGS:+false} :
13398 then :
13399 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13400 else $as_nop
13401 enable_zlib=no
13403 else $as_nop
13404 enable_zlib=no
13406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13411 if test "$ac_cv_header_pthread_h" = "yes"
13412 then
13413 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13414 if test "x$ac_cv_func_pthread_create" = xyes
13415 then :
13417 else $as_nop
13418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13419 printf %s "checking for pthread_create in -lpthread... " >&6; }
13420 if test ${ac_cv_lib_pthread_pthread_create+y}
13421 then :
13422 printf %s "(cached) " >&6
13423 else $as_nop
13424 ac_check_lib_save_LIBS=$LIBS
13425 LIBS="-lpthread $LIBS"
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13432 char pthread_create ();
13434 main (void)
13436 return pthread_create ();
13438 return 0;
13440 _ACEOF
13441 if ac_fn_c_try_link "$LINENO"
13442 then :
13443 ac_cv_lib_pthread_pthread_create=yes
13444 else $as_nop
13445 ac_cv_lib_pthread_pthread_create=no
13447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13448 conftest$ac_exeext conftest.$ac_ext
13449 LIBS=$ac_check_lib_save_LIBS
13451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13452 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13453 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13454 then :
13455 PTHREAD_LIBS="-lpthread"
13462 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13463 then :
13464 case "x$with_pthread" in
13465 xno) ;;
13466 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13467 Wine cannot support threads without libpthread.
13468 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13469 esac
13474 ac_ext=c
13475 ac_cpp='$CPP $CPPFLAGS'
13476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13480 printf %s "checking how to run the C preprocessor... " >&6; }
13481 # On Suns, sometimes $CPP names a directory.
13482 if test -n "$CPP" && test -d "$CPP"; then
13483 CPP=
13485 if test -z "$CPP"; then
13486 if test ${ac_cv_prog_CPP+y}
13487 then :
13488 printf %s "(cached) " >&6
13489 else $as_nop
13490 # Double quotes because $CC needs to be expanded
13491 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13493 ac_preproc_ok=false
13494 for ac_c_preproc_warn_flag in '' yes
13496 # Use a header file that comes with gcc, so configuring glibc
13497 # with a fresh cross-compiler works.
13498 # On the NeXT, cc -E runs the code through the compiler's parser,
13499 # not just through cpp. "Syntax error" is here to catch this case.
13500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13501 /* end confdefs.h. */
13502 #include <limits.h>
13503 Syntax error
13504 _ACEOF
13505 if ac_fn_c_try_cpp "$LINENO"
13506 then :
13508 else $as_nop
13509 # Broken: fails on valid input.
13510 continue
13512 rm -f conftest.err conftest.i conftest.$ac_ext
13514 # OK, works on sane cases. Now check whether nonexistent headers
13515 # can be detected and how.
13516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13517 /* end confdefs.h. */
13518 #include <ac_nonexistent.h>
13519 _ACEOF
13520 if ac_fn_c_try_cpp "$LINENO"
13521 then :
13522 # Broken: success on invalid input.
13523 continue
13524 else $as_nop
13525 # Passes both tests.
13526 ac_preproc_ok=:
13527 break
13529 rm -f conftest.err conftest.i conftest.$ac_ext
13531 done
13532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13533 rm -f conftest.i conftest.err conftest.$ac_ext
13534 if $ac_preproc_ok
13535 then :
13536 break
13539 done
13540 ac_cv_prog_CPP=$CPP
13543 CPP=$ac_cv_prog_CPP
13544 else
13545 ac_cv_prog_CPP=$CPP
13547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13548 printf "%s\n" "$CPP" >&6; }
13549 ac_preproc_ok=false
13550 for ac_c_preproc_warn_flag in '' yes
13552 # Use a header file that comes with gcc, so configuring glibc
13553 # with a fresh cross-compiler works.
13554 # On the NeXT, cc -E runs the code through the compiler's parser,
13555 # not just through cpp. "Syntax error" is here to catch this case.
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 #include <limits.h>
13559 Syntax error
13560 _ACEOF
13561 if ac_fn_c_try_cpp "$LINENO"
13562 then :
13564 else $as_nop
13565 # Broken: fails on valid input.
13566 continue
13568 rm -f conftest.err conftest.i conftest.$ac_ext
13570 # OK, works on sane cases. Now check whether nonexistent headers
13571 # can be detected and how.
13572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13573 /* end confdefs.h. */
13574 #include <ac_nonexistent.h>
13575 _ACEOF
13576 if ac_fn_c_try_cpp "$LINENO"
13577 then :
13578 # Broken: success on invalid input.
13579 continue
13580 else $as_nop
13581 # Passes both tests.
13582 ac_preproc_ok=:
13583 break
13585 rm -f conftest.err conftest.i conftest.$ac_ext
13587 done
13588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13589 rm -f conftest.i conftest.err conftest.$ac_ext
13590 if $ac_preproc_ok
13591 then :
13593 else $as_nop
13594 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13596 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13597 See \`config.log' for more details" "$LINENO" 5; }
13600 ac_ext=c
13601 ac_cpp='$CPP $CPPFLAGS'
13602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13608 printf %s "checking for X... " >&6; }
13611 # Check whether --with-x was given.
13612 if test ${with_x+y}
13613 then :
13614 withval=$with_x;
13617 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13618 if test "x$with_x" = xno; then
13619 # The user explicitly disabled X.
13620 have_x=disabled
13621 else
13622 case $x_includes,$x_libraries in #(
13623 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13624 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13625 then :
13626 printf %s "(cached) " >&6
13627 else $as_nop
13628 # One or both of the vars are not set, and there is no cached value.
13629 ac_x_includes=no
13630 ac_x_libraries=no
13631 # Do we need to do anything special at all?
13632 ac_save_LIBS=$LIBS
13633 LIBS="-lX11 $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <X11/Xlib.h>
13638 main (void)
13640 XrmInitialize ()
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"
13646 then :
13647 # We can compile and link X programs with no special options.
13648 ac_x_includes=
13649 ac_x_libraries=
13651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS="$ac_save_LIBS"
13654 # If that didn't work, only try xmkmf and file system searches
13655 # for native compilation.
13656 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13657 then :
13658 rm -f -r conftest.dir
13659 if mkdir conftest.dir; then
13660 cd conftest.dir
13661 cat >Imakefile <<'_ACEOF'
13662 incroot:
13663 @echo incroot='${INCROOT}'
13664 usrlibdir:
13665 @echo usrlibdir='${USRLIBDIR}'
13666 libdir:
13667 @echo libdir='${LIBDIR}'
13668 _ACEOF
13669 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13671 for ac_var in incroot usrlibdir libdir; do
13672 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13673 done
13674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13675 for ac_extension in a so sl dylib la dll; do
13676 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13677 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13678 ac_im_usrlibdir=$ac_im_libdir; break
13680 done
13681 # Screen out bogus values from the imake configuration. They are
13682 # bogus both because they are the default anyway, and because
13683 # using them would break gcc on systems where it needs fixed includes.
13684 case $ac_im_incroot in
13685 /usr/include) ac_x_includes= ;;
13686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13687 esac
13688 case $ac_im_usrlibdir in
13689 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13691 esac
13693 cd ..
13694 rm -f -r conftest.dir
13697 # Standard set of common directories for X headers.
13698 # Check X11 before X11Rn because it is often a symlink to the current release.
13699 ac_x_header_dirs='
13700 /usr/X11/include
13701 /usr/X11R7/include
13702 /usr/X11R6/include
13703 /usr/X11R5/include
13704 /usr/X11R4/include
13706 /usr/include/X11
13707 /usr/include/X11R7
13708 /usr/include/X11R6
13709 /usr/include/X11R5
13710 /usr/include/X11R4
13712 /usr/local/X11/include
13713 /usr/local/X11R7/include
13714 /usr/local/X11R6/include
13715 /usr/local/X11R5/include
13716 /usr/local/X11R4/include
13718 /usr/local/include/X11
13719 /usr/local/include/X11R7
13720 /usr/local/include/X11R6
13721 /usr/local/include/X11R5
13722 /usr/local/include/X11R4
13724 /opt/X11/include
13726 /usr/X386/include
13727 /usr/x386/include
13728 /usr/XFree86/include/X11
13730 /usr/include
13731 /usr/local/include
13732 /usr/unsupported/include
13733 /usr/athena/include
13734 /usr/local/x11r5/include
13735 /usr/lpp/Xamples/include
13737 /usr/openwin/include
13738 /usr/openwin/share/include'
13740 if test "$ac_x_includes" = no; then
13741 # Guess where to find include files, by looking for Xlib.h.
13742 # First, try using that file with no special directory specified.
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13745 #include <X11/Xlib.h>
13746 _ACEOF
13747 if ac_fn_c_try_cpp "$LINENO"
13748 then :
13749 # We can compile using X headers with no special include directory.
13750 ac_x_includes=
13751 else $as_nop
13752 for ac_dir in $ac_x_header_dirs; do
13753 if test -r "$ac_dir/X11/Xlib.h"; then
13754 ac_x_includes=$ac_dir
13755 break
13757 done
13759 rm -f conftest.err conftest.i conftest.$ac_ext
13760 fi # $ac_x_includes = no
13762 if test "$ac_x_libraries" = no; then
13763 # Check for the libraries.
13764 # See if we find them without any special options.
13765 # Don't add to $LIBS permanently.
13766 ac_save_LIBS=$LIBS
13767 LIBS="-lX11 $LIBS"
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13769 /* end confdefs.h. */
13770 #include <X11/Xlib.h>
13772 main (void)
13774 XrmInitialize ()
13776 return 0;
13778 _ACEOF
13779 if ac_fn_c_try_link "$LINENO"
13780 then :
13781 LIBS=$ac_save_LIBS
13782 # We can link X programs with no special library path.
13783 ac_x_libraries=
13784 else $as_nop
13785 LIBS=$ac_save_LIBS
13786 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13788 # Don't even attempt the hair of trying to link an X program!
13789 for ac_extension in a so sl dylib la dll; do
13790 if test -r "$ac_dir/libX11.$ac_extension"; then
13791 ac_x_libraries=$ac_dir
13792 break 2
13794 done
13795 done
13797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13798 conftest$ac_exeext conftest.$ac_ext
13799 fi # $ac_x_libraries = no
13802 # Record the results.
13803 case $ac_x_includes,$ac_x_libraries in #(
13804 no,* | *,no | *\'*) :
13805 # Didn't find X, or a directory has "'" in its name.
13806 ac_cv_have_x="have_x=no" ;; #(
13807 *) :
13808 # Record where we found X for the cache.
13809 ac_cv_have_x="have_x=yes\
13810 ac_x_includes='$ac_x_includes'\
13811 ac_x_libraries='$ac_x_libraries'" ;;
13812 esac
13814 ;; #(
13815 *) have_x=yes;;
13816 esac
13817 eval "$ac_cv_have_x"
13818 fi # $with_x != no
13820 if test "$have_x" != yes; then
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13822 printf "%s\n" "$have_x" >&6; }
13823 no_x=yes
13824 else
13825 # If each of the values was on the command line, it overrides each guess.
13826 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13827 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13828 # Update the cache value to reflect the command line values.
13829 ac_cv_have_x="have_x=yes\
13830 ac_x_includes='$x_includes'\
13831 ac_x_libraries='$x_libraries'"
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13833 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13836 if test "$no_x" = yes; then
13837 # Not all programs may use this symbol, but it does not hurt to define it.
13839 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13841 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13842 else
13843 if test -n "$x_includes"; then
13844 X_CFLAGS="$X_CFLAGS -I$x_includes"
13847 # It would also be nice to do this for all -L options, not just this one.
13848 if test -n "$x_libraries"; then
13849 X_LIBS="$X_LIBS -L$x_libraries"
13850 # For Solaris; some versions of Sun CC require a space after -R and
13851 # others require no space. Words are not sufficient . . . .
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13853 printf %s "checking whether -R must be followed by a space... " >&6; }
13854 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13855 ac_xsave_c_werror_flag=$ac_c_werror_flag
13856 ac_c_werror_flag=yes
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13861 main (void)
13865 return 0;
13867 _ACEOF
13868 if ac_fn_c_try_link "$LINENO"
13869 then :
13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13871 printf "%s\n" "no" >&6; }
13872 X_LIBS="$X_LIBS -R$x_libraries"
13873 else $as_nop
13874 LIBS="$ac_xsave_LIBS -R $x_libraries"
13875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13879 main (void)
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"
13887 then :
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13889 printf "%s\n" "yes" >&6; }
13890 X_LIBS="$X_LIBS -R $x_libraries"
13891 else $as_nop
13892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13893 printf "%s\n" "neither works" >&6; }
13895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13896 conftest$ac_exeext conftest.$ac_ext
13898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13899 conftest$ac_exeext conftest.$ac_ext
13900 ac_c_werror_flag=$ac_xsave_c_werror_flag
13901 LIBS=$ac_xsave_LIBS
13904 # Check for system-dependent libraries X programs must link with.
13905 # Do this before checking for the system-independent R6 libraries
13906 # (-lICE), since we may need -lsocket or whatever for X linking.
13908 if test "$ISC" = yes; then
13909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13910 else
13911 # Martyn Johnson says this is needed for Ultrix, if the X
13912 # libraries were built with DECnet support. And Karl Berry says
13913 # the Alpha needs dnet_stub (dnet does not exist).
13914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13918 /* Override any GCC internal prototype to avoid an error.
13919 Use char because int might match the return type of a GCC
13920 builtin and then its argument prototype would still apply. */
13921 char XOpenDisplay ();
13923 main (void)
13925 return XOpenDisplay ();
13927 return 0;
13929 _ACEOF
13930 if ac_fn_c_try_link "$LINENO"
13931 then :
13933 else $as_nop
13934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13935 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13936 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13937 then :
13938 printf %s "(cached) " >&6
13939 else $as_nop
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-ldnet $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13948 char dnet_ntoa ();
13950 main (void)
13952 return dnet_ntoa ();
13954 return 0;
13956 _ACEOF
13957 if ac_fn_c_try_link "$LINENO"
13958 then :
13959 ac_cv_lib_dnet_dnet_ntoa=yes
13960 else $as_nop
13961 ac_cv_lib_dnet_dnet_ntoa=no
13963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13964 conftest$ac_exeext conftest.$ac_ext
13965 LIBS=$ac_check_lib_save_LIBS
13967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13968 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13969 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13970 then :
13971 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13974 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13976 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13977 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13978 then :
13979 printf %s "(cached) " >&6
13980 else $as_nop
13981 ac_check_lib_save_LIBS=$LIBS
13982 LIBS="-ldnet_stub $LIBS"
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 char dnet_ntoa ();
13991 main (void)
13993 return dnet_ntoa ();
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"
13999 then :
14000 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14001 else $as_nop
14002 ac_cv_lib_dnet_stub_dnet_ntoa=no
14004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS=$ac_check_lib_save_LIBS
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14009 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14010 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14011 then :
14012 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14018 conftest$ac_exeext conftest.$ac_ext
14019 LIBS="$ac_xsave_LIBS"
14021 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14022 # to get the SysV transport functions.
14023 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14024 # needs -lnsl.
14025 # The nsl library prevents programs from opening the X display
14026 # on Irix 5.2, according to T.E. Dickey.
14027 # The functions gethostbyname, getservbyname, and inet_addr are
14028 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14029 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14030 if test "x$ac_cv_func_gethostbyname" = xyes
14031 then :
14035 if test $ac_cv_func_gethostbyname = no; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14037 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14038 if test ${ac_cv_lib_nsl_gethostbyname+y}
14039 then :
14040 printf %s "(cached) " >&6
14041 else $as_nop
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-lnsl $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 char gethostbyname ();
14052 main (void)
14054 return gethostbyname ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"
14060 then :
14061 ac_cv_lib_nsl_gethostbyname=yes
14062 else $as_nop
14063 ac_cv_lib_nsl_gethostbyname=no
14065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14066 conftest$ac_exeext conftest.$ac_ext
14067 LIBS=$ac_check_lib_save_LIBS
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14070 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14071 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14072 then :
14073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14076 if test $ac_cv_lib_nsl_gethostbyname = no; then
14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14078 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14079 if test ${ac_cv_lib_bsd_gethostbyname+y}
14080 then :
14081 printf %s "(cached) " >&6
14082 else $as_nop
14083 ac_check_lib_save_LIBS=$LIBS
14084 LIBS="-lbsd $LIBS"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14088 /* Override any GCC internal prototype to avoid an error.
14089 Use char because int might match the return type of a GCC
14090 builtin and then its argument prototype would still apply. */
14091 char gethostbyname ();
14093 main (void)
14095 return gethostbyname ();
14097 return 0;
14099 _ACEOF
14100 if ac_fn_c_try_link "$LINENO"
14101 then :
14102 ac_cv_lib_bsd_gethostbyname=yes
14103 else $as_nop
14104 ac_cv_lib_bsd_gethostbyname=no
14106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14107 conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_lib_save_LIBS
14110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14111 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14112 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14113 then :
14114 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14120 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14121 # socket/setsockopt and other routines are undefined under SCO ODT
14122 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14123 # on later versions), says Simon Leinen: it contains gethostby*
14124 # variants that don't use the name server (or something). -lsocket
14125 # must be given before -lnsl if both are needed. We assume that
14126 # if connect needs -lnsl, so does gethostbyname.
14127 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14128 if test "x$ac_cv_func_connect" = xyes
14129 then :
14133 if test $ac_cv_func_connect = no; then
14134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14135 printf %s "checking for connect in -lsocket... " >&6; }
14136 if test ${ac_cv_lib_socket_connect+y}
14137 then :
14138 printf %s "(cached) " >&6
14139 else $as_nop
14140 ac_check_lib_save_LIBS=$LIBS
14141 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14148 char connect ();
14150 main (void)
14152 return connect ();
14154 return 0;
14156 _ACEOF
14157 if ac_fn_c_try_link "$LINENO"
14158 then :
14159 ac_cv_lib_socket_connect=yes
14160 else $as_nop
14161 ac_cv_lib_socket_connect=no
14163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14164 conftest$ac_exeext conftest.$ac_ext
14165 LIBS=$ac_check_lib_save_LIBS
14167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14168 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14169 if test "x$ac_cv_lib_socket_connect" = xyes
14170 then :
14171 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14176 # Guillermo Gomez says -lposix is necessary on A/UX.
14177 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14178 if test "x$ac_cv_func_remove" = xyes
14179 then :
14183 if test $ac_cv_func_remove = no; then
14184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14185 printf %s "checking for remove in -lposix... " >&6; }
14186 if test ${ac_cv_lib_posix_remove+y}
14187 then :
14188 printf %s "(cached) " >&6
14189 else $as_nop
14190 ac_check_lib_save_LIBS=$LIBS
14191 LIBS="-lposix $LIBS"
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14195 /* Override any GCC internal prototype to avoid an error.
14196 Use char because int might match the return type of a GCC
14197 builtin and then its argument prototype would still apply. */
14198 char remove ();
14200 main (void)
14202 return remove ();
14204 return 0;
14206 _ACEOF
14207 if ac_fn_c_try_link "$LINENO"
14208 then :
14209 ac_cv_lib_posix_remove=yes
14210 else $as_nop
14211 ac_cv_lib_posix_remove=no
14213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_lib_save_LIBS
14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14218 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14219 if test "x$ac_cv_lib_posix_remove" = xyes
14220 then :
14221 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14226 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14227 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14228 if test "x$ac_cv_func_shmat" = xyes
14229 then :
14233 if test $ac_cv_func_shmat = no; then
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14235 printf %s "checking for shmat in -lipc... " >&6; }
14236 if test ${ac_cv_lib_ipc_shmat+y}
14237 then :
14238 printf %s "(cached) " >&6
14239 else $as_nop
14240 ac_check_lib_save_LIBS=$LIBS
14241 LIBS="-lipc $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14248 char shmat ();
14250 main (void)
14252 return shmat ();
14254 return 0;
14256 _ACEOF
14257 if ac_fn_c_try_link "$LINENO"
14258 then :
14259 ac_cv_lib_ipc_shmat=yes
14260 else $as_nop
14261 ac_cv_lib_ipc_shmat=no
14263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14264 conftest$ac_exeext conftest.$ac_ext
14265 LIBS=$ac_check_lib_save_LIBS
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14268 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14269 if test "x$ac_cv_lib_ipc_shmat" = xyes
14270 then :
14271 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14277 # Check for libraries that X11R6 Xt/Xaw programs need.
14278 ac_save_LDFLAGS=$LDFLAGS
14279 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14280 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14281 # check for ICE first), but we must link in the order -lSM -lICE or
14282 # we get undefined symbols. So assume we have SM if we have ICE.
14283 # These have to be linked with before -lX11, unlike the other
14284 # libraries we check for below, so use a different variable.
14285 # John Interrante, Karl Berry
14286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14287 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14288 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14289 then :
14290 printf %s "(cached) " >&6
14291 else $as_nop
14292 ac_check_lib_save_LIBS=$LIBS
14293 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14297 /* Override any GCC internal prototype to avoid an error.
14298 Use char because int might match the return type of a GCC
14299 builtin and then its argument prototype would still apply. */
14300 char IceConnectionNumber ();
14302 main (void)
14304 return IceConnectionNumber ();
14306 return 0;
14308 _ACEOF
14309 if ac_fn_c_try_link "$LINENO"
14310 then :
14311 ac_cv_lib_ICE_IceConnectionNumber=yes
14312 else $as_nop
14313 ac_cv_lib_ICE_IceConnectionNumber=no
14315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14316 conftest$ac_exeext conftest.$ac_ext
14317 LIBS=$ac_check_lib_save_LIBS
14319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14320 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14321 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14322 then :
14323 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14326 LDFLAGS=$ac_save_LDFLAGS
14331 if test "$have_x" = "yes"
14332 then
14333 ac_save_CPPFLAGS="$CPPFLAGS"
14334 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14337 printf %s "checking for -lX11... " >&6; }
14338 if test ${ac_cv_lib_soname_X11+y}
14339 then :
14340 printf %s "(cached) " >&6
14341 else $as_nop
14342 ac_check_soname_save_LIBS=$LIBS
14343 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 char XCreateWindow ();
14352 main (void)
14354 return XCreateWindow ();
14356 return 0;
14358 _ACEOF
14359 if ac_fn_c_try_link "$LINENO"
14360 then :
14361 case "$LIBEXT" in
14362 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14363 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'` ;;
14364 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14365 if ${ac_cv_lib_soname_X11:+false} :
14366 then :
14367 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14368 fi ;;
14369 esac
14370 else $as_nop
14371 ac_cv_lib_soname_X11=
14373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_check_soname_save_LIBS
14377 if ${ac_cv_lib_soname_X11:+false} :
14378 then :
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14380 printf "%s\n" "not found" >&6; }
14382 else $as_nop
14383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14384 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14386 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14391 printf %s "checking for -lXext... " >&6; }
14392 if test ${ac_cv_lib_soname_Xext+y}
14393 then :
14394 printf %s "(cached) " >&6
14395 else $as_nop
14396 ac_check_soname_save_LIBS=$LIBS
14397 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14401 /* Override any GCC internal prototype to avoid an error.
14402 Use char because int might match the return type of a GCC
14403 builtin and then its argument prototype would still apply. */
14404 char XextCreateExtension ();
14406 main (void)
14408 return XextCreateExtension ();
14410 return 0;
14412 _ACEOF
14413 if ac_fn_c_try_link "$LINENO"
14414 then :
14415 case "$LIBEXT" in
14416 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14417 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'` ;;
14418 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14419 if ${ac_cv_lib_soname_Xext:+false} :
14420 then :
14421 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14422 fi ;;
14423 esac
14424 else $as_nop
14425 ac_cv_lib_soname_Xext=
14427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14428 conftest$ac_exeext conftest.$ac_ext
14429 LIBS=$ac_check_soname_save_LIBS
14431 if ${ac_cv_lib_soname_Xext:+false} :
14432 then :
14433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14434 printf "%s\n" "not found" >&6; }
14436 else $as_nop
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14438 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14440 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14442 X_LIBS="$X_LIBS -lXext"
14444 X_LIBS="$X_LIBS -lX11"
14446 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14447 # include <X11/Xlib.h>
14448 #endif
14449 #ifdef HAVE_X11_XUTIL_H
14450 # include <X11/Xutil.h>
14451 #endif
14453 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14454 then :
14455 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14458 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14459 # include <X11/Xlib.h>
14460 #endif
14461 #ifdef HAVE_X11_XUTIL_H
14462 # include <X11/Xutil.h>
14463 #endif
14465 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14466 then :
14467 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14470 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14471 # include <X11/Xlib.h>
14472 #endif
14473 #ifdef HAVE_X11_XUTIL_H
14474 # include <X11/Xutil.h>
14475 #endif
14477 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14478 then :
14479 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14482 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14483 # include <X11/Xlib.h>
14484 #endif
14485 #ifdef HAVE_X11_XUTIL_H
14486 # include <X11/Xutil.h>
14487 #endif
14489 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14490 then :
14491 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14494 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14495 # include <X11/Xlib.h>
14496 #endif
14497 #ifdef HAVE_X11_XUTIL_H
14498 # include <X11/Xutil.h>
14499 #endif
14501 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14502 then :
14503 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14506 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14507 # include <X11/Xlib.h>
14508 #endif
14509 #ifdef HAVE_X11_XUTIL_H
14510 # include <X11/Xutil.h>
14511 #endif
14513 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14514 then :
14515 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14518 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14519 # include <X11/Xlib.h>
14520 #endif
14521 #ifdef HAVE_X11_XUTIL_H
14522 # include <X11/Xutil.h>
14523 #endif
14525 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14526 then :
14527 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14530 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14531 # include <X11/Xlib.h>
14532 #endif
14533 #ifdef HAVE_X11_XUTIL_H
14534 # include <X11/Xutil.h>
14535 #endif
14537 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14538 then :
14539 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14542 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14543 # include <X11/Xlib.h>
14544 #endif
14545 #ifdef HAVE_X11_XUTIL_H
14546 # include <X11/Xutil.h>
14547 #endif
14549 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14550 then :
14551 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14554 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14555 # include <X11/Xlib.h>
14556 #endif
14557 #ifdef HAVE_X11_XUTIL_H
14558 # include <X11/Xutil.h>
14559 #endif
14561 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14562 then :
14563 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14566 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14567 # include <X11/Xlib.h>
14568 #endif
14569 #ifdef HAVE_X11_XUTIL_H
14570 # include <X11/Xutil.h>
14571 #endif
14573 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14574 then :
14575 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14578 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14579 # include <X11/Xlib.h>
14580 #endif
14581 #ifdef HAVE_X11_XUTIL_H
14582 # include <X11/Xutil.h>
14583 #endif
14585 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14586 then :
14587 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14590 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14591 # include <X11/Xlib.h>
14592 #endif
14593 #ifdef HAVE_X11_XUTIL_H
14594 # include <X11/Xutil.h>
14595 #endif
14597 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14598 then :
14599 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14602 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14603 # include <X11/Xlib.h>
14604 #endif
14605 #ifdef HAVE_X11_XUTIL_H
14606 # include <X11/Xutil.h>
14607 #endif
14609 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14610 then :
14611 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14614 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14615 # include <X11/Xlib.h>
14616 #endif
14617 #ifdef HAVE_X11_XUTIL_H
14618 # include <X11/Xutil.h>
14619 #endif
14621 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14622 then :
14623 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14628 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14629 then
14630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14631 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14632 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14633 then :
14634 printf %s "(cached) " >&6
14635 else $as_nop
14636 ac_check_lib_save_LIBS=$LIBS
14637 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14641 /* Override any GCC internal prototype to avoid an error.
14642 Use char because int might match the return type of a GCC
14643 builtin and then its argument prototype would still apply. */
14644 char XkbQueryExtension ();
14646 main (void)
14648 return XkbQueryExtension ();
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_link "$LINENO"
14654 then :
14655 ac_cv_lib_X11_XkbQueryExtension=yes
14656 else $as_nop
14657 ac_cv_lib_X11_XkbQueryExtension=no
14659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14664 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14665 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14666 then :
14668 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14674 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14675 then
14676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14677 printf %s "checking for -lXcursor... " >&6; }
14678 if test ${ac_cv_lib_soname_Xcursor+y}
14679 then :
14680 printf %s "(cached) " >&6
14681 else $as_nop
14682 ac_check_soname_save_LIBS=$LIBS
14683 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14687 /* Override any GCC internal prototype to avoid an error.
14688 Use char because int might match the return type of a GCC
14689 builtin and then its argument prototype would still apply. */
14690 char XcursorImageLoadCursor ();
14692 main (void)
14694 return XcursorImageLoadCursor ();
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"
14700 then :
14701 case "$LIBEXT" in
14702 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14703 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'` ;;
14704 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14705 if ${ac_cv_lib_soname_Xcursor:+false} :
14706 then :
14707 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14708 fi ;;
14709 esac
14710 else $as_nop
14711 ac_cv_lib_soname_Xcursor=
14713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_soname_save_LIBS
14717 if ${ac_cv_lib_soname_Xcursor:+false} :
14718 then :
14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14720 printf "%s\n" "not found" >&6; }
14722 else $as_nop
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14724 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14726 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14731 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14732 then :
14733 case "x$with_xcursor" in
14734 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14735 xno) ;;
14736 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14737 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14738 esac
14742 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14743 then
14744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14745 printf %s "checking for -lXi... " >&6; }
14746 if test ${ac_cv_lib_soname_Xi+y}
14747 then :
14748 printf %s "(cached) " >&6
14749 else $as_nop
14750 ac_check_soname_save_LIBS=$LIBS
14751 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14755 /* Override any GCC internal prototype to avoid an error.
14756 Use char because int might match the return type of a GCC
14757 builtin and then its argument prototype would still apply. */
14758 char XOpenDevice ();
14760 main (void)
14762 return XOpenDevice ();
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"
14768 then :
14769 case "$LIBEXT" in
14770 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14771 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'` ;;
14772 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14773 if ${ac_cv_lib_soname_Xi:+false} :
14774 then :
14775 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14776 fi ;;
14777 esac
14778 else $as_nop
14779 ac_cv_lib_soname_Xi=
14781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14782 conftest$ac_exeext conftest.$ac_ext
14783 LIBS=$ac_check_soname_save_LIBS
14785 if ${ac_cv_lib_soname_Xi:+false} :
14786 then :
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14788 printf "%s\n" "not found" >&6; }
14790 else $as_nop
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14792 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14794 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14799 if test "x$ac_cv_lib_soname_Xi" = "x"
14800 then :
14801 case "x$with_xinput" in
14802 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14803 xno) ;;
14804 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14805 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14806 esac
14810 if test "x$ac_cv_lib_soname_Xi" != x
14811 then
14812 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14813 then :
14814 case "x$with_xinput2" in
14815 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14816 xno) ;;
14817 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14818 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14819 esac
14824 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14825 then
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14827 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14828 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14829 then :
14830 printf %s "(cached) " >&6
14831 else $as_nop
14832 ac_check_lib_save_LIBS=$LIBS
14833 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14837 /* Override any GCC internal prototype to avoid an error.
14838 Use char because int might match the return type of a GCC
14839 builtin and then its argument prototype would still apply. */
14840 char XShmQueryExtension ();
14842 main (void)
14844 return XShmQueryExtension ();
14846 return 0;
14848 _ACEOF
14849 if ac_fn_c_try_link "$LINENO"
14850 then :
14851 ac_cv_lib_Xext_XShmQueryExtension=yes
14852 else $as_nop
14853 ac_cv_lib_Xext_XShmQueryExtension=no
14855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14856 conftest$ac_exeext conftest.$ac_ext
14857 LIBS=$ac_check_lib_save_LIBS
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14860 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14861 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14862 then :
14864 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14869 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14870 then :
14871 case "x$with_xshm" in
14872 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14873 xno) ;;
14874 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14875 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14876 esac
14880 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14881 then
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14883 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14884 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14885 then :
14886 printf %s "(cached) " >&6
14887 else $as_nop
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 char XShapeQueryExtension ();
14898 main (void)
14900 return XShapeQueryExtension ();
14902 return 0;
14904 _ACEOF
14905 if ac_fn_c_try_link "$LINENO"
14906 then :
14907 ac_cv_lib_Xext_XShapeQueryExtension=yes
14908 else $as_nop
14909 ac_cv_lib_Xext_XShapeQueryExtension=no
14911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14912 conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_lib_save_LIBS
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14916 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14917 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14918 then :
14920 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14925 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14926 then :
14927 case "x$with_xshape" in
14928 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14929 xno) ;;
14930 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14931 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14932 esac
14936 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14937 then
14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14939 printf %s "checking for -lXxf86vm... " >&6; }
14940 if test ${ac_cv_lib_soname_Xxf86vm+y}
14941 then :
14942 printf %s "(cached) " >&6
14943 else $as_nop
14944 ac_check_soname_save_LIBS=$LIBS
14945 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 char XF86VidModeQueryExtension ();
14954 main (void)
14956 return XF86VidModeQueryExtension ();
14958 return 0;
14960 _ACEOF
14961 if ac_fn_c_try_link "$LINENO"
14962 then :
14963 case "$LIBEXT" in
14964 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14965 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'` ;;
14966 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14967 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14968 then :
14969 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14970 fi ;;
14971 esac
14972 else $as_nop
14973 ac_cv_lib_soname_Xxf86vm=
14975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14976 conftest$ac_exeext conftest.$ac_ext
14977 LIBS=$ac_check_soname_save_LIBS
14979 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14980 then :
14981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14982 printf "%s\n" "not found" >&6; }
14984 else $as_nop
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14986 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14988 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14993 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14994 then :
14995 case "x$with_xxf86vm" in
14996 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14997 xno) ;;
14998 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14999 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15000 esac
15004 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15005 then
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15007 printf %s "checking for -lXrender... " >&6; }
15008 if test ${ac_cv_lib_soname_Xrender+y}
15009 then :
15010 printf %s "(cached) " >&6
15011 else $as_nop
15012 ac_check_soname_save_LIBS=$LIBS
15013 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15017 /* Override any GCC internal prototype to avoid an error.
15018 Use char because int might match the return type of a GCC
15019 builtin and then its argument prototype would still apply. */
15020 char XRenderQueryExtension ();
15022 main (void)
15024 return XRenderQueryExtension ();
15026 return 0;
15028 _ACEOF
15029 if ac_fn_c_try_link "$LINENO"
15030 then :
15031 case "$LIBEXT" in
15032 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15033 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'` ;;
15034 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15035 if ${ac_cv_lib_soname_Xrender:+false} :
15036 then :
15037 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15038 fi ;;
15039 esac
15040 else $as_nop
15041 ac_cv_lib_soname_Xrender=
15043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15044 conftest$ac_exeext conftest.$ac_ext
15045 LIBS=$ac_check_soname_save_LIBS
15047 if ${ac_cv_lib_soname_Xrender:+false} :
15048 then :
15049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15050 printf "%s\n" "not found" >&6; }
15052 else $as_nop
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15054 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15056 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15059 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15060 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15061 then :
15062 printf %s "(cached) " >&6
15063 else $as_nop
15064 ac_check_lib_save_LIBS=$LIBS
15065 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 char XRenderSetPictureTransform ();
15074 main (void)
15076 return XRenderSetPictureTransform ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"
15082 then :
15083 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15084 else $as_nop
15085 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15088 conftest$ac_exeext conftest.$ac_ext
15089 LIBS=$ac_check_lib_save_LIBS
15091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15092 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15093 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15094 then :
15096 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15101 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15102 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15103 then :
15104 printf %s "(cached) " >&6
15105 else $as_nop
15106 ac_check_lib_save_LIBS=$LIBS
15107 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 char XRenderCreateLinearGradient ();
15116 main (void)
15118 return XRenderCreateLinearGradient ();
15120 return 0;
15122 _ACEOF
15123 if ac_fn_c_try_link "$LINENO"
15124 then :
15125 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15126 else $as_nop
15127 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15130 conftest$ac_exeext conftest.$ac_ext
15131 LIBS=$ac_check_lib_save_LIBS
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15134 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15135 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15136 then :
15138 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15145 if test "x$ac_cv_lib_soname_Xrender" = "x"
15146 then :
15147 case "x$with_xrender" in
15148 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15149 xno) ;;
15150 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15151 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15152 esac
15156 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15157 then
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <X11/Xlib.h>
15161 #include <X11/extensions/Xrandr.h>
15163 main (void)
15165 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_compile "$LINENO"
15171 then :
15172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15173 printf %s "checking for -lXrandr... " >&6; }
15174 if test ${ac_cv_lib_soname_Xrandr+y}
15175 then :
15176 printf %s "(cached) " >&6
15177 else $as_nop
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 char XRRQueryExtension ();
15188 main (void)
15190 return XRRQueryExtension ();
15192 return 0;
15194 _ACEOF
15195 if ac_fn_c_try_link "$LINENO"
15196 then :
15197 case "$LIBEXT" in
15198 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_Xrandr:+false} :
15202 then :
15203 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15204 fi ;;
15205 esac
15206 else $as_nop
15207 ac_cv_lib_soname_Xrandr=
15209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15210 conftest$ac_exeext conftest.$ac_ext
15211 LIBS=$ac_check_soname_save_LIBS
15213 if ${ac_cv_lib_soname_Xrandr:+false} :
15214 then :
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 printf "%s\n" "not found" >&6; }
15218 else $as_nop
15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15220 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15222 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #include <X11/Xlib.h>
15227 #include <X11/extensions/Xrandr.h>
15229 main (void)
15231 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15233 return 0;
15235 _ACEOF
15236 if ac_fn_c_try_compile "$LINENO"
15237 then :
15239 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15241 else $as_nop
15242 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15249 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15250 then :
15251 case "x$with_xrandr" in
15252 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15253 xno) ;;
15254 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15255 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15256 esac
15260 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15261 then
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264 #include <X11/Xlib.h>
15265 #include <X11/extensions/Xfixes.h>
15267 main (void)
15269 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15271 return 0;
15273 _ACEOF
15274 if ac_fn_c_try_compile "$LINENO"
15275 then :
15276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15277 printf %s "checking for -lXfixes... " >&6; }
15278 if test ${ac_cv_lib_soname_Xfixes+y}
15279 then :
15280 printf %s "(cached) " >&6
15281 else $as_nop
15282 ac_check_soname_save_LIBS=$LIBS
15283 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15287 /* Override any GCC internal prototype to avoid an error.
15288 Use char because int might match the return type of a GCC
15289 builtin and then its argument prototype would still apply. */
15290 char XFixesQueryVersion ();
15292 main (void)
15294 return XFixesQueryVersion ();
15296 return 0;
15298 _ACEOF
15299 if ac_fn_c_try_link "$LINENO"
15300 then :
15301 case "$LIBEXT" in
15302 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15303 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'` ;;
15304 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15305 if ${ac_cv_lib_soname_Xfixes:+false} :
15306 then :
15307 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15308 fi ;;
15309 esac
15310 else $as_nop
15311 ac_cv_lib_soname_Xfixes=
15313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15314 conftest$ac_exeext conftest.$ac_ext
15315 LIBS=$ac_check_soname_save_LIBS
15317 if ${ac_cv_lib_soname_Xfixes:+false} :
15318 then :
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15320 printf "%s\n" "not found" >&6; }
15322 else $as_nop
15323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15324 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15326 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15333 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15334 then :
15335 case "x$with_xfixes" in
15336 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15337 xno) ;;
15338 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15339 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15340 esac
15344 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15345 then
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348 #include <X11/Xlib.h>
15349 #include <X11/extensions/Xinerama.h>
15351 main (void)
15353 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15355 return 0;
15357 _ACEOF
15358 if ac_fn_c_try_compile "$LINENO"
15359 then :
15360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15361 printf %s "checking for -lXinerama... " >&6; }
15362 if test ${ac_cv_lib_soname_Xinerama+y}
15363 then :
15364 printf %s "(cached) " >&6
15365 else $as_nop
15366 ac_check_soname_save_LIBS=$LIBS
15367 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15374 char XineramaQueryScreens ();
15376 main (void)
15378 return XineramaQueryScreens ();
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_link "$LINENO"
15384 then :
15385 case "$LIBEXT" in
15386 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15387 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'` ;;
15388 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15389 if ${ac_cv_lib_soname_Xinerama:+false} :
15390 then :
15391 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15392 fi ;;
15393 esac
15394 else $as_nop
15395 ac_cv_lib_soname_Xinerama=
15397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_check_soname_save_LIBS
15401 if ${ac_cv_lib_soname_Xinerama:+false} :
15402 then :
15403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15404 printf "%s\n" "not found" >&6; }
15406 else $as_nop
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15408 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15410 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15417 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15418 then :
15419 case "x$with_xinerama" in
15420 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15421 xno) ;;
15422 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15423 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15424 esac
15428 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15429 then
15430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15431 printf %s "checking for -lXcomposite... " >&6; }
15432 if test ${ac_cv_lib_soname_Xcomposite+y}
15433 then :
15434 printf %s "(cached) " >&6
15435 else $as_nop
15436 ac_check_soname_save_LIBS=$LIBS
15437 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15441 /* Override any GCC internal prototype to avoid an error.
15442 Use char because int might match the return type of a GCC
15443 builtin and then its argument prototype would still apply. */
15444 char XCompositeRedirectWindow ();
15446 main (void)
15448 return XCompositeRedirectWindow ();
15450 return 0;
15452 _ACEOF
15453 if ac_fn_c_try_link "$LINENO"
15454 then :
15455 case "$LIBEXT" in
15456 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15457 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'` ;;
15458 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15459 if ${ac_cv_lib_soname_Xcomposite:+false} :
15460 then :
15461 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15462 fi ;;
15463 esac
15464 else $as_nop
15465 ac_cv_lib_soname_Xcomposite=
15467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15468 conftest$ac_exeext conftest.$ac_ext
15469 LIBS=$ac_check_soname_save_LIBS
15471 if ${ac_cv_lib_soname_Xcomposite:+false} :
15472 then :
15473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15474 printf "%s\n" "not found" >&6; }
15476 else $as_nop
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15478 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15480 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15485 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15486 then :
15487 case "x$with_xcomposite" in
15488 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15489 xno) ;;
15490 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15491 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15492 esac
15496 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15497 #include <X11/Xlib.h>
15498 #endif
15500 if test "x$ac_cv_member_XICCallback_callback" = xyes
15501 then :
15503 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15507 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15508 #include <X11/Xlib.h>
15509 #endif
15511 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15512 then :
15514 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15521 opengl_msg=""
15522 if test "x$with_opengl" != "xno"
15523 then
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15525 printf %s "checking for -lGL... " >&6; }
15526 if test ${ac_cv_lib_soname_GL+y}
15527 then :
15528 printf %s "(cached) " >&6
15529 else $as_nop
15530 ac_check_soname_save_LIBS=$LIBS
15531 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533 /* end confdefs.h. */
15535 /* Override any GCC internal prototype to avoid an error.
15536 Use char because int might match the return type of a GCC
15537 builtin and then its argument prototype would still apply. */
15538 char glXCreateContext ();
15540 main (void)
15542 return glXCreateContext ();
15544 return 0;
15546 _ACEOF
15547 if ac_fn_c_try_link "$LINENO"
15548 then :
15549 case "$LIBEXT" in
15550 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15551 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'` ;;
15552 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15553 if ${ac_cv_lib_soname_GL:+false} :
15554 then :
15555 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15556 fi ;;
15557 esac
15558 else $as_nop
15559 ac_cv_lib_soname_GL=
15561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_soname_save_LIBS
15565 if ${ac_cv_lib_soname_GL:+false} :
15566 then :
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15568 printf "%s\n" "not found" >&6; }
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15570 printf %s "checking for -lGL... " >&6; }
15571 if test ${ac_cv_lib_soname_GL+y}
15572 then :
15573 printf %s "(cached) " >&6
15574 else $as_nop
15575 ac_check_soname_save_LIBS=$LIBS
15576 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"
15577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15578 /* end confdefs.h. */
15580 /* Override any GCC internal prototype to avoid an error.
15581 Use char because int might match the return type of a GCC
15582 builtin and then its argument prototype would still apply. */
15583 char glXCreateContext ();
15585 main (void)
15587 return glXCreateContext ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"
15593 then :
15594 case "$LIBEXT" in
15595 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15596 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'` ;;
15597 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15598 if ${ac_cv_lib_soname_GL:+false} :
15599 then :
15600 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else $as_nop
15604 ac_cv_lib_soname_GL=
15606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_GL:+false} :
15611 then :
15612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15613 printf "%s\n" "not found" >&6; }
15614 if test -f /usr/X11R6/lib/libGL.a
15615 then
15616 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15617 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15618 else
15619 opengl_msg="No OpenGL library found on this system."
15621 else $as_nop
15622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15623 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15625 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15627 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"
15629 else $as_nop
15630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15631 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15633 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15635 OPENGL_LIBS="-lGL"
15637 if test "x$with_osmesa" != "xno"
15638 then
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15640 printf %s "checking for -lOSMesa... " >&6; }
15641 if test ${ac_cv_lib_soname_OSMesa+y}
15642 then :
15643 printf %s "(cached) " >&6
15644 else $as_nop
15645 ac_check_soname_save_LIBS=$LIBS
15646 LIBS="-lOSMesa $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 OSMesaGetProcAddress ();
15655 main (void)
15657 return OSMesaGetProcAddress ();
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_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15666 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'` ;;
15667 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15668 if ${ac_cv_lib_soname_OSMesa:+false} :
15669 then :
15670 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15671 fi ;;
15672 esac
15673 else $as_nop
15674 ac_cv_lib_soname_OSMesa=
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_OSMesa:+false} :
15681 then :
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15683 printf "%s\n" "not found" >&6; }
15685 else $as_nop
15686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15687 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15689 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15693 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15694 then :
15695 case "x$with_osmesa" in
15696 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15697 xno) ;;
15698 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15699 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15700 esac
15705 if test -n "$opengl_msg"
15706 then :
15707 case "x$with_opengl" in
15708 x) as_fn_append wine_warnings "|$opengl_msg
15709 OpenGL and Direct3D won't be supported." ;;
15710 xno) ;;
15711 *) as_fn_error $? "$opengl_msg
15712 OpenGL and Direct3D won't be supported.
15713 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15714 esac
15718 CPPFLAGS="$ac_save_CPPFLAGS"
15719 else
15720 X_CFLAGS=""
15721 X_LIBS=""
15724 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15725 then
15726 if test "x$X_LIBS" = "x"
15727 then :
15728 case "x$with_x" in
15729 xno) ;;
15730 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15731 without X support, which probably isn't what you want. You will need
15732 to install ${notice_platform}development packages of Xlib at the very least.
15733 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15734 esac
15735 enable_winex11_drv=${enable_winex11_drv:-no}
15737 else
15738 if test "x$X_LIBS" = "x"
15739 then :
15740 case "x$with_x" in
15741 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15742 xno) ;;
15743 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15744 This is an error since --with-x was requested." "$LINENO" 5 ;;
15745 esac
15746 enable_winex11_drv=${enable_winex11_drv:-no}
15750 if test "$ac_cv_header_CL_cl_h" = "yes"
15751 then
15752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15753 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15754 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15755 then :
15756 printf %s "(cached) " >&6
15757 else $as_nop
15758 ac_check_lib_save_LIBS=$LIBS
15759 LIBS="-lOpenCL $LIBS"
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15766 char clGetPlatformInfo ();
15768 main (void)
15770 return clGetPlatformInfo ();
15772 return 0;
15774 _ACEOF
15775 if ac_fn_c_try_link "$LINENO"
15776 then :
15777 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15778 else $as_nop
15779 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15782 conftest$ac_exeext conftest.$ac_ext
15783 LIBS=$ac_check_lib_save_LIBS
15785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15786 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15787 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15788 then :
15789 OPENCL_LIBS="-lOpenCL"
15794 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15795 then :
15796 case "x$with_opencl" in
15797 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15798 xno) ;;
15799 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15800 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15801 esac
15802 enable_opencl=${enable_opencl:-no}
15805 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15806 then
15807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15808 printf %s "checking for pcap_create in -lpcap... " >&6; }
15809 if test ${ac_cv_lib_pcap_pcap_create+y}
15810 then :
15811 printf %s "(cached) " >&6
15812 else $as_nop
15813 ac_check_lib_save_LIBS=$LIBS
15814 LIBS="-lpcap $LIBS"
15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 char pcap_create ();
15823 main (void)
15825 return pcap_create ();
15827 return 0;
15829 _ACEOF
15830 if ac_fn_c_try_link "$LINENO"
15831 then :
15832 ac_cv_lib_pcap_pcap_create=yes
15833 else $as_nop
15834 ac_cv_lib_pcap_pcap_create=no
15836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15837 conftest$ac_exeext conftest.$ac_ext
15838 LIBS=$ac_check_lib_save_LIBS
15840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15841 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15842 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15843 then :
15844 PCAP_LIBS="-lpcap"
15849 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15850 then :
15851 case "x$with_pcap" in
15852 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15853 xno) ;;
15854 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15855 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15856 esac
15857 enable_wpcap=${enable_wpcap:-no}
15860 if test "x$with_inotify" != "xno"
15861 then
15862 if ${INOTIFY_CFLAGS:+false} :
15863 then :
15864 if test ${PKG_CONFIG+y}
15865 then :
15866 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15870 if ${INOTIFY_LIBS:+false} :
15871 then :
15872 if test ${PKG_CONFIG+y}
15873 then :
15874 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15880 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15881 ac_save_CPPFLAGS=$CPPFLAGS
15882 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15883 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15884 if test "x$ac_cv_header_sys_inotify_h" = xyes
15885 then :
15886 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15891 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15892 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15893 then :
15894 printf %s "(cached) " >&6
15895 else $as_nop
15896 ac_check_lib_save_LIBS=$LIBS
15897 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15904 char inotify_add_watch ();
15906 main (void)
15908 return inotify_add_watch ();
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"
15914 then :
15915 ac_cv_lib_inotify_inotify_add_watch=yes
15916 else $as_nop
15917 ac_cv_lib_inotify_inotify_add_watch=no
15919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15920 conftest$ac_exeext conftest.$ac_ext
15921 LIBS=$ac_check_lib_save_LIBS
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15924 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15925 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15926 then :
15928 else $as_nop
15929 INOTIFY_LIBS=""
15932 CPPFLAGS=$ac_save_CPPFLAGS
15935 if test "$ac_cv_header_sys_inotify_h" != "yes"
15936 then :
15937 case "x$with_inotify" in
15938 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15939 xno) ;;
15940 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15941 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15942 esac
15946 if test "x$with_dbus" != "xno"
15947 then
15948 if ${DBUS_CFLAGS:+false} :
15949 then :
15950 if test ${PKG_CONFIG+y}
15951 then :
15952 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15956 if ${DBUS_LIBS:+false} :
15957 then :
15958 if test ${PKG_CONFIG+y}
15959 then :
15960 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15967 ac_save_CPPFLAGS=$CPPFLAGS
15968 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15969 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15970 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15971 then :
15972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15973 printf %s "checking for -ldbus-1... " >&6; }
15974 if test ${ac_cv_lib_soname_dbus_1+y}
15975 then :
15976 printf %s "(cached) " >&6
15977 else $as_nop
15978 ac_check_soname_save_LIBS=$LIBS
15979 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15986 char dbus_connection_close ();
15988 main (void)
15990 return dbus_connection_close ();
15992 return 0;
15994 _ACEOF
15995 if ac_fn_c_try_link "$LINENO"
15996 then :
15997 case "$LIBEXT" in
15998 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15999 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'` ;;
16000 *) 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'`
16001 if ${ac_cv_lib_soname_dbus_1:+false} :
16002 then :
16003 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16004 fi ;;
16005 esac
16006 else $as_nop
16007 ac_cv_lib_soname_dbus_1=
16009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16010 conftest$ac_exeext conftest.$ac_ext
16011 LIBS=$ac_check_soname_save_LIBS
16013 if ${ac_cv_lib_soname_dbus_1:+false} :
16014 then :
16015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16016 printf "%s\n" "not found" >&6; }
16017 DBUS_CFLAGS=""
16018 else $as_nop
16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16020 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16022 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16026 else $as_nop
16027 DBUS_CFLAGS=""
16030 CPPFLAGS=$ac_save_CPPFLAGS
16033 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16034 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16035 then :
16036 case "x$with_dbus" in
16037 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16038 xno) ;;
16039 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16040 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16041 esac
16045 if test "x$with_gnutls" != "xno"
16046 then
16047 if ${GNUTLS_CFLAGS:+false} :
16048 then :
16049 if test ${PKG_CONFIG+y}
16050 then :
16051 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16055 if ${GNUTLS_LIBS:+false} :
16056 then :
16057 if test ${PKG_CONFIG+y}
16058 then :
16059 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16063 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16066 ac_save_CPPFLAGS=$CPPFLAGS
16067 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16068 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16069 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16070 then :
16071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16072 /* end confdefs.h. */
16073 #include <gnutls/gnutls.h>
16074 #include <gnutls/crypto.h>
16076 main (void)
16078 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_compile "$LINENO"
16084 then :
16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16086 printf %s "checking for -lgnutls... " >&6; }
16087 if test ${ac_cv_lib_soname_gnutls+y}
16088 then :
16089 printf %s "(cached) " >&6
16090 else $as_nop
16091 ac_check_soname_save_LIBS=$LIBS
16092 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 char gnutls_global_init ();
16101 main (void)
16103 return gnutls_global_init ();
16105 return 0;
16107 _ACEOF
16108 if ac_fn_c_try_link "$LINENO"
16109 then :
16110 case "$LIBEXT" in
16111 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16112 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'` ;;
16113 *) 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'`
16114 if ${ac_cv_lib_soname_gnutls:+false} :
16115 then :
16116 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'`
16117 fi ;;
16118 esac
16119 else $as_nop
16120 ac_cv_lib_soname_gnutls=
16122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16123 conftest$ac_exeext conftest.$ac_ext
16124 LIBS=$ac_check_soname_save_LIBS
16126 if ${ac_cv_lib_soname_gnutls:+false} :
16127 then :
16128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16129 printf "%s\n" "not found" >&6; }
16130 GNUTLS_CFLAGS=""
16131 else $as_nop
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16133 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16135 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16139 ac_wine_check_funcs_save_LIBS="$LIBS"
16140 LIBS="$LIBS $GNUTLS_LIBS"
16142 for ac_func in gnutls_cipher_init
16143 do :
16144 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16145 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16146 then :
16147 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16149 else $as_nop
16150 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16153 done
16154 LIBS="$ac_wine_check_funcs_save_LIBS"
16156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16157 else $as_nop
16158 GNUTLS_CFLAGS=""
16161 CPPFLAGS=$ac_save_CPPFLAGS
16164 if test "x$ac_cv_lib_soname_gnutls" = "x"
16165 then :
16166 case "x$with_gnutls" in
16167 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16168 xno) ;;
16169 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16170 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16171 esac
16175 if test "x$with_sane" != "xno"
16176 then
16177 if ${SANE_CFLAGS:+false} :
16178 then :
16179 if test ${PKG_CONFIG+y}
16180 then :
16181 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16184 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16185 if ${SANE_LIBS:+false} :
16186 then :
16187 if test ${PKG_CONFIG+y}
16188 then :
16189 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16192 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16196 ac_save_CPPFLAGS=$CPPFLAGS
16197 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16198 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16199 if test "x$ac_cv_header_sane_sane_h" = xyes
16200 then :
16201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16202 printf %s "checking for sane_init in -lsane... " >&6; }
16203 if test ${ac_cv_lib_sane_sane_init+y}
16204 then :
16205 printf %s "(cached) " >&6
16206 else $as_nop
16207 ac_check_lib_save_LIBS=$LIBS
16208 LIBS="-lsane $SANE_LIBS $LIBS"
16209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16210 /* end confdefs.h. */
16212 /* Override any GCC internal prototype to avoid an error.
16213 Use char because int might match the return type of a GCC
16214 builtin and then its argument prototype would still apply. */
16215 char sane_init ();
16217 main (void)
16219 return sane_init ();
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"
16225 then :
16226 ac_cv_lib_sane_sane_init=yes
16227 else $as_nop
16228 ac_cv_lib_sane_sane_init=no
16230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16231 conftest$ac_exeext conftest.$ac_ext
16232 LIBS=$ac_check_lib_save_LIBS
16234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16235 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16236 if test "x$ac_cv_lib_sane_sane_init" = xyes
16237 then :
16243 CPPFLAGS=$ac_save_CPPFLAGS
16246 if test "$ac_cv_lib_sane_sane_init" != "yes"
16247 then :
16248 case "x$with_sane" in
16249 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16250 xno) ;;
16251 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16252 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16253 esac
16254 enable_sane_ds=${enable_sane_ds:-no}
16257 if test "x$with_usb" != "xno"
16258 then
16259 if ${USB_CFLAGS:+false} :
16260 then :
16261 if test ${PKG_CONFIG+y}
16262 then :
16263 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16267 if ${USB_LIBS:+false} :
16268 then :
16269 if test ${PKG_CONFIG+y}
16270 then :
16271 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16275 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16278 ac_save_CPPFLAGS=$CPPFLAGS
16279 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16280 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_libusb_h" = xyes
16282 then :
16283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16284 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16285 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16286 then :
16287 printf %s "(cached) " >&6
16288 else $as_nop
16289 ac_check_lib_save_LIBS=$LIBS
16290 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 char libusb_interrupt_event_handler ();
16299 main (void)
16301 return libusb_interrupt_event_handler ();
16303 return 0;
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"
16307 then :
16308 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16309 else $as_nop
16310 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16313 conftest$ac_exeext conftest.$ac_ext
16314 LIBS=$ac_check_lib_save_LIBS
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16317 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16318 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16319 then :
16321 else $as_nop
16322 USB_LIBS=""
16325 else $as_nop
16326 USB_LIBS=""
16329 CPPFLAGS=$ac_save_CPPFLAGS
16332 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16333 then :
16334 case "x$with_usb" in
16335 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16336 xno) ;;
16337 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16338 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16339 esac
16340 enable_wineusb_sys=${enable_wineusb_sys:-no}
16343 if test "x$with_v4l2" != "xno"
16344 then
16345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16346 printf %s "checking for -lv4l2... " >&6; }
16347 if test ${ac_cv_lib_soname_v4l2+y}
16348 then :
16349 printf %s "(cached) " >&6
16350 else $as_nop
16351 ac_check_soname_save_LIBS=$LIBS
16352 LIBS="-lv4l2 $LIBS"
16353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16356 /* Override any GCC internal prototype to avoid an error.
16357 Use char because int might match the return type of a GCC
16358 builtin and then its argument prototype would still apply. */
16359 char v4l2_open ();
16361 main (void)
16363 return v4l2_open ();
16365 return 0;
16367 _ACEOF
16368 if ac_fn_c_try_link "$LINENO"
16369 then :
16370 case "$LIBEXT" in
16371 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16372 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'` ;;
16373 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16374 if ${ac_cv_lib_soname_v4l2:+false} :
16375 then :
16376 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16377 fi ;;
16378 esac
16379 else $as_nop
16380 ac_cv_lib_soname_v4l2=
16382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16383 conftest$ac_exeext conftest.$ac_ext
16384 LIBS=$ac_check_soname_save_LIBS
16386 if ${ac_cv_lib_soname_v4l2:+false} :
16387 then :
16388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16389 printf "%s\n" "not found" >&6; }
16391 else $as_nop
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16393 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16395 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16400 if test "x$ac_cv_lib_soname_v4l2" = "x"
16401 then :
16402 case "x$with_v4l2" in
16403 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16404 xno) ;;
16405 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16406 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16407 esac
16411 if test "x$with_gphoto" != "xno"
16412 then
16413 if ${GPHOTO2_CFLAGS:+false} :
16414 then :
16415 if test ${PKG_CONFIG+y}
16416 then :
16417 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16420 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16421 if ${GPHOTO2_LIBS:+false} :
16422 then :
16423 if test ${PKG_CONFIG+y}
16424 then :
16425 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16428 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16429 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16432 ac_save_CPPFLAGS=$CPPFLAGS
16433 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16434 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16435 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16436 then :
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16438 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16439 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16440 then :
16441 printf %s "(cached) " >&6
16442 else $as_nop
16443 ac_check_lib_save_LIBS=$LIBS
16444 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 char gp_camera_new ();
16453 main (void)
16455 return gp_camera_new ();
16457 return 0;
16459 _ACEOF
16460 if ac_fn_c_try_link "$LINENO"
16461 then :
16462 ac_cv_lib_gphoto2_gp_camera_new=yes
16463 else $as_nop
16464 ac_cv_lib_gphoto2_gp_camera_new=no
16466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16471 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16472 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16473 then :
16479 CPPFLAGS=$ac_save_CPPFLAGS
16481 if ${GPHOTO2_PORT_CFLAGS:+false} :
16482 then :
16483 if test ${PKG_CONFIG+y}
16484 then :
16485 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16488 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16489 if ${GPHOTO2_PORT_LIBS:+false} :
16490 then :
16491 if test ${PKG_CONFIG+y}
16492 then :
16493 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16496 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16497 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16500 ac_save_CPPFLAGS=$CPPFLAGS
16501 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16502 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16503 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16504 then :
16505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16506 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16507 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16508 then :
16509 printf %s "(cached) " >&6
16510 else $as_nop
16511 ac_check_lib_save_LIBS=$LIBS
16512 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 /* Override any GCC internal prototype to avoid an error.
16517 Use char because int might match the return type of a GCC
16518 builtin and then its argument prototype would still apply. */
16519 char gp_port_info_list_new ();
16521 main (void)
16523 return gp_port_info_list_new ();
16525 return 0;
16527 _ACEOF
16528 if ac_fn_c_try_link "$LINENO"
16529 then :
16530 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16531 else $as_nop
16532 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16535 conftest$ac_exeext conftest.$ac_ext
16536 LIBS=$ac_check_lib_save_LIBS
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16539 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16540 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16541 then :
16543 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16545 else $as_nop
16546 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16549 else $as_nop
16550 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16553 CPPFLAGS=$ac_save_CPPFLAGS
16556 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16557 then :
16558 case "x$with_gphoto" in
16559 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16560 xno) ;;
16561 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16562 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16563 esac
16564 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16566 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16567 then :
16568 case "x$with_gphoto" in
16569 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16570 xno) ;;
16571 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16572 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16573 esac
16578 if test "$ac_cv_header_resolv_h" = "yes"
16579 then
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16581 printf %s "checking for resolver library... " >&6; }
16582 if test ${ac_cv_have_resolv+y}
16583 then :
16584 printf %s "(cached) " >&6
16585 else $as_nop
16586 ac_save_LIBS="$LIBS"
16587 for lib in '' -lresolv
16589 LIBS="$lib $ac_save_LIBS"
16590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16591 /* end confdefs.h. */
16592 #ifdef HAVE_NETINET_IN_H
16593 #include <netinet/in.h>
16594 #endif
16595 #include <resolv.h>
16597 main (void)
16599 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16601 return 0;
16603 _ACEOF
16604 if ac_fn_c_try_link "$LINENO"
16605 then :
16606 ac_cv_have_resolv=${lib:-"none required"}
16607 else $as_nop
16608 ac_cv_have_resolv="not found"
16610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16611 conftest$ac_exeext conftest.$ac_ext
16612 test "x$ac_cv_have_resolv" = "xnot found" || break
16613 done
16614 LIBS="$ac_save_LIBS"
16616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16617 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16619 case "$ac_cv_have_resolv" in
16620 "not found") ;;
16621 "none required")
16623 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16626 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16628 RESOLV_LIBS=$ac_cv_have_resolv
16630 esac
16632 if test "x$ac_cv_have_resolv" != "xnot found"
16633 then
16634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16635 printf %s "checking for res_getservers... " >&6; }
16636 if test ${ac_cv_have_res_getservers+y}
16637 then :
16638 printf %s "(cached) " >&6
16639 else $as_nop
16640 ac_save_LIBS="$LIBS"
16641 LIBS="$RESOLV_LIBS $LIBS"
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <resolv.h>
16646 main (void)
16648 res_getservers(NULL, NULL, 0);
16650 return 0;
16652 _ACEOF
16653 if ac_fn_c_try_link "$LINENO"
16654 then :
16655 ac_cv_have_res_getservers=yes
16656 else $as_nop
16657 ac_cv_have_res_getservers=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16660 conftest$ac_exeext conftest.$ac_ext
16661 LIBS="$ac_save_LIBS"
16663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16664 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16665 if test "$ac_cv_have_res_getservers" = "yes"
16666 then
16668 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16674 if test "x$with_freetype" != "xno"
16675 then
16676 if ${FREETYPE_CFLAGS:+false} :
16677 then :
16678 if test ${PKG_CONFIG+y}
16679 then :
16680 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16683 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16684 if ${FREETYPE_LIBS:+false} :
16685 then :
16686 if test ${PKG_CONFIG+y}
16687 then :
16688 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16691 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16692 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16695 ac_save_CPPFLAGS=$CPPFLAGS
16696 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16697 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16698 if test "x$ac_cv_header_ft2build_h" = xyes
16699 then :
16700 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16704 if test "$ac_cv_header_ft2build_h" = "yes"
16705 then
16706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16707 printf %s "checking for -lfreetype... " >&6; }
16708 if test ${ac_cv_lib_soname_freetype+y}
16709 then :
16710 printf %s "(cached) " >&6
16711 else $as_nop
16712 ac_check_soname_save_LIBS=$LIBS
16713 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 char FT_Init_FreeType ();
16722 main (void)
16724 return FT_Init_FreeType ();
16726 return 0;
16728 _ACEOF
16729 if ac_fn_c_try_link "$LINENO"
16730 then :
16731 case "$LIBEXT" in
16732 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16733 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'` ;;
16734 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16735 if ${ac_cv_lib_soname_freetype:+false} :
16736 then :
16737 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16738 fi ;;
16739 esac
16740 else $as_nop
16741 ac_cv_lib_soname_freetype=
16743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16744 conftest$ac_exeext conftest.$ac_ext
16745 LIBS=$ac_check_soname_save_LIBS
16747 if ${ac_cv_lib_soname_freetype:+false} :
16748 then :
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16750 printf "%s\n" "not found" >&6; }
16751 FREETYPE_LIBS=""
16752 else $as_nop
16753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16754 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16756 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16759 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16761 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16762 #include FT_MODULE_H
16764 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16765 then :
16767 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16773 else
16774 FREETYPE_CFLAGS=""
16775 FREETYPE_LIBS=""
16777 CPPFLAGS=$ac_save_CPPFLAGS
16780 if test "x$ac_cv_lib_soname_freetype" = x
16781 then :
16782 case "x$with_freetype" in
16783 xno) ;;
16784 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16785 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16786 esac
16787 enable_fonts=${enable_fonts:-no}
16790 ac_wine_check_funcs_save_LIBS="$LIBS"
16791 LIBS="$LIBS $PTHREAD_LIBS"
16792 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16793 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16794 then :
16795 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16799 LIBS="$ac_wine_check_funcs_save_LIBS"
16801 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16802 then
16803 if test "$ac_cv_header_gettext_po_h" = "yes"
16804 then
16805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16806 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16807 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16808 then :
16809 printf %s "(cached) " >&6
16810 else $as_nop
16811 ac_check_lib_save_LIBS=$LIBS
16812 LIBS="-lgettextpo $LIBS"
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16816 /* Override any GCC internal prototype to avoid an error.
16817 Use char because int might match the return type of a GCC
16818 builtin and then its argument prototype would still apply. */
16819 char po_message_msgctxt ();
16821 main (void)
16823 return po_message_msgctxt ();
16825 return 0;
16827 _ACEOF
16828 if ac_fn_c_try_link "$LINENO"
16829 then :
16830 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16831 else $as_nop
16832 ac_cv_lib_gettextpo_po_message_msgctxt=no
16834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16835 conftest$ac_exeext conftest.$ac_ext
16836 LIBS=$ac_check_lib_save_LIBS
16838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16839 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16840 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16841 then :
16843 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16845 GETTEXTPO_LIBS="-lgettextpo"
16850 if test "x$GETTEXTPO_LIBS" = "x"
16851 then :
16852 case "x$with_gettextpo" in
16853 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16854 xno) ;;
16855 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16856 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16857 esac
16860 if test "$srcdir" != .
16861 then :
16862 case "x$with_gettextpo" in
16863 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16864 xno) ;;
16865 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16866 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16867 esac
16872 if test "x$with_pulse" != "xno";
16873 then
16874 if ${PULSE_CFLAGS:+false} :
16875 then :
16876 if test ${PKG_CONFIG+y}
16877 then :
16878 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16882 if ${PULSE_LIBS:+false} :
16883 then :
16884 if test ${PKG_CONFIG+y}
16885 then :
16886 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16893 ac_save_CPPFLAGS=$CPPFLAGS
16894 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16895 for ac_header in pulse/pulseaudio.h
16896 do :
16897 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16898 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16899 then :
16900 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16902 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16903 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16904 then :
16905 printf %s "(cached) " >&6
16906 else $as_nop
16907 ac_check_lib_save_LIBS=$LIBS
16908 LIBS="-lpulse $PULSE_LIBS $LIBS"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16912 /* Override any GCC internal prototype to avoid an error.
16913 Use char because int might match the return type of a GCC
16914 builtin and then its argument prototype would still apply. */
16915 char pa_stream_is_corked ();
16917 main (void)
16919 return pa_stream_is_corked ();
16921 return 0;
16923 _ACEOF
16924 if ac_fn_c_try_link "$LINENO"
16925 then :
16926 ac_cv_lib_pulse_pa_stream_is_corked=yes
16927 else $as_nop
16928 ac_cv_lib_pulse_pa_stream_is_corked=no
16930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16931 conftest$ac_exeext conftest.$ac_ext
16932 LIBS=$ac_check_lib_save_LIBS
16934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16935 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16936 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16937 then :
16939 else $as_nop
16940 PULSE_LIBS=""
16943 else $as_nop
16944 PULSE_LIBS=""
16947 done
16948 CPPFLAGS=$ac_save_CPPFLAGS
16951 if test -z "$PULSE_LIBS"
16952 then :
16953 case "x$with_pulse" in
16954 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16955 xno) ;;
16956 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16957 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16958 esac
16959 enable_winepulse_drv=${enable_winepulse_drv:-no}
16962 if test "x$with_gstreamer" != "xno"
16963 then
16964 if ${GSTREAMER_CFLAGS:+false} :
16965 then :
16966 if test ${PKG_CONFIG+y}
16967 then :
16968 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16972 if ${GSTREAMER_LIBS:+false} :
16973 then :
16974 if test ${PKG_CONFIG+y}
16975 then :
16976 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16983 ac_save_CPPFLAGS=$CPPFLAGS
16984 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16985 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16986 if test "x$ac_cv_header_gst_gst_h" = xyes
16987 then :
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16989 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #include <gst/gst.h>
16994 main (void)
16996 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16998 return 0;
17000 _ACEOF
17001 if ac_fn_c_try_compile "$LINENO"
17002 then :
17003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17004 printf "%s\n" "yes" >&6; }
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17006 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17007 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17008 then :
17009 printf %s "(cached) " >&6
17010 else $as_nop
17011 ac_check_lib_save_LIBS=$LIBS
17012 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17016 /* Override any GCC internal prototype to avoid an error.
17017 Use char because int might match the return type of a GCC
17018 builtin and then its argument prototype would still apply. */
17019 char gst_pad_new ();
17021 main (void)
17023 return gst_pad_new ();
17025 return 0;
17027 _ACEOF
17028 if ac_fn_c_try_link "$LINENO"
17029 then :
17030 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17031 else $as_nop
17032 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17035 conftest$ac_exeext conftest.$ac_ext
17036 LIBS=$ac_check_lib_save_LIBS
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17039 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17040 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17041 then :
17045 else $as_nop
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17047 printf "%s\n" "no" >&6; }
17048 ac_glib2_broken=yes
17049 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17054 CPPFLAGS=$ac_save_CPPFLAGS
17057 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17058 then :
17059 case "x$with_gstreamer" in
17060 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17061 xno) ;;
17062 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17063 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17064 esac
17065 enable_winegstreamer=${enable_winegstreamer:-no}
17068 ALSA_LIBS=""
17070 if test "x$with_alsa" != "xno"
17071 then
17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17073 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17074 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17075 then :
17076 printf %s "(cached) " >&6
17077 else $as_nop
17078 ac_check_lib_save_LIBS=$LIBS
17079 LIBS="-lasound $LIBS"
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17083 /* Override any GCC internal prototype to avoid an error.
17084 Use char because int might match the return type of a GCC
17085 builtin and then its argument prototype would still apply. */
17086 char snd_pcm_hw_params_get_access_mask ();
17088 main (void)
17090 return snd_pcm_hw_params_get_access_mask ();
17092 return 0;
17094 _ACEOF
17095 if ac_fn_c_try_link "$LINENO"
17096 then :
17097 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17098 else $as_nop
17099 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17102 conftest$ac_exeext conftest.$ac_ext
17103 LIBS=$ac_check_lib_save_LIBS
17105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17106 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17107 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17108 then :
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17110 /* end confdefs.h. */
17111 #include <alsa/asoundlib.h>
17113 main (void)
17115 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17117 return 0;
17119 _ACEOF
17120 if ac_fn_c_try_compile "$LINENO"
17121 then :
17122 ALSA_LIBS="-lasound"
17124 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17128 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17130 if test "x$with_oss" != xno
17131 then
17132 ac_save_CPPFLAGS="$CPPFLAGS"
17133 if test -f /etc/oss.conf
17134 then
17135 . /etc/oss.conf
17137 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17138 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17139 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17140 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17141 then :
17142 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17144 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17145 then :
17147 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17149 OSS4_CFLAGS="$ac_oss_incl"
17151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17152 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17153 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17154 then :
17155 printf %s "(cached) " >&6
17156 else $as_nop
17157 ac_check_lib_save_LIBS=$LIBS
17158 LIBS="-lossaudio $LIBS"
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17162 /* Override any GCC internal prototype to avoid an error.
17163 Use char because int might match the return type of a GCC
17164 builtin and then its argument prototype would still apply. */
17165 char _oss_ioctl ();
17167 main (void)
17169 return _oss_ioctl ();
17171 return 0;
17173 _ACEOF
17174 if ac_fn_c_try_link "$LINENO"
17175 then :
17176 ac_cv_lib_ossaudio__oss_ioctl=yes
17177 else $as_nop
17178 ac_cv_lib_ossaudio__oss_ioctl=no
17180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17181 conftest$ac_exeext conftest.$ac_ext
17182 LIBS=$ac_check_lib_save_LIBS
17184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17185 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17186 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17187 then :
17188 OSS4_LIBS="-lossaudio"
17196 CPPFLAGS="$ac_save_CPPFLAGS"
17198 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17199 then :
17200 case "x$with_oss" in
17201 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17202 xno) ;;
17203 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17204 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17205 esac
17206 enable_wineoss_drv=${enable_wineoss_drv:-no}
17209 if test "x$with_udev" != "xno"
17210 then
17211 if ${UDEV_CFLAGS:+false} :
17212 then :
17213 if test ${PKG_CONFIG+y}
17214 then :
17215 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17219 if ${UDEV_LIBS:+false} :
17220 then :
17221 if test ${PKG_CONFIG+y}
17222 then :
17223 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17227 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17230 ac_save_CPPFLAGS=$CPPFLAGS
17231 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17232 for ac_header in libudev.h
17233 do :
17234 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17235 if test "x$ac_cv_header_libudev_h" = xyes
17236 then :
17237 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17239 printf %s "checking for udev_new in -ludev... " >&6; }
17240 if test ${ac_cv_lib_udev_udev_new+y}
17241 then :
17242 printf %s "(cached) " >&6
17243 else $as_nop
17244 ac_check_lib_save_LIBS=$LIBS
17245 LIBS="-ludev $UDEV_LIBS $LIBS"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17249 /* Override any GCC internal prototype to avoid an error.
17250 Use char because int might match the return type of a GCC
17251 builtin and then its argument prototype would still apply. */
17252 char udev_new ();
17254 main (void)
17256 return udev_new ();
17258 return 0;
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"
17262 then :
17263 ac_cv_lib_udev_udev_new=yes
17264 else $as_nop
17265 ac_cv_lib_udev_udev_new=no
17267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17268 conftest$ac_exeext conftest.$ac_ext
17269 LIBS=$ac_check_lib_save_LIBS
17271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17272 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17273 if test "x$ac_cv_lib_udev_udev_new" = xyes
17274 then :
17276 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17278 else $as_nop
17279 UDEV_LIBS=""
17282 else $as_nop
17283 UDEV_LIBS=""
17286 done
17287 CPPFLAGS=$ac_save_CPPFLAGS
17290 if test "x$UDEV_LIBS" = "x"
17291 then :
17292 case "x$with_udev" in
17293 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17294 xno) ;;
17295 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17296 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17297 esac
17301 if test "x$with_unwind" != xno
17302 then
17303 if ${UNWIND_CFLAGS:+false} :
17304 then :
17305 if test ${PKG_CONFIG+y}
17306 then :
17307 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17311 if ${UNWIND_LIBS:+false} :
17312 then :
17313 if test ${PKG_CONFIG+y}
17314 then :
17315 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17319 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17322 ac_save_CPPFLAGS=$CPPFLAGS
17323 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17325 printf %s "checking for unw_step... " >&6; }
17326 if test ${wine_cv_have_unw_step+y}
17327 then :
17328 printf %s "(cached) " >&6
17329 else $as_nop
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #define UNW_LOCAL_ONLY
17333 #include <libunwind.h>
17335 main (void)
17337 unw_cursor_t cursor; unw_step( &cursor );
17339 return 0;
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"
17343 then :
17344 wine_cv_have_unw_step="yes"
17345 else $as_nop
17346 wine_cv_have_unw_step="no"
17348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17349 conftest$ac_exeext conftest.$ac_ext
17351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17352 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17353 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17354 then
17355 save_libs=$LIBS
17356 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17357 LIBS="$UNWIND_LIBS $LIBS"
17358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17359 printf %s "checking for unw_step in libunwind... " >&6; }
17360 if test ${wine_cv_have_libunwind_unw_step+y}
17361 then :
17362 printf %s "(cached) " >&6
17363 else $as_nop
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #define UNW_LOCAL_ONLY
17367 #include <libunwind.h>
17369 main (void)
17371 unw_cursor_t cursor; unw_step( &cursor );
17373 return 0;
17375 _ACEOF
17376 if ac_fn_c_try_link "$LINENO"
17377 then :
17378 wine_cv_have_libunwind_unw_step="yes"
17379 else $as_nop
17380 wine_cv_have_libunwind_unw_step="no"
17382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17383 conftest$ac_exeext conftest.$ac_ext
17385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17386 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17387 LIBS=$save_libs
17389 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17390 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17391 then
17393 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17396 CPPFLAGS=$ac_save_CPPFLAGS
17399 case $host in
17400 aarch64*|*-darwin*)
17401 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17402 then :
17403 case "x$with_unwind" in
17404 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17405 xno) ;;
17406 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17407 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17408 esac
17410 fi ;;
17411 esac
17413 if test "x$with_sdl" != "xno"
17414 then
17415 if ${SDL2_CFLAGS:+false} :
17416 then :
17417 if test ${PKG_CONFIG+y}
17418 then :
17419 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17423 if ${SDL2_LIBS:+false} :
17424 then :
17425 if test ${PKG_CONFIG+y}
17426 then :
17427 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17431 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17434 ac_save_CPPFLAGS=$CPPFLAGS
17435 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17436 for ac_header in SDL.h
17437 do :
17438 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17439 if test "x$ac_cv_header_SDL_h" = xyes
17440 then :
17441 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17443 printf %s "checking for -lSDL2... " >&6; }
17444 if test ${ac_cv_lib_soname_SDL2+y}
17445 then :
17446 printf %s "(cached) " >&6
17447 else $as_nop
17448 ac_check_soname_save_LIBS=$LIBS
17449 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17453 /* Override any GCC internal prototype to avoid an error.
17454 Use char because int might match the return type of a GCC
17455 builtin and then its argument prototype would still apply. */
17456 char SDL_Init ();
17458 main (void)
17460 return SDL_Init ();
17462 return 0;
17464 _ACEOF
17465 if ac_fn_c_try_link "$LINENO"
17466 then :
17467 case "$LIBEXT" in
17468 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17469 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'` ;;
17470 *) 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'`
17471 if ${ac_cv_lib_soname_SDL2:+false} :
17472 then :
17473 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17474 fi ;;
17475 esac
17476 else $as_nop
17477 ac_cv_lib_soname_SDL2=
17479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17480 conftest$ac_exeext conftest.$ac_ext
17481 LIBS=$ac_check_soname_save_LIBS
17483 if ${ac_cv_lib_soname_SDL2:+false} :
17484 then :
17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17486 printf "%s\n" "not found" >&6; }
17488 else $as_nop
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17490 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17492 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17498 done
17499 CPPFLAGS=$ac_save_CPPFLAGS
17502 if test "x$ac_cv_lib_soname_SDL2" = "x"
17503 then :
17504 case "x$with_sdl" in
17505 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17506 xno) ;;
17507 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17508 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17509 esac
17513 if test "x$with_capi" != "xno"
17514 then
17515 if ${CAPI20_CFLAGS:+false} :
17516 then :
17517 if test ${PKG_CONFIG+y}
17518 then :
17519 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17523 if ${CAPI20_LIBS:+false} :
17524 then :
17525 if test ${PKG_CONFIG+y}
17526 then :
17527 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17534 ac_save_CPPFLAGS=$CPPFLAGS
17535 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17536 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17538 if test "x$ac_cv_header_capi20_h" = xyes
17539 then :
17540 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17543 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17545 if test "x$ac_cv_header_linux_capi_h" = xyes
17546 then :
17547 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17551 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17552 then
17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17554 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17555 if test ${ac_cv_lib_capi20_capi20_register+y}
17556 then :
17557 printf %s "(cached) " >&6
17558 else $as_nop
17559 ac_check_lib_save_LIBS=$LIBS
17560 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17564 /* Override any GCC internal prototype to avoid an error.
17565 Use char because int might match the return type of a GCC
17566 builtin and then its argument prototype would still apply. */
17567 char capi20_register ();
17569 main (void)
17571 return capi20_register ();
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"
17577 then :
17578 ac_cv_lib_capi20_capi20_register=yes
17579 else $as_nop
17580 ac_cv_lib_capi20_capi20_register=no
17582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17583 conftest$ac_exeext conftest.$ac_ext
17584 LIBS=$ac_check_lib_save_LIBS
17586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17587 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17588 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17589 then :
17591 else $as_nop
17592 CAPI20_LIBS=""
17596 CPPFLAGS=$ac_save_CPPFLAGS
17599 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17600 then :
17601 case "x$with_capi" in
17602 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17603 xno) ;;
17604 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17605 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17606 esac
17607 enable_capi2032=${enable_capi2032:-no}
17610 if test "x$with_cups" != "xno"
17611 then
17612 if ${CUPS_CFLAGS:+false} :
17613 then :
17614 if test ${PKG_CONFIG+y}
17615 then :
17616 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17619 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17620 if ${CUPS_LIBS:+false} :
17621 then :
17622 if test ${PKG_CONFIG+y}
17623 then :
17624 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17627 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17628 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17631 ac_save_CPPFLAGS=$CPPFLAGS
17632 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17633 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17634 if test "x$ac_cv_header_cups_cups_h" = xyes
17635 then :
17636 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17639 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17640 if test "x$ac_cv_header_cups_ppd_h" = xyes
17641 then :
17642 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17646 if test "$ac_cv_header_cups_cups_h" = "yes"
17647 then
17648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17649 printf %s "checking for -lcups... " >&6; }
17650 if test ${ac_cv_lib_soname_cups+y}
17651 then :
17652 printf %s "(cached) " >&6
17653 else $as_nop
17654 ac_check_soname_save_LIBS=$LIBS
17655 LIBS="-lcups $CUPS_LIBS $LIBS"
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17659 /* Override any GCC internal prototype to avoid an error.
17660 Use char because int might match the return type of a GCC
17661 builtin and then its argument prototype would still apply. */
17662 char cupsGetDefault ();
17664 main (void)
17666 return cupsGetDefault ();
17668 return 0;
17670 _ACEOF
17671 if ac_fn_c_try_link "$LINENO"
17672 then :
17673 case "$LIBEXT" in
17674 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17675 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'` ;;
17676 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17677 if ${ac_cv_lib_soname_cups:+false} :
17678 then :
17679 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17680 fi ;;
17681 esac
17682 else $as_nop
17683 ac_cv_lib_soname_cups=
17685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17686 conftest$ac_exeext conftest.$ac_ext
17687 LIBS=$ac_check_soname_save_LIBS
17689 if ${ac_cv_lib_soname_cups:+false} :
17690 then :
17691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17692 printf "%s\n" "not found" >&6; }
17693 CUPS_LIBS=""
17694 else $as_nop
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17696 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17698 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17702 else
17703 CUPS_CFLAGS=""
17704 CUPS_LIBS=""
17706 CPPFLAGS=$ac_save_CPPFLAGS
17709 if test "x$ac_cv_lib_soname_cups" = "x"
17710 then :
17711 case "x$with_cups" in
17712 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17713 xno) ;;
17714 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17715 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17716 esac
17720 if test "x$with_fontconfig" != "xno"
17721 then
17722 if ${FONTCONFIG_CFLAGS:+false} :
17723 then :
17724 if test ${PKG_CONFIG+y}
17725 then :
17726 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17729 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17730 if ${FONTCONFIG_LIBS:+false} :
17731 then :
17732 if test ${PKG_CONFIG+y}
17733 then :
17734 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17737 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17741 ac_save_CPPFLAGS=$CPPFLAGS
17742 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17743 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17744 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17745 then :
17746 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17750 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17751 then
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17753 printf %s "checking for -lfontconfig... " >&6; }
17754 if test ${ac_cv_lib_soname_fontconfig+y}
17755 then :
17756 printf %s "(cached) " >&6
17757 else $as_nop
17758 ac_check_soname_save_LIBS=$LIBS
17759 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17763 /* Override any GCC internal prototype to avoid an error.
17764 Use char because int might match the return type of a GCC
17765 builtin and then its argument prototype would still apply. */
17766 char FcInit ();
17768 main (void)
17770 return FcInit ();
17772 return 0;
17774 _ACEOF
17775 if ac_fn_c_try_link "$LINENO"
17776 then :
17777 case "$LIBEXT" in
17778 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17779 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'` ;;
17780 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17781 if ${ac_cv_lib_soname_fontconfig:+false} :
17782 then :
17783 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17784 fi ;;
17785 esac
17786 else $as_nop
17787 ac_cv_lib_soname_fontconfig=
17789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17790 conftest$ac_exeext conftest.$ac_ext
17791 LIBS=$ac_check_soname_save_LIBS
17793 if ${ac_cv_lib_soname_fontconfig:+false} :
17794 then :
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17796 printf "%s\n" "not found" >&6; }
17797 FONTCONFIG_CFLAGS=""
17798 else $as_nop
17799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17800 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17802 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17806 else
17807 FONTCONFIG_CFLAGS=""
17809 CPPFLAGS=$ac_save_CPPFLAGS
17812 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17813 then :
17814 case "x$with_fontconfig" in
17815 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17816 xno) ;;
17817 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17818 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17819 esac
17823 if test "x$with_krb5" != "xno"
17824 then
17825 if ${KRB5_CFLAGS:+false} :
17826 then :
17827 if test ${PKG_CONFIG+y}
17828 then :
17829 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17832 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17833 if ${KRB5_LIBS:+false} :
17834 then :
17835 if test ${PKG_CONFIG+y}
17836 then :
17837 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17840 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17844 ac_save_CPPFLAGS=$CPPFLAGS
17845 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17846 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17847 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17848 then :
17849 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17853 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17854 then
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17856 printf %s "checking for -lkrb5... " >&6; }
17857 if test ${ac_cv_lib_soname_krb5+y}
17858 then :
17859 printf %s "(cached) " >&6
17860 else $as_nop
17861 ac_check_soname_save_LIBS=$LIBS
17862 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 /* Override any GCC internal prototype to avoid an error.
17867 Use char because int might match the return type of a GCC
17868 builtin and then its argument prototype would still apply. */
17869 char krb5_is_config_principal ();
17871 main (void)
17873 return krb5_is_config_principal ();
17875 return 0;
17877 _ACEOF
17878 if ac_fn_c_try_link "$LINENO"
17879 then :
17880 case "$LIBEXT" in
17881 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17882 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'` ;;
17883 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17884 if ${ac_cv_lib_soname_krb5:+false} :
17885 then :
17886 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17887 fi ;;
17888 esac
17889 else $as_nop
17890 ac_cv_lib_soname_krb5=
17892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17893 conftest$ac_exeext conftest.$ac_ext
17894 LIBS=$ac_check_soname_save_LIBS
17896 if ${ac_cv_lib_soname_krb5:+false} :
17897 then :
17898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17899 printf "%s\n" "not found" >&6; }
17900 KRB5_CFLAGS=""
17901 else $as_nop
17902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17903 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17905 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17909 else
17910 KRB5_CFLAGS=""
17912 CPPFLAGS=$ac_save_CPPFLAGS
17915 if test "x$ac_cv_lib_soname_krb5" = "x"
17916 then :
17917 case "x$with_krb5" in
17918 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17919 xno) ;;
17920 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17921 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17922 esac
17925 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17927 if test "x$with_gssapi" != "xno"
17928 then
17929 if ${GSSAPI_CFLAGS:+false} :
17930 then :
17931 if test ${PKG_CONFIG+y}
17932 then :
17933 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17936 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17937 if ${GSSAPI_LIBS:+false} :
17938 then :
17939 if test ${PKG_CONFIG+y}
17940 then :
17941 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17944 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17948 ac_save_CPPFLAGS=$CPPFLAGS
17949 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17950 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17951 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17952 then :
17953 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17956 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17957 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17958 then :
17959 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17963 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17964 then
17965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17966 printf %s "checking for -lgssapi_krb5... " >&6; }
17967 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17968 then :
17969 printf %s "(cached) " >&6
17970 else $as_nop
17971 ac_check_soname_save_LIBS=$LIBS
17972 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17976 /* Override any GCC internal prototype to avoid an error.
17977 Use char because int might match the return type of a GCC
17978 builtin and then its argument prototype would still apply. */
17979 char gss_init_sec_context ();
17981 main (void)
17983 return gss_init_sec_context ();
17985 return 0;
17987 _ACEOF
17988 if ac_fn_c_try_link "$LINENO"
17989 then :
17990 case "$LIBEXT" in
17991 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17992 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'` ;;
17993 *) 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'`
17994 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17995 then :
17996 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17997 fi ;;
17998 esac
17999 else $as_nop
18000 ac_cv_lib_soname_gssapi_krb5=
18002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18003 conftest$ac_exeext conftest.$ac_ext
18004 LIBS=$ac_check_soname_save_LIBS
18006 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18007 then :
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18009 printf "%s\n" "not found" >&6; }
18010 GSSAPI_CFLAGS=""
18011 else $as_nop
18012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18013 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18015 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18019 else
18020 GSSAPI_CFLAGS=""
18022 CPPFLAGS=$ac_save_CPPFLAGS
18025 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18026 then :
18027 case "x$with_gssapi" in
18028 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18029 xno) ;;
18030 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18031 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18032 esac
18036 if test "$ac_cv_header_AL_al_h" = "yes"
18037 then
18038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
18039 printf %s "checking for -lopenal... " >&6; }
18040 if test ${ac_cv_lib_soname_openal+y}
18041 then :
18042 printf %s "(cached) " >&6
18043 else $as_nop
18044 ac_check_soname_save_LIBS=$LIBS
18045 LIBS="-lopenal $LIBS"
18046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18047 /* end confdefs.h. */
18049 /* Override any GCC internal prototype to avoid an error.
18050 Use char because int might match the return type of a GCC
18051 builtin and then its argument prototype would still apply. */
18052 char alGetSource3i ();
18054 main (void)
18056 return alGetSource3i ();
18058 return 0;
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"
18062 then :
18063 case "$LIBEXT" in
18064 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18065 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18066 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18067 if ${ac_cv_lib_soname_openal:+false} :
18068 then :
18069 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18070 fi ;;
18071 esac
18072 else $as_nop
18073 ac_cv_lib_soname_openal=
18075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18076 conftest$ac_exeext conftest.$ac_ext
18077 LIBS=$ac_check_soname_save_LIBS
18079 if ${ac_cv_lib_soname_openal:+false} :
18080 then :
18081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18082 printf "%s\n" "not found" >&6; }
18084 else $as_nop
18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
18086 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
18088 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
18090 OPENAL_LIBS="-lopenal"
18092 ac_cv_lib_openal=yes
18094 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18098 if test "x$ac_cv_lib_openal" != xyes
18099 then :
18100 case "x$with_openal" in
18101 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18102 xno) ;;
18103 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18104 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18105 esac
18106 enable_openal32=${enable_openal32:-no}
18109 if test "$ac_cv_header_libprocstat_h" = "yes"
18110 then
18111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18112 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18113 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18114 then :
18115 printf %s "(cached) " >&6
18116 else $as_nop
18117 ac_check_lib_save_LIBS=$LIBS
18118 LIBS="-lprocstat $LIBS"
18119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18122 /* Override any GCC internal prototype to avoid an error.
18123 Use char because int might match the return type of a GCC
18124 builtin and then its argument prototype would still apply. */
18125 char procstat_open_sysctl ();
18127 main (void)
18129 return procstat_open_sysctl ();
18131 return 0;
18133 _ACEOF
18134 if ac_fn_c_try_link "$LINENO"
18135 then :
18136 ac_cv_lib_procstat_procstat_open_sysctl=yes
18137 else $as_nop
18138 ac_cv_lib_procstat_procstat_open_sysctl=no
18140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18141 conftest$ac_exeext conftest.$ac_ext
18142 LIBS=$ac_check_lib_save_LIBS
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18145 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18146 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18147 then :
18149 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18151 PROCSTAT_LIBS="-lprocstat"
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18158 printf %s "checking for -lodbc... " >&6; }
18159 if test ${ac_cv_lib_soname_odbc+y}
18160 then :
18161 printf %s "(cached) " >&6
18162 else $as_nop
18163 ac_check_soname_save_LIBS=$LIBS
18164 LIBS="-lodbc $LIBS"
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18168 /* Override any GCC internal prototype to avoid an error.
18169 Use char because int might match the return type of a GCC
18170 builtin and then its argument prototype would still apply. */
18171 char SQLConnect ();
18173 main (void)
18175 return SQLConnect ();
18177 return 0;
18179 _ACEOF
18180 if ac_fn_c_try_link "$LINENO"
18181 then :
18182 case "$LIBEXT" in
18183 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18184 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'` ;;
18185 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18186 if ${ac_cv_lib_soname_odbc:+false} :
18187 then :
18188 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18189 fi ;;
18190 esac
18191 else $as_nop
18192 ac_cv_lib_soname_odbc=
18194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18195 conftest$ac_exeext conftest.$ac_ext
18196 LIBS=$ac_check_soname_save_LIBS
18198 if ${ac_cv_lib_soname_odbc:+false} :
18199 then :
18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18201 printf "%s\n" "not found" >&6; }
18202 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18204 else $as_nop
18205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18206 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18208 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18213 if test "x$with_netapi" != "xno"
18214 then
18215 if ${NETAPI_CFLAGS:+false} :
18216 then :
18217 if test ${PKG_CONFIG+y}
18218 then :
18219 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18223 if ${NETAPI_LIBS:+false} :
18224 then :
18225 if test ${PKG_CONFIG+y}
18226 then :
18227 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18234 ac_save_CPPFLAGS=$CPPFLAGS
18235 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18237 printf %s "checking for -lnetapi... " >&6; }
18238 if test ${ac_cv_lib_soname_netapi+y}
18239 then :
18240 printf %s "(cached) " >&6
18241 else $as_nop
18242 ac_check_soname_save_LIBS=$LIBS
18243 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 /* Override any GCC internal prototype to avoid an error.
18248 Use char because int might match the return type of a GCC
18249 builtin and then its argument prototype would still apply. */
18250 char libnetapi_init ();
18252 main (void)
18254 return libnetapi_init ();
18256 return 0;
18258 _ACEOF
18259 if ac_fn_c_try_link "$LINENO"
18260 then :
18261 case "$LIBEXT" in
18262 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18263 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'` ;;
18264 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18265 if ${ac_cv_lib_soname_netapi:+false} :
18266 then :
18267 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18268 fi ;;
18269 esac
18270 else $as_nop
18271 ac_cv_lib_soname_netapi=
18273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18274 conftest$ac_exeext conftest.$ac_ext
18275 LIBS=$ac_check_soname_save_LIBS
18277 if ${ac_cv_lib_soname_netapi:+false} :
18278 then :
18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18280 printf "%s\n" "not found" >&6; }
18281 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18283 else $as_nop
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18285 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18287 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18291 CPPFLAGS=$ac_save_CPPFLAGS
18294 if test "x$ac_cv_lib_soname_netapi" = "x"
18295 then :
18296 case "x$with_netapi" in
18297 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18298 xno) ;;
18299 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18300 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18301 esac
18302 enable_netapi=${enable_netapi:-no}
18306 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18307 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18308 then
18309 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18312 if test "x$with_vulkan" != "xno"
18313 then
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18315 printf %s "checking for -lvulkan... " >&6; }
18316 if test ${ac_cv_lib_soname_vulkan+y}
18317 then :
18318 printf %s "(cached) " >&6
18319 else $as_nop
18320 ac_check_soname_save_LIBS=$LIBS
18321 LIBS="-lvulkan $LIBS"
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 /* Override any GCC internal prototype to avoid an error.
18326 Use char because int might match the return type of a GCC
18327 builtin and then its argument prototype would still apply. */
18328 char vkGetInstanceProcAddr ();
18330 main (void)
18332 return vkGetInstanceProcAddr ();
18334 return 0;
18336 _ACEOF
18337 if ac_fn_c_try_link "$LINENO"
18338 then :
18339 case "$LIBEXT" in
18340 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18341 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'` ;;
18342 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18343 if ${ac_cv_lib_soname_vulkan:+false} :
18344 then :
18345 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18346 fi ;;
18347 esac
18348 else $as_nop
18349 ac_cv_lib_soname_vulkan=
18351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18352 conftest$ac_exeext conftest.$ac_ext
18353 LIBS=$ac_check_soname_save_LIBS
18355 if ${ac_cv_lib_soname_vulkan:+false} :
18356 then :
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18358 printf "%s\n" "not found" >&6; }
18360 else $as_nop
18361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18362 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18364 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18368 if test "x$ac_cv_lib_soname_vulkan" = "x"
18369 then
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18371 printf %s "checking for -lMoltenVK... " >&6; }
18372 if test ${ac_cv_lib_soname_MoltenVK+y}
18373 then :
18374 printf %s "(cached) " >&6
18375 else $as_nop
18376 ac_check_soname_save_LIBS=$LIBS
18377 LIBS="-lMoltenVK $LIBS"
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18381 /* Override any GCC internal prototype to avoid an error.
18382 Use char because int might match the return type of a GCC
18383 builtin and then its argument prototype would still apply. */
18384 char vkGetInstanceProcAddr ();
18386 main (void)
18388 return vkGetInstanceProcAddr ();
18390 return 0;
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"
18394 then :
18395 case "$LIBEXT" in
18396 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18397 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'` ;;
18398 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18399 if ${ac_cv_lib_soname_MoltenVK:+false} :
18400 then :
18401 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18402 fi ;;
18403 esac
18404 else $as_nop
18405 ac_cv_lib_soname_MoltenVK=
18407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18408 conftest$ac_exeext conftest.$ac_ext
18409 LIBS=$ac_check_soname_save_LIBS
18411 if ${ac_cv_lib_soname_MoltenVK:+false} :
18412 then :
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18414 printf "%s\n" "not found" >&6; }
18416 else $as_nop
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18418 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18420 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18426 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18427 then :
18428 case "x$with_vulkan" in
18429 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18430 xno) ;;
18431 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18432 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18433 esac
18438 if test "x${GCC}" = "xyes"
18439 then
18440 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18442 saved_CFLAGS=$CFLAGS
18443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18444 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18445 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18446 then :
18447 printf %s "(cached) " >&6
18448 else $as_nop
18449 ac_wine_try_cflags_saved=$CFLAGS
18450 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18452 /* end confdefs.h. */
18453 int main(int argc, char **argv) { return 0; }
18454 _ACEOF
18455 if ac_fn_c_try_link "$LINENO"
18456 then :
18457 ac_cv_cflags__Werror_unknown_warning_option=yes
18458 else $as_nop
18459 ac_cv_cflags__Werror_unknown_warning_option=no
18461 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18462 conftest$ac_exeext conftest.$ac_ext
18463 CFLAGS=$ac_wine_try_cflags_saved
18465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18466 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18467 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18468 then :
18469 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18472 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18473 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18474 then :
18475 printf %s "(cached) " >&6
18476 else $as_nop
18477 ac_wine_try_cflags_saved=$CFLAGS
18478 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 int main(int argc, char **argv) { return 0; }
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"
18484 then :
18485 ac_cv_cflags__Werror_unused_command_line_argument=yes
18486 else $as_nop
18487 ac_cv_cflags__Werror_unused_command_line_argument=no
18489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18490 conftest$ac_exeext conftest.$ac_ext
18491 CFLAGS=$ac_wine_try_cflags_saved
18493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18494 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18495 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18496 then :
18497 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18500 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18501 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18502 then :
18503 printf %s "(cached) " >&6
18504 else $as_nop
18505 ac_wine_try_cflags_saved=$CFLAGS
18506 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 int main(int argc, char **argv) { return 0; }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"
18512 then :
18513 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18514 else $as_nop
18515 ac_cv_cflags__Werror_ignored_optimization_argument=no
18517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18518 conftest$ac_exeext conftest.$ac_ext
18519 CFLAGS=$ac_wine_try_cflags_saved
18521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18522 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18523 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18524 then :
18525 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18528 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18529 if test ${ac_cv_cflags__fcf_protection_none+y}
18530 then :
18531 printf %s "(cached) " >&6
18532 else $as_nop
18533 ac_wine_try_cflags_saved=$CFLAGS
18534 CFLAGS="$CFLAGS -fcf-protection=none"
18535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18537 int main(int argc, char **argv) { return 0; }
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"
18540 then :
18541 ac_cv_cflags__fcf_protection_none=yes
18542 else $as_nop
18543 ac_cv_cflags__fcf_protection_none=no
18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18546 conftest$ac_exeext conftest.$ac_ext
18547 CFLAGS=$ac_wine_try_cflags_saved
18549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18550 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18551 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18552 then :
18553 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18556 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18557 if test ${ac_cv_cflags__fno_stack_protector+y}
18558 then :
18559 printf %s "(cached) " >&6
18560 else $as_nop
18561 ac_wine_try_cflags_saved=$CFLAGS
18562 CFLAGS="$CFLAGS -fno-stack-protector"
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 int main(int argc, char **argv) { return 0; }
18566 _ACEOF
18567 if ac_fn_c_try_link "$LINENO"
18568 then :
18569 ac_cv_cflags__fno_stack_protector=yes
18570 else $as_nop
18571 ac_cv_cflags__fno_stack_protector=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18574 conftest$ac_exeext conftest.$ac_ext
18575 CFLAGS=$ac_wine_try_cflags_saved
18577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18578 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18579 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18580 then :
18581 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18584 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18585 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18586 then :
18587 printf %s "(cached) " >&6
18588 else $as_nop
18589 ac_wine_try_cflags_saved=$CFLAGS
18590 CFLAGS="$CFLAGS -fno-strict-aliasing"
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18593 int main(int argc, char **argv) { return 0; }
18594 _ACEOF
18595 if ac_fn_c_try_link "$LINENO"
18596 then :
18597 ac_cv_cflags__fno_strict_aliasing=yes
18598 else $as_nop
18599 ac_cv_cflags__fno_strict_aliasing=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18602 conftest$ac_exeext conftest.$ac_ext
18603 CFLAGS=$ac_wine_try_cflags_saved
18605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18606 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18607 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18608 then :
18609 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18612 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18613 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18614 then :
18615 printf %s "(cached) " >&6
18616 else $as_nop
18617 ac_wine_try_cflags_saved=$CFLAGS
18618 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18620 /* end confdefs.h. */
18621 int main(int argc, char **argv) { return 0; }
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"
18624 then :
18625 ac_cv_cflags__Wdeclaration_after_statement=yes
18626 else $as_nop
18627 ac_cv_cflags__Wdeclaration_after_statement=no
18629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18630 conftest$ac_exeext conftest.$ac_ext
18631 CFLAGS=$ac_wine_try_cflags_saved
18633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18634 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18635 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18636 then :
18637 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18640 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18641 if test ${ac_cv_cflags__Wempty_body+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_wine_try_cflags_saved=$CFLAGS
18646 CFLAGS="$CFLAGS -Wempty-body"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 int main(int argc, char **argv) { return 0; }
18650 _ACEOF
18651 if ac_fn_c_try_link "$LINENO"
18652 then :
18653 ac_cv_cflags__Wempty_body=yes
18654 else $as_nop
18655 ac_cv_cflags__Wempty_body=no
18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18658 conftest$ac_exeext conftest.$ac_ext
18659 CFLAGS=$ac_wine_try_cflags_saved
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18662 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18663 if test "x$ac_cv_cflags__Wempty_body" = xyes
18664 then :
18665 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18668 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18669 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18670 then :
18671 printf %s "(cached) " >&6
18672 else $as_nop
18673 ac_wine_try_cflags_saved=$CFLAGS
18674 CFLAGS="$CFLAGS -Wignored-qualifiers"
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18677 int main(int argc, char **argv) { return 0; }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"
18680 then :
18681 ac_cv_cflags__Wignored_qualifiers=yes
18682 else $as_nop
18683 ac_cv_cflags__Wignored_qualifiers=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18686 conftest$ac_exeext conftest.$ac_ext
18687 CFLAGS=$ac_wine_try_cflags_saved
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18690 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18691 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18692 then :
18693 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18696 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18697 if test ${ac_cv_cflags__Winit_self+y}
18698 then :
18699 printf %s "(cached) " >&6
18700 else $as_nop
18701 ac_wine_try_cflags_saved=$CFLAGS
18702 CFLAGS="$CFLAGS -Winit-self"
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 int main(int argc, char **argv) { return 0; }
18706 _ACEOF
18707 if ac_fn_c_try_link "$LINENO"
18708 then :
18709 ac_cv_cflags__Winit_self=yes
18710 else $as_nop
18711 ac_cv_cflags__Winit_self=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18714 conftest$ac_exeext conftest.$ac_ext
18715 CFLAGS=$ac_wine_try_cflags_saved
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18718 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18719 if test "x$ac_cv_cflags__Winit_self" = xyes
18720 then :
18721 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18724 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18725 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18726 then :
18727 printf %s "(cached) " >&6
18728 else $as_nop
18729 ac_wine_try_cflags_saved=$CFLAGS
18730 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18733 int main(int argc, char **argv) { return 0; }
18734 _ACEOF
18735 if ac_fn_c_try_link "$LINENO"
18736 then :
18737 ac_cv_cflags__Wpacked_not_aligned=yes
18738 else $as_nop
18739 ac_cv_cflags__Wpacked_not_aligned=no
18741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18742 conftest$ac_exeext conftest.$ac_ext
18743 CFLAGS=$ac_wine_try_cflags_saved
18745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18746 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18747 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18748 then :
18749 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18752 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18753 if test ${ac_cv_cflags__Wpragma_pack+y}
18754 then :
18755 printf %s "(cached) " >&6
18756 else $as_nop
18757 ac_wine_try_cflags_saved=$CFLAGS
18758 CFLAGS="$CFLAGS -Wpragma-pack"
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 int main(int argc, char **argv) { return 0; }
18762 _ACEOF
18763 if ac_fn_c_try_link "$LINENO"
18764 then :
18765 ac_cv_cflags__Wpragma_pack=yes
18766 else $as_nop
18767 ac_cv_cflags__Wpragma_pack=no
18769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18770 conftest$ac_exeext conftest.$ac_ext
18771 CFLAGS=$ac_wine_try_cflags_saved
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18774 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18775 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18776 then :
18777 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18780 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18781 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18782 then :
18783 printf %s "(cached) " >&6
18784 else $as_nop
18785 ac_wine_try_cflags_saved=$CFLAGS
18786 CFLAGS="$CFLAGS -Wshift-overflow=2"
18787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 /* end confdefs.h. */
18789 int main(int argc, char **argv) { return 0; }
18790 _ACEOF
18791 if ac_fn_c_try_link "$LINENO"
18792 then :
18793 ac_cv_cflags__Wshift_overflow_2=yes
18794 else $as_nop
18795 ac_cv_cflags__Wshift_overflow_2=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18798 conftest$ac_exeext conftest.$ac_ext
18799 CFLAGS=$ac_wine_try_cflags_saved
18801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18802 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18803 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18804 then :
18805 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18808 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18809 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18810 then :
18811 printf %s "(cached) " >&6
18812 else $as_nop
18813 ac_wine_try_cflags_saved=$CFLAGS
18814 CFLAGS="$CFLAGS -Wstrict-prototypes"
18815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18816 /* end confdefs.h. */
18817 int main(int argc, char **argv) { return 0; }
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"
18820 then :
18821 ac_cv_cflags__Wstrict_prototypes=yes
18822 else $as_nop
18823 ac_cv_cflags__Wstrict_prototypes=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18826 conftest$ac_exeext conftest.$ac_ext
18827 CFLAGS=$ac_wine_try_cflags_saved
18829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18830 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18831 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18832 then :
18833 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18836 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18837 if test ${ac_cv_cflags__Wtype_limits+y}
18838 then :
18839 printf %s "(cached) " >&6
18840 else $as_nop
18841 ac_wine_try_cflags_saved=$CFLAGS
18842 CFLAGS="$CFLAGS -Wtype-limits"
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 int main(int argc, char **argv) { return 0; }
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"
18848 then :
18849 ac_cv_cflags__Wtype_limits=yes
18850 else $as_nop
18851 ac_cv_cflags__Wtype_limits=no
18853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18854 conftest$ac_exeext conftest.$ac_ext
18855 CFLAGS=$ac_wine_try_cflags_saved
18857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18858 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18859 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18860 then :
18861 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18864 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18865 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18866 then :
18867 printf %s "(cached) " >&6
18868 else $as_nop
18869 ac_wine_try_cflags_saved=$CFLAGS
18870 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 int main(int argc, char **argv) { return 0; }
18874 _ACEOF
18875 if ac_fn_c_try_link "$LINENO"
18876 then :
18877 ac_cv_cflags__Wunused_but_set_parameter=yes
18878 else $as_nop
18879 ac_cv_cflags__Wunused_but_set_parameter=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18882 conftest$ac_exeext conftest.$ac_ext
18883 CFLAGS=$ac_wine_try_cflags_saved
18885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18886 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18887 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18888 then :
18889 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18892 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18893 if test ${ac_cv_cflags__Wvla+y}
18894 then :
18895 printf %s "(cached) " >&6
18896 else $as_nop
18897 ac_wine_try_cflags_saved=$CFLAGS
18898 CFLAGS="$CFLAGS -Wvla"
18899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 /* end confdefs.h. */
18901 int main(int argc, char **argv) { return 0; }
18902 _ACEOF
18903 if ac_fn_c_try_link "$LINENO"
18904 then :
18905 ac_cv_cflags__Wvla=yes
18906 else $as_nop
18907 ac_cv_cflags__Wvla=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18910 conftest$ac_exeext conftest.$ac_ext
18911 CFLAGS=$ac_wine_try_cflags_saved
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18914 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18915 if test "x$ac_cv_cflags__Wvla" = xyes
18916 then :
18917 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18920 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18921 if test ${ac_cv_cflags__Wwrite_strings+y}
18922 then :
18923 printf %s "(cached) " >&6
18924 else $as_nop
18925 ac_wine_try_cflags_saved=$CFLAGS
18926 CFLAGS="$CFLAGS -Wwrite-strings"
18927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18928 /* end confdefs.h. */
18929 int main(int argc, char **argv) { return 0; }
18930 _ACEOF
18931 if ac_fn_c_try_link "$LINENO"
18932 then :
18933 ac_cv_cflags__Wwrite_strings=yes
18934 else $as_nop
18935 ac_cv_cflags__Wwrite_strings=no
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18938 conftest$ac_exeext conftest.$ac_ext
18939 CFLAGS=$ac_wine_try_cflags_saved
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18942 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18943 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18944 then :
18945 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18948 if test -z "$CROSSTARGET"
18949 then
18950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18951 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18952 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18953 then :
18954 printf %s "(cached) " >&6
18955 else $as_nop
18956 ac_wine_try_cflags_saved=$CFLAGS
18957 CFLAGS="$CFLAGS -fexcess-precision=standard"
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18959 /* end confdefs.h. */
18960 int main(int argc, char **argv) { return 0; }
18961 _ACEOF
18962 if ac_fn_c_try_link "$LINENO"
18963 then :
18964 ac_cv_cflags__fexcess_precision_standard=yes
18965 else $as_nop
18966 ac_cv_cflags__fexcess_precision_standard=no
18968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18969 conftest$ac_exeext conftest.$ac_ext
18970 CFLAGS=$ac_wine_try_cflags_saved
18972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18973 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18974 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18975 then :
18976 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18982 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18983 if test ${ac_cv_cflags__Wpointer_arith+y}
18984 then :
18985 printf %s "(cached) " >&6
18986 else $as_nop
18987 ac_wine_try_cflags_saved=$CFLAGS
18988 CFLAGS="$CFLAGS -Wpointer-arith"
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18991 int main(int argc, char **argv) { return 0; }
18992 _ACEOF
18993 if ac_fn_c_try_link "$LINENO"
18994 then :
18995 ac_cv_cflags__Wpointer_arith=yes
18996 else $as_nop
18997 ac_cv_cflags__Wpointer_arith=no
18999 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19000 conftest$ac_exeext conftest.$ac_ext
19001 CFLAGS=$ac_wine_try_cflags_saved
19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19004 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19005 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19006 then :
19007 saved_string_h_CFLAGS=$CFLAGS
19008 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19010 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19011 if test ${ac_cv_c_string_h_warnings+y}
19012 then :
19013 printf %s "(cached) " >&6
19014 else $as_nop
19015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19016 /* end confdefs.h. */
19017 #include <string.h>
19019 main (void)
19023 return 0;
19025 _ACEOF
19026 if ac_fn_c_try_compile "$LINENO"
19027 then :
19028 ac_cv_c_string_h_warnings=no
19029 else $as_nop
19030 ac_cv_c_string_h_warnings=yes
19032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19035 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19036 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19037 CFLAGS=$saved_string_h_CFLAGS
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19041 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19042 if test ${ac_cv_cflags__Wlogical_op+y}
19043 then :
19044 printf %s "(cached) " >&6
19045 else $as_nop
19046 ac_wine_try_cflags_saved=$CFLAGS
19047 CFLAGS="$CFLAGS -Wlogical-op"
19048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19050 int main(int argc, char **argv) { return 0; }
19051 _ACEOF
19052 if ac_fn_c_try_link "$LINENO"
19053 then :
19054 ac_cv_cflags__Wlogical_op=yes
19055 else $as_nop
19056 ac_cv_cflags__Wlogical_op=no
19058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19059 conftest$ac_exeext conftest.$ac_ext
19060 CFLAGS=$ac_wine_try_cflags_saved
19062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19063 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19064 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19065 then :
19066 saved_string_h_CFLAGS=$CFLAGS
19067 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19069 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19070 if test ${ac_cv_c_logicalop_noisy+y}
19071 then :
19072 printf %s "(cached) " >&6
19073 else $as_nop
19074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 #include <string.h>
19077 char*f(const char *h,char n) {return strchr(h,n);}
19079 main (void)
19083 return 0;
19085 _ACEOF
19086 if ac_fn_c_try_compile "$LINENO"
19087 then :
19088 ac_cv_c_logicalop_noisy=no
19089 else $as_nop
19090 ac_cv_c_logicalop_noisy=yes
19092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19095 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19096 CFLAGS=$saved_string_h_CFLAGS
19097 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19101 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19102 if test ${wine_cv_64bit_compare_swap+y}
19103 then :
19104 printf %s "(cached) " >&6
19105 else $as_nop
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19109 #error no
19110 #endif
19112 main (void)
19116 return 0;
19118 _ACEOF
19119 if ac_fn_c_try_compile "$LINENO"
19120 then :
19121 wine_cv_64bit_compare_swap="none needed"
19122 else $as_nop
19123 case $host_cpu in
19124 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19125 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19126 *) wine_cv_64bit_compare_swap="unknown" ;;
19127 esac
19128 if test "x$wine_cv_64bit_compare_swap" != xunknown
19129 then
19130 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19134 #error no
19135 #endif
19137 main (void)
19141 return 0;
19143 _ACEOF
19144 if ac_fn_c_try_compile "$LINENO"
19145 then :
19147 else $as_nop
19148 wine_cv_64bit_compare_swap="unknown"
19150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19151 CFLAGS=$saved_CFLAGS
19154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19157 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19158 case "$wine_cv_64bit_compare_swap" in
19159 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19160 "none needed") ;;
19161 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19162 esac
19164 ac_debug_format_seen=""
19165 for ac_flag in $CFLAGS; do
19166 case $ac_flag in
19167 -gdwarf*) ac_debug_format_seen=yes ;;
19168 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19169 esac
19170 done
19171 if test "x$ac_debug_format_seen" = xdefault
19172 then
19173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19174 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19175 if test ${ac_cv_cflags__gdwarf_4+y}
19176 then :
19177 printf %s "(cached) " >&6
19178 else $as_nop
19179 ac_wine_try_cflags_saved=$CFLAGS
19180 CFLAGS="$CFLAGS -gdwarf-4"
19181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19183 int main(int argc, char **argv) { return 0; }
19184 _ACEOF
19185 if ac_fn_c_try_link "$LINENO"
19186 then :
19187 ac_cv_cflags__gdwarf_4=yes
19188 else $as_nop
19189 ac_cv_cflags__gdwarf_4=no
19191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19192 conftest$ac_exeext conftest.$ac_ext
19193 CFLAGS=$ac_wine_try_cflags_saved
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19196 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19197 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19198 then :
19199 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19203 MSVCRTFLAGS=""
19205 case $host_os in
19206 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19207 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19208 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19209 then :
19210 printf %s "(cached) " >&6
19211 else $as_nop
19212 ac_wine_try_cflags_saved=$CFLAGS
19213 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* end confdefs.h. */
19216 int main(int argc, char **argv) { return 0; }
19217 _ACEOF
19218 if ac_fn_c_try_link "$LINENO"
19219 then :
19220 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19221 else $as_nop
19222 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19225 conftest$ac_exeext conftest.$ac_ext
19226 CFLAGS=$ac_wine_try_cflags_saved
19228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19229 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19230 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19231 then :
19232 DELAYLOADFLAG="-Wl,-delayload,"
19234 fi ;;
19235 *) MSVCRTFLAGS="-D_WIN32"
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19237 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19238 if test ${ac_cv_cflags__fno_builtin+y}
19239 then :
19240 printf %s "(cached) " >&6
19241 else $as_nop
19242 ac_wine_try_cflags_saved=$CFLAGS
19243 CFLAGS="$CFLAGS -fno-builtin"
19244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 int main(int argc, char **argv) { return 0; }
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"
19249 then :
19250 ac_cv_cflags__fno_builtin=yes
19251 else $as_nop
19252 ac_cv_cflags__fno_builtin=no
19254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19255 conftest$ac_exeext conftest.$ac_ext
19256 CFLAGS=$ac_wine_try_cflags_saved
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19259 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19260 if test "x$ac_cv_cflags__fno_builtin" = xyes
19261 then :
19262 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19265 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19266 if test ${ac_cv_cflags__fshort_wchar+y}
19267 then :
19268 printf %s "(cached) " >&6
19269 else $as_nop
19270 ac_wine_try_cflags_saved=$CFLAGS
19271 CFLAGS="$CFLAGS -fshort-wchar"
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"
19277 then :
19278 ac_cv_cflags__fshort_wchar=yes
19279 else $as_nop
19280 ac_cv_cflags__fshort_wchar=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19283 conftest$ac_exeext conftest.$ac_ext
19284 CFLAGS=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19287 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19288 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19289 then :
19290 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19293 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19294 if test ${ac_cv_cflags__Wno_format+y}
19295 then :
19296 printf %s "(cached) " >&6
19297 else $as_nop
19298 ac_wine_try_cflags_saved=$CFLAGS
19299 CFLAGS="$CFLAGS -Wno-format"
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19302 int main(int argc, char **argv) { return 0; }
19303 _ACEOF
19304 if ac_fn_c_try_link "$LINENO"
19305 then :
19306 ac_cv_cflags__Wno_format=yes
19307 else $as_nop
19308 ac_cv_cflags__Wno_format=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19311 conftest$ac_exeext conftest.$ac_ext
19312 CFLAGS=$ac_wine_try_cflags_saved
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19315 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19316 if test "x$ac_cv_cflags__Wno_format" = xyes
19317 then :
19318 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19319 fi ;;
19320 esac
19322 case $host_cpu in
19323 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19324 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19325 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19326 then :
19327 printf %s "(cached) " >&6
19328 else $as_nop
19329 ac_wine_try_cflags_saved=$CFLAGS
19330 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19333 int main(int argc, char **argv) { return 0; }
19334 _ACEOF
19335 if ac_fn_c_try_link "$LINENO"
19336 then :
19337 ac_cv_cflags__fno_omit_frame_pointer=yes
19338 else $as_nop
19339 ac_cv_cflags__fno_omit_frame_pointer=no
19341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19342 conftest$ac_exeext conftest.$ac_ext
19343 CFLAGS=$ac_wine_try_cflags_saved
19345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19346 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19347 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19348 then :
19349 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19350 fi ;;
19351 *x86_64*)
19352 case $host_os in
19353 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19354 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19355 if test ${ac_cv_cflags__Wno_format+y}
19356 then :
19357 printf %s "(cached) " >&6
19358 else $as_nop
19359 ac_wine_try_cflags_saved=$CFLAGS
19360 CFLAGS="$CFLAGS -Wno-format"
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 int main(int argc, char **argv) { return 0; }
19364 _ACEOF
19365 if ac_fn_c_try_link "$LINENO"
19366 then :
19367 ac_cv_cflags__Wno_format=yes
19368 else $as_nop
19369 ac_cv_cflags__Wno_format=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19372 conftest$ac_exeext conftest.$ac_ext
19373 CFLAGS=$ac_wine_try_cflags_saved
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19376 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19377 if test "x$ac_cv_cflags__Wno_format" = xyes
19378 then :
19379 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19380 fi ;;
19381 *) if test -z "$CROSSTARGET"
19382 then
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19384 printf %s "checking for working -mabi=ms... " >&6; }
19385 if test ${ac_cv_mabi_ms+y}
19386 then :
19387 printf %s "(cached) " >&6
19388 else $as_nop
19389 CFLAGS="$CFLAGS -mabi=ms"
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19392 #include <stdarg.h>
19393 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19395 main (void)
19399 return 0;
19401 _ACEOF
19402 if ac_fn_c_try_compile "$LINENO"
19403 then :
19404 ac_cv_mabi_ms=yes
19405 else $as_nop
19406 ac_cv_mabi_ms=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19409 CFLAGS=$saved_CFLAGS
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19412 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19413 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
19415 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19416 esac ;;
19417 arm*)
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19419 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19420 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19421 then :
19422 printf %s "(cached) " >&6
19423 else $as_nop
19424 ac_wine_try_cflags_saved=$CFLAGS
19425 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 int main(int argc, char **argv) { return 0; }
19429 _ACEOF
19430 if ac_fn_c_try_link "$LINENO"
19431 then :
19432 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19433 else $as_nop
19434 ac_cv_cflags__Wincompatible_function_pointer_types=no
19436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19437 conftest$ac_exeext conftest.$ac_ext
19438 CFLAGS=$ac_wine_try_cflags_saved
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19441 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19442 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19443 then :
19444 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19445 fi ;;
19446 esac
19448 CFLAGS=$saved_CFLAGS
19450 if test "x$enable_werror" = "xyes"
19451 then
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19453 printf %s "checking whether the compiler supports -Werror... " >&6; }
19454 if test ${ac_cv_cflags__Werror+y}
19455 then :
19456 printf %s "(cached) " >&6
19457 else $as_nop
19458 ac_wine_try_cflags_saved=$CFLAGS
19459 CFLAGS="$CFLAGS -Werror"
19460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461 /* end confdefs.h. */
19462 int main(int argc, char **argv) { return 0; }
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"
19465 then :
19466 ac_cv_cflags__Werror=yes
19467 else $as_nop
19468 ac_cv_cflags__Werror=no
19470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19471 conftest$ac_exeext conftest.$ac_ext
19472 CFLAGS=$ac_wine_try_cflags_saved
19474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19475 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19476 if test "x$ac_cv_cflags__Werror" = xyes
19477 then :
19478 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19481 if test "x$enable_build_id" = "xyes"
19482 then
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19484 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19485 if test ${ac_cv_cflags__Wl___build_id+y}
19486 then :
19487 printf %s "(cached) " >&6
19488 else $as_nop
19489 ac_wine_try_cflags_saved=$CFLAGS
19490 CFLAGS="$CFLAGS -Wl,--build-id"
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493 int main(int argc, char **argv) { return 0; }
19494 _ACEOF
19495 if ac_fn_c_try_link "$LINENO"
19496 then :
19497 ac_cv_cflags__Wl___build_id=yes
19498 else $as_nop
19499 ac_cv_cflags__Wl___build_id=no
19501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19502 conftest$ac_exeext conftest.$ac_ext
19503 CFLAGS=$ac_wine_try_cflags_saved
19505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19506 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19507 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19508 then :
19509 CFLAGS="$CFLAGS -Wl,--build-id"
19510 LDFLAGS="$LDFLAGS -Wl,--build-id"
19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19517 printf %s "checking for the need to disable Fortify... " >&6; }
19518 if test ${ac_cv_c_fortify_enabled+y}
19519 then :
19520 printf %s "(cached) " >&6
19521 else $as_nop
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #include <string.h>
19526 main (void)
19528 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19529 #error Fortify enabled
19530 #endif
19532 return 0;
19534 _ACEOF
19535 if ac_fn_c_try_compile "$LINENO"
19536 then :
19537 ac_cv_c_fortify_enabled=no
19538 else $as_nop
19539 ac_cv_c_fortify_enabled=yes
19541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19544 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19545 if test "$ac_cv_c_fortify_enabled" = yes
19546 then
19547 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19552 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19553 if test ${ac_cv_c_cfi_support+y}
19554 then :
19555 printf %s "(cached) " >&6
19556 else $as_nop
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19558 /* end confdefs.h. */
19559 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19561 main (void)
19565 return 0;
19567 _ACEOF
19568 if ac_fn_c_try_compile "$LINENO"
19569 then :
19570 ac_cv_c_cfi_support="yes"
19571 else $as_nop
19572 ac_cv_c_cfi_support="no"
19574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19577 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19578 if test "$ac_cv_c_cfi_support" = "yes"
19579 then
19580 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19581 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19582 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19583 else
19584 if test "x$enable_win64" = "xyes"
19585 then
19586 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19591 case $host_os in
19592 linux*)
19593 case $host_cpu in
19594 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19595 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19596 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19598 esac
19600 esac
19603 ac_save_CFLAGS="$CFLAGS"
19604 CFLAGS="$CFLAGS $BUILTINFLAG"
19605 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19606 if test "x$ac_cv_func_epoll_create" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19611 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19612 if test "x$ac_cv_func_fstatfs" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19618 if test "x$ac_cv_func_futimens" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19623 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19624 if test "x$ac_cv_func_futimes" = xyes
19625 then :
19626 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19629 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19630 if test "x$ac_cv_func_futimesat" = xyes
19631 then :
19632 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19635 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19636 if test "x$ac_cv_func_getattrlist" = xyes
19637 then :
19638 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19641 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19642 if test "x$ac_cv_func_getauxval" = xyes
19643 then :
19644 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19647 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19648 if test "x$ac_cv_func_getifaddrs" = xyes
19649 then :
19650 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19653 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19654 if test "x$ac_cv_func_getrandom" = xyes
19655 then :
19656 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19659 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19660 if test "x$ac_cv_func_kqueue" = xyes
19661 then :
19662 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19665 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19666 if test "x$ac_cv_func_mach_continuous_time" = xyes
19667 then :
19668 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19671 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19672 if test "x$ac_cv_func_pipe2" = xyes
19673 then :
19674 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19677 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19678 if test "x$ac_cv_func_port_create" = xyes
19679 then :
19680 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19683 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19684 if test "x$ac_cv_func_posix_fadvise" = xyes
19685 then :
19686 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19689 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19690 if test "x$ac_cv_func_posix_fallocate" = xyes
19691 then :
19692 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19695 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19696 if test "x$ac_cv_func_prctl" = xyes
19697 then :
19698 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19701 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19702 if test "x$ac_cv_func_proc_pidinfo" = xyes
19703 then :
19704 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19707 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19708 if test "x$ac_cv_func_sched_yield" = xyes
19709 then :
19710 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19713 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19714 if test "x$ac_cv_func_setproctitle" = xyes
19715 then :
19716 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19719 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19720 if test "x$ac_cv_func_setprogname" = xyes
19721 then :
19722 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19725 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19726 if test "x$ac_cv_func_sigprocmask" = xyes
19727 then :
19728 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19731 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19732 if test "x$ac_cv_func_sysinfo" = xyes
19733 then :
19734 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19737 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19738 if test "x$ac_cv_func_tcdrain" = xyes
19739 then :
19740 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19743 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19744 if test "x$ac_cv_func_thr_kill2" = xyes
19745 then :
19746 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19750 CFLAGS="$ac_save_CFLAGS"
19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19753 printf %s "checking for library containing dlopen... " >&6; }
19754 if test ${ac_cv_search_dlopen+y}
19755 then :
19756 printf %s "(cached) " >&6
19757 else $as_nop
19758 ac_func_search_save_LIBS=$LIBS
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19762 /* Override any GCC internal prototype to avoid an error.
19763 Use char because int might match the return type of a GCC
19764 builtin and then its argument prototype would still apply. */
19765 char dlopen ();
19767 main (void)
19769 return dlopen ();
19771 return 0;
19773 _ACEOF
19774 for ac_lib in '' dl
19776 if test -z "$ac_lib"; then
19777 ac_res="none required"
19778 else
19779 ac_res=-l$ac_lib
19780 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19782 if ac_fn_c_try_link "$LINENO"
19783 then :
19784 ac_cv_search_dlopen=$ac_res
19786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19787 conftest$ac_exeext
19788 if test ${ac_cv_search_dlopen+y}
19789 then :
19790 break
19792 done
19793 if test ${ac_cv_search_dlopen+y}
19794 then :
19796 else $as_nop
19797 ac_cv_search_dlopen=no
19799 rm conftest.$ac_ext
19800 LIBS=$ac_func_search_save_LIBS
19802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19803 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19804 ac_res=$ac_cv_search_dlopen
19805 if test "$ac_res" != no
19806 then :
19807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19811 ac_wine_check_funcs_save_LIBS="$LIBS"
19812 LIBS="$LIBS $DL_LIBS"
19813 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19814 if test "x$ac_cv_func_dlinfo" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19820 LIBS="$ac_wine_check_funcs_save_LIBS"
19822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19823 printf %s "checking for library containing gethostbyname... " >&6; }
19824 if test ${ac_cv_search_gethostbyname+y}
19825 then :
19826 printf %s "(cached) " >&6
19827 else $as_nop
19828 ac_func_search_save_LIBS=$LIBS
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19832 /* Override any GCC internal prototype to avoid an error.
19833 Use char because int might match the return type of a GCC
19834 builtin and then its argument prototype would still apply. */
19835 char gethostbyname ();
19837 main (void)
19839 return gethostbyname ();
19841 return 0;
19843 _ACEOF
19844 for ac_lib in '' nsl
19846 if test -z "$ac_lib"; then
19847 ac_res="none required"
19848 else
19849 ac_res=-l$ac_lib
19850 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19852 if ac_fn_c_try_link "$LINENO"
19853 then :
19854 ac_cv_search_gethostbyname=$ac_res
19856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19857 conftest$ac_exeext
19858 if test ${ac_cv_search_gethostbyname+y}
19859 then :
19860 break
19862 done
19863 if test ${ac_cv_search_gethostbyname+y}
19864 then :
19866 else $as_nop
19867 ac_cv_search_gethostbyname=no
19869 rm conftest.$ac_ext
19870 LIBS=$ac_func_search_save_LIBS
19872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19873 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19874 ac_res=$ac_cv_search_gethostbyname
19875 if test "$ac_res" != no
19876 then :
19877 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19883 printf %s "checking for library containing connect... " >&6; }
19884 if test ${ac_cv_search_connect+y}
19885 then :
19886 printf %s "(cached) " >&6
19887 else $as_nop
19888 ac_func_search_save_LIBS=$LIBS
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19892 /* Override any GCC internal prototype to avoid an error.
19893 Use char because int might match the return type of a GCC
19894 builtin and then its argument prototype would still apply. */
19895 char connect ();
19897 main (void)
19899 return connect ();
19901 return 0;
19903 _ACEOF
19904 for ac_lib in '' socket
19906 if test -z "$ac_lib"; then
19907 ac_res="none required"
19908 else
19909 ac_res=-l$ac_lib
19910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19912 if ac_fn_c_try_link "$LINENO"
19913 then :
19914 ac_cv_search_connect=$ac_res
19916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19917 conftest$ac_exeext
19918 if test ${ac_cv_search_connect+y}
19919 then :
19920 break
19922 done
19923 if test ${ac_cv_search_connect+y}
19924 then :
19926 else $as_nop
19927 ac_cv_search_connect=no
19929 rm conftest.$ac_ext
19930 LIBS=$ac_func_search_save_LIBS
19932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19933 printf "%s\n" "$ac_cv_search_connect" >&6; }
19934 ac_res=$ac_cv_search_connect
19935 if test "$ac_res" != no
19936 then :
19937 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19943 printf %s "checking for library containing inet_aton... " >&6; }
19944 if test ${ac_cv_search_inet_aton+y}
19945 then :
19946 printf %s "(cached) " >&6
19947 else $as_nop
19948 ac_func_search_save_LIBS=$LIBS
19949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19952 /* Override any GCC internal prototype to avoid an error.
19953 Use char because int might match the return type of a GCC
19954 builtin and then its argument prototype would still apply. */
19955 char inet_aton ();
19957 main (void)
19959 return inet_aton ();
19961 return 0;
19963 _ACEOF
19964 for ac_lib in '' resolv
19966 if test -z "$ac_lib"; then
19967 ac_res="none required"
19968 else
19969 ac_res=-l$ac_lib
19970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19972 if ac_fn_c_try_link "$LINENO"
19973 then :
19974 ac_cv_search_inet_aton=$ac_res
19976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19977 conftest$ac_exeext
19978 if test ${ac_cv_search_inet_aton+y}
19979 then :
19980 break
19982 done
19983 if test ${ac_cv_search_inet_aton+y}
19984 then :
19986 else $as_nop
19987 ac_cv_search_inet_aton=no
19989 rm conftest.$ac_ext
19990 LIBS=$ac_func_search_save_LIBS
19992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19993 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19994 ac_res=$ac_cv_search_inet_aton
19995 if test "$ac_res" != no
19996 then :
19997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20002 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20003 if test "x$ac_cv_func_getaddrinfo" = xyes
20004 then :
20005 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20010 case $host_os in
20011 darwin*|macosx*) ;;
20012 *) ac_save_LIBS=$LIBS
20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20014 printf %s "checking for library containing clock_gettime... " >&6; }
20015 if test ${ac_cv_search_clock_gettime+y}
20016 then :
20017 printf %s "(cached) " >&6
20018 else $as_nop
20019 ac_func_search_save_LIBS=$LIBS
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 /* Override any GCC internal prototype to avoid an error.
20024 Use char because int might match the return type of a GCC
20025 builtin and then its argument prototype would still apply. */
20026 char clock_gettime ();
20028 main (void)
20030 return clock_gettime ();
20032 return 0;
20034 _ACEOF
20035 for ac_lib in '' rt
20037 if test -z "$ac_lib"; then
20038 ac_res="none required"
20039 else
20040 ac_res=-l$ac_lib
20041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20043 if ac_fn_c_try_link "$LINENO"
20044 then :
20045 ac_cv_search_clock_gettime=$ac_res
20047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20048 conftest$ac_exeext
20049 if test ${ac_cv_search_clock_gettime+y}
20050 then :
20051 break
20053 done
20054 if test ${ac_cv_search_clock_gettime+y}
20055 then :
20057 else $as_nop
20058 ac_cv_search_clock_gettime=no
20060 rm conftest.$ac_ext
20061 LIBS=$ac_func_search_save_LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20064 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20065 ac_res=$ac_cv_search_clock_gettime
20066 if test "$ac_res" != no
20067 then :
20068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20070 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20072 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20076 LIBS=$ac_save_LIBS
20078 esac
20080 if test "x$with_ldap" != "xno"
20081 then
20082 if ${LDAP_CFLAGS:+false} :
20083 then :
20084 if test ${PKG_CONFIG+y}
20085 then :
20086 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
20090 if ${LDAP_LIBS:+false} :
20091 then :
20092 if test ${PKG_CONFIG+y}
20093 then :
20094 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
20098 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
20099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
20100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
20101 ac_save_CPPFLAGS=$CPPFLAGS
20102 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
20103 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20104 if test "x$ac_cv_header_ldap_h" = xyes
20105 then :
20106 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
20109 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
20110 if test "x$ac_cv_header_lber_h" = xyes
20111 then :
20112 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
20116 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
20117 then
20118 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
20120 if test "x$ac_cv_type_LDAPSortKey" = xyes
20121 then :
20122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
20123 printf %s "checking for ldap_initialize in -lldap... " >&6; }
20124 if test ${ac_cv_lib_ldap_ldap_initialize+y}
20125 then :
20126 printf %s "(cached) " >&6
20127 else $as_nop
20128 ac_check_lib_save_LIBS=$LIBS
20129 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20133 /* Override any GCC internal prototype to avoid an error.
20134 Use char because int might match the return type of a GCC
20135 builtin and then its argument prototype would still apply. */
20136 char ldap_initialize ();
20138 main (void)
20140 return ldap_initialize ();
20142 return 0;
20144 _ACEOF
20145 if ac_fn_c_try_link "$LINENO"
20146 then :
20147 ac_cv_lib_ldap_ldap_initialize=yes
20148 else $as_nop
20149 ac_cv_lib_ldap_ldap_initialize=no
20151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20152 conftest$ac_exeext conftest.$ac_ext
20153 LIBS=$ac_check_lib_save_LIBS
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20156 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20157 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20158 then :
20159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20160 printf %s "checking for ber_init in -llber... " >&6; }
20161 if test ${ac_cv_lib_lber_ber_init+y}
20162 then :
20163 printf %s "(cached) " >&6
20164 else $as_nop
20165 ac_check_lib_save_LIBS=$LIBS
20166 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20170 /* Override any GCC internal prototype to avoid an error.
20171 Use char because int might match the return type of a GCC
20172 builtin and then its argument prototype would still apply. */
20173 char ber_init ();
20175 main (void)
20177 return ber_init ();
20179 return 0;
20181 _ACEOF
20182 if ac_fn_c_try_link "$LINENO"
20183 then :
20184 ac_cv_lib_lber_ber_init=yes
20185 else $as_nop
20186 ac_cv_lib_lber_ber_init=no
20188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20189 conftest$ac_exeext conftest.$ac_ext
20190 LIBS=$ac_check_lib_save_LIBS
20192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20193 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20194 if test "x$ac_cv_lib_lber_ber_init" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20199 else $as_nop
20200 LDAP_LIBS=""
20203 else $as_nop
20204 LDAP_LIBS=""
20207 else $as_nop
20208 LDAP_LIBS=""
20211 else
20212 LDAP_LIBS=""
20214 CPPFLAGS=$ac_save_CPPFLAGS
20217 if test "x$LDAP_LIBS" = "x"
20218 then :
20219 case "x$with_ldap" in
20220 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20221 xno) ;;
20222 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20223 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20224 esac
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20229 printf %s "checking for sched_setaffinity... " >&6; }
20230 if test ${wine_cv_have_sched_setaffinity+y}
20231 then :
20232 printf %s "(cached) " >&6
20233 else $as_nop
20234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20235 /* end confdefs.h. */
20236 #include <sched.h>
20238 main (void)
20240 sched_setaffinity(0, 0, 0);
20242 return 0;
20244 _ACEOF
20245 if ac_fn_c_try_link "$LINENO"
20246 then :
20247 wine_cv_have_sched_setaffinity=yes
20248 else $as_nop
20249 wine_cv_have_sched_setaffinity=no
20251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20252 conftest$ac_exeext conftest.$ac_ext
20254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20255 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20256 if test "$wine_cv_have_sched_setaffinity" = "yes"
20257 then
20259 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20265 printf %s "checking for inline... " >&6; }
20266 if test ${ac_cv_c_inline+y}
20267 then :
20268 printf %s "(cached) " >&6
20269 else $as_nop
20270 ac_cv_c_inline=no
20271 for ac_kw in inline __inline__ __inline; do
20272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20273 /* end confdefs.h. */
20274 #ifndef __cplusplus
20275 typedef int foo_t;
20276 static $ac_kw foo_t static_foo (void) {return 0; }
20277 $ac_kw foo_t foo (void) {return 0; }
20278 #endif
20280 _ACEOF
20281 if ac_fn_c_try_compile "$LINENO"
20282 then :
20283 ac_cv_c_inline=$ac_kw
20285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20286 test "$ac_cv_c_inline" != no && break
20287 done
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20291 printf "%s\n" "$ac_cv_c_inline" >&6; }
20293 case $ac_cv_c_inline in
20294 inline | yes) ;;
20296 case $ac_cv_c_inline in
20297 no) ac_val=;;
20298 *) ac_val=$ac_cv_c_inline;;
20299 esac
20300 cat >>confdefs.h <<_ACEOF
20301 #ifndef __cplusplus
20302 #define inline $ac_val
20303 #endif
20304 _ACEOF
20306 esac
20308 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20309 #include <signal.h>
20311 if test "x$ac_cv_type_sigset_t" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20319 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20321 if test "x$ac_cv_type_request_sense" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20330 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20331 #include <sys/socket.h>
20332 #ifdef HAVE_SYS_SOCKETVAR_H
20333 #include <sys/socketvar.h>
20334 #endif
20335 #ifdef HAVE_NET_ROUTE_H
20336 #include <net/route.h>
20337 #endif
20338 #ifdef HAVE_NETINET_IN_H
20339 #include <netinet/in.h>
20340 #endif
20341 #ifdef HAVE_NETINET_IN_SYSTM_H
20342 #include <netinet/in_systm.h>
20343 #endif
20344 #ifdef HAVE_NETINET_IP_H
20345 #include <netinet/ip.h>
20346 #endif
20347 #ifdef HAVE_NETINET_IN_PCB_H
20348 #include <netinet/in_pcb.h>
20349 #endif
20351 if test "x$ac_cv_type_struct_xinpgen" = xyes
20352 then :
20354 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20361 printf %s "checking for sigaddset... " >&6; }
20362 if test ${wine_cv_have_sigaddset+y}
20363 then :
20364 printf %s "(cached) " >&6
20365 else $as_nop
20366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20367 /* end confdefs.h. */
20368 #include <signal.h>
20370 main (void)
20372 sigset_t set; sigaddset(&set,SIGTERM);
20374 return 0;
20376 _ACEOF
20377 if ac_fn_c_try_link "$LINENO"
20378 then :
20379 wine_cv_have_sigaddset=yes
20380 else $as_nop
20381 wine_cv_have_sigaddset=no
20383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20384 conftest$ac_exeext conftest.$ac_ext
20386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20387 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20388 if test "$wine_cv_have_sigaddset" = "yes"
20389 then
20391 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20397 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20398 if test ${wine_cv_linux_gethostbyname_r_6+y}
20399 then :
20400 printf %s "(cached) " >&6
20401 else $as_nop
20402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20403 /* end confdefs.h. */
20404 #include <netdb.h>
20406 main (void)
20409 char *name=0;
20410 struct hostent he;
20411 struct hostent *result;
20412 char *buf=0;
20413 int bufsize=0;
20414 int errnr;
20415 char *addr=0;
20416 int addrlen=0;
20417 int addrtype=0;
20418 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20419 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20422 return 0;
20424 _ACEOF
20425 if ac_fn_c_try_link "$LINENO"
20426 then :
20427 wine_cv_linux_gethostbyname_r_6=yes
20428 else $as_nop
20429 wine_cv_linux_gethostbyname_r_6=no
20432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20433 conftest$ac_exeext conftest.$ac_ext
20436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20437 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20438 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20439 then
20441 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20446 #include <sys/socket.h>
20447 #ifdef HAVE_SYS_UN_H
20448 # include <sys/un.h>
20449 #endif
20451 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20459 #include <sys/socket.h>
20460 #ifdef HAVE_SYS_UN_H
20461 # include <sys/un.h>
20462 #endif
20464 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20474 #ifdef HAVE_SCSI_SG_H
20475 #include <scsi/sg.h>
20476 #endif
20478 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20485 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>
20486 #ifdef HAVE_SCSI_SG_H
20487 #include <scsi/sg.h>
20488 #endif
20490 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20499 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20501 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20502 then :
20504 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20510 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20511 #ifdef HAVE_SYS_MTIO_H
20512 #include <sys/mtio.h>
20513 #endif
20515 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20516 then :
20518 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20522 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20523 #ifdef HAVE_SYS_MTIO_H
20524 #include <sys/mtio.h>
20525 #endif
20527 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20528 then :
20530 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20534 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20535 #ifdef HAVE_SYS_MTIO_H
20536 #include <sys/mtio.h>
20537 #endif
20539 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20540 then :
20542 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20548 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20549 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20550 then :
20552 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20556 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20557 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20558 then :
20560 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20564 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20565 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20573 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20574 then :
20576 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20580 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20581 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20582 then :
20584 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20588 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20589 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20590 then :
20592 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20596 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20597 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20598 then :
20600 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20604 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20605 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20606 then :
20608 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20612 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20613 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20614 then :
20616 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20620 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20621 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20622 then :
20624 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20628 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20629 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20630 then :
20632 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20638 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>
20639 #ifdef HAVE_NETINET_IN_H
20640 #include <netinet/in.h>
20641 #endif
20643 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20644 then :
20646 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20652 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
20653 #include <resolv.h>
20654 #endif
20656 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20657 then :
20659 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20665 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20666 #include <netinet/in.h>
20667 #endif
20669 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20670 then :
20672 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20678 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20679 #ifdef HAVE_SYS_SOCKETVAR_H
20680 #include <sys/socketvar.h>
20681 #endif
20682 #ifdef HAVE_NETINET_IN_H
20683 #include <netinet/in.h>
20684 #endif
20685 #ifdef HAVE_NETINET_IP_VAR_H
20686 #include <netinet/ip_var.h>
20687 #endif
20689 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20698 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
20699 #include <netinet/ip_var.h>
20700 #endif
20702 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20703 then :
20705 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20711 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20712 #ifdef HAVE_SYS_SOCKETVAR_H
20713 #include <sys/socketvar.h>
20714 #endif
20715 #ifdef HAVE_NETINET_IN_H
20716 #include <netinet/in.h>
20717 #endif
20718 #ifdef HAVE_NETINET6_IP6_VAR_H
20719 #include <netinet6/ip6_var.h>
20720 #endif
20722 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20723 then :
20725 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20731 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20732 #ifdef HAVE_SYS_SOCKETVAR_H
20733 #include <sys/socketvar.h>
20734 #endif
20735 #ifdef HAVE_NETINET_IN_H
20736 #include <netinet/in.h>
20737 #endif
20738 #ifdef HAVE_NETINET_IP_H
20739 #include <netinet/ip.h>
20740 #endif
20741 #ifdef HAVE_NETINET_IP_ICMP_H
20742 #include <netinet/ip_icmp.h>
20743 #endif
20744 #ifdef HAVE_NETINET_ICMP_VAR_H
20745 #include <netinet/icmp_var.h>
20746 #endif
20748 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20749 then :
20751 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20757 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20758 #ifdef HAVE_SYS_SOCKETVAR_H
20759 #include <sys/socketvar.h>
20760 #endif
20761 #ifdef HAVE_NETINET_IN_H
20762 #include <netinet/in.h>
20763 #endif
20764 #ifdef HAVE_NETINET_ICMP6_H
20765 #include <netinet/icmp6.h>
20766 #endif
20768 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20769 then :
20771 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20777 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20778 #ifdef HAVE_SYS_SOCKETVAR_H
20779 #include <sys/socketvar.h>
20780 #endif
20781 #ifdef HAVE_NETINET_IN_H
20782 #include <netinet/in.h>
20783 #endif
20784 #ifdef HAVE_NETINET_TCP_H
20785 #include <netinet/tcp.h>
20786 #endif
20787 #ifdef HAVE_NETINET_TCP_VAR_H
20788 #include <netinet/tcp_var.h>
20789 #endif
20791 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20792 then :
20794 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20800 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
20801 #include <netinet/tcp_var.h>
20802 #endif
20804 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20805 then :
20807 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20813 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20814 #ifdef HAVE_NETINET_IN_H
20815 #include <netinet/in.h>
20816 #endif
20817 #ifdef HAVE_NETINET_IP_VAR_H
20818 #include <netinet/ip_var.h>
20819 #endif
20820 #ifdef HAVE_NETINET_UDP_H
20821 #include <netinet/udp.h>
20822 #endif
20823 #ifdef HAVE_NETINET_UDP_VAR_H
20824 #include <netinet/udp_var.h>
20825 #endif
20827 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20828 then :
20830 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20836 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20837 #ifdef HAVE_NET_IF_H
20838 # include <net/if.h>
20839 #endif
20841 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20842 then :
20844 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20850 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20851 # include <sys/sysinfo.h>
20852 #endif
20854 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20855 then :
20857 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20861 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20862 # include <sys/sysinfo.h>
20863 #endif
20865 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20866 then :
20868 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20874 LIBS="$ac_save_LIBS"
20876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20877 printf %s "checking for __builtin_popcount... " >&6; }
20878 if test ${ac_cv_have___builtin_popcount+y}
20879 then :
20880 printf %s "(cached) " >&6
20881 else $as_nop
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20886 main (void)
20888 return __builtin_popcount(1)
20890 return 0;
20892 _ACEOF
20893 if ac_fn_c_try_link "$LINENO"
20894 then :
20895 ac_cv_have___builtin_popcount="yes"
20896 else $as_nop
20897 ac_cv_have___builtin_popcount="no"
20899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20900 conftest$ac_exeext conftest.$ac_ext
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20903 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20904 if test "$ac_cv_have___builtin_popcount" = "yes"
20905 then
20907 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20912 printf %s "checking for __clear_cache... " >&6; }
20913 if test ${ac_cv_have___clear_cache+y}
20914 then :
20915 printf %s "(cached) " >&6
20916 else $as_nop
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20921 main (void)
20923 __clear_cache((void*)0, (void*)0); return 0;
20925 return 0;
20927 _ACEOF
20928 if ac_fn_c_try_link "$LINENO"
20929 then :
20930 ac_cv_have___clear_cache="yes"
20931 else $as_nop
20932 ac_cv_have___clear_cache="no"
20934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20935 conftest$ac_exeext conftest.$ac_ext
20937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20938 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20939 if test "$ac_cv_have___clear_cache" = "yes"
20940 then
20942 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20947 case $host_cpu in
20948 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20949 printf %s "checking whether we need to define __i386__... " >&6; }
20950 if test ${ac_cv_cpp_def___i386__+y}
20951 then :
20952 printf %s "(cached) " >&6
20953 else $as_nop
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __i386__
20958 #endif
20959 _ACEOF
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev/null 2>&1
20962 then :
20963 ac_cv_cpp_def___i386__=yes
20964 else $as_nop
20965 ac_cv_cpp_def___i386__=no
20967 rm -rf conftest*
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20972 if test "x$ac_cv_cpp_def___i386__" = xyes
20973 then :
20974 CFLAGS="$CFLAGS -D__i386__"
20975 LINTFLAGS="$LINTFLAGS -D__i386__"
20976 fi ;;
20977 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20978 printf %s "checking whether we need to define __x86_64__... " >&6; }
20979 if test ${ac_cv_cpp_def___x86_64__+y}
20980 then :
20981 printf %s "(cached) " >&6
20982 else $as_nop
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20985 #ifndef __x86_64__
20987 #endif
20988 _ACEOF
20989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20990 $EGREP "yes" >/dev/null 2>&1
20991 then :
20992 ac_cv_cpp_def___x86_64__=yes
20993 else $as_nop
20994 ac_cv_cpp_def___x86_64__=no
20996 rm -rf conftest*
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21000 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21001 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21002 then :
21003 CFLAGS="$CFLAGS -D__x86_64__"
21004 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21005 fi ;;
21006 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21007 printf %s "checking whether we need to define __sparc64__... " >&6; }
21008 if test ${ac_cv_cpp_def___sparc64__+y}
21009 then :
21010 printf %s "(cached) " >&6
21011 else $as_nop
21012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21013 /* end confdefs.h. */
21014 #ifndef __sparc64__
21016 #endif
21017 _ACEOF
21018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21019 $EGREP "yes" >/dev/null 2>&1
21020 then :
21021 ac_cv_cpp_def___sparc64__=yes
21022 else $as_nop
21023 ac_cv_cpp_def___sparc64__=no
21025 rm -rf conftest*
21028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21029 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21030 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21031 then :
21032 CFLAGS="$CFLAGS -D__sparc64__"
21033 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21034 fi ;;
21035 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21036 printf %s "checking whether we need to define __sparc__... " >&6; }
21037 if test ${ac_cv_cpp_def___sparc__+y}
21038 then :
21039 printf %s "(cached) " >&6
21040 else $as_nop
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #ifndef __sparc__
21045 #endif
21046 _ACEOF
21047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21048 $EGREP "yes" >/dev/null 2>&1
21049 then :
21050 ac_cv_cpp_def___sparc__=yes
21051 else $as_nop
21052 ac_cv_cpp_def___sparc__=no
21054 rm -rf conftest*
21057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21058 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21059 if test "x$ac_cv_cpp_def___sparc__" = xyes
21060 then :
21061 CFLAGS="$CFLAGS -D__sparc__"
21062 LINTFLAGS="$LINTFLAGS -D__sparc__"
21063 fi ;;
21064 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21065 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21066 if test ${ac_cv_cpp_def___powerpc64__+y}
21067 then :
21068 printf %s "(cached) " >&6
21069 else $as_nop
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072 #ifndef __powerpc64__
21074 #endif
21075 _ACEOF
21076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21077 $EGREP "yes" >/dev/null 2>&1
21078 then :
21079 ac_cv_cpp_def___powerpc64__=yes
21080 else $as_nop
21081 ac_cv_cpp_def___powerpc64__=no
21083 rm -rf conftest*
21086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21087 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21088 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21089 then :
21090 CFLAGS="$CFLAGS -D__powerpc64__"
21091 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21092 fi ;;
21093 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21094 printf %s "checking whether we need to define __powerpc__... " >&6; }
21095 if test ${ac_cv_cpp_def___powerpc__+y}
21096 then :
21097 printf %s "(cached) " >&6
21098 else $as_nop
21099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #ifndef __powerpc__
21103 #endif
21104 _ACEOF
21105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21106 $EGREP "yes" >/dev/null 2>&1
21107 then :
21108 ac_cv_cpp_def___powerpc__=yes
21109 else $as_nop
21110 ac_cv_cpp_def___powerpc__=no
21112 rm -rf conftest*
21115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21116 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21117 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21118 then :
21119 CFLAGS="$CFLAGS -D__powerpc__"
21120 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21121 fi ;;
21122 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21123 printf %s "checking whether we need to define __aarch64__... " >&6; }
21124 if test ${ac_cv_cpp_def___aarch64__+y}
21125 then :
21126 printf %s "(cached) " >&6
21127 else $as_nop
21128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21130 #ifndef __aarch64__
21132 #endif
21133 _ACEOF
21134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21135 $EGREP "yes" >/dev/null 2>&1
21136 then :
21137 ac_cv_cpp_def___aarch64__=yes
21138 else $as_nop
21139 ac_cv_cpp_def___aarch64__=no
21141 rm -rf conftest*
21144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21145 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21146 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21147 then :
21148 CFLAGS="$CFLAGS -D__aarch64__"
21149 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21150 fi ;;
21151 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21152 printf %s "checking whether we need to define __arm__... " >&6; }
21153 if test ${ac_cv_cpp_def___arm__+y}
21154 then :
21155 printf %s "(cached) " >&6
21156 else $as_nop
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159 #ifndef __arm__
21161 #endif
21162 _ACEOF
21163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21164 $EGREP "yes" >/dev/null 2>&1
21165 then :
21166 ac_cv_cpp_def___arm__=yes
21167 else $as_nop
21168 ac_cv_cpp_def___arm__=no
21170 rm -rf conftest*
21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21174 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21175 if test "x$ac_cv_cpp_def___arm__" = xyes
21176 then :
21177 CFLAGS="$CFLAGS -D__arm__"
21178 LINTFLAGS="$LINTFLAGS -D__arm__"
21179 fi ;;
21180 esac
21182 case $host_vendor in
21183 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21184 printf %s "checking whether we need to define __sun__... " >&6; }
21185 if test ${ac_cv_cpp_def___sun__+y}
21186 then :
21187 printf %s "(cached) " >&6
21188 else $as_nop
21189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21190 /* end confdefs.h. */
21191 #ifndef __sun__
21193 #endif
21194 _ACEOF
21195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21196 $EGREP "yes" >/dev/null 2>&1
21197 then :
21198 ac_cv_cpp_def___sun__=yes
21199 else $as_nop
21200 ac_cv_cpp_def___sun__=no
21202 rm -rf conftest*
21205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21206 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21207 if test "x$ac_cv_cpp_def___sun__" = xyes
21208 then :
21209 CFLAGS="$CFLAGS -D__sun__"
21210 LINTFLAGS="$LINTFLAGS -D__sun__"
21211 fi ;;
21212 esac
21218 ac_config_commands="$ac_config_commands include/stamp-h"
21220 printf %s "creating Makefile rules..." >&6
21222 makedep_flags=""
21223 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21225 wine_srcdir=
21226 test "$srcdir" = . || wine_srcdir="$srcdir/"
21228 ac_config_links="$ac_config_links wine:tools/winewrapper"
21229 wine_fn_config_symlink wine
21230 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21231 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21232 wine_fn_config_symlink wine64
21235 wine_fn_config_makefile dlls/acledit enable_acledit
21236 wine_fn_config_makefile dlls/aclui enable_aclui
21237 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21238 wine_fn_config_makefile dlls/activeds enable_activeds
21239 wine_fn_config_makefile dlls/activeds/tests enable_tests
21240 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21241 wine_fn_config_makefile dlls/adsldp enable_adsldp
21242 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21243 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21244 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21245 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21246 wine_fn_config_makefile dlls/advpack enable_advpack
21247 wine_fn_config_makefile dlls/advpack/tests enable_tests
21248 wine_fn_config_makefile dlls/amsi enable_amsi
21249 wine_fn_config_makefile dlls/amstream enable_amstream
21250 wine_fn_config_makefile dlls/amstream/tests enable_tests
21251 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21252 wine_fn_config_makefile dlls/apphelp enable_apphelp
21253 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21254 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21255 wine_fn_config_makefile dlls/atl enable_atl
21256 wine_fn_config_makefile dlls/atl/tests enable_tests
21257 wine_fn_config_makefile dlls/atl100 enable_atl100
21258 wine_fn_config_makefile dlls/atl100/tests enable_tests
21259 wine_fn_config_makefile dlls/atl110 enable_atl110
21260 wine_fn_config_makefile dlls/atl110/tests enable_tests
21261 wine_fn_config_makefile dlls/atl80 enable_atl80
21262 wine_fn_config_makefile dlls/atl80/tests enable_tests
21263 wine_fn_config_makefile dlls/atl90 enable_atl90
21264 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21265 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21266 wine_fn_config_makefile dlls/atmlib enable_atmlib
21267 wine_fn_config_makefile dlls/authz enable_authz
21268 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21269 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21270 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21271 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21272 wine_fn_config_makefile dlls/avrt enable_avrt
21273 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21274 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21275 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21276 wine_fn_config_makefile dlls/browseui enable_browseui
21277 wine_fn_config_makefile dlls/browseui/tests enable_tests
21278 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21279 wine_fn_config_makefile dlls/cabinet enable_cabinet
21280 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21281 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21282 wine_fn_config_makefile dlls/cards enable_cards
21283 wine_fn_config_makefile dlls/cdosys enable_cdosys
21284 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21285 wine_fn_config_makefile dlls/clusapi enable_clusapi
21286 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21287 wine_fn_config_makefile dlls/combase enable_combase
21288 wine_fn_config_makefile dlls/combase/tests enable_tests
21289 wine_fn_config_makefile dlls/comcat enable_comcat
21290 wine_fn_config_makefile dlls/comcat/tests enable_tests
21291 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21292 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21293 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21294 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21295 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21296 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21297 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21298 wine_fn_config_makefile dlls/compstui enable_compstui
21299 wine_fn_config_makefile dlls/compstui/tests enable_tests
21300 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21301 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21302 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21303 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21304 wine_fn_config_makefile dlls/connect enable_connect
21305 wine_fn_config_makefile dlls/credui enable_credui
21306 wine_fn_config_makefile dlls/credui/tests enable_tests
21307 wine_fn_config_makefile dlls/crtdll enable_crtdll
21308 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21309 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21310 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21311 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21312 wine_fn_config_makefile dlls/cryptext enable_cryptext
21313 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21314 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21315 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21316 wine_fn_config_makefile dlls/cryptui enable_cryptui
21317 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21318 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21319 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21320 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21321 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21322 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21323 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21324 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21325 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21326 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21327 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21328 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21329 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21330 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21331 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21332 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21333 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21334 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21335 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21336 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21337 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21338 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21339 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21340 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21341 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21342 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21343 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21344 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21345 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21346 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21347 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21348 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21349 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21350 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21351 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21352 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21353 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21354 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21355 wine_fn_config_makefile dlls/d3dim enable_d3dim
21356 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21357 wine_fn_config_makefile dlls/d3drm enable_d3drm
21358 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21359 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21360 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21361 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21362 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21363 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21364 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21365 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21366 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21367 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21368 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21369 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21370 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21371 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21372 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21373 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21374 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21375 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21376 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21377 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21378 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21379 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21380 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21381 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21382 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21383 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21384 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21385 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21386 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21387 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21388 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21389 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21390 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21391 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21392 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21393 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21394 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21395 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21396 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21397 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21398 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21399 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21400 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21401 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21402 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21403 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21404 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21405 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21406 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21407 wine_fn_config_makefile dlls/davclnt enable_davclnt
21408 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21409 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21410 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21411 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21412 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21413 wine_fn_config_makefile dlls/dcomp enable_dcomp
21414 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21415 wine_fn_config_makefile dlls/ddraw enable_ddraw
21416 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21417 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21418 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21419 wine_fn_config_makefile dlls/devenum enable_devenum
21420 wine_fn_config_makefile dlls/devenum/tests enable_tests
21421 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21422 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21423 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21424 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21425 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21426 wine_fn_config_makefile dlls/difxapi enable_difxapi
21427 wine_fn_config_makefile dlls/dinput enable_dinput
21428 wine_fn_config_makefile dlls/dinput/tests enable_tests
21429 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21430 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21431 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21432 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21433 wine_fn_config_makefile dlls/dispex enable_dispex
21434 wine_fn_config_makefile dlls/dispex/tests enable_tests
21435 wine_fn_config_makefile dlls/display.drv16 enable_win16
21436 wine_fn_config_makefile dlls/dmband enable_dmband
21437 wine_fn_config_makefile dlls/dmband/tests enable_tests
21438 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21439 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21440 wine_fn_config_makefile dlls/dmime enable_dmime
21441 wine_fn_config_makefile dlls/dmime/tests enable_tests
21442 wine_fn_config_makefile dlls/dmloader enable_dmloader
21443 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21444 wine_fn_config_makefile dlls/dmscript enable_dmscript
21445 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21446 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21447 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21448 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21449 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21450 wine_fn_config_makefile dlls/dmusic enable_dmusic
21451 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21452 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21453 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21454 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21455 wine_fn_config_makefile dlls/dplay enable_dplay
21456 wine_fn_config_makefile dlls/dplayx enable_dplayx
21457 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21458 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21459 wine_fn_config_makefile dlls/dpnet enable_dpnet
21460 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21461 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21462 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21463 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21464 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21465 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21466 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21467 wine_fn_config_makefile dlls/drmclien enable_drmclien
21468 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21469 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21470 wine_fn_config_makefile dlls/dsound enable_dsound
21471 wine_fn_config_makefile dlls/dsound/tests enable_tests
21472 wine_fn_config_makefile dlls/dsquery enable_dsquery
21473 wine_fn_config_makefile dlls/dssenh enable_dssenh
21474 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21475 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21476 wine_fn_config_makefile dlls/dswave enable_dswave
21477 wine_fn_config_makefile dlls/dswave/tests enable_tests
21478 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21479 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21480 wine_fn_config_makefile dlls/dwrite enable_dwrite
21481 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21482 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21483 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21484 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21485 wine_fn_config_makefile dlls/dxgi enable_dxgi
21486 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21487 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21488 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21489 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21490 wine_fn_config_makefile dlls/esent enable_esent
21491 wine_fn_config_makefile dlls/evr enable_evr
21492 wine_fn_config_makefile dlls/evr/tests enable_tests
21493 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21494 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21495 wine_fn_config_makefile dlls/faultrep enable_faultrep
21496 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21497 wine_fn_config_makefile dlls/feclient enable_feclient
21498 wine_fn_config_makefile dlls/fltlib enable_fltlib
21499 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21500 wine_fn_config_makefile dlls/fntcache enable_fntcache
21501 wine_fn_config_makefile dlls/fontsub enable_fontsub
21502 wine_fn_config_makefile dlls/fusion enable_fusion
21503 wine_fn_config_makefile dlls/fusion/tests enable_tests
21504 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21505 wine_fn_config_makefile dlls/gameux enable_gameux
21506 wine_fn_config_makefile dlls/gameux/tests enable_tests
21507 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21508 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21509 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21510 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21511 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21512 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21513 wine_fn_config_makefile dlls/glu32 enable_glu32
21514 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21515 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21516 wine_fn_config_makefile dlls/hal enable_hal
21517 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21518 wine_fn_config_makefile dlls/hid enable_hid
21519 wine_fn_config_makefile dlls/hid/tests enable_tests
21520 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21521 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21522 wine_fn_config_makefile dlls/hlink enable_hlink
21523 wine_fn_config_makefile dlls/hlink/tests enable_tests
21524 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21525 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21526 wine_fn_config_makefile dlls/http.sys enable_http_sys
21527 wine_fn_config_makefile dlls/httpapi enable_httpapi
21528 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21529 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21530 wine_fn_config_makefile dlls/iccvid enable_iccvid
21531 wine_fn_config_makefile dlls/icmp enable_icmp
21532 wine_fn_config_makefile dlls/ieframe enable_ieframe
21533 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21534 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21535 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21536 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21537 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21538 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21539 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21540 wine_fn_config_makefile dlls/imm32 enable_imm32
21541 wine_fn_config_makefile dlls/imm32/tests enable_tests
21542 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21543 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21544 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21545 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21546 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21547 wine_fn_config_makefile dlls/infosoft enable_infosoft
21548 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21549 wine_fn_config_makefile dlls/initpki enable_initpki
21550 wine_fn_config_makefile dlls/inkobj enable_inkobj
21551 wine_fn_config_makefile dlls/inseng enable_inseng
21552 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21553 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21554 wine_fn_config_makefile dlls/iprop enable_iprop
21555 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21556 wine_fn_config_makefile dlls/itircl enable_itircl
21557 wine_fn_config_makefile dlls/itss enable_itss
21558 wine_fn_config_makefile dlls/itss/tests enable_tests
21559 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21560 wine_fn_config_makefile dlls/jscript enable_jscript
21561 wine_fn_config_makefile dlls/jscript/tests enable_tests
21562 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21563 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21564 wine_fn_config_makefile dlls/kerberos enable_kerberos
21565 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21566 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21567 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21568 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21569 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21570 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21571 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21572 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21573 wine_fn_config_makefile dlls/ksuser enable_ksuser
21574 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21575 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21576 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21577 wine_fn_config_makefile dlls/loadperf enable_loadperf
21578 wine_fn_config_makefile dlls/localspl enable_localspl
21579 wine_fn_config_makefile dlls/localspl/tests enable_tests
21580 wine_fn_config_makefile dlls/localui enable_localui
21581 wine_fn_config_makefile dlls/localui/tests enable_tests
21582 wine_fn_config_makefile dlls/lz32 enable_lz32
21583 wine_fn_config_makefile dlls/lz32/tests enable_tests
21584 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21585 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21586 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21587 wine_fn_config_makefile dlls/mapistub enable_mapistub
21588 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21589 wine_fn_config_makefile dlls/mcicda enable_mcicda
21590 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21591 wine_fn_config_makefile dlls/mciseq enable_mciseq
21592 wine_fn_config_makefile dlls/mciwave enable_mciwave
21593 wine_fn_config_makefile dlls/mf enable_mf
21594 wine_fn_config_makefile dlls/mf/tests enable_tests
21595 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21596 wine_fn_config_makefile dlls/mferror enable_mferror
21597 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21598 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21599 wine_fn_config_makefile dlls/mfplat enable_mfplat
21600 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21601 wine_fn_config_makefile dlls/mfplay enable_mfplay
21602 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21603 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21604 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21605 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21606 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21607 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21608 wine_fn_config_makefile dlls/midimap enable_midimap
21609 wine_fn_config_makefile dlls/mlang enable_mlang
21610 wine_fn_config_makefile dlls/mlang/tests enable_tests
21611 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21612 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21613 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21614 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21615 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21616 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21617 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21618 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21619 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21620 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21621 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21622 wine_fn_config_makefile dlls/mpr enable_mpr
21623 wine_fn_config_makefile dlls/mpr/tests enable_tests
21624 wine_fn_config_makefile dlls/mprapi enable_mprapi
21625 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21626 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21627 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21628 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21629 wine_fn_config_makefile dlls/msado15 enable_msado15
21630 wine_fn_config_makefile dlls/msado15/tests enable_tests
21631 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21632 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21633 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21634 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21635 wine_fn_config_makefile dlls/mscms enable_mscms
21636 wine_fn_config_makefile dlls/mscms/tests enable_tests
21637 wine_fn_config_makefile dlls/mscoree enable_mscoree
21638 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21639 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21640 wine_fn_config_makefile dlls/msctf enable_msctf
21641 wine_fn_config_makefile dlls/msctf/tests enable_tests
21642 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21643 wine_fn_config_makefile dlls/msctfp enable_msctfp
21644 wine_fn_config_makefile dlls/msdaps enable_msdaps
21645 wine_fn_config_makefile dlls/msdasql enable_msdasql
21646 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21647 wine_fn_config_makefile dlls/msdelta enable_msdelta
21648 wine_fn_config_makefile dlls/msdmo enable_msdmo
21649 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21650 wine_fn_config_makefile dlls/msdrm enable_msdrm
21651 wine_fn_config_makefile dlls/msftedit enable_msftedit
21652 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21653 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21654 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21655 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21656 wine_fn_config_makefile dlls/mshtml enable_mshtml
21657 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21658 wine_fn_config_makefile dlls/msi enable_msi
21659 wine_fn_config_makefile dlls/msi/tests enable_tests
21660 wine_fn_config_makefile dlls/msident enable_msident
21661 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21662 wine_fn_config_makefile dlls/msimsg enable_msimsg
21663 wine_fn_config_makefile dlls/msimtf enable_msimtf
21664 wine_fn_config_makefile dlls/msisip enable_msisip
21665 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21666 wine_fn_config_makefile dlls/msls31 enable_msls31
21667 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21668 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21669 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21670 wine_fn_config_makefile dlls/msports enable_msports
21671 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21672 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21673 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21674 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21675 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21676 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21677 wine_fn_config_makefile dlls/mstask enable_mstask
21678 wine_fn_config_makefile dlls/mstask/tests enable_tests
21679 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21680 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21681 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21682 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21683 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21684 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21685 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21686 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21687 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21688 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21689 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21690 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21691 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21692 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21693 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21694 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21695 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21696 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21697 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21698 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21699 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21700 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21701 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21702 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21703 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21704 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21705 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21706 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21707 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21708 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21709 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21710 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21711 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21712 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21713 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21714 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21715 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21716 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21717 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21718 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21719 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21720 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21721 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21722 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21723 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21724 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21725 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21726 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21727 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21728 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21729 wine_fn_config_makefile dlls/mswsock enable_mswsock
21730 wine_fn_config_makefile dlls/msxml enable_msxml
21731 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21732 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21733 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21734 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21735 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21736 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21737 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21738 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21739 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21740 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21741 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21742 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21743 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21744 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21745 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21746 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21747 wine_fn_config_makefile dlls/netprofm enable_netprofm
21748 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21749 wine_fn_config_makefile dlls/netutils enable_netutils
21750 wine_fn_config_makefile dlls/newdev enable_newdev
21751 wine_fn_config_makefile dlls/ninput enable_ninput
21752 wine_fn_config_makefile dlls/ninput/tests enable_tests
21753 wine_fn_config_makefile dlls/normaliz enable_normaliz
21754 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21755 wine_fn_config_makefile dlls/npptools enable_npptools
21756 wine_fn_config_makefile dlls/nsi enable_nsi
21757 wine_fn_config_makefile dlls/nsi/tests enable_tests
21758 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21759 wine_fn_config_makefile dlls/ntdll enable_ntdll
21760 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21761 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21762 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21763 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21764 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21765 wine_fn_config_makefile dlls/ntprint enable_ntprint
21766 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21767 wine_fn_config_makefile dlls/objsel enable_objsel
21768 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21769 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21770 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21771 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21772 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21773 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21774 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21775 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21776 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21777 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21778 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21779 wine_fn_config_makefile dlls/ole32 enable_ole32
21780 wine_fn_config_makefile dlls/ole32/tests enable_tests
21781 wine_fn_config_makefile dlls/oleacc enable_oleacc
21782 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21783 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21784 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21785 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21786 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21787 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21788 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21789 wine_fn_config_makefile dlls/oledlg enable_oledlg
21790 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21791 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21792 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21793 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21794 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21795 wine_fn_config_makefile dlls/opcservices enable_opcservices
21796 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21797 wine_fn_config_makefile dlls/openal32 enable_openal32
21798 wine_fn_config_makefile dlls/opencl enable_opencl
21799 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21800 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21801 wine_fn_config_makefile dlls/packager enable_packager
21802 wine_fn_config_makefile dlls/packager/tests enable_tests
21803 wine_fn_config_makefile dlls/pdh enable_pdh
21804 wine_fn_config_makefile dlls/pdh/tests enable_tests
21805 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21806 wine_fn_config_makefile dlls/pidgen enable_pidgen
21807 wine_fn_config_makefile dlls/powrprof enable_powrprof
21808 wine_fn_config_makefile dlls/printui enable_printui
21809 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21810 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21811 wine_fn_config_makefile dlls/propsys enable_propsys
21812 wine_fn_config_makefile dlls/propsys/tests enable_tests
21813 wine_fn_config_makefile dlls/psapi enable_psapi
21814 wine_fn_config_makefile dlls/psapi/tests enable_tests
21815 wine_fn_config_makefile dlls/pstorec enable_pstorec
21816 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21817 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21818 wine_fn_config_makefile dlls/qasf enable_qasf
21819 wine_fn_config_makefile dlls/qasf/tests enable_tests
21820 wine_fn_config_makefile dlls/qcap enable_qcap
21821 wine_fn_config_makefile dlls/qcap/tests enable_tests
21822 wine_fn_config_makefile dlls/qdvd enable_qdvd
21823 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21824 wine_fn_config_makefile dlls/qedit enable_qedit
21825 wine_fn_config_makefile dlls/qedit/tests enable_tests
21826 wine_fn_config_makefile dlls/qmgr enable_qmgr
21827 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21828 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21829 wine_fn_config_makefile dlls/quartz enable_quartz
21830 wine_fn_config_makefile dlls/quartz/tests enable_tests
21831 wine_fn_config_makefile dlls/query enable_query
21832 wine_fn_config_makefile dlls/qwave enable_qwave
21833 wine_fn_config_makefile dlls/qwave/tests enable_tests
21834 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21835 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21836 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21837 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21838 wine_fn_config_makefile dlls/regapi enable_regapi
21839 wine_fn_config_makefile dlls/resutils enable_resutils
21840 wine_fn_config_makefile dlls/riched20 enable_riched20
21841 wine_fn_config_makefile dlls/riched20/tests enable_tests
21842 wine_fn_config_makefile dlls/riched32 enable_riched32
21843 wine_fn_config_makefile dlls/riched32/tests enable_tests
21844 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21845 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21846 wine_fn_config_makefile dlls/rsabase enable_rsabase
21847 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21848 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21849 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21850 wine_fn_config_makefile dlls/rtutils enable_rtutils
21851 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21852 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21853 wine_fn_config_makefile dlls/samlib enable_samlib
21854 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21855 wine_fn_config_makefile dlls/sapi enable_sapi
21856 wine_fn_config_makefile dlls/sapi/tests enable_tests
21857 wine_fn_config_makefile dlls/sas enable_sas
21858 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21859 wine_fn_config_makefile dlls/sccbase enable_sccbase
21860 wine_fn_config_makefile dlls/schannel enable_schannel
21861 wine_fn_config_makefile dlls/schannel/tests enable_tests
21862 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21863 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21864 wine_fn_config_makefile dlls/scrobj enable_scrobj
21865 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21866 wine_fn_config_makefile dlls/scrrun enable_scrrun
21867 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21868 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21869 wine_fn_config_makefile dlls/sechost enable_sechost
21870 wine_fn_config_makefile dlls/secur32 enable_secur32
21871 wine_fn_config_makefile dlls/secur32/tests enable_tests
21872 wine_fn_config_makefile dlls/security enable_security
21873 wine_fn_config_makefile dlls/sensapi enable_sensapi
21874 wine_fn_config_makefile dlls/serialui enable_serialui
21875 wine_fn_config_makefile dlls/serialui/tests enable_tests
21876 wine_fn_config_makefile dlls/setupapi enable_setupapi
21877 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21878 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21879 wine_fn_config_makefile dlls/sfc enable_sfc
21880 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21881 wine_fn_config_makefile dlls/shcore enable_shcore
21882 wine_fn_config_makefile dlls/shcore/tests enable_tests
21883 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21884 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21885 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21886 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21887 wine_fn_config_makefile dlls/shell32 enable_shell32
21888 wine_fn_config_makefile dlls/shell32/tests enable_tests
21889 wine_fn_config_makefile dlls/shfolder enable_shfolder
21890 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21891 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21892 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21893 wine_fn_config_makefile dlls/slc enable_slc
21894 wine_fn_config_makefile dlls/slc/tests enable_tests
21895 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21896 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21897 wine_fn_config_makefile dlls/softpub enable_softpub
21898 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21899 wine_fn_config_makefile dlls/spoolss enable_spoolss
21900 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21901 wine_fn_config_makefile dlls/sppc enable_sppc
21902 wine_fn_config_makefile dlls/srclient enable_srclient
21903 wine_fn_config_makefile dlls/srvcli enable_srvcli
21904 wine_fn_config_makefile dlls/sspicli enable_sspicli
21905 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21906 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21907 wine_fn_config_makefile dlls/sti enable_sti
21908 wine_fn_config_makefile dlls/sti/tests enable_tests
21909 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21910 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21911 wine_fn_config_makefile dlls/strmdll enable_strmdll
21912 wine_fn_config_makefile dlls/svrapi enable_svrapi
21913 wine_fn_config_makefile dlls/sxs enable_sxs
21914 wine_fn_config_makefile dlls/sxs/tests enable_tests
21915 wine_fn_config_makefile dlls/system.drv16 enable_win16
21916 wine_fn_config_makefile dlls/t2embed enable_t2embed
21917 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21918 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21919 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21920 wine_fn_config_makefile dlls/taskschd enable_taskschd
21921 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21922 wine_fn_config_makefile dlls/tbs enable_tbs
21923 wine_fn_config_makefile dlls/tdh enable_tdh
21924 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21925 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21926 wine_fn_config_makefile dlls/traffic enable_traffic
21927 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21928 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21929 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21930 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21931 wine_fn_config_makefile dlls/tzres enable_tzres
21932 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21933 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21934 wine_fn_config_makefile dlls/uianimation enable_uianimation
21935 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21936 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21937 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21938 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21939 wine_fn_config_makefile dlls/unicows enable_unicows
21940 wine_fn_config_makefile dlls/updspapi enable_updspapi
21941 wine_fn_config_makefile dlls/url enable_url
21942 wine_fn_config_makefile dlls/urlmon enable_urlmon
21943 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21944 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21945 wine_fn_config_makefile dlls/user.exe16 enable_win16
21946 wine_fn_config_makefile dlls/user32 enable_user32
21947 wine_fn_config_makefile dlls/user32/tests enable_tests
21948 wine_fn_config_makefile dlls/userenv enable_userenv
21949 wine_fn_config_makefile dlls/userenv/tests enable_tests
21950 wine_fn_config_makefile dlls/usp10 enable_usp10
21951 wine_fn_config_makefile dlls/usp10/tests enable_tests
21952 wine_fn_config_makefile dlls/utildll enable_utildll
21953 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21954 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21955 wine_fn_config_makefile dlls/vbscript enable_vbscript
21956 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21957 wine_fn_config_makefile dlls/vcomp enable_vcomp
21958 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21959 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21960 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21961 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21962 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21963 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21964 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21965 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21966 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21967 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21968 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21969 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21970 wine_fn_config_makefile dlls/version enable_version
21971 wine_fn_config_makefile dlls/version/tests enable_tests
21972 wine_fn_config_makefile dlls/vga enable_vga
21973 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21974 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21975 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21976 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21977 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21978 wine_fn_config_makefile dlls/vssapi enable_vssapi
21979 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21980 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21981 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21982 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21983 wine_fn_config_makefile dlls/w32skrnl enable_win16
21984 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21985 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21986 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21987 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21988 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21989 wine_fn_config_makefile dlls/wdscore enable_wdscore
21990 wine_fn_config_makefile dlls/webservices enable_webservices
21991 wine_fn_config_makefile dlls/webservices/tests enable_tests
21992 wine_fn_config_makefile dlls/websocket enable_websocket
21993 wine_fn_config_makefile dlls/wer enable_wer
21994 wine_fn_config_makefile dlls/wer/tests enable_tests
21995 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21996 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21997 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21998 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21999 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22000 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22001 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22002 wine_fn_config_makefile dlls/win32u enable_win32u
22003 wine_fn_config_makefile dlls/win32u/tests enable_tests
22004 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22005 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22006 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22007 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22008 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22009 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22010 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22011 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22012 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22013 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22014 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22015 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22016 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22017 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22018 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22019 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22020 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22021 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22022 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22023 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22024 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22025 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22026 wine_fn_config_makefile dlls/wined3d enable_wined3d
22027 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22028 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22029 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22030 wine_fn_config_makefile dlls/winemapi enable_winemapi
22031 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22032 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22033 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22034 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22035 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22036 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22037 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22038 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22039 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22040 wine_fn_config_makefile dlls/wing32 enable_wing32
22041 wine_fn_config_makefile dlls/winhttp enable_winhttp
22042 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22043 wine_fn_config_makefile dlls/wininet enable_wininet
22044 wine_fn_config_makefile dlls/wininet/tests enable_tests
22045 wine_fn_config_makefile dlls/winmm enable_winmm
22046 wine_fn_config_makefile dlls/winmm/tests enable_tests
22047 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22048 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22049 wine_fn_config_makefile dlls/winscard enable_winscard
22050 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22051 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22052 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22053 wine_fn_config_makefile dlls/winsta enable_winsta
22054 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22055 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22056 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22057 wine_fn_config_makefile dlls/wintrust enable_wintrust
22058 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22059 wine_fn_config_makefile dlls/wintypes enable_wintypes
22060 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22061 wine_fn_config_makefile dlls/winusb enable_winusb
22062 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22063 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22064 wine_fn_config_makefile dlls/wlanui enable_wlanui
22065 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22066 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22067 wine_fn_config_makefile dlls/wmasf enable_wmasf
22068 wine_fn_config_makefile dlls/wmi enable_wmi
22069 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22070 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22071 wine_fn_config_makefile dlls/wmp enable_wmp
22072 wine_fn_config_makefile dlls/wmp/tests enable_tests
22073 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22074 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22075 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22076 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22077 wine_fn_config_makefile dlls/wow32 enable_win16
22078 wine_fn_config_makefile dlls/wow64 enable_wow64
22079 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22080 wine_fn_config_makefile dlls/wow64win enable_wow64win
22081 wine_fn_config_makefile dlls/wpc enable_wpc
22082 wine_fn_config_makefile dlls/wpc/tests enable_tests
22083 wine_fn_config_makefile dlls/wpcap enable_wpcap
22084 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22085 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22086 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22087 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22088 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22089 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22090 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22091 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22092 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22093 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22094 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22095 wine_fn_config_makefile dlls/wuapi enable_wuapi
22096 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22097 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22098 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22099 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22100 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22101 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22102 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22103 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22104 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22105 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22106 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22107 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22108 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22109 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22110 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22111 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22112 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22113 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22114 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22115 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22116 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22117 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22118 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22119 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22120 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22121 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22122 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22123 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22124 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22125 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22126 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22127 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22128 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22129 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22130 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22131 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22132 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22133 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22134 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22135 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22136 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22137 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22138 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22139 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22140 wine_fn_config_makefile dlls/xmllite enable_xmllite
22141 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22142 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22143 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22144 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22145 wine_fn_config_makefile fonts enable_fonts
22146 wine_fn_config_makefile include enable_include
22147 wine_fn_config_makefile libs/adsiid enable_adsiid
22148 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22149 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22150 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22151 wine_fn_config_makefile libs/dxguid enable_dxguid
22152 wine_fn_config_makefile libs/faudio enable_faudio
22153 wine_fn_config_makefile libs/gsm enable_gsm
22154 wine_fn_config_makefile libs/jpeg enable_jpeg
22155 wine_fn_config_makefile libs/jxr enable_jxr
22156 wine_fn_config_makefile libs/lcms2 enable_lcms2
22157 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22158 wine_fn_config_makefile libs/mpg123 enable_mpg123
22159 wine_fn_config_makefile libs/png enable_png
22160 wine_fn_config_makefile libs/strmbase enable_strmbase
22161 wine_fn_config_makefile libs/strmiids enable_strmiids
22162 wine_fn_config_makefile libs/tiff enable_tiff
22163 wine_fn_config_makefile libs/uuid enable_uuid
22164 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22165 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22166 wine_fn_config_makefile libs/wine enable_wine
22167 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22168 wine_fn_config_makefile libs/xml2 enable_xml2
22169 wine_fn_config_makefile libs/xslt enable_xslt
22170 wine_fn_config_makefile libs/zlib enable_zlib
22171 wine_fn_config_makefile loader enable_loader
22172 wine_fn_config_makefile nls enable_nls
22173 wine_fn_config_makefile po enable_po
22174 wine_fn_config_makefile programs/arp enable_arp
22175 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22176 wine_fn_config_makefile programs/attrib enable_attrib
22177 wine_fn_config_makefile programs/cabarc enable_cabarc
22178 wine_fn_config_makefile programs/cacls enable_cacls
22179 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22180 wine_fn_config_makefile programs/clock enable_clock
22181 wine_fn_config_makefile programs/cmd enable_cmd
22182 wine_fn_config_makefile programs/cmd/tests enable_tests
22183 wine_fn_config_makefile programs/conhost enable_conhost
22184 wine_fn_config_makefile programs/conhost/tests enable_tests
22185 wine_fn_config_makefile programs/control enable_control
22186 wine_fn_config_makefile programs/cscript enable_cscript
22187 wine_fn_config_makefile programs/dism enable_dism
22188 wine_fn_config_makefile programs/dllhost enable_dllhost
22189 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22190 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22191 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22192 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22193 wine_fn_config_makefile programs/eject enable_eject
22194 wine_fn_config_makefile programs/expand enable_expand
22195 wine_fn_config_makefile programs/explorer enable_explorer
22196 wine_fn_config_makefile programs/extrac32 enable_extrac32
22197 wine_fn_config_makefile programs/fc enable_fc
22198 wine_fn_config_makefile programs/find enable_find
22199 wine_fn_config_makefile programs/find/tests enable_tests
22200 wine_fn_config_makefile programs/findstr enable_findstr
22201 wine_fn_config_makefile programs/fsutil enable_fsutil
22202 wine_fn_config_makefile programs/fsutil/tests enable_tests
22203 wine_fn_config_makefile programs/hh enable_hh
22204 wine_fn_config_makefile programs/hostname enable_hostname
22205 wine_fn_config_makefile programs/icacls enable_icacls
22206 wine_fn_config_makefile programs/icinfo enable_icinfo
22207 wine_fn_config_makefile programs/iexplore enable_iexplore
22208 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22209 wine_fn_config_makefile programs/lodctr enable_lodctr
22210 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22211 wine_fn_config_makefile programs/mshta enable_mshta
22212 wine_fn_config_makefile programs/msidb enable_msidb
22213 wine_fn_config_makefile programs/msiexec enable_msiexec
22214 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22215 wine_fn_config_makefile programs/net enable_net
22216 wine_fn_config_makefile programs/netsh enable_netsh
22217 wine_fn_config_makefile programs/netstat enable_netstat
22218 wine_fn_config_makefile programs/ngen enable_ngen
22219 wine_fn_config_makefile programs/notepad enable_notepad
22220 wine_fn_config_makefile programs/oleview enable_oleview
22221 wine_fn_config_makefile programs/ping enable_ping
22222 wine_fn_config_makefile programs/plugplay enable_plugplay
22223 wine_fn_config_makefile programs/powershell enable_powershell
22224 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22225 wine_fn_config_makefile programs/progman enable_progman
22226 wine_fn_config_makefile programs/reg enable_reg
22227 wine_fn_config_makefile programs/reg/tests enable_tests
22228 wine_fn_config_makefile programs/regasm enable_regasm
22229 wine_fn_config_makefile programs/regedit enable_regedit
22230 wine_fn_config_makefile programs/regedit/tests enable_tests
22231 wine_fn_config_makefile programs/regini enable_regini
22232 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22233 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22234 wine_fn_config_makefile programs/robocopy enable_robocopy
22235 wine_fn_config_makefile programs/rpcss enable_rpcss
22236 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22237 wine_fn_config_makefile programs/rundll32 enable_rundll32
22238 wine_fn_config_makefile programs/sc enable_sc
22239 wine_fn_config_makefile programs/sc/tests enable_tests
22240 wine_fn_config_makefile programs/schtasks enable_schtasks
22241 wine_fn_config_makefile programs/schtasks/tests enable_tests
22242 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22243 wine_fn_config_makefile programs/secedit enable_secedit
22244 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22245 wine_fn_config_makefile programs/services enable_services
22246 wine_fn_config_makefile programs/services/tests enable_tests
22247 wine_fn_config_makefile programs/shutdown enable_shutdown
22248 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22249 wine_fn_config_makefile programs/start enable_start
22250 wine_fn_config_makefile programs/subst enable_subst
22251 wine_fn_config_makefile programs/svchost enable_svchost
22252 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22253 wine_fn_config_makefile programs/taskkill enable_taskkill
22254 wine_fn_config_makefile programs/tasklist enable_tasklist
22255 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22256 wine_fn_config_makefile programs/termsv enable_termsv
22257 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22258 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22259 wine_fn_config_makefile programs/view enable_view
22260 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22261 wine_fn_config_makefile programs/where enable_where
22262 wine_fn_config_makefile programs/whoami enable_whoami
22263 wine_fn_config_makefile programs/wineboot enable_wineboot
22264 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22265 wine_fn_config_makefile programs/winecfg enable_winecfg
22266 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22267 wine_fn_config_makefile programs/winedbg enable_winedbg
22268 wine_fn_config_makefile programs/winedevice enable_winedevice
22269 wine_fn_config_makefile programs/winefile enable_winefile
22270 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22271 wine_fn_config_makefile programs/winemine enable_winemine
22272 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22273 wine_fn_config_makefile programs/winepath enable_winepath
22274 wine_fn_config_makefile programs/winetest enable_winetest
22275 wine_fn_config_makefile programs/winevdm enable_win16
22276 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22277 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22278 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22279 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22280 wine_fn_config_makefile programs/winver enable_winver
22281 wine_fn_config_makefile programs/wmic enable_wmic
22282 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22283 wine_fn_config_makefile programs/wordpad enable_wordpad
22284 wine_fn_config_makefile programs/write enable_write
22285 wine_fn_config_makefile programs/wscript enable_wscript
22286 wine_fn_config_makefile programs/wscript/tests enable_tests
22287 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22288 wine_fn_config_makefile programs/wusa enable_wusa
22289 wine_fn_config_makefile programs/xcopy enable_xcopy
22290 wine_fn_config_makefile programs/xcopy/tests enable_tests
22291 wine_fn_config_makefile server enable_server
22292 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22293 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22294 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22295 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22296 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22297 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22298 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22299 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22300 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22303 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22304 wine_fn_append_file CONFIGURE_TARGETS "tags"
22305 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22306 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22307 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22308 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22309 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22310 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22312 if test "x$enable_tools" != xno
22313 then
22314 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22315 ac_config_commands="$ac_config_commands tools/makedep"
22319 ac_config_commands="$ac_config_commands Makefile"
22323 SHELL=/bin/sh
22326 wine_fn_append_rule "all: wine
22327 @echo \"Wine build complete.\"
22328 .INIT: Makefile
22329 .MAKEFILEDEPS:
22330 all: Makefile
22331 Makefile: config.status \$(MAKEDEP)
22332 @./config.status Makefile
22333 depend: \$(MAKEDEP)
22334 \$(MAKEDEP)$makedep_flags"
22337 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22338 @./config.status --recheck
22339 include/config.h: include/stamp-h
22340 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22341 @./config.status include/config.h include/stamp-h"
22343 if test "x$enable_maintainer_mode" = xyes
22344 then
22345 wine_fn_append_rule "configure: configure.ac aclocal.m4
22346 autoconf --warnings=all
22347 include/config.h.in: include/stamp-h.in
22348 include/stamp-h.in: configure.ac aclocal.m4
22349 autoheader --warnings=all
22350 @echo timestamp > \$@"
22353 if test "x$enable_tools" != xno
22354 then
22355 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22356 @./config.status tools/makedep
22357 Makefile: tools/makedep$ac_exeext"
22358 else
22359 wine_fn_append_rule "\$(MAKEDEP):
22360 @echo \"You need to run make in $toolsdir first\" && false"
22364 if test -n "$with_wine64"
22365 then
22366 case "$with_wine64" in
22367 /*) reldir="" ;;
22368 *) reldir="../" ;;
22369 esac
22370 rm -f fonts server 2>/dev/null
22371 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22372 loader/wine64 loader/wine64-preloader:
22373 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22374 $with_wine64/loader/wine:
22375 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22376 $with_wine64/loader/wine-preloader:
22377 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22378 clean::
22379 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22380 else
22381 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22382 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22383 fonts \
22384 loader/wine.inf \
22385 nls \
22386 programs/msidb/msidb \
22387 programs/msiexec/msiexec \
22388 programs/notepad/notepad \
22389 programs/regedit/regedit \
22390 programs/regsvr32/regsvr32 \
22391 programs/wineboot/wineboot \
22392 programs/winecfg/winecfg \
22393 programs/wineconsole/wineconsole \
22394 programs/winedbg/winedbg \
22395 programs/winefile/winefile \
22396 programs/winemine/winemine \
22397 programs/winepath/winepath \
22398 server/wineserver"
22400 case $host_os in
22401 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22402 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22403 esac
22407 wine_fn_append_rule "distclean:: clean
22408 rm -rf autom4te.cache
22409 maintainer-clean::
22410 rm -f configure include/config.h.in"
22413 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22414 @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)
22415 programs/winetest/build.rc: dummy
22416 @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)
22417 programs/winetest/build.nfo:
22418 @-\$(CC) -v 2>\$@
22419 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
22420 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22421 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22424 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22426 wine_fn_append_rule "TAGS etags:
22427 rm -f TAGS
22428 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22429 tags ctags:
22430 rm -f tags
22431 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22432 dummy:
22433 .PHONY: depend dummy install-manpages"
22435 printf "%s\n" " done" >&6
22436 cat >confcache <<\_ACEOF
22437 # This file is a shell script that caches the results of configure
22438 # tests run on this system so they can be shared between configure
22439 # scripts and configure runs, see configure's option --config-cache.
22440 # It is not useful on other systems. If it contains results you don't
22441 # want to keep, you may remove or edit it.
22443 # config.status only pays attention to the cache file if you give it
22444 # the --recheck option to rerun configure.
22446 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22447 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22448 # following values.
22450 _ACEOF
22452 # The following way of writing the cache mishandles newlines in values,
22453 # but we know of no workaround that is simple, portable, and efficient.
22454 # So, we kill variables containing newlines.
22455 # Ultrix sh set writes to stderr and can't be redirected directly,
22456 # and sets the high bit in the cache file unless we assign to the vars.
22458 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22459 eval ac_val=\$$ac_var
22460 case $ac_val in #(
22461 *${as_nl}*)
22462 case $ac_var in #(
22463 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22464 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22465 esac
22466 case $ac_var in #(
22467 _ | IFS | as_nl) ;; #(
22468 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22469 *) { eval $ac_var=; unset $ac_var;} ;;
22470 esac ;;
22471 esac
22472 done
22474 (set) 2>&1 |
22475 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22476 *${as_nl}ac_space=\ *)
22477 # `set' does not quote correctly, so add quotes: double-quote
22478 # substitution turns \\\\ into \\, and sed turns \\ into \.
22479 sed -n \
22480 "s/'/'\\\\''/g;
22481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22482 ;; #(
22484 # `set' quotes correctly as required by POSIX, so do not add quotes.
22485 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22487 esac |
22488 sort
22490 sed '
22491 /^ac_cv_env_/b end
22492 t clear
22493 :clear
22494 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22495 t end
22496 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22497 :end' >>confcache
22498 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22499 if test -w "$cache_file"; then
22500 if test "x$cache_file" != "x/dev/null"; then
22501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22502 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22503 if test ! -f "$cache_file" || test -h "$cache_file"; then
22504 cat confcache >"$cache_file"
22505 else
22506 case $cache_file in #(
22507 */* | ?:*)
22508 mv -f confcache "$cache_file"$$ &&
22509 mv -f "$cache_file"$$ "$cache_file" ;; #(
22511 mv -f confcache "$cache_file" ;;
22512 esac
22515 else
22516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22517 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22520 rm -f confcache
22522 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22523 # Let make expand exec_prefix.
22524 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22526 DEFS=-DHAVE_CONFIG_H
22528 ac_libobjs=
22529 ac_ltlibobjs=
22531 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22532 # 1. Remove the extension, and $U if already installed.
22533 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22534 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22536 # will be set to the directory where LIBOBJS objects are built.
22537 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22538 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22539 done
22540 LIBOBJS=$ac_libobjs
22542 LTLIBOBJS=$ac_ltlibobjs
22546 : "${CONFIG_STATUS=./config.status}"
22547 ac_write_fail=0
22548 ac_clean_files_save=$ac_clean_files
22549 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22551 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22552 as_write_fail=0
22553 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22554 #! $SHELL
22555 # Generated by $as_me.
22556 # Run this file to recreate the current configuration.
22557 # Compiler output produced by configure, useful for debugging
22558 # configure, is in config.log if it exists.
22560 debug=false
22561 ac_cs_recheck=false
22562 ac_cs_silent=false
22564 SHELL=\${CONFIG_SHELL-$SHELL}
22565 export SHELL
22566 _ASEOF
22567 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22568 ## -------------------- ##
22569 ## M4sh Initialization. ##
22570 ## -------------------- ##
22572 # Be more Bourne compatible
22573 DUALCASE=1; export DUALCASE # for MKS sh
22574 as_nop=:
22575 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22576 then :
22577 emulate sh
22578 NULLCMD=:
22579 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22580 # is contrary to our usage. Disable this feature.
22581 alias -g '${1+"$@"}'='"$@"'
22582 setopt NO_GLOB_SUBST
22583 else $as_nop
22584 case `(set -o) 2>/dev/null` in #(
22585 *posix*) :
22586 set -o posix ;; #(
22587 *) :
22589 esac
22594 # Reset variables that may have inherited troublesome values from
22595 # the environment.
22597 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22598 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22599 # side effect of setting IFS to empty, thus disabling word splitting.)
22600 # Quoting is to prevent editors from complaining about space-tab.
22601 as_nl='
22603 export as_nl
22604 IFS=" "" $as_nl"
22606 PS1='$ '
22607 PS2='> '
22608 PS4='+ '
22610 # Ensure predictable behavior from utilities with locale-dependent output.
22611 LC_ALL=C
22612 export LC_ALL
22613 LANGUAGE=C
22614 export LANGUAGE
22616 # We cannot yet rely on "unset" to work, but we need these variables
22617 # to be unset--not just set to an empty or harmless value--now, to
22618 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22619 # also avoids known problems related to "unset" and subshell syntax
22620 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22621 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22622 do eval test \${$as_var+y} \
22623 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22624 done
22626 # Ensure that fds 0, 1, and 2 are open.
22627 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22628 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22629 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22631 # The user is always right.
22632 if ${PATH_SEPARATOR+false} :; then
22633 PATH_SEPARATOR=:
22634 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22635 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22636 PATH_SEPARATOR=';'
22641 # Find who we are. Look in the path if we contain no directory separator.
22642 as_myself=
22643 case $0 in #((
22644 *[\\/]* ) as_myself=$0 ;;
22645 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22646 for as_dir in $PATH
22648 IFS=$as_save_IFS
22649 case $as_dir in #(((
22650 '') as_dir=./ ;;
22651 */) ;;
22652 *) as_dir=$as_dir/ ;;
22653 esac
22654 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22655 done
22656 IFS=$as_save_IFS
22659 esac
22660 # We did not find ourselves, most probably we were run as `sh COMMAND'
22661 # in which case we are not to be found in the path.
22662 if test "x$as_myself" = x; then
22663 as_myself=$0
22665 if test ! -f "$as_myself"; then
22666 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22667 exit 1
22672 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22673 # ----------------------------------------
22674 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22675 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22676 # script with STATUS, using 1 if that was 0.
22677 as_fn_error ()
22679 as_status=$1; test $as_status -eq 0 && as_status=1
22680 if test "$4"; then
22681 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22684 printf "%s\n" "$as_me: error: $2" >&2
22685 as_fn_exit $as_status
22686 } # as_fn_error
22690 # as_fn_set_status STATUS
22691 # -----------------------
22692 # Set $? to STATUS, without forking.
22693 as_fn_set_status ()
22695 return $1
22696 } # as_fn_set_status
22698 # as_fn_exit STATUS
22699 # -----------------
22700 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22701 as_fn_exit ()
22703 set +e
22704 as_fn_set_status $1
22705 exit $1
22706 } # as_fn_exit
22708 # as_fn_unset VAR
22709 # ---------------
22710 # Portably unset VAR.
22711 as_fn_unset ()
22713 { eval $1=; unset $1;}
22715 as_unset=as_fn_unset
22717 # as_fn_append VAR VALUE
22718 # ----------------------
22719 # Append the text in VALUE to the end of the definition contained in VAR. Take
22720 # advantage of any shell optimizations that allow amortized linear growth over
22721 # repeated appends, instead of the typical quadratic growth present in naive
22722 # implementations.
22723 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22724 then :
22725 eval 'as_fn_append ()
22727 eval $1+=\$2
22729 else $as_nop
22730 as_fn_append ()
22732 eval $1=\$$1\$2
22734 fi # as_fn_append
22736 # as_fn_arith ARG...
22737 # ------------------
22738 # Perform arithmetic evaluation on the ARGs, and store the result in the
22739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22740 # must be portable across $(()) and expr.
22741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22742 then :
22743 eval 'as_fn_arith ()
22745 as_val=$(( $* ))
22747 else $as_nop
22748 as_fn_arith ()
22750 as_val=`expr "$@" || test $? -eq 1`
22752 fi # as_fn_arith
22755 if expr a : '\(a\)' >/dev/null 2>&1 &&
22756 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22757 as_expr=expr
22758 else
22759 as_expr=false
22762 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22763 as_basename=basename
22764 else
22765 as_basename=false
22768 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22769 as_dirname=dirname
22770 else
22771 as_dirname=false
22774 as_me=`$as_basename -- "$0" ||
22775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22776 X"$0" : 'X\(//\)$' \| \
22777 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22778 printf "%s\n" X/"$0" |
22779 sed '/^.*\/\([^/][^/]*\)\/*$/{
22780 s//\1/
22783 /^X\/\(\/\/\)$/{
22784 s//\1/
22787 /^X\/\(\/\).*/{
22788 s//\1/
22791 s/.*/./; q'`
22793 # Avoid depending upon Character Ranges.
22794 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22795 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22796 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22797 as_cr_digits='0123456789'
22798 as_cr_alnum=$as_cr_Letters$as_cr_digits
22801 # Determine whether it's possible to make 'echo' print without a newline.
22802 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22803 # for compatibility with existing Makefiles.
22804 ECHO_C= ECHO_N= ECHO_T=
22805 case `echo -n x` in #(((((
22806 -n*)
22807 case `echo 'xy\c'` in
22808 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22809 xy) ECHO_C='\c';;
22810 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22811 ECHO_T=' ';;
22812 esac;;
22814 ECHO_N='-n';;
22815 esac
22817 # For backward compatibility with old third-party macros, we provide
22818 # the shell variables $as_echo and $as_echo_n. New code should use
22819 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22820 as_echo='printf %s\n'
22821 as_echo_n='printf %s'
22823 rm -f conf$$ conf$$.exe conf$$.file
22824 if test -d conf$$.dir; then
22825 rm -f conf$$.dir/conf$$.file
22826 else
22827 rm -f conf$$.dir
22828 mkdir conf$$.dir 2>/dev/null
22830 if (echo >conf$$.file) 2>/dev/null; then
22831 if ln -s conf$$.file conf$$ 2>/dev/null; then
22832 as_ln_s='ln -s'
22833 # ... but there are two gotchas:
22834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22836 # In both cases, we have to default to `cp -pR'.
22837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22838 as_ln_s='cp -pR'
22839 elif ln conf$$.file conf$$ 2>/dev/null; then
22840 as_ln_s=ln
22841 else
22842 as_ln_s='cp -pR'
22844 else
22845 as_ln_s='cp -pR'
22847 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22848 rmdir conf$$.dir 2>/dev/null
22851 # as_fn_mkdir_p
22852 # -------------
22853 # Create "$as_dir" as a directory, including parents if necessary.
22854 as_fn_mkdir_p ()
22857 case $as_dir in #(
22858 -*) as_dir=./$as_dir;;
22859 esac
22860 test -d "$as_dir" || eval $as_mkdir_p || {
22861 as_dirs=
22862 while :; do
22863 case $as_dir in #(
22864 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22865 *) as_qdir=$as_dir;;
22866 esac
22867 as_dirs="'$as_qdir' $as_dirs"
22868 as_dir=`$as_dirname -- "$as_dir" ||
22869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22870 X"$as_dir" : 'X\(//\)[^/]' \| \
22871 X"$as_dir" : 'X\(//\)$' \| \
22872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22873 printf "%s\n" X"$as_dir" |
22874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22875 s//\1/
22878 /^X\(\/\/\)[^/].*/{
22879 s//\1/
22882 /^X\(\/\/\)$/{
22883 s//\1/
22886 /^X\(\/\).*/{
22887 s//\1/
22890 s/.*/./; q'`
22891 test -d "$as_dir" && break
22892 done
22893 test -z "$as_dirs" || eval "mkdir $as_dirs"
22894 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22897 } # as_fn_mkdir_p
22898 if mkdir -p . 2>/dev/null; then
22899 as_mkdir_p='mkdir -p "$as_dir"'
22900 else
22901 test -d ./-p && rmdir ./-p
22902 as_mkdir_p=false
22906 # as_fn_executable_p FILE
22907 # -----------------------
22908 # Test if FILE is an executable regular file.
22909 as_fn_executable_p ()
22911 test -f "$1" && test -x "$1"
22912 } # as_fn_executable_p
22913 as_test_x='test -x'
22914 as_executable_p=as_fn_executable_p
22916 # Sed expression to map a string onto a valid CPP name.
22917 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22919 # Sed expression to map a string onto a valid variable name.
22920 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22923 exec 6>&1
22924 ## ----------------------------------- ##
22925 ## Main body of $CONFIG_STATUS script. ##
22926 ## ----------------------------------- ##
22927 _ASEOF
22928 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22931 # Save the log message, to keep $0 and so on meaningful, and to
22932 # report actual input values of CONFIG_FILES etc. instead of their
22933 # values after options handling.
22934 ac_log="
22935 This file was extended by Wine $as_me 7.15, which was
22936 generated by GNU Autoconf 2.71. Invocation command line was
22938 CONFIG_FILES = $CONFIG_FILES
22939 CONFIG_HEADERS = $CONFIG_HEADERS
22940 CONFIG_LINKS = $CONFIG_LINKS
22941 CONFIG_COMMANDS = $CONFIG_COMMANDS
22942 $ $0 $@
22944 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22947 _ACEOF
22950 case $ac_config_headers in *"
22951 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22952 esac
22955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22956 # Files that config.status was made for.
22957 config_headers="$ac_config_headers"
22958 config_links="$ac_config_links"
22959 config_commands="$ac_config_commands"
22961 _ACEOF
22963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22964 ac_cs_usage="\
22965 \`$as_me' instantiates files and other configuration actions
22966 from templates according to the current configuration. Unless the files
22967 and actions are specified as TAGs, all are instantiated by default.
22969 Usage: $0 [OPTION]... [TAG]...
22971 -h, --help print this help, then exit
22972 -V, --version print version number and configuration settings, then exit
22973 --config print configuration, then exit
22974 -q, --quiet, --silent
22975 do not print progress messages
22976 -d, --debug don't remove temporary files
22977 --recheck update $as_me by reconfiguring in the same conditions
22978 --header=FILE[:TEMPLATE]
22979 instantiate the configuration header FILE
22981 Configuration headers:
22982 $config_headers
22984 Configuration links:
22985 $config_links
22987 Configuration commands:
22988 $config_commands
22990 Report bugs to <wine-devel@winehq.org>.
22991 Wine home page: <https://www.winehq.org>."
22993 _ACEOF
22994 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22995 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22997 ac_cs_config='$ac_cs_config_escaped'
22998 ac_cs_version="\\
22999 Wine config.status 7.15
23000 configured by $0, generated by GNU Autoconf 2.71,
23001 with options \\"\$ac_cs_config\\"
23003 Copyright (C) 2021 Free Software Foundation, Inc.
23004 This config.status script is free software; the Free Software Foundation
23005 gives unlimited permission to copy, distribute and modify it."
23007 ac_pwd='$ac_pwd'
23008 srcdir='$srcdir'
23009 test -n "\$AWK" || AWK=awk
23010 _ACEOF
23012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23013 # The default lists apply if the user does not specify any file.
23014 ac_need_defaults=:
23015 while test $# != 0
23017 case $1 in
23018 --*=?*)
23019 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23020 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23021 ac_shift=:
23023 --*=)
23024 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23025 ac_optarg=
23026 ac_shift=:
23029 ac_option=$1
23030 ac_optarg=$2
23031 ac_shift=shift
23033 esac
23035 case $ac_option in
23036 # Handling of the options.
23037 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23038 ac_cs_recheck=: ;;
23039 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23040 printf "%s\n" "$ac_cs_version"; exit ;;
23041 --config | --confi | --conf | --con | --co | --c )
23042 printf "%s\n" "$ac_cs_config"; exit ;;
23043 --debug | --debu | --deb | --de | --d | -d )
23044 debug=: ;;
23045 --header | --heade | --head | --hea )
23046 $ac_shift
23047 case $ac_optarg in
23048 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23049 esac
23050 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23051 ac_need_defaults=false;;
23052 --he | --h)
23053 # Conflict between --help and --header
23054 as_fn_error $? "ambiguous option: \`$1'
23055 Try \`$0 --help' for more information.";;
23056 --help | --hel | -h )
23057 printf "%s\n" "$ac_cs_usage"; exit ;;
23058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23059 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23060 ac_cs_silent=: ;;
23062 # This is an error.
23063 -*) as_fn_error $? "unrecognized option: \`$1'
23064 Try \`$0 --help' for more information." ;;
23066 *) as_fn_append ac_config_targets " $1"
23067 ac_need_defaults=false ;;
23069 esac
23070 shift
23071 done
23073 ac_configure_extra_args=
23075 if $ac_cs_silent; then
23076 exec 6>/dev/null
23077 ac_configure_extra_args="$ac_configure_extra_args --silent"
23080 _ACEOF
23081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23082 if \$ac_cs_recheck; then
23083 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23084 shift
23085 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23086 CONFIG_SHELL='$SHELL'
23087 export CONFIG_SHELL
23088 exec "\$@"
23091 _ACEOF
23092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23093 exec 5>>config.log
23095 echo
23096 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23097 ## Running $as_me. ##
23098 _ASBOX
23099 printf "%s\n" "$ac_log"
23100 } >&5
23102 _ACEOF
23103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23105 # INIT-COMMANDS
23107 wine_fn_output_makedep ()
23109 as_dir=tools; as_fn_mkdir_p
23110 $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
23112 wine_fn_output_makefile ()
23114 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23115 # This Makefile understands the following targets:
23117 # all (default): build wine
23118 # clean: remove all intermediate files
23119 # distclean: also remove all files created by configure
23120 # test: run tests
23121 # testclean: clean test results to force running all tests again
23122 # install-lib: install libraries needed to run applications
23123 # install-dev: install development environment
23124 # install: install everything
23125 # uninstall: uninstall everything
23126 # ctags: create a tags file for vim and others.
23127 # etags: create a TAGS file for Emacs.
23129 SHELL = $SHELL
23130 PATH_SEPARATOR = $PATH_SEPARATOR
23131 PACKAGE_NAME = $PACKAGE_NAME
23132 PACKAGE_TARNAME = $PACKAGE_TARNAME
23133 PACKAGE_VERSION = $PACKAGE_VERSION
23134 PACKAGE_STRING = $PACKAGE_STRING
23135 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23136 PACKAGE_URL = $PACKAGE_URL
23137 exec_prefix = $exec_prefix
23138 prefix = $prefix
23139 program_transform_name = $program_transform_name
23140 bindir = $bindir
23141 sbindir = $sbindir
23142 libexecdir = $libexecdir
23143 datarootdir = $datarootdir
23144 datadir = $datadir
23145 sysconfdir = $sysconfdir
23146 sharedstatedir = $sharedstatedir
23147 localstatedir = $localstatedir
23148 runstatedir = $runstatedir
23149 includedir = $includedir
23150 oldincludedir = $oldincludedir
23151 docdir = $docdir
23152 infodir = $infodir
23153 htmldir = $htmldir
23154 dvidir = $dvidir
23155 pdfdir = $pdfdir
23156 psdir = $psdir
23157 libdir = $libdir
23158 localedir = $localedir
23159 mandir = $mandir
23160 DEFS = $DEFS
23161 ECHO_C = $ECHO_C
23162 ECHO_N = $ECHO_N
23163 ECHO_T = $ECHO_T
23164 LIBS = $LIBS
23165 build_alias = $build_alias
23166 host_alias = $host_alias
23167 target_alias = $target_alias
23168 system_dllpath = $system_dllpath
23169 build = $build
23170 build_cpu = $build_cpu
23171 build_vendor = $build_vendor
23172 build_os = $build_os
23173 host = $host
23174 host_cpu = $host_cpu
23175 host_vendor = $host_vendor
23176 host_os = $host_os
23177 dlldir = $dlldir
23178 fontdir = $fontdir
23179 nlsdir = $nlsdir
23180 srcdir = $srcdir
23181 SET_MAKE = $SET_MAKE
23182 CC = $CC
23183 CFLAGS = $CFLAGS
23184 LDFLAGS = $LDFLAGS
23185 CPPFLAGS = $CPPFLAGS
23186 ac_ct_CC = $ac_ct_CC
23187 EXEEXT = $EXEEXT
23188 OBJEXT = $OBJEXT
23189 CXX = $CXX
23190 CXXFLAGS = $CXXFLAGS
23191 ac_ct_CXX = $ac_ct_CXX
23192 CPPBIN = $CPPBIN
23193 LD = $LD
23194 TARGETFLAGS = $TARGETFLAGS
23195 toolsext = $toolsext
23196 toolsdir = $toolsdir
23197 MAKEDEP = $MAKEDEP
23198 RUNTESTFLAGS = $RUNTESTFLAGS
23199 SED_CMD = $SED_CMD
23200 FLEX = $FLEX
23201 BISON = $BISON
23202 AR = $AR
23203 ac_ct_AR = $ac_ct_AR
23204 STRIP = $STRIP
23205 RANLIB = $RANLIB
23206 LN_S = $LN_S
23207 GREP = $GREP
23208 EGREP = $EGREP
23209 LDCONFIG = $LDCONFIG
23210 MSGFMT = $MSGFMT
23211 PKG_CONFIG = $PKG_CONFIG
23212 FONTFORGE = $FONTFORGE
23213 RSVG = $RSVG
23214 CONVERT = $CONVERT
23215 ICOTOOL = $ICOTOOL
23216 I386_LIBS = $I386_LIBS
23217 OPENGL_LIBS = $OPENGL_LIBS
23218 DLLFLAGS = $DLLFLAGS
23219 LDDLLFLAGS = $LDDLLFLAGS
23220 LDEXECFLAGS = $LDEXECFLAGS
23221 EXTRACFLAGS = $EXTRACFLAGS
23222 UNIXDLLFLAGS = $UNIXDLLFLAGS
23223 UNIXLDFLAGS = $UNIXLDFLAGS
23224 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23225 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23226 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23227 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23228 LDD = $LDD
23229 OTOOL = $OTOOL
23230 READELF = $READELF
23231 SUBDIRS = $SUBDIRS
23232 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23233 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23234 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23235 DLLTOOL = $DLLTOOL
23236 OBJC = $OBJC
23237 OBJCFLAGS = $OBJCFLAGS
23238 ac_ct_OBJC = $ac_ct_OBJC
23239 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23240 IOKIT_LIBS = $IOKIT_LIBS
23241 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23242 CORESERVICES_LIBS = $CORESERVICES_LIBS
23243 APPKIT_LIBS = $APPKIT_LIBS
23244 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23245 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23246 SECURITY_LIBS = $SECURITY_LIBS
23247 COREAUDIO_LIBS = $COREAUDIO_LIBS
23248 OPENAL_LIBS = $OPENAL_LIBS
23249 OPENCL_LIBS = $OPENCL_LIBS
23250 CARBON_LIBS = $CARBON_LIBS
23251 METAL_LIBS = $METAL_LIBS
23252 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23253 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23254 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23255 PRELINK = $PRELINK
23256 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23257 CROSSTARGET = $CROSSTARGET
23258 CROSSCC = $CROSSCC
23259 CROSSCFLAGS = $CROSSCFLAGS
23260 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23261 CROSSLDFLAGS = $CROSSLDFLAGS
23262 DELAYLOADFLAG = $DELAYLOADFLAG
23263 CROSSDEBUG = $CROSSDEBUG
23264 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23265 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23266 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23267 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23268 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23269 GSM_PE_LIBS = $GSM_PE_LIBS
23270 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23271 JPEG_PE_LIBS = $JPEG_PE_LIBS
23272 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23273 JXR_PE_LIBS = $JXR_PE_LIBS
23274 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23275 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23276 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23277 MPG123_PE_LIBS = $MPG123_PE_LIBS
23278 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23279 PNG_PE_LIBS = $PNG_PE_LIBS
23280 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23281 TIFF_PE_LIBS = $TIFF_PE_LIBS
23282 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23283 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23284 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23285 XML2_PE_LIBS = $XML2_PE_LIBS
23286 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23287 XSLT_PE_LIBS = $XSLT_PE_LIBS
23288 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23289 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23290 PTHREAD_LIBS = $PTHREAD_LIBS
23291 XMKMF = $XMKMF
23292 CPP = $CPP
23293 X_CFLAGS = $X_CFLAGS
23294 X_PRE_LIBS = $X_PRE_LIBS
23295 X_LIBS = $X_LIBS
23296 X_EXTRA_LIBS = $X_EXTRA_LIBS
23297 PCAP_LIBS = $PCAP_LIBS
23298 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23299 INOTIFY_LIBS = $INOTIFY_LIBS
23300 DBUS_CFLAGS = $DBUS_CFLAGS
23301 DBUS_LIBS = $DBUS_LIBS
23302 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23303 GNUTLS_LIBS = $GNUTLS_LIBS
23304 SANE_CFLAGS = $SANE_CFLAGS
23305 SANE_LIBS = $SANE_LIBS
23306 USB_CFLAGS = $USB_CFLAGS
23307 USB_LIBS = $USB_LIBS
23308 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23309 GPHOTO2_LIBS = $GPHOTO2_LIBS
23310 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23311 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23312 RESOLV_LIBS = $RESOLV_LIBS
23313 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23314 FREETYPE_LIBS = $FREETYPE_LIBS
23315 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23316 PULSE_CFLAGS = $PULSE_CFLAGS
23317 PULSE_LIBS = $PULSE_LIBS
23318 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23319 GSTREAMER_LIBS = $GSTREAMER_LIBS
23320 ALSA_LIBS = $ALSA_LIBS
23321 OSS4_CFLAGS = $OSS4_CFLAGS
23322 OSS4_LIBS = $OSS4_LIBS
23323 UDEV_CFLAGS = $UDEV_CFLAGS
23324 UDEV_LIBS = $UDEV_LIBS
23325 UNWIND_CFLAGS = $UNWIND_CFLAGS
23326 UNWIND_LIBS = $UNWIND_LIBS
23327 SDL2_CFLAGS = $SDL2_CFLAGS
23328 SDL2_LIBS = $SDL2_LIBS
23329 CAPI20_CFLAGS = $CAPI20_CFLAGS
23330 CAPI20_LIBS = $CAPI20_LIBS
23331 CUPS_CFLAGS = $CUPS_CFLAGS
23332 CUPS_LIBS = $CUPS_LIBS
23333 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23334 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23335 KRB5_CFLAGS = $KRB5_CFLAGS
23336 KRB5_LIBS = $KRB5_LIBS
23337 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23338 GSSAPI_LIBS = $GSSAPI_LIBS
23339 PROCSTAT_LIBS = $PROCSTAT_LIBS
23340 NETAPI_CFLAGS = $NETAPI_CFLAGS
23341 NETAPI_LIBS = $NETAPI_LIBS
23342 MSVCRTFLAGS = $MSVCRTFLAGS
23343 RT_LIBS = $RT_LIBS
23344 LDAP_CFLAGS = $LDAP_CFLAGS
23345 LDAP_LIBS = $LDAP_LIBS
23346 TAGSFLAGS = $TAGSFLAGS
23347 LIBOBJS = $LIBOBJS
23348 LTLIBOBJS = $LTLIBOBJS
23349 $SET_MAKE
23350 $wine_rules
23351 _WINE_EOF
23352 as_fn_error $? "could not create Makefile" "$LINENO" 5
23355 _ACEOF
23357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23359 # Handling of arguments.
23360 for ac_config_target in $ac_config_targets
23362 case $ac_config_target in
23363 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23364 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23365 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23366 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23367 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23368 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23370 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23371 esac
23372 done
23375 # If the user did not use the arguments to specify the items to instantiate,
23376 # then the envvar interface is used. Set only those that are not.
23377 # We use the long form for the default assignment because of an extremely
23378 # bizarre bug on SunOS 4.1.3.
23379 if $ac_need_defaults; then
23380 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23381 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23382 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23385 # Have a temporary directory for convenience. Make it in the build tree
23386 # simply because there is no reason against having it here, and in addition,
23387 # creating and moving files from /tmp can sometimes cause problems.
23388 # Hook for its removal unless debugging.
23389 # Note that there is a small window in which the directory will not be cleaned:
23390 # after its creation but before its name has been assigned to `$tmp'.
23391 $debug ||
23393 tmp= ac_tmp=
23394 trap 'exit_status=$?
23395 : "${ac_tmp:=$tmp}"
23396 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23398 trap 'as_fn_exit 1' 1 2 13 15
23400 # Create a (secure) tmp directory for tmp files.
23403 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23404 test -d "$tmp"
23405 } ||
23407 tmp=./conf$$-$RANDOM
23408 (umask 077 && mkdir "$tmp")
23409 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23410 ac_tmp=$tmp
23412 # Set up the scripts for CONFIG_HEADERS section.
23413 # No need to generate them if there are no CONFIG_HEADERS.
23414 # This happens for instance with `./config.status Makefile'.
23415 if test -n "$CONFIG_HEADERS"; then
23416 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23417 BEGIN {
23418 _ACEOF
23420 # Transform confdefs.h into an awk script `defines.awk', embedded as
23421 # here-document in config.status, that substitutes the proper values into
23422 # config.h.in to produce config.h.
23424 # Create a delimiter string that does not exist in confdefs.h, to ease
23425 # handling of long lines.
23426 ac_delim='%!_!# '
23427 for ac_last_try in false false :; do
23428 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23429 if test -z "$ac_tt"; then
23430 break
23431 elif $ac_last_try; then
23432 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23433 else
23434 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23436 done
23438 # For the awk script, D is an array of macro values keyed by name,
23439 # likewise P contains macro parameters if any. Preserve backslash
23440 # newline sequences.
23442 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23443 sed -n '
23444 s/.\{148\}/&'"$ac_delim"'/g
23445 t rset
23446 :rset
23447 s/^[ ]*#[ ]*define[ ][ ]*/ /
23448 t def
23450 :def
23451 s/\\$//
23452 t bsnl
23453 s/["\\]/\\&/g
23454 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23455 D["\1"]=" \3"/p
23456 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23458 :bsnl
23459 s/["\\]/\\&/g
23460 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23461 D["\1"]=" \3\\\\\\n"\\/p
23462 t cont
23463 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23464 t cont
23466 :cont
23468 s/.\{148\}/&'"$ac_delim"'/g
23469 t clear
23470 :clear
23471 s/\\$//
23472 t bsnlc
23473 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23475 :bsnlc
23476 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23477 b cont
23478 ' <confdefs.h | sed '
23479 s/'"$ac_delim"'/"\\\
23480 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23483 for (key in D) D_is_set[key] = 1
23484 FS = "\a"
23486 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23487 line = \$ 0
23488 split(line, arg, " ")
23489 if (arg[1] == "#") {
23490 defundef = arg[2]
23491 mac1 = arg[3]
23492 } else {
23493 defundef = substr(arg[1], 2)
23494 mac1 = arg[2]
23496 split(mac1, mac2, "(") #)
23497 macro = mac2[1]
23498 prefix = substr(line, 1, index(line, defundef) - 1)
23499 if (D_is_set[macro]) {
23500 # Preserve the white space surrounding the "#".
23501 print prefix "define", macro P[macro] D[macro]
23502 next
23503 } else {
23504 # Replace #undef with comments. This is necessary, for example,
23505 # in the case of _POSIX_SOURCE, which is predefined and required
23506 # on some systems where configure will not decide to define it.
23507 if (defundef == "undef") {
23508 print "/*", prefix defundef, macro, "*/"
23509 next
23513 { print }
23514 _ACAWK
23515 _ACEOF
23516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23517 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23518 fi # test -n "$CONFIG_HEADERS"
23521 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23522 shift
23523 for ac_tag
23525 case $ac_tag in
23526 :[FHLC]) ac_mode=$ac_tag; continue;;
23527 esac
23528 case $ac_mode$ac_tag in
23529 :[FHL]*:*);;
23530 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23531 :[FH]-) ac_tag=-:-;;
23532 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23533 esac
23534 ac_save_IFS=$IFS
23535 IFS=:
23536 set x $ac_tag
23537 IFS=$ac_save_IFS
23538 shift
23539 ac_file=$1
23540 shift
23542 case $ac_mode in
23543 :L) ac_source=$1;;
23544 :[FH])
23545 ac_file_inputs=
23546 for ac_f
23548 case $ac_f in
23549 -) ac_f="$ac_tmp/stdin";;
23550 *) # Look for the file first in the build tree, then in the source tree
23551 # (if the path is not absolute). The absolute path cannot be DOS-style,
23552 # because $ac_f cannot contain `:'.
23553 test -f "$ac_f" ||
23554 case $ac_f in
23555 [\\/$]*) false;;
23556 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23557 esac ||
23558 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23559 esac
23560 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23561 as_fn_append ac_file_inputs " '$ac_f'"
23562 done
23564 # Let's still pretend it is `configure' which instantiates (i.e., don't
23565 # use $as_me), people would be surprised to read:
23566 # /* config.h. Generated by config.status. */
23567 configure_input='Generated from '`
23568 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23569 `' by configure.'
23570 if test x"$ac_file" != x-; then
23571 configure_input="$ac_file. $configure_input"
23572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23573 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23575 # Neutralize special characters interpreted by sed in replacement strings.
23576 case $configure_input in #(
23577 *\&* | *\|* | *\\* )
23578 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23579 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23580 *) ac_sed_conf_input=$configure_input;;
23581 esac
23583 case $ac_tag in
23584 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23585 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23586 esac
23588 esac
23590 ac_dir=`$as_dirname -- "$ac_file" ||
23591 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23592 X"$ac_file" : 'X\(//\)[^/]' \| \
23593 X"$ac_file" : 'X\(//\)$' \| \
23594 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23595 printf "%s\n" X"$ac_file" |
23596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23597 s//\1/
23600 /^X\(\/\/\)[^/].*/{
23601 s//\1/
23604 /^X\(\/\/\)$/{
23605 s//\1/
23608 /^X\(\/\).*/{
23609 s//\1/
23612 s/.*/./; q'`
23613 as_dir="$ac_dir"; as_fn_mkdir_p
23614 ac_builddir=.
23616 case "$ac_dir" in
23617 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23619 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23620 # A ".." for each directory in $ac_dir_suffix.
23621 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23622 case $ac_top_builddir_sub in
23623 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23624 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23625 esac ;;
23626 esac
23627 ac_abs_top_builddir=$ac_pwd
23628 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23629 # for backward compatibility:
23630 ac_top_builddir=$ac_top_build_prefix
23632 case $srcdir in
23633 .) # We are building in place.
23634 ac_srcdir=.
23635 ac_top_srcdir=$ac_top_builddir_sub
23636 ac_abs_top_srcdir=$ac_pwd ;;
23637 [\\/]* | ?:[\\/]* ) # Absolute name.
23638 ac_srcdir=$srcdir$ac_dir_suffix;
23639 ac_top_srcdir=$srcdir
23640 ac_abs_top_srcdir=$srcdir ;;
23641 *) # Relative name.
23642 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23643 ac_top_srcdir=$ac_top_build_prefix$srcdir
23644 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23645 esac
23646 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23649 case $ac_mode in
23653 # CONFIG_HEADER
23655 if test x"$ac_file" != x-; then
23657 printf "%s\n" "/* $configure_input */" >&1 \
23658 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23659 } >"$ac_tmp/config.h" \
23660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23661 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23663 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23664 else
23665 rm -f "$ac_file"
23666 mv "$ac_tmp/config.h" "$ac_file" \
23667 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23669 else
23670 printf "%s\n" "/* $configure_input */" >&1 \
23671 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23672 || as_fn_error $? "could not create -" "$LINENO" 5
23677 # CONFIG_LINK
23680 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23682 else
23683 # Prefer the file from the source tree if names are identical.
23684 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23685 ac_source=$srcdir/$ac_source
23688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23689 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23691 if test ! -r "$ac_source"; then
23692 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23694 rm -f "$ac_file"
23696 # Try a relative symlink, then a hard link, then a copy.
23697 case $ac_source in
23698 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23699 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23700 esac
23701 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23702 ln "$ac_source" "$ac_file" 2>/dev/null ||
23703 cp -p "$ac_source" "$ac_file" ||
23704 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23707 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23708 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23710 esac
23713 case $ac_file$ac_mode in
23714 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23715 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23716 "Makefile":C) wine_fn_output_makefile Makefile ;;
23718 esac
23719 done # for ac_tag
23722 as_fn_exit 0
23723 _ACEOF
23724 ac_clean_files=$ac_clean_files_save
23726 test $ac_write_fail = 0 ||
23727 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23730 # configure is writing to config.log, and then calls config.status.
23731 # config.status does its own redirection, appending to config.log.
23732 # Unfortunately, on DOS this fails, as config.log is still kept open
23733 # by configure, so config.status won't be able to write to it; its
23734 # output is simply discarded. So we exec the FD to /dev/null,
23735 # effectively closing config.log, so it can be properly (re)opened and
23736 # appended to by config.status. When coming back to configure, we
23737 # need to make the FD available again.
23738 if test "$no_create" != yes; then
23739 ac_cs_success=:
23740 ac_config_status_args=
23741 test "$silent" = yes &&
23742 ac_config_status_args="$ac_config_status_args --quiet"
23743 exec 5>/dev/null
23744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23745 exec 5>>config.log
23746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23747 # would make configure fail if this is the last instruction.
23748 $ac_cs_success || as_fn_exit 1
23750 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23752 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23756 if test "$no_create" = "yes"
23757 then
23758 exit 0
23761 ac_save_IFS="$IFS"
23762 if test "x$wine_notices" != x; then
23763 echo >&6
23764 IFS="|"
23765 for msg in $wine_notices; do
23766 IFS="$ac_save_IFS"
23767 if ${msg:+false} :
23768 then :
23770 else $as_nop
23771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23772 printf "%s\n" "$as_me: $msg" >&6;}
23774 done
23776 IFS="|"
23777 for msg in $wine_warnings; do
23778 IFS="$ac_save_IFS"
23779 if ${msg:+false} :
23780 then :
23782 else $as_nop
23783 echo >&2
23784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23785 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23787 done
23788 IFS="$ac_save_IFS"
23790 printf "%s\n" "
23791 $as_me: Finished. Do '${ac_make}' to compile Wine.
23792 " >&6