version/tests: Enable compilation with long types.
[wine.git] / configure
blobad2ef2e7b8d836402078a5483036df93f1c70980
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.3.
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.3'
615 PACKAGE_STRING='Wine 7.3'
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_iccvid
1124 enable_icmp
1125 enable_ieframe
1126 enable_ieproxy
1127 enable_imaadp32_acm
1128 enable_imagehlp
1129 enable_imm32
1130 enable_inetcomm
1131 enable_inetcpl_cpl
1132 enable_inetmib1
1133 enable_infosoft
1134 enable_initpki
1135 enable_inkobj
1136 enable_inseng
1137 enable_iphlpapi
1138 enable_iprop
1139 enable_irprops_cpl
1140 enable_itircl
1141 enable_itss
1142 enable_joy_cpl
1143 enable_jscript
1144 enable_jsproxy
1145 enable_kerberos
1146 enable_kernel32
1147 enable_kernelbase
1148 enable_ksecdd_sys
1149 enable_ksproxy_ax
1150 enable_ksuser
1151 enable_ktmw32
1152 enable_l3codeca_acm
1153 enable_light_msstyles
1154 enable_loadperf
1155 enable_localspl
1156 enable_localui
1157 enable_lz32
1158 enable_mapi32
1159 enable_mapistub
1160 enable_mciavi32
1161 enable_mcicda
1162 enable_mciqtz32
1163 enable_mciseq
1164 enable_mciwave
1165 enable_mf
1166 enable_mf3216
1167 enable_mferror
1168 enable_mfmediaengine
1169 enable_mfplat
1170 enable_mfplay
1171 enable_mfreadwrite
1172 enable_mgmtapi
1173 enable_midimap
1174 enable_mlang
1175 enable_mmcndmgr
1176 enable_mmdevapi
1177 enable_mountmgr_sys
1178 enable_mp3dmod
1179 enable_mpr
1180 enable_mprapi
1181 enable_msacm32_drv
1182 enable_msacm32
1183 enable_msado15
1184 enable_msadp32_acm
1185 enable_msasn1
1186 enable_mscat32
1187 enable_mscms
1188 enable_mscoree
1189 enable_mscorwks
1190 enable_msctf
1191 enable_msctfmonitor
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdasql
1195 enable_msdelta
1196 enable_msdmo
1197 enable_msdrm
1198 enable_msftedit
1199 enable_msg711_acm
1200 enable_msgsm32_acm
1201 enable_mshtml_tlb
1202 enable_mshtml
1203 enable_msi
1204 enable_msident
1205 enable_msimg32
1206 enable_msimsg
1207 enable_msimtf
1208 enable_msisip
1209 enable_msisys_ocx
1210 enable_msls31
1211 enable_msnet32
1212 enable_mspatcha
1213 enable_msports
1214 enable_msrle32
1215 enable_msscript_ocx
1216 enable_mssign32
1217 enable_mssip32
1218 enable_mstask
1219 enable_msv1_0
1220 enable_msvcirt
1221 enable_msvcm80
1222 enable_msvcm90
1223 enable_msvcp100
1224 enable_msvcp110
1225 enable_msvcp120
1226 enable_msvcp120_app
1227 enable_msvcp140
1228 enable_msvcp140_1
1229 enable_msvcp140_atomic_wait
1230 enable_msvcp60
1231 enable_msvcp70
1232 enable_msvcp71
1233 enable_msvcp80
1234 enable_msvcp90
1235 enable_msvcp_win
1236 enable_msvcr100
1237 enable_msvcr110
1238 enable_msvcr120
1239 enable_msvcr120_app
1240 enable_msvcr70
1241 enable_msvcr71
1242 enable_msvcr80
1243 enable_msvcr90
1244 enable_msvcrt
1245 enable_msvcrt20
1246 enable_msvcrt40
1247 enable_msvcrtd
1248 enable_msvfw32
1249 enable_msvidc32
1250 enable_mswsock
1251 enable_msxml
1252 enable_msxml2
1253 enable_msxml3
1254 enable_msxml4
1255 enable_msxml6
1256 enable_mtxdm
1257 enable_ncrypt
1258 enable_nddeapi
1259 enable_ndis_sys
1260 enable_netapi32
1261 enable_netcfgx
1262 enable_netio_sys
1263 enable_netprofm
1264 enable_netutils
1265 enable_newdev
1266 enable_ninput
1267 enable_normaliz
1268 enable_npmshtml
1269 enable_npptools
1270 enable_nsi
1271 enable_nsiproxy_sys
1272 enable_ntdll
1273 enable_ntdsapi
1274 enable_ntoskrnl_exe
1275 enable_ntprint
1276 enable_objsel
1277 enable_odbc32
1278 enable_odbcbcp
1279 enable_odbccp32
1280 enable_odbccu32
1281 enable_ole32
1282 enable_oleacc
1283 enable_oleaut32
1284 enable_olecli32
1285 enable_oledb32
1286 enable_oledlg
1287 enable_olepro32
1288 enable_olesvr32
1289 enable_olethk32
1290 enable_opcservices
1291 enable_openal32
1292 enable_opencl
1293 enable_opengl32
1294 enable_packager
1295 enable_pdh
1296 enable_photometadatahandler
1297 enable_pidgen
1298 enable_powrprof
1299 enable_printui
1300 enable_prntvpt
1301 enable_propsys
1302 enable_psapi
1303 enable_pstorec
1304 enable_pwrshplugin
1305 enable_qasf
1306 enable_qcap
1307 enable_qdvd
1308 enable_qedit
1309 enable_qmgr
1310 enable_qmgrprxy
1311 enable_quartz
1312 enable_query
1313 enable_qwave
1314 enable_rasapi32
1315 enable_rasdlg
1316 enable_regapi
1317 enable_resutils
1318 enable_riched20
1319 enable_riched32
1320 enable_rpcrt4
1321 enable_rsabase
1322 enable_rsaenh
1323 enable_rstrtmgr
1324 enable_rtutils
1325 enable_rtworkq
1326 enable_samlib
1327 enable_sane_ds
1328 enable_sapi
1329 enable_sas
1330 enable_scarddlg
1331 enable_sccbase
1332 enable_schannel
1333 enable_schedsvc
1334 enable_scrobj
1335 enable_scrrun
1336 enable_scsiport_sys
1337 enable_sechost
1338 enable_secur32
1339 enable_security
1340 enable_sensapi
1341 enable_serialui
1342 enable_setupapi
1343 enable_sfc
1344 enable_sfc_os
1345 enable_shcore
1346 enable_shdoclc
1347 enable_shdocvw
1348 enable_shell32
1349 enable_shfolder
1350 enable_shlwapi
1351 enable_slbcsp
1352 enable_slc
1353 enable_snmpapi
1354 enable_softpub
1355 enable_spoolss
1356 enable_sppc
1357 enable_srclient
1358 enable_srvcli
1359 enable_sspicli
1360 enable_stdole2_tlb
1361 enable_stdole32_tlb
1362 enable_sti
1363 enable_strmdll
1364 enable_svrapi
1365 enable_sxs
1366 enable_t2embed
1367 enable_tapi32
1368 enable_taskschd
1369 enable_tbs
1370 enable_tdh
1371 enable_tdi_sys
1372 enable_traffic
1373 enable_twain_32
1374 enable_tzres
1375 enable_ucrtbase
1376 enable_uianimation
1377 enable_uiautomationcore
1378 enable_uiribbon
1379 enable_unicows
1380 enable_updspapi
1381 enable_url
1382 enable_urlmon
1383 enable_usbd_sys
1384 enable_user32
1385 enable_userenv
1386 enable_usp10
1387 enable_utildll
1388 enable_uxtheme
1389 enable_vbscript
1390 enable_vcomp
1391 enable_vcomp100
1392 enable_vcomp110
1393 enable_vcomp120
1394 enable_vcomp140
1395 enable_vcomp90
1396 enable_vcruntime140
1397 enable_vcruntime140_1
1398 enable_vdmdbg
1399 enable_version
1400 enable_vga
1401 enable_virtdisk
1402 enable_vssapi
1403 enable_vulkan_1
1404 enable_wbemdisp
1405 enable_wbemprox
1406 enable_wdscore
1407 enable_webservices
1408 enable_websocket
1409 enable_wer
1410 enable_wevtapi
1411 enable_wevtsvc
1412 enable_wiaservc
1413 enable_wimgapi
1414 enable_win32u
1415 enable_windows_devices_enumeration
1416 enable_windows_gaming_input
1417 enable_windows_globalization
1418 enable_windows_media_devices
1419 enable_windows_media_speech
1420 enable_windowscodecs
1421 enable_windowscodecsext
1422 enable_winealsa_drv
1423 enable_wineandroid_drv
1424 enable_winebus_sys
1425 enable_winecoreaudio_drv
1426 enable_winecrt0
1427 enable_wined3d
1428 enable_winegstreamer
1429 enable_winehid_sys
1430 enable_winemac_drv
1431 enable_winemapi
1432 enable_wineoss_drv
1433 enable_wineps_drv
1434 enable_winepulse_drv
1435 enable_wineusb_sys
1436 enable_winevulkan
1437 enable_winex11_drv
1438 enable_winexinput_sys
1439 enable_wing32
1440 enable_winhttp
1441 enable_wininet
1442 enable_winmm
1443 enable_winnls32
1444 enable_winscard
1445 enable_winspool_drv
1446 enable_winsta
1447 enable_wintab32
1448 enable_wintrust
1449 enable_winusb
1450 enable_wlanapi
1451 enable_wlanui
1452 enable_wldap32
1453 enable_wmadmod
1454 enable_wmasf
1455 enable_wmi
1456 enable_wmiutils
1457 enable_wmp
1458 enable_wmphoto
1459 enable_wmvcore
1460 enable_wnaspi32
1461 enable_wow64
1462 enable_wow64cpu
1463 enable_wow64win
1464 enable_wpc
1465 enable_wpcap
1466 enable_ws2_32
1467 enable_wsdapi
1468 enable_wshom_ocx
1469 enable_wsnmp32
1470 enable_wsock32
1471 enable_wtsapi32
1472 enable_wuapi
1473 enable_wuaueng
1474 enable_x3daudio1_0
1475 enable_x3daudio1_1
1476 enable_x3daudio1_2
1477 enable_x3daudio1_3
1478 enable_x3daudio1_4
1479 enable_x3daudio1_5
1480 enable_x3daudio1_6
1481 enable_x3daudio1_7
1482 enable_xactengine2_0
1483 enable_xactengine2_4
1484 enable_xactengine2_7
1485 enable_xactengine2_9
1486 enable_xactengine3_0
1487 enable_xactengine3_1
1488 enable_xactengine3_2
1489 enable_xactengine3_3
1490 enable_xactengine3_4
1491 enable_xactengine3_5
1492 enable_xactengine3_6
1493 enable_xactengine3_7
1494 enable_xapofx1_1
1495 enable_xapofx1_2
1496 enable_xapofx1_3
1497 enable_xapofx1_4
1498 enable_xapofx1_5
1499 enable_xaudio2_0
1500 enable_xaudio2_1
1501 enable_xaudio2_2
1502 enable_xaudio2_3
1503 enable_xaudio2_4
1504 enable_xaudio2_5
1505 enable_xaudio2_6
1506 enable_xaudio2_7
1507 enable_xaudio2_8
1508 enable_xaudio2_9
1509 enable_xinput1_1
1510 enable_xinput1_2
1511 enable_xinput1_3
1512 enable_xinput1_4
1513 enable_xinput9_1_0
1514 enable_xmllite
1515 enable_xolehlp
1516 enable_xpsprint
1517 enable_xpssvcs
1518 enable_fonts
1519 enable_include
1520 enable_adsiid
1521 enable_dmoguids
1522 enable_dxerr8
1523 enable_dxerr9
1524 enable_dxguid
1525 enable_faudio
1526 enable_gsm
1527 enable_jpeg
1528 enable_jxr
1529 enable_lcms2
1530 enable_mfuuid
1531 enable_mpg123
1532 enable_png
1533 enable_strmbase
1534 enable_strmiids
1535 enable_tiff
1536 enable_uuid
1537 enable_vkd3d
1538 enable_wbemuuid
1539 enable_wine
1540 enable_wmcodecdspuuid
1541 enable_xml2
1542 enable_xslt
1543 enable_zlib
1544 enable_loader
1545 enable_nls
1546 enable_po
1547 enable_arp
1548 enable_aspnet_regiis
1549 enable_attrib
1550 enable_cabarc
1551 enable_cacls
1552 enable_chcp_com
1553 enable_clock
1554 enable_cmd
1555 enable_conhost
1556 enable_control
1557 enable_cscript
1558 enable_dism
1559 enable_dplaysvr
1560 enable_dpnsvr
1561 enable_dpvsetup
1562 enable_dxdiag
1563 enable_eject
1564 enable_expand
1565 enable_explorer
1566 enable_extrac32
1567 enable_fc
1568 enable_find
1569 enable_findstr
1570 enable_fsutil
1571 enable_hh
1572 enable_hostname
1573 enable_icacls
1574 enable_icinfo
1575 enable_iexplore
1576 enable_ipconfig
1577 enable_lodctr
1578 enable_mofcomp
1579 enable_mshta
1580 enable_msidb
1581 enable_msiexec
1582 enable_msinfo32
1583 enable_net
1584 enable_netsh
1585 enable_netstat
1586 enable_ngen
1587 enable_notepad
1588 enable_oleview
1589 enable_ping
1590 enable_plugplay
1591 enable_powershell
1592 enable_presentationfontcache
1593 enable_progman
1594 enable_reg
1595 enable_regasm
1596 enable_regedit
1597 enable_regini
1598 enable_regsvcs
1599 enable_regsvr32
1600 enable_robocopy
1601 enable_rpcss
1602 enable_rundll32
1603 enable_sc
1604 enable_schtasks
1605 enable_sdbinst
1606 enable_secedit
1607 enable_servicemodelreg
1608 enable_services
1609 enable_shutdown
1610 enable_spoolsv
1611 enable_start
1612 enable_subst
1613 enable_svchost
1614 enable_systeminfo
1615 enable_taskkill
1616 enable_tasklist
1617 enable_taskmgr
1618 enable_termsv
1619 enable_uninstaller
1620 enable_unlodctr
1621 enable_view
1622 enable_wevtutil
1623 enable_where
1624 enable_whoami
1625 enable_wineboot
1626 enable_winebrowser
1627 enable_winecfg
1628 enable_wineconsole
1629 enable_winedbg
1630 enable_winedevice
1631 enable_winefile
1632 enable_winemenubuilder
1633 enable_winemine
1634 enable_winemsibuilder
1635 enable_winepath
1636 enable_winetest
1637 enable_winhlp32
1638 enable_winmgmt
1639 enable_winver
1640 enable_wmic
1641 enable_wmplayer
1642 enable_wordpad
1643 enable_write
1644 enable_wscript
1645 enable_wuauserv
1646 enable_wusa
1647 enable_xcopy
1648 enable_server
1649 enable_tools
1650 enable_sfnt2fon
1651 enable_widl
1652 enable_winebuild
1653 enable_winedump
1654 enable_winegcc
1655 enable_winemaker
1656 enable_wmc
1657 enable_wrc
1659 ac_precious_vars='build_alias
1660 host_alias
1661 target_alias
1663 CFLAGS
1664 LDFLAGS
1665 LIBS
1666 CPPFLAGS
1668 CXXFLAGS
1670 OBJC
1671 OBJCFLAGS
1672 FAUDIO_PE_CFLAGS
1673 FAUDIO_PE_LIBS
1674 GSM_PE_CFLAGS
1675 GSM_PE_LIBS
1676 JPEG_PE_CFLAGS
1677 JPEG_PE_LIBS
1678 JXR_PE_CFLAGS
1679 JXR_PE_LIBS
1680 LCMS2_PE_CFLAGS
1681 LCMS2_PE_LIBS
1682 MPG123_PE_CFLAGS
1683 MPG123_PE_LIBS
1684 PNG_PE_CFLAGS
1685 PNG_PE_LIBS
1686 TIFF_PE_CFLAGS
1687 TIFF_PE_LIBS
1688 VKD3D_PE_CFLAGS
1689 VKD3D_PE_LIBS
1690 XML2_PE_CFLAGS
1691 XML2_PE_LIBS
1692 XSLT_PE_CFLAGS
1693 XSLT_PE_LIBS
1694 ZLIB_PE_CFLAGS
1695 ZLIB_PE_LIBS
1696 XMKMF
1698 INOTIFY_CFLAGS
1699 INOTIFY_LIBS
1700 DBUS_CFLAGS
1701 DBUS_LIBS
1702 GNUTLS_CFLAGS
1703 GNUTLS_LIBS
1704 SANE_CFLAGS
1705 SANE_LIBS
1706 USB_CFLAGS
1707 USB_LIBS
1708 GPHOTO2_CFLAGS
1709 GPHOTO2_LIBS
1710 GPHOTO2_PORT_CFLAGS
1711 GPHOTO2_PORT_LIBS
1712 FREETYPE_CFLAGS
1713 FREETYPE_LIBS
1714 PULSE_CFLAGS
1715 PULSE_LIBS
1716 GSTREAMER_CFLAGS
1717 GSTREAMER_LIBS
1718 UDEV_CFLAGS
1719 UDEV_LIBS
1720 UNWIND_CFLAGS
1721 UNWIND_LIBS
1722 SDL2_CFLAGS
1723 SDL2_LIBS
1724 CAPI20_CFLAGS
1725 CAPI20_LIBS
1726 CUPS_CFLAGS
1727 CUPS_LIBS
1728 FONTCONFIG_CFLAGS
1729 FONTCONFIG_LIBS
1730 KRB5_CFLAGS
1731 KRB5_LIBS
1732 GSSAPI_CFLAGS
1733 GSSAPI_LIBS
1734 NETAPI_CFLAGS
1735 NETAPI_LIBS
1736 LDAP_CFLAGS
1737 LDAP_LIBS'
1740 # Initialize some variables set by options.
1741 ac_init_help=
1742 ac_init_version=false
1743 ac_unrecognized_opts=
1744 ac_unrecognized_sep=
1745 # The variables have the same names as the options, with
1746 # dashes changed to underlines.
1747 cache_file=/dev/null
1748 exec_prefix=NONE
1749 no_create=
1750 no_recursion=
1751 prefix=NONE
1752 program_prefix=NONE
1753 program_suffix=NONE
1754 program_transform_name=s,x,x,
1755 silent=
1756 site=
1757 srcdir=
1758 verbose=
1759 x_includes=NONE
1760 x_libraries=NONE
1762 # Installation directory options.
1763 # These are left unexpanded so users can "make install exec_prefix=/foo"
1764 # and all the variables that are supposed to be based on exec_prefix
1765 # by default will actually change.
1766 # Use braces instead of parens because sh, perl, etc. also accept them.
1767 # (The list follows the same order as the GNU Coding Standards.)
1768 bindir='${exec_prefix}/bin'
1769 sbindir='${exec_prefix}/sbin'
1770 libexecdir='${exec_prefix}/libexec'
1771 datarootdir='${prefix}/share'
1772 datadir='${datarootdir}'
1773 sysconfdir='${prefix}/etc'
1774 sharedstatedir='${prefix}/com'
1775 localstatedir='${prefix}/var'
1776 runstatedir='${localstatedir}/run'
1777 includedir='${prefix}/include'
1778 oldincludedir='/usr/include'
1779 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1780 infodir='${datarootdir}/info'
1781 htmldir='${docdir}'
1782 dvidir='${docdir}'
1783 pdfdir='${docdir}'
1784 psdir='${docdir}'
1785 libdir='${exec_prefix}/lib'
1786 localedir='${datarootdir}/locale'
1787 mandir='${datarootdir}/man'
1789 ac_prev=
1790 ac_dashdash=
1791 for ac_option
1793 # If the previous option needs an argument, assign it.
1794 if test -n "$ac_prev"; then
1795 eval $ac_prev=\$ac_option
1796 ac_prev=
1797 continue
1800 case $ac_option in
1801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1802 *=) ac_optarg= ;;
1803 *) ac_optarg=yes ;;
1804 esac
1806 case $ac_dashdash$ac_option in
1808 ac_dashdash=yes ;;
1810 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1811 ac_prev=bindir ;;
1812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1813 bindir=$ac_optarg ;;
1815 -build | --build | --buil | --bui | --bu)
1816 ac_prev=build_alias ;;
1817 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1818 build_alias=$ac_optarg ;;
1820 -cache-file | --cache-file | --cache-fil | --cache-fi \
1821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1822 ac_prev=cache_file ;;
1823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1825 cache_file=$ac_optarg ;;
1827 --config-cache | -C)
1828 cache_file=config.cache ;;
1830 -datadir | --datadir | --datadi | --datad)
1831 ac_prev=datadir ;;
1832 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1833 datadir=$ac_optarg ;;
1835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1836 | --dataroo | --dataro | --datar)
1837 ac_prev=datarootdir ;;
1838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1840 datarootdir=$ac_optarg ;;
1842 -disable-* | --disable-*)
1843 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1844 # Reject names that are not valid shell variable names.
1845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1846 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1847 ac_useropt_orig=$ac_useropt
1848 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1849 case $ac_user_opts in
1851 "enable_$ac_useropt"
1852 "*) ;;
1853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1854 ac_unrecognized_sep=', ';;
1855 esac
1856 eval enable_$ac_useropt=no ;;
1858 -docdir | --docdir | --docdi | --doc | --do)
1859 ac_prev=docdir ;;
1860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1861 docdir=$ac_optarg ;;
1863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1864 ac_prev=dvidir ;;
1865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1866 dvidir=$ac_optarg ;;
1868 -enable-* | --enable-*)
1869 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1870 # Reject names that are not valid shell variable names.
1871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1872 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1873 ac_useropt_orig=$ac_useropt
1874 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1875 case $ac_user_opts in
1877 "enable_$ac_useropt"
1878 "*) ;;
1879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1880 ac_unrecognized_sep=', ';;
1881 esac
1882 eval enable_$ac_useropt=\$ac_optarg ;;
1884 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1885 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1886 | --exec | --exe | --ex)
1887 ac_prev=exec_prefix ;;
1888 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1889 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1890 | --exec=* | --exe=* | --ex=*)
1891 exec_prefix=$ac_optarg ;;
1893 -gas | --gas | --ga | --g)
1894 # Obsolete; use --with-gas.
1895 with_gas=yes ;;
1897 -help | --help | --hel | --he | -h)
1898 ac_init_help=long ;;
1899 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1900 ac_init_help=recursive ;;
1901 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1902 ac_init_help=short ;;
1904 -host | --host | --hos | --ho)
1905 ac_prev=host_alias ;;
1906 -host=* | --host=* | --hos=* | --ho=*)
1907 host_alias=$ac_optarg ;;
1909 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1910 ac_prev=htmldir ;;
1911 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1912 | --ht=*)
1913 htmldir=$ac_optarg ;;
1915 -includedir | --includedir | --includedi | --included | --include \
1916 | --includ | --inclu | --incl | --inc)
1917 ac_prev=includedir ;;
1918 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1919 | --includ=* | --inclu=* | --incl=* | --inc=*)
1920 includedir=$ac_optarg ;;
1922 -infodir | --infodir | --infodi | --infod | --info | --inf)
1923 ac_prev=infodir ;;
1924 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1925 infodir=$ac_optarg ;;
1927 -libdir | --libdir | --libdi | --libd)
1928 ac_prev=libdir ;;
1929 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1930 libdir=$ac_optarg ;;
1932 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1933 | --libexe | --libex | --libe)
1934 ac_prev=libexecdir ;;
1935 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1936 | --libexe=* | --libex=* | --libe=*)
1937 libexecdir=$ac_optarg ;;
1939 -localedir | --localedir | --localedi | --localed | --locale)
1940 ac_prev=localedir ;;
1941 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1942 localedir=$ac_optarg ;;
1944 -localstatedir | --localstatedir | --localstatedi | --localstated \
1945 | --localstate | --localstat | --localsta | --localst | --locals)
1946 ac_prev=localstatedir ;;
1947 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1948 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1949 localstatedir=$ac_optarg ;;
1951 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1952 ac_prev=mandir ;;
1953 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1954 mandir=$ac_optarg ;;
1956 -nfp | --nfp | --nf)
1957 # Obsolete; use --without-fp.
1958 with_fp=no ;;
1960 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1961 | --no-cr | --no-c | -n)
1962 no_create=yes ;;
1964 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1965 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1966 no_recursion=yes ;;
1968 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1969 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1970 | --oldin | --oldi | --old | --ol | --o)
1971 ac_prev=oldincludedir ;;
1972 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1973 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1974 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1975 oldincludedir=$ac_optarg ;;
1977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1978 ac_prev=prefix ;;
1979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1980 prefix=$ac_optarg ;;
1982 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1983 | --program-pre | --program-pr | --program-p)
1984 ac_prev=program_prefix ;;
1985 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1986 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1987 program_prefix=$ac_optarg ;;
1989 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1990 | --program-suf | --program-su | --program-s)
1991 ac_prev=program_suffix ;;
1992 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1993 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1994 program_suffix=$ac_optarg ;;
1996 -program-transform-name | --program-transform-name \
1997 | --program-transform-nam | --program-transform-na \
1998 | --program-transform-n | --program-transform- \
1999 | --program-transform | --program-transfor \
2000 | --program-transfo | --program-transf \
2001 | --program-trans | --program-tran \
2002 | --progr-tra | --program-tr | --program-t)
2003 ac_prev=program_transform_name ;;
2004 -program-transform-name=* | --program-transform-name=* \
2005 | --program-transform-nam=* | --program-transform-na=* \
2006 | --program-transform-n=* | --program-transform-=* \
2007 | --program-transform=* | --program-transfor=* \
2008 | --program-transfo=* | --program-transf=* \
2009 | --program-trans=* | --program-tran=* \
2010 | --progr-tra=* | --program-tr=* | --program-t=*)
2011 program_transform_name=$ac_optarg ;;
2013 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2014 ac_prev=pdfdir ;;
2015 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2016 pdfdir=$ac_optarg ;;
2018 -psdir | --psdir | --psdi | --psd | --ps)
2019 ac_prev=psdir ;;
2020 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2021 psdir=$ac_optarg ;;
2023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2024 | -silent | --silent | --silen | --sile | --sil)
2025 silent=yes ;;
2027 -runstatedir | --runstatedir | --runstatedi | --runstated \
2028 | --runstate | --runstat | --runsta | --runst | --runs \
2029 | --run | --ru | --r)
2030 ac_prev=runstatedir ;;
2031 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2032 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2033 | --run=* | --ru=* | --r=*)
2034 runstatedir=$ac_optarg ;;
2036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2037 ac_prev=sbindir ;;
2038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2039 | --sbi=* | --sb=*)
2040 sbindir=$ac_optarg ;;
2042 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2044 | --sharedst | --shareds | --shared | --share | --shar \
2045 | --sha | --sh)
2046 ac_prev=sharedstatedir ;;
2047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2050 | --sha=* | --sh=*)
2051 sharedstatedir=$ac_optarg ;;
2053 -site | --site | --sit)
2054 ac_prev=site ;;
2055 -site=* | --site=* | --sit=*)
2056 site=$ac_optarg ;;
2058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2059 ac_prev=srcdir ;;
2060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2061 srcdir=$ac_optarg ;;
2063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2064 | --syscon | --sysco | --sysc | --sys | --sy)
2065 ac_prev=sysconfdir ;;
2066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2068 sysconfdir=$ac_optarg ;;
2070 -target | --target | --targe | --targ | --tar | --ta | --t)
2071 ac_prev=target_alias ;;
2072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2073 target_alias=$ac_optarg ;;
2075 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2076 verbose=yes ;;
2078 -version | --version | --versio | --versi | --vers | -V)
2079 ac_init_version=: ;;
2081 -with-* | --with-*)
2082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2083 # Reject names that are not valid shell variable names.
2084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2085 as_fn_error $? "invalid package name: \`$ac_useropt'"
2086 ac_useropt_orig=$ac_useropt
2087 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2088 case $ac_user_opts in
2090 "with_$ac_useropt"
2091 "*) ;;
2092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2093 ac_unrecognized_sep=', ';;
2094 esac
2095 eval with_$ac_useropt=\$ac_optarg ;;
2097 -without-* | --without-*)
2098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2099 # Reject names that are not valid shell variable names.
2100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2101 as_fn_error $? "invalid package name: \`$ac_useropt'"
2102 ac_useropt_orig=$ac_useropt
2103 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2104 case $ac_user_opts in
2106 "with_$ac_useropt"
2107 "*) ;;
2108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2109 ac_unrecognized_sep=', ';;
2110 esac
2111 eval with_$ac_useropt=no ;;
2113 --x)
2114 # Obsolete; use --with-x.
2115 with_x=yes ;;
2117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2118 | --x-incl | --x-inc | --x-in | --x-i)
2119 ac_prev=x_includes ;;
2120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2122 x_includes=$ac_optarg ;;
2124 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2126 ac_prev=x_libraries ;;
2127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2129 x_libraries=$ac_optarg ;;
2131 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2132 Try \`$0 --help' for more information"
2135 *=*)
2136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2137 # Reject names that are not valid shell variable names.
2138 case $ac_envvar in #(
2139 '' | [0-9]* | *[!_$as_cr_alnum]* )
2140 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2141 esac
2142 eval $ac_envvar=\$ac_optarg
2143 export $ac_envvar ;;
2146 # FIXME: should be removed in autoconf 3.0.
2147 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2149 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2150 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2153 esac
2154 done
2156 if test -n "$ac_prev"; then
2157 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2158 as_fn_error $? "missing argument to $ac_option"
2161 if test -n "$ac_unrecognized_opts"; then
2162 case $enable_option_checking in
2163 no) ;;
2164 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2165 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2166 esac
2169 # Check all directory arguments for consistency.
2170 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2171 datadir sysconfdir sharedstatedir localstatedir includedir \
2172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2173 libdir localedir mandir runstatedir
2175 eval ac_val=\$$ac_var
2176 # Remove trailing slashes.
2177 case $ac_val in
2178 */ )
2179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2180 eval $ac_var=\$ac_val;;
2181 esac
2182 # Be sure to have absolute directory names.
2183 case $ac_val in
2184 [\\/$]* | ?:[\\/]* ) continue;;
2185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2186 esac
2187 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2188 done
2190 # There might be people who depend on the old broken behavior: `$host'
2191 # used to hold the argument of --host etc.
2192 # FIXME: To remove some day.
2193 build=$build_alias
2194 host=$host_alias
2195 target=$target_alias
2197 # FIXME: To remove some day.
2198 if test "x$host_alias" != x; then
2199 if test "x$build_alias" = x; then
2200 cross_compiling=maybe
2201 elif test "x$build_alias" != "x$host_alias"; then
2202 cross_compiling=yes
2206 ac_tool_prefix=
2207 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2209 test "$silent" = yes && exec 6>/dev/null
2212 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2213 ac_ls_di=`ls -di .` &&
2214 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2215 as_fn_error $? "working directory cannot be determined"
2216 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2217 as_fn_error $? "pwd does not report name of working directory"
2220 # Find the source files, if location was not specified.
2221 if test -z "$srcdir"; then
2222 ac_srcdir_defaulted=yes
2223 # Try the directory containing this script, then the parent directory.
2224 ac_confdir=`$as_dirname -- "$as_myself" ||
2225 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2226 X"$as_myself" : 'X\(//\)[^/]' \| \
2227 X"$as_myself" : 'X\(//\)$' \| \
2228 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2229 printf "%s\n" X"$as_myself" |
2230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2231 s//\1/
2234 /^X\(\/\/\)[^/].*/{
2235 s//\1/
2238 /^X\(\/\/\)$/{
2239 s//\1/
2242 /^X\(\/\).*/{
2243 s//\1/
2246 s/.*/./; q'`
2247 srcdir=$ac_confdir
2248 if test ! -r "$srcdir/$ac_unique_file"; then
2249 srcdir=..
2251 else
2252 ac_srcdir_defaulted=no
2254 if test ! -r "$srcdir/$ac_unique_file"; then
2255 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2256 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2258 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2259 ac_abs_confdir=`(
2260 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2261 pwd)`
2262 # When building in place, set srcdir=.
2263 if test "$ac_abs_confdir" = "$ac_pwd"; then
2264 srcdir=.
2266 # Remove unnecessary trailing slashes from srcdir.
2267 # Double slashes in file names in object file debugging info
2268 # mess up M-x gdb in Emacs.
2269 case $srcdir in
2270 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2271 esac
2272 for ac_var in $ac_precious_vars; do
2273 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2274 eval ac_env_${ac_var}_value=\$${ac_var}
2275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2276 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2277 done
2280 # Report the --help message.
2282 if test "$ac_init_help" = "long"; then
2283 # Omit some internal or obsolete options to make the list less imposing.
2284 # This message is too long to be a string in the A/UX 3.1 sh.
2285 cat <<_ACEOF
2286 \`configure' configures Wine 7.3 to adapt to many kinds of systems.
2288 Usage: $0 [OPTION]... [VAR=VALUE]...
2290 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2291 VAR=VALUE. See below for descriptions of some of the useful variables.
2293 Defaults for the options are specified in brackets.
2295 Configuration:
2296 -h, --help display this help and exit
2297 --help=short display options specific to this package
2298 --help=recursive display the short help of all the included packages
2299 -V, --version display version information and exit
2300 -q, --quiet, --silent do not print \`checking ...' messages
2301 --cache-file=FILE cache test results in FILE [disabled]
2302 -C, --config-cache alias for \`--cache-file=config.cache'
2303 -n, --no-create do not create output files
2304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2306 Installation directories:
2307 --prefix=PREFIX install architecture-independent files in PREFIX
2308 [$ac_default_prefix]
2309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2310 [PREFIX]
2312 By default, \`make install' will install all the files in
2313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2314 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2315 for instance \`--prefix=\$HOME'.
2317 For better control, use the options below.
2319 Fine tuning of the installation directories:
2320 --bindir=DIR user executables [EPREFIX/bin]
2321 --sbindir=DIR system admin executables [EPREFIX/sbin]
2322 --libexecdir=DIR program executables [EPREFIX/libexec]
2323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2326 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2327 --libdir=DIR object code libraries [EPREFIX/lib]
2328 --includedir=DIR C header files [PREFIX/include]
2329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2332 --infodir=DIR info documentation [DATAROOTDIR/info]
2333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2334 --mandir=DIR man documentation [DATAROOTDIR/man]
2335 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2336 --htmldir=DIR html documentation [DOCDIR]
2337 --dvidir=DIR dvi documentation [DOCDIR]
2338 --pdfdir=DIR pdf documentation [DOCDIR]
2339 --psdir=DIR ps documentation [DOCDIR]
2340 _ACEOF
2342 cat <<\_ACEOF
2344 X features:
2345 --x-includes=DIR X include files are in DIR
2346 --x-libraries=DIR X library files are in DIR
2348 System types:
2349 --build=BUILD configure for building on BUILD [guessed]
2350 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2351 _ACEOF
2354 if test -n "$ac_init_help"; then
2355 case $ac_init_help in
2356 short | recursive ) echo "Configuration of Wine 7.3:";;
2357 esac
2358 cat <<\_ACEOF
2360 Optional Features:
2361 --disable-option-checking ignore unrecognized --enable/--with options
2362 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2363 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2364 --disable-win16 do not include Win16 support
2365 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2366 binaries)
2367 --disable-tests do not build the regression tests
2368 --enable-build-id include .buildid section in output objects
2369 --enable-maintainer-mode
2370 enable maintainer-specific build rules
2371 --enable-silent-rules use silent build rules (override: "make V=1")
2372 --enable-werror treat compilation warnings as errors
2373 --disable-largefile omit support for large files
2375 Optional Packages:
2376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2378 --without-alsa do not use the Alsa sound support
2379 --without-capi do not use CAPI (ISDN support)
2380 --without-coreaudio do not use the CoreAudio sound support
2381 --without-cups do not use CUPS
2382 --without-dbus do not use DBus (dynamic device support)
2383 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2384 --without-fontconfig do not use fontconfig
2385 --without-freetype do not use the FreeType library
2386 --without-gettext do not use gettext
2387 --with-gettextpo use the GetTextPO library to rebuild po files
2388 --without-gphoto do not use gphoto (Digital Camera support)
2389 --without-gnutls do not use GnuTLS (schannel support)
2390 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2391 --without-gstreamer do not use GStreamer (codecs support)
2392 --without-inotify do not use inotify (filesystem change notifications)
2393 --without-krb5 do not use krb5 (Kerberos)
2394 --without-ldap do not use LDAP
2395 --without-mingw do not use the MinGW cross-compiler
2396 --without-netapi do not use the Samba NetAPI library
2397 --without-openal do not use OpenAL
2398 --without-opencl do not use OpenCL
2399 --without-opengl do not use OpenGL
2400 --without-osmesa do not use the OSMesa library
2401 --without-oss do not use the OSS sound support
2402 --without-pcap do not use the Packet Capture library
2403 --without-pthread do not use the pthread library
2404 --without-pulse do not use PulseAudio sound support
2405 --without-sane do not use SANE (scanner support)
2406 --without-sdl do not use SDL
2407 --without-udev do not use udev (plug and play support)
2408 --without-unwind do not use the libunwind library (exception
2409 handling)
2410 --without-usb do not use the libusb library
2411 --without-v4l2 do not use v4l2 (video capture)
2412 --without-vulkan do not use Vulkan
2413 --without-xcomposite do not use the Xcomposite extension
2414 --without-xcursor do not use the Xcursor extension
2415 --without-xfixes do not use Xfixes for clipboard change notifications
2416 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2417 --without-xinput do not use the Xinput extension
2418 --without-xinput2 do not use the Xinput 2 extension
2419 --without-xrandr do not use Xrandr (multi-monitor support)
2420 --without-xrender do not use the Xrender extension
2421 --without-xshape do not use the Xshape extension
2422 --without-xshm do not use XShm (shared memory extension)
2423 --without-xxf86vm do not use XFree video mode extension
2424 --with-system-dllpath=PATH
2425 load external PE dependencies from colon-separated
2426 path PATH
2427 --with-wine-tools=DIR use Wine tools from directory DIR
2428 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2429 --with-x use the X Window System
2431 Some influential environment variables:
2432 CC C compiler command
2433 CFLAGS C compiler flags
2434 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2435 nonstandard directory <lib dir>
2436 LIBS libraries to pass to the linker, e.g. -l<library>
2437 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2438 you have headers in a nonstandard directory <include dir>
2439 CXX C++ compiler command
2440 CXXFLAGS C++ compiler flags
2441 OBJC Objective C compiler command
2442 OBJCFLAGS Objective C compiler flags
2443 FAUDIO_PE_CFLAGS
2444 C compiler flags for the PE faudio, overriding the bundled
2445 version
2446 FAUDIO_PE_LIBS
2447 Linker flags for the PE faudio, overriding the bundled version
2448 GSM_PE_CFLAGS
2449 C compiler flags for the PE gsm, overriding the bundled version
2450 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2451 JPEG_PE_CFLAGS
2452 C compiler flags for the PE jpeg, overriding the bundled version
2453 JPEG_PE_LIBS
2454 Linker flags for the PE jpeg, overriding the bundled version
2455 JXR_PE_CFLAGS
2456 C compiler flags for the PE jxr, overriding the bundled version
2457 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2458 LCMS2_PE_CFLAGS
2459 C compiler flags for the PE lcms2, overriding the bundled
2460 version
2461 LCMS2_PE_LIBS
2462 Linker flags for the PE lcms2, overriding the bundled version
2463 MPG123_PE_CFLAGS
2464 C compiler flags for the PE mpg123, overriding the bundled
2465 version
2466 MPG123_PE_LIBS
2467 Linker flags for the PE mpg123, overriding the bundled version
2468 PNG_PE_CFLAGS
2469 C compiler flags for the PE png, overriding the bundled version
2470 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2471 TIFF_PE_CFLAGS
2472 C compiler flags for the PE tiff, overriding the bundled version
2473 TIFF_PE_LIBS
2474 Linker flags for the PE tiff, overriding the bundled version
2475 VKD3D_PE_CFLAGS
2476 C compiler flags for the PE vkd3d, overriding the bundled
2477 version
2478 VKD3D_PE_LIBS
2479 Linker flags for the PE vkd3d, overriding the bundled version
2480 XML2_PE_CFLAGS
2481 C compiler flags for the PE xml2, overriding the bundled version
2482 XML2_PE_LIBS
2483 Linker flags for the PE xml2, overriding the bundled version
2484 XSLT_PE_CFLAGS
2485 C compiler flags for the PE xslt, overriding the bundled version
2486 XSLT_PE_LIBS
2487 Linker flags for the PE xslt, overriding the bundled version
2488 ZLIB_PE_CFLAGS
2489 C compiler flags for the PE zlib, overriding the bundled version
2490 ZLIB_PE_LIBS
2491 Linker flags for the PE zlib, overriding the bundled version
2492 XMKMF Path to xmkmf, Makefile generator for X Window System
2493 CPP C preprocessor
2494 INOTIFY_CFLAGS
2495 C compiler flags for libinotify, overriding pkg-config
2496 INOTIFY_LIBS
2497 Linker flags for libinotify, overriding pkg-config
2498 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2499 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2500 GNUTLS_CFLAGS
2501 C compiler flags for gnutls, overriding pkg-config
2502 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2503 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2504 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2505 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2506 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2507 GPHOTO2_CFLAGS
2508 C compiler flags for libgphoto2, overriding pkg-config
2509 GPHOTO2_LIBS
2510 Linker flags for libgphoto2, overriding pkg-config
2511 GPHOTO2_PORT_CFLAGS
2512 C compiler flags for libgphoto2_port, overriding pkg-config
2513 GPHOTO2_PORT_LIBS
2514 Linker flags for libgphoto2_port, overriding pkg-config
2515 FREETYPE_CFLAGS
2516 C compiler flags for freetype2, overriding pkg-config
2517 FREETYPE_LIBS
2518 Linker flags for freetype2, overriding pkg-config
2519 PULSE_CFLAGS
2520 C compiler flags for libpulse, overriding pkg-config
2521 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2522 GSTREAMER_CFLAGS
2523 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2524 gstreamer-audio-1.0, overriding pkg-config
2525 GSTREAMER_LIBS
2526 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2527 gstreamer-audio-1.0, overriding pkg-config
2528 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2529 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2530 UNWIND_CFLAGS
2531 C compiler flags for libunwind, overriding pkg-config
2532 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2533 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2534 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2535 CAPI20_CFLAGS
2536 C compiler flags for capi20, overriding pkg-config
2537 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2538 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2539 CUPS_LIBS Linker flags for cups, overriding pkg-config
2540 FONTCONFIG_CFLAGS
2541 C compiler flags for fontconfig, overriding pkg-config
2542 FONTCONFIG_LIBS
2543 Linker flags for fontconfig, overriding pkg-config
2544 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2545 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2546 GSSAPI_CFLAGS
2547 C compiler flags for krb5-gssapi, overriding pkg-config
2548 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2549 NETAPI_CFLAGS
2550 C compiler flags for netapi, overriding pkg-config
2551 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2552 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2553 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2555 Use these variables to override the choices made by `configure' or to help
2556 it to find libraries and programs with nonstandard names/locations.
2558 Report bugs to <wine-devel@winehq.org>.
2559 Wine home page: <https://www.winehq.org>.
2560 _ACEOF
2561 ac_status=$?
2564 if test "$ac_init_help" = "recursive"; then
2565 # If there are subdirs, report their specific --help.
2566 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2567 test -d "$ac_dir" ||
2568 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2569 continue
2570 ac_builddir=.
2572 case "$ac_dir" in
2573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2575 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2576 # A ".." for each directory in $ac_dir_suffix.
2577 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2578 case $ac_top_builddir_sub in
2579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2581 esac ;;
2582 esac
2583 ac_abs_top_builddir=$ac_pwd
2584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2585 # for backward compatibility:
2586 ac_top_builddir=$ac_top_build_prefix
2588 case $srcdir in
2589 .) # We are building in place.
2590 ac_srcdir=.
2591 ac_top_srcdir=$ac_top_builddir_sub
2592 ac_abs_top_srcdir=$ac_pwd ;;
2593 [\\/]* | ?:[\\/]* ) # Absolute name.
2594 ac_srcdir=$srcdir$ac_dir_suffix;
2595 ac_top_srcdir=$srcdir
2596 ac_abs_top_srcdir=$srcdir ;;
2597 *) # Relative name.
2598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2599 ac_top_srcdir=$ac_top_build_prefix$srcdir
2600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2601 esac
2602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2604 cd "$ac_dir" || { ac_status=$?; continue; }
2605 # Check for configure.gnu first; this name is used for a wrapper for
2606 # Metaconfig's "Configure" on case-insensitive file systems.
2607 if test -f "$ac_srcdir/configure.gnu"; then
2608 echo &&
2609 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2610 elif test -f "$ac_srcdir/configure"; then
2611 echo &&
2612 $SHELL "$ac_srcdir/configure" --help=recursive
2613 else
2614 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2615 fi || ac_status=$?
2616 cd "$ac_pwd" || { ac_status=$?; break; }
2617 done
2620 test -n "$ac_init_help" && exit $ac_status
2621 if $ac_init_version; then
2622 cat <<\_ACEOF
2623 Wine configure 7.3
2624 generated by GNU Autoconf 2.71
2626 Copyright (C) 2021 Free Software Foundation, Inc.
2627 This configure script is free software; the Free Software Foundation
2628 gives unlimited permission to copy, distribute and modify it.
2629 _ACEOF
2630 exit
2633 ## ------------------------ ##
2634 ## Autoconf initialization. ##
2635 ## ------------------------ ##
2637 # ac_fn_c_try_compile LINENO
2638 # --------------------------
2639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2640 ac_fn_c_try_compile ()
2642 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2643 rm -f conftest.$ac_objext conftest.beam
2644 if { { ac_try="$ac_compile"
2645 case "(($ac_try" in
2646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2647 *) ac_try_echo=$ac_try;;
2648 esac
2649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2650 printf "%s\n" "$ac_try_echo"; } >&5
2651 (eval "$ac_compile") 2>conftest.err
2652 ac_status=$?
2653 if test -s conftest.err; then
2654 grep -v '^ *+' conftest.err >conftest.er1
2655 cat conftest.er1 >&5
2656 mv -f conftest.er1 conftest.err
2658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2659 test $ac_status = 0; } && {
2660 test -z "$ac_c_werror_flag" ||
2661 test ! -s conftest.err
2662 } && test -s conftest.$ac_objext
2663 then :
2664 ac_retval=0
2665 else $as_nop
2666 printf "%s\n" "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.$ac_ext >&5
2669 ac_retval=1
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2672 as_fn_set_status $ac_retval
2674 } # ac_fn_c_try_compile
2676 # ac_fn_cxx_try_compile LINENO
2677 # ----------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_cxx_try_compile ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 rm -f conftest.$ac_objext conftest.beam
2683 if { { ac_try="$ac_compile"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2691 ac_status=$?
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_cxx_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2702 then :
2703 ac_retval=0
2704 else $as_nop
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_retval=1
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_cxx_try_compile
2715 # ac_fn_c_try_link LINENO
2716 # -----------------------
2717 # Try to link conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_c_try_link ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2722 if { { ac_try="$ac_link"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_link") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_c_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest$ac_exeext && {
2741 test "$cross_compiling" = yes ||
2742 test -x conftest$ac_exeext
2744 then :
2745 ac_retval=0
2746 else $as_nop
2747 printf "%s\n" "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2750 ac_retval=1
2752 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2753 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2754 # interfere with the next link command; also delete a directory that is
2755 # left behind by Apple's compiler. We do this before executing the actions.
2756 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2758 as_fn_set_status $ac_retval
2760 } # ac_fn_c_try_link
2762 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2763 # -------------------------------------------------------
2764 # Tests whether HEADER exists and can be compiled using the include files in
2765 # INCLUDES, setting the cache variable VAR accordingly.
2766 ac_fn_c_check_header_compile ()
2768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2770 printf %s "checking for $2... " >&6; }
2771 if eval test \${$3+y}
2772 then :
2773 printf %s "(cached) " >&6
2774 else $as_nop
2775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2776 /* end confdefs.h. */
2778 #include <$2>
2779 _ACEOF
2780 if ac_fn_c_try_compile "$LINENO"
2781 then :
2782 eval "$3=yes"
2783 else $as_nop
2784 eval "$3=no"
2786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2788 eval ac_res=\$$3
2789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2790 printf "%s\n" "$ac_res" >&6; }
2791 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2793 } # ac_fn_c_check_header_compile
2795 # ac_fn_objc_try_compile LINENO
2796 # -----------------------------
2797 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2798 ac_fn_objc_try_compile ()
2800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2801 rm -f conftest.$ac_objext conftest.beam
2802 if { { ac_try="$ac_compile"
2803 case "(($ac_try" in
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805 *) ac_try_echo=$ac_try;;
2806 esac
2807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2808 printf "%s\n" "$ac_try_echo"; } >&5
2809 (eval "$ac_compile") 2>conftest.err
2810 ac_status=$?
2811 if test -s conftest.err; then
2812 grep -v '^ *+' conftest.err >conftest.er1
2813 cat conftest.er1 >&5
2814 mv -f conftest.er1 conftest.err
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2817 test $ac_status = 0; } && {
2818 test -z "$ac_objc_werror_flag" ||
2819 test ! -s conftest.err
2820 } && test -s conftest.$ac_objext
2821 then :
2822 ac_retval=0
2823 else $as_nop
2824 printf "%s\n" "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 ac_retval=1
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_objc_try_compile
2834 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2835 # ----------------------------------------------------------
2836 # Tests whether HEADER exists and can be compiled using the include files in
2837 # INCLUDES, setting the cache variable VAR accordingly.
2838 ac_fn_objc_check_header_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2842 printf %s "checking for $2... " >&6; }
2843 if eval test \${$3+y}
2844 then :
2845 printf %s "(cached) " >&6
2846 else $as_nop
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2850 #include <$2>
2851 _ACEOF
2852 if ac_fn_objc_try_compile "$LINENO"
2853 then :
2854 eval "$3=yes"
2855 else $as_nop
2856 eval "$3=no"
2858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2860 eval ac_res=\$$3
2861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2862 printf "%s\n" "$ac_res" >&6; }
2863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2865 } # ac_fn_objc_check_header_compile
2867 # ac_fn_c_check_func LINENO FUNC VAR
2868 # ----------------------------------
2869 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2870 ac_fn_c_check_func ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2874 printf %s "checking for $2... " >&6; }
2875 if eval test \${$3+y}
2876 then :
2877 printf %s "(cached) " >&6
2878 else $as_nop
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2881 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2883 #define $2 innocuous_$2
2885 /* System header to define __stub macros and hopefully few prototypes,
2886 which can conflict with char $2 (); below. */
2888 #include <limits.h>
2889 #undef $2
2891 /* Override any GCC internal prototype to avoid an error.
2892 Use char because int might match the return type of a GCC
2893 builtin and then its argument prototype would still apply. */
2894 #ifdef __cplusplus
2895 extern "C"
2896 #endif
2897 char $2 ();
2898 /* The GNU C library defines this for functions which it implements
2899 to always fail with ENOSYS. Some functions are actually named
2900 something starting with __ and the normal name is an alias. */
2901 #if defined __stub_$2 || defined __stub___$2
2902 choke me
2903 #endif
2906 main (void)
2908 return $2 ();
2910 return 0;
2912 _ACEOF
2913 if ac_fn_c_try_link "$LINENO"
2914 then :
2915 eval "$3=yes"
2916 else $as_nop
2917 eval "$3=no"
2919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2920 conftest$ac_exeext conftest.$ac_ext
2922 eval ac_res=\$$3
2923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2924 printf "%s\n" "$ac_res" >&6; }
2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2927 } # ac_fn_c_check_func
2929 # ac_fn_c_try_cpp LINENO
2930 # ----------------------
2931 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2932 ac_fn_c_try_cpp ()
2934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2935 if { { ac_try="$ac_cpp conftest.$ac_ext"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 printf "%s\n" "$ac_try_echo"; } >&5
2942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2943 ac_status=$?
2944 if test -s conftest.err; then
2945 grep -v '^ *+' conftest.err >conftest.er1
2946 cat conftest.er1 >&5
2947 mv -f conftest.er1 conftest.err
2949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; } > conftest.i && {
2951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2952 test ! -s conftest.err
2954 then :
2955 ac_retval=0
2956 else $as_nop
2957 printf "%s\n" "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2960 ac_retval=1
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 as_fn_set_status $ac_retval
2965 } # ac_fn_c_try_cpp
2967 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2968 # ----------------------------------------------------
2969 # Tries to find if the field MEMBER exists in type AGGR, after including
2970 # INCLUDES, setting cache variable VAR accordingly.
2971 ac_fn_c_check_member ()
2973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2975 printf %s "checking for $2.$3... " >&6; }
2976 if eval test \${$4+y}
2977 then :
2978 printf %s "(cached) " >&6
2979 else $as_nop
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2984 main (void)
2986 static $2 ac_aggr;
2987 if (ac_aggr.$3)
2988 return 0;
2990 return 0;
2992 _ACEOF
2993 if ac_fn_c_try_compile "$LINENO"
2994 then :
2995 eval "$4=yes"
2996 else $as_nop
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main (void)
3003 static $2 ac_aggr;
3004 if (sizeof ac_aggr.$3)
3005 return 0;
3007 return 0;
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"
3011 then :
3012 eval "$4=yes"
3013 else $as_nop
3014 eval "$4=no"
3016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3020 eval ac_res=\$$4
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3022 printf "%s\n" "$ac_res" >&6; }
3023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 } # ac_fn_c_check_member
3027 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3028 # -------------------------------------------
3029 # Tests whether TYPE exists after having included INCLUDES, setting cache
3030 # variable VAR accordingly.
3031 ac_fn_c_check_type ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3035 printf %s "checking for $2... " >&6; }
3036 if eval test \${$3+y}
3037 then :
3038 printf %s "(cached) " >&6
3039 else $as_nop
3040 eval "$3=no"
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3045 main (void)
3047 if (sizeof ($2))
3048 return 0;
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"
3054 then :
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main (void)
3061 if (sizeof (($2)))
3062 return 0;
3064 return 0;
3066 _ACEOF
3067 if ac_fn_c_try_compile "$LINENO"
3068 then :
3070 else $as_nop
3071 eval "$3=yes"
3073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 eval ac_res=\$$3
3078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3079 printf "%s\n" "$ac_res" >&6; }
3080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3082 } # ac_fn_c_check_type
3083 ac_configure_args_raw=
3084 for ac_arg
3086 case $ac_arg in
3087 *\'*)
3088 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 esac
3090 as_fn_append ac_configure_args_raw " '$ac_arg'"
3091 done
3093 case $ac_configure_args_raw in
3094 *$as_nl*)
3095 ac_safe_unquote= ;;
3097 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3098 ac_unsafe_a="$ac_unsafe_z#~"
3099 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3100 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3101 esac
3103 cat >config.log <<_ACEOF
3104 This file contains any messages produced by compilers while
3105 running configure, to aid debugging if configure makes a mistake.
3107 It was created by Wine $as_me 7.3, which was
3108 generated by GNU Autoconf 2.71. Invocation command line was
3110 $ $0$ac_configure_args_raw
3112 _ACEOF
3113 exec 5>>config.log
3115 cat <<_ASUNAME
3116 ## --------- ##
3117 ## Platform. ##
3118 ## --------- ##
3120 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3121 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3122 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3123 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3124 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3126 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3127 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3129 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3130 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3131 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3132 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3133 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3134 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3135 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3137 _ASUNAME
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3140 for as_dir in $PATH
3142 IFS=$as_save_IFS
3143 case $as_dir in #(((
3144 '') as_dir=./ ;;
3145 */) ;;
3146 *) as_dir=$as_dir/ ;;
3147 esac
3148 printf "%s\n" "PATH: $as_dir"
3149 done
3150 IFS=$as_save_IFS
3152 } >&5
3154 cat >&5 <<_ACEOF
3157 ## ----------- ##
3158 ## Core tests. ##
3159 ## ----------- ##
3161 _ACEOF
3164 # Keep a trace of the command line.
3165 # Strip out --no-create and --no-recursion so they do not pile up.
3166 # Strip out --silent because we don't want to record it for future runs.
3167 # Also quote any args containing shell meta-characters.
3168 # Make two passes to allow for proper duplicate-argument suppression.
3169 ac_configure_args=
3170 ac_configure_args0=
3171 ac_configure_args1=
3172 ac_must_keep_next=false
3173 for ac_pass in 1 2
3175 for ac_arg
3177 case $ac_arg in
3178 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3180 | -silent | --silent | --silen | --sile | --sil)
3181 continue ;;
3182 *\'*)
3183 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3184 esac
3185 case $ac_pass in
3186 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3188 as_fn_append ac_configure_args1 " '$ac_arg'"
3189 if test $ac_must_keep_next = true; then
3190 ac_must_keep_next=false # Got value, back to normal.
3191 else
3192 case $ac_arg in
3193 *=* | --config-cache | -C | -disable-* | --disable-* \
3194 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3195 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3196 | -with-* | --with-* | -without-* | --without-* | --x)
3197 case "$ac_configure_args0 " in
3198 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3199 esac
3201 -* ) ac_must_keep_next=true ;;
3202 esac
3204 as_fn_append ac_configure_args " '$ac_arg'"
3206 esac
3207 done
3208 done
3209 { ac_configure_args0=; unset ac_configure_args0;}
3210 { ac_configure_args1=; unset ac_configure_args1;}
3212 # When interrupted or exit'd, cleanup temporary files, and complete
3213 # config.log. We remove comments because anyway the quotes in there
3214 # would cause problems or look ugly.
3215 # WARNING: Use '\'' to represent an apostrophe within the trap.
3216 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3217 trap 'exit_status=$?
3218 # Sanitize IFS.
3219 IFS=" "" $as_nl"
3220 # Save into config.log some information that might help in debugging.
3222 echo
3224 printf "%s\n" "## ---------------- ##
3225 ## Cache variables. ##
3226 ## ---------------- ##"
3227 echo
3228 # The following way of writing the cache mishandles newlines in values,
3230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3231 eval ac_val=\$$ac_var
3232 case $ac_val in #(
3233 *${as_nl}*)
3234 case $ac_var in #(
3235 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3236 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3237 esac
3238 case $ac_var in #(
3239 _ | IFS | as_nl) ;; #(
3240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3241 *) { eval $ac_var=; unset $ac_var;} ;;
3242 esac ;;
3243 esac
3244 done
3245 (set) 2>&1 |
3246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3247 *${as_nl}ac_space=\ *)
3248 sed -n \
3249 "s/'\''/'\''\\\\'\'''\''/g;
3250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3251 ;; #(
3253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3255 esac |
3256 sort
3258 echo
3260 printf "%s\n" "## ----------------- ##
3261 ## Output variables. ##
3262 ## ----------------- ##"
3263 echo
3264 for ac_var in $ac_subst_vars
3266 eval ac_val=\$$ac_var
3267 case $ac_val in
3268 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3269 esac
3270 printf "%s\n" "$ac_var='\''$ac_val'\''"
3271 done | sort
3272 echo
3274 if test -n "$ac_subst_files"; then
3275 printf "%s\n" "## ------------------- ##
3276 ## File substitutions. ##
3277 ## ------------------- ##"
3278 echo
3279 for ac_var in $ac_subst_files
3281 eval ac_val=\$$ac_var
3282 case $ac_val in
3283 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3284 esac
3285 printf "%s\n" "$ac_var='\''$ac_val'\''"
3286 done | sort
3287 echo
3290 if test -s confdefs.h; then
3291 printf "%s\n" "## ----------- ##
3292 ## confdefs.h. ##
3293 ## ----------- ##"
3294 echo
3295 cat confdefs.h
3296 echo
3298 test "$ac_signal" != 0 &&
3299 printf "%s\n" "$as_me: caught signal $ac_signal"
3300 printf "%s\n" "$as_me: exit $exit_status"
3301 } >&5
3302 rm -f core *.core core.conftest.* &&
3303 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3304 exit $exit_status
3306 for ac_signal in 1 2 13 15; do
3307 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3308 done
3309 ac_signal=0
3311 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3312 rm -f -r conftest* confdefs.h
3314 printf "%s\n" "/* confdefs.h */" > confdefs.h
3316 # Predefined preprocessor variables.
3318 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3320 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3322 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3324 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3331 # Let the site file select an alternate cache file if it wants to.
3332 # Prefer an explicitly selected file to automatically selected ones.
3333 if test -n "$CONFIG_SITE"; then
3334 ac_site_files="$CONFIG_SITE"
3335 elif test "x$prefix" != xNONE; then
3336 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3337 else
3338 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3341 for ac_site_file in $ac_site_files
3343 case $ac_site_file in #(
3344 */*) :
3345 ;; #(
3346 *) :
3347 ac_site_file=./$ac_site_file ;;
3348 esac
3349 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3351 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3352 sed 's/^/| /' "$ac_site_file" >&5
3353 . "$ac_site_file" \
3354 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "failed to load site script $ac_site_file
3357 See \`config.log' for more details" "$LINENO" 5; }
3359 done
3361 if test -r "$cache_file"; then
3362 # Some versions of bash will fail to source /dev/null (special files
3363 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3364 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3366 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3367 case $cache_file in
3368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3369 *) . "./$cache_file";;
3370 esac
3372 else
3373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3374 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3375 >$cache_file
3378 # Test code for whether the C compiler supports C89 (global declarations)
3379 ac_c_conftest_c89_globals='
3380 /* Does the compiler advertise C89 conformance?
3381 Do not test the value of __STDC__, because some compilers set it to 0
3382 while being otherwise adequately conformant. */
3383 #if !defined __STDC__
3384 # error "Compiler does not advertise C89 conformance"
3385 #endif
3387 #include <stddef.h>
3388 #include <stdarg.h>
3389 struct stat;
3390 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3391 struct buf { int x; };
3392 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3393 static char *e (p, i)
3394 char **p;
3395 int i;
3397 return p[i];
3399 static char *f (char * (*g) (char **, int), char **p, ...)
3401 char *s;
3402 va_list v;
3403 va_start (v,p);
3404 s = g (p, va_arg (v,int));
3405 va_end (v);
3406 return s;
3409 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3410 function prototypes and stuff, but not \xHH hex character constants.
3411 These do not provoke an error unfortunately, instead are silently treated
3412 as an "x". The following induces an error, until -std is added to get
3413 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3414 array size at least. It is necessary to write \x00 == 0 to get something
3415 that is true only with -std. */
3416 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3418 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3419 inside strings and character constants. */
3420 #define FOO(x) '\''x'\''
3421 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3423 int test (int i, double x);
3424 struct s1 {int (*f) (int a);};
3425 struct s2 {int (*f) (double a);};
3426 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3427 int, int);'
3429 # Test code for whether the C compiler supports C89 (body of main).
3430 ac_c_conftest_c89_main='
3431 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3434 # Test code for whether the C compiler supports C99 (global declarations)
3435 ac_c_conftest_c99_globals='
3436 // Does the compiler advertise C99 conformance?
3437 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3438 # error "Compiler does not advertise C99 conformance"
3439 #endif
3441 #include <stdbool.h>
3442 extern int puts (const char *);
3443 extern int printf (const char *, ...);
3444 extern int dprintf (int, const char *, ...);
3445 extern void *malloc (size_t);
3447 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3448 // dprintf is used instead of fprintf to avoid needing to declare
3449 // FILE and stderr.
3450 #define debug(...) dprintf (2, __VA_ARGS__)
3451 #define showlist(...) puts (#__VA_ARGS__)
3452 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3453 static void
3454 test_varargs_macros (void)
3456 int x = 1234;
3457 int y = 5678;
3458 debug ("Flag");
3459 debug ("X = %d\n", x);
3460 showlist (The first, second, and third items.);
3461 report (x>y, "x is %d but y is %d", x, y);
3464 // Check long long types.
3465 #define BIG64 18446744073709551615ull
3466 #define BIG32 4294967295ul
3467 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3468 #if !BIG_OK
3469 #error "your preprocessor is broken"
3470 #endif
3471 #if BIG_OK
3472 #else
3473 #error "your preprocessor is broken"
3474 #endif
3475 static long long int bignum = -9223372036854775807LL;
3476 static unsigned long long int ubignum = BIG64;
3478 struct incomplete_array
3480 int datasize;
3481 double data[];
3484 struct named_init {
3485 int number;
3486 const wchar_t *name;
3487 double average;
3490 typedef const char *ccp;
3492 static inline int
3493 test_restrict (ccp restrict text)
3495 // See if C++-style comments work.
3496 // Iterate through items via the restricted pointer.
3497 // Also check for declarations in for loops.
3498 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3499 continue;
3500 return 0;
3503 // Check varargs and va_copy.
3504 static bool
3505 test_varargs (const char *format, ...)
3507 va_list args;
3508 va_start (args, format);
3509 va_list args_copy;
3510 va_copy (args_copy, args);
3512 const char *str = "";
3513 int number = 0;
3514 float fnumber = 0;
3516 while (*format)
3518 switch (*format++)
3520 case '\''s'\'': // string
3521 str = va_arg (args_copy, const char *);
3522 break;
3523 case '\''d'\'': // int
3524 number = va_arg (args_copy, int);
3525 break;
3526 case '\''f'\'': // float
3527 fnumber = va_arg (args_copy, double);
3528 break;
3529 default:
3530 break;
3533 va_end (args_copy);
3534 va_end (args);
3536 return *str && number && fnumber;
3540 # Test code for whether the C compiler supports C99 (body of main).
3541 ac_c_conftest_c99_main='
3542 // Check bool.
3543 _Bool success = false;
3544 success |= (argc != 0);
3546 // Check restrict.
3547 if (test_restrict ("String literal") == 0)
3548 success = true;
3549 char *restrict newvar = "Another string";
3551 // Check varargs.
3552 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3553 test_varargs_macros ();
3555 // Check flexible array members.
3556 struct incomplete_array *ia =
3557 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3558 ia->datasize = 10;
3559 for (int i = 0; i < ia->datasize; ++i)
3560 ia->data[i] = i * 1.234;
3562 // Check named initializers.
3563 struct named_init ni = {
3564 .number = 34,
3565 .name = L"Test wide string",
3566 .average = 543.34343,
3569 ni.number = 58;
3571 int dynamic_array[ni.number];
3572 dynamic_array[0] = argv[0][0];
3573 dynamic_array[ni.number - 1] = 543;
3575 // work around unused variable warnings
3576 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3577 || dynamic_array[ni.number - 1] != 543);
3580 # Test code for whether the C compiler supports C11 (global declarations)
3581 ac_c_conftest_c11_globals='
3582 // Does the compiler advertise C11 conformance?
3583 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3584 # error "Compiler does not advertise C11 conformance"
3585 #endif
3587 // Check _Alignas.
3588 char _Alignas (double) aligned_as_double;
3589 char _Alignas (0) no_special_alignment;
3590 extern char aligned_as_int;
3591 char _Alignas (0) _Alignas (int) aligned_as_int;
3593 // Check _Alignof.
3594 enum
3596 int_alignment = _Alignof (int),
3597 int_array_alignment = _Alignof (int[100]),
3598 char_alignment = _Alignof (char)
3600 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3602 // Check _Noreturn.
3603 int _Noreturn does_not_return (void) { for (;;) continue; }
3605 // Check _Static_assert.
3606 struct test_static_assert
3608 int x;
3609 _Static_assert (sizeof (int) <= sizeof (long int),
3610 "_Static_assert does not work in struct");
3611 long int y;
3614 // Check UTF-8 literals.
3615 #define u8 syntax error!
3616 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3618 // Check duplicate typedefs.
3619 typedef long *long_ptr;
3620 typedef long int *long_ptr;
3621 typedef long_ptr long_ptr;
3623 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3624 struct anonymous
3626 union {
3627 struct { int i; int j; };
3628 struct { int k; long int l; } w;
3630 int m;
3631 } v1;
3634 # Test code for whether the C compiler supports C11 (body of main).
3635 ac_c_conftest_c11_main='
3636 _Static_assert ((offsetof (struct anonymous, i)
3637 == offsetof (struct anonymous, w.k)),
3638 "Anonymous union alignment botch");
3639 v1.i = 2;
3640 v1.w.k = 5;
3641 ok |= v1.i != 5;
3644 # Test code for whether the C compiler supports C11 (complete).
3645 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3646 ${ac_c_conftest_c99_globals}
3647 ${ac_c_conftest_c11_globals}
3650 main (int argc, char **argv)
3652 int ok = 0;
3653 ${ac_c_conftest_c89_main}
3654 ${ac_c_conftest_c99_main}
3655 ${ac_c_conftest_c11_main}
3656 return ok;
3660 # Test code for whether the C compiler supports C99 (complete).
3661 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3662 ${ac_c_conftest_c99_globals}
3665 main (int argc, char **argv)
3667 int ok = 0;
3668 ${ac_c_conftest_c89_main}
3669 ${ac_c_conftest_c99_main}
3670 return ok;
3674 # Test code for whether the C compiler supports C89 (complete).
3675 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3678 main (int argc, char **argv)
3680 int ok = 0;
3681 ${ac_c_conftest_c89_main}
3682 return ok;
3686 # Test code for whether the C++ compiler supports C++98 (global declarations)
3687 ac_cxx_conftest_cxx98_globals='
3688 // Does the compiler advertise C++98 conformance?
3689 #if !defined __cplusplus || __cplusplus < 199711L
3690 # error "Compiler does not advertise C++98 conformance"
3691 #endif
3693 // These inclusions are to reject old compilers that
3694 // lack the unsuffixed header files.
3695 #include <cstdlib>
3696 #include <exception>
3698 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3699 extern void assert (int);
3700 namespace std {
3701 extern int strcmp (const char *, const char *);
3704 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3705 using std::exception;
3706 using std::strcmp;
3708 namespace {
3710 void test_exception_syntax()
3712 try {
3713 throw "test";
3714 } catch (const char *s) {
3715 // Extra parentheses suppress a warning when building autoconf itself,
3716 // due to lint rules shared with more typical C programs.
3717 assert (!(strcmp) (s, "test"));
3721 template <typename T> struct test_template
3723 T const val;
3724 explicit test_template(T t) : val(t) {}
3725 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3728 } // anonymous namespace
3731 # Test code for whether the C++ compiler supports C++98 (body of main)
3732 ac_cxx_conftest_cxx98_main='
3733 assert (argc);
3734 assert (! argv[0]);
3736 test_exception_syntax ();
3737 test_template<double> tt (2.0);
3738 assert (tt.add (4) == 6.0);
3739 assert (true && !false);
3743 # Test code for whether the C++ compiler supports C++11 (global declarations)
3744 ac_cxx_conftest_cxx11_globals='
3745 // Does the compiler advertise C++ 2011 conformance?
3746 #if !defined __cplusplus || __cplusplus < 201103L
3747 # error "Compiler does not advertise C++11 conformance"
3748 #endif
3750 namespace cxx11test
3752 constexpr int get_val() { return 20; }
3754 struct testinit
3756 int i;
3757 double d;
3760 class delegate
3762 public:
3763 delegate(int n) : n(n) {}
3764 delegate(): delegate(2354) {}
3766 virtual int getval() { return this->n; };
3767 protected:
3768 int n;
3771 class overridden : public delegate
3773 public:
3774 overridden(int n): delegate(n) {}
3775 virtual int getval() override final { return this->n * 2; }
3778 class nocopy
3780 public:
3781 nocopy(int i): i(i) {}
3782 nocopy() = default;
3783 nocopy(const nocopy&) = delete;
3784 nocopy & operator=(const nocopy&) = delete;
3785 private:
3786 int i;
3789 // for testing lambda expressions
3790 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3792 return f(v);
3795 // for testing variadic templates and trailing return types
3796 template <typename V> auto sum(V first) -> V
3798 return first;
3800 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3802 return first + sum(rest...);
3807 # Test code for whether the C++ compiler supports C++11 (body of main)
3808 ac_cxx_conftest_cxx11_main='
3810 // Test auto and decltype
3811 auto a1 = 6538;
3812 auto a2 = 48573953.4;
3813 auto a3 = "String literal";
3815 int total = 0;
3816 for (auto i = a3; *i; ++i) { total += *i; }
3818 decltype(a2) a4 = 34895.034;
3821 // Test constexpr
3822 short sa[cxx11test::get_val()] = { 0 };
3825 // Test initializer lists
3826 cxx11test::testinit il = { 4323, 435234.23544 };
3829 // Test range-based for
3830 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3831 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3832 for (auto &x : array) { x += 23; }
3835 // Test lambda expressions
3836 using cxx11test::eval;
3837 assert (eval ([](int x) { return x*2; }, 21) == 42);
3838 double d = 2.0;
3839 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3840 assert (d == 5.0);
3841 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3842 assert (d == 5.0);
3845 // Test use of variadic templates
3846 using cxx11test::sum;
3847 auto a = sum(1);
3848 auto b = sum(1, 2);
3849 auto c = sum(1.0, 2.0, 3.0);
3852 // Test constructor delegation
3853 cxx11test::delegate d1;
3854 cxx11test::delegate d2();
3855 cxx11test::delegate d3(45);
3858 // Test override and final
3859 cxx11test::overridden o1(55464);
3862 // Test nullptr
3863 char *c = nullptr;
3866 // Test template brackets
3867 test_template<::test_template<int>> v(test_template<int>(12));
3870 // Unicode literals
3871 char const *utf8 = u8"UTF-8 string \u2500";
3872 char16_t const *utf16 = u"UTF-8 string \u2500";
3873 char32_t const *utf32 = U"UTF-32 string \u2500";
3877 # Test code for whether the C compiler supports C++11 (complete).
3878 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3879 ${ac_cxx_conftest_cxx11_globals}
3882 main (int argc, char **argv)
3884 int ok = 0;
3885 ${ac_cxx_conftest_cxx98_main}
3886 ${ac_cxx_conftest_cxx11_main}
3887 return ok;
3891 # Test code for whether the C compiler supports C++98 (complete).
3892 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3894 main (int argc, char **argv)
3896 int ok = 0;
3897 ${ac_cxx_conftest_cxx98_main}
3898 return ok;
3902 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3903 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3904 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3905 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3906 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3907 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3908 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3909 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3910 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3912 # Auxiliary files required by this configure script.
3913 ac_aux_files="config.guess config.sub"
3915 # Locations in which to look for auxiliary files.
3916 ac_aux_dir_candidates="${srcdir}/tools"
3918 # Search for a directory containing all of the required auxiliary files,
3919 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3920 # If we don't find one directory that contains all the files we need,
3921 # we report the set of missing files from the *first* directory in
3922 # $ac_aux_dir_candidates and give up.
3923 ac_missing_aux_files=""
3924 ac_first_candidate=:
3925 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 as_found=false
3928 for as_dir in $ac_aux_dir_candidates
3930 IFS=$as_save_IFS
3931 case $as_dir in #(((
3932 '') as_dir=./ ;;
3933 */) ;;
3934 *) as_dir=$as_dir/ ;;
3935 esac
3936 as_found=:
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3939 ac_aux_dir_found=yes
3940 ac_install_sh=
3941 for ac_aux in $ac_aux_files
3943 # As a special case, if "install-sh" is required, that requirement
3944 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3945 # and $ac_install_sh is set appropriately for whichever one is found.
3946 if test x"$ac_aux" = x"install-sh"
3947 then
3948 if test -f "${as_dir}install-sh"; then
3949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3950 ac_install_sh="${as_dir}install-sh -c"
3951 elif test -f "${as_dir}install.sh"; then
3952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3953 ac_install_sh="${as_dir}install.sh -c"
3954 elif test -f "${as_dir}shtool"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3956 ac_install_sh="${as_dir}shtool install -c"
3957 else
3958 ac_aux_dir_found=no
3959 if $ac_first_candidate; then
3960 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3961 else
3962 break
3965 else
3966 if test -f "${as_dir}${ac_aux}"; then
3967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3968 else
3969 ac_aux_dir_found=no
3970 if $ac_first_candidate; then
3971 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3972 else
3973 break
3977 done
3978 if test "$ac_aux_dir_found" = yes; then
3979 ac_aux_dir="$as_dir"
3980 break
3982 ac_first_candidate=false
3984 as_found=false
3985 done
3986 IFS=$as_save_IFS
3987 if $as_found
3988 then :
3990 else $as_nop
3991 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3995 # These three variables are undocumented and unsupported,
3996 # and are intended to be withdrawn in a future Autoconf release.
3997 # They can cause serious problems if a builder's source tree is in a directory
3998 # whose full name contains unusual characters.
3999 if test -f "${ac_aux_dir}config.guess"; then
4000 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4002 if test -f "${ac_aux_dir}config.sub"; then
4003 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4005 if test -f "$ac_aux_dir/configure"; then
4006 ac_configure="$SHELL ${ac_aux_dir}configure"
4009 # Check that the precious variables saved in the cache have kept the same
4010 # value.
4011 ac_cache_corrupted=false
4012 for ac_var in $ac_precious_vars; do
4013 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4014 eval ac_new_set=\$ac_env_${ac_var}_set
4015 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4016 eval ac_new_val=\$ac_env_${ac_var}_value
4017 case $ac_old_set,$ac_new_set in
4018 set,)
4019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4020 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4021 ac_cache_corrupted=: ;;
4022 ,set)
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4024 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4025 ac_cache_corrupted=: ;;
4026 ,);;
4028 if test "x$ac_old_val" != "x$ac_new_val"; then
4029 # differences in whitespace do not lead to failure.
4030 ac_old_val_w=`echo x $ac_old_val`
4031 ac_new_val_w=`echo x $ac_new_val`
4032 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4034 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4035 ac_cache_corrupted=:
4036 else
4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4038 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4039 eval $ac_var=\$ac_old_val
4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4042 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4044 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4045 fi;;
4046 esac
4047 # Pass precious variables to config.status.
4048 if test "$ac_new_set" = set; then
4049 case $ac_new_val in
4050 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4051 *) ac_arg=$ac_var=$ac_new_val ;;
4052 esac
4053 case " $ac_configure_args " in
4054 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4055 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4056 esac
4058 done
4059 if $ac_cache_corrupted; then
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4061 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4063 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4064 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4065 and start over" "$LINENO" 5
4067 ## -------------------- ##
4068 ## Main body of script. ##
4069 ## -------------------- ##
4071 ac_ext=c
4072 ac_cpp='$CPP $CPPFLAGS'
4073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079 ac_config_headers="$ac_config_headers include/config.h"
4083 libwine_version="1.0"
4086 # Check whether --enable-win16 was given.
4087 if test ${enable_win16+y}
4088 then :
4089 enableval=$enable_win16;
4092 # Check whether --enable-win64 was given.
4093 if test ${enable_win64+y}
4094 then :
4095 enableval=$enable_win64;
4098 # Check whether --enable-tests was given.
4099 if test ${enable_tests+y}
4100 then :
4101 enableval=$enable_tests;
4104 # Check whether --enable-build-id was given.
4105 if test ${enable_build_id+y}
4106 then :
4107 enableval=$enable_build_id;
4110 # Check whether --enable-maintainer-mode was given.
4111 if test ${enable_maintainer_mode+y}
4112 then :
4113 enableval=$enable_maintainer_mode;
4116 # Check whether --enable-silent-rules was given.
4117 if test ${enable_silent_rules+y}
4118 then :
4119 enableval=$enable_silent_rules;
4122 # Check whether --enable-werror was given.
4123 if test ${enable_werror+y}
4124 then :
4125 enableval=$enable_werror;
4130 # Check whether --with-alsa was given.
4131 if test ${with_alsa+y}
4132 then :
4133 withval=$with_alsa;
4137 # Check whether --with-capi was given.
4138 if test ${with_capi+y}
4139 then :
4140 withval=$with_capi;
4144 # Check whether --with-coreaudio was given.
4145 if test ${with_coreaudio+y}
4146 then :
4147 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4151 # Check whether --with-cups was given.
4152 if test ${with_cups+y}
4153 then :
4154 withval=$with_cups;
4158 # Check whether --with-dbus was given.
4159 if test ${with_dbus+y}
4160 then :
4161 withval=$with_dbus;
4165 # Check whether --with-float-abi was given.
4166 if test ${with_float_abi+y}
4167 then :
4168 withval=$with_float_abi;
4172 # Check whether --with-fontconfig was given.
4173 if test ${with_fontconfig+y}
4174 then :
4175 withval=$with_fontconfig;
4179 # Check whether --with-freetype was given.
4180 if test ${with_freetype+y}
4181 then :
4182 withval=$with_freetype;
4186 # Check whether --with-gettext was given.
4187 if test ${with_gettext+y}
4188 then :
4189 withval=$with_gettext;
4193 # Check whether --with-gettextpo was given.
4194 if test ${with_gettextpo+y}
4195 then :
4196 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4200 # Check whether --with-gphoto was given.
4201 if test ${with_gphoto+y}
4202 then :
4203 withval=$with_gphoto;
4207 # Check whether --with-gnutls was given.
4208 if test ${with_gnutls+y}
4209 then :
4210 withval=$with_gnutls;
4214 # Check whether --with-gssapi was given.
4215 if test ${with_gssapi+y}
4216 then :
4217 withval=$with_gssapi;
4221 # Check whether --with-gstreamer was given.
4222 if test ${with_gstreamer+y}
4223 then :
4224 withval=$with_gstreamer;
4228 # Check whether --with-inotify was given.
4229 if test ${with_inotify+y}
4230 then :
4231 withval=$with_inotify;
4235 # Check whether --with-krb5 was given.
4236 if test ${with_krb5+y}
4237 then :
4238 withval=$with_krb5;
4242 # Check whether --with-ldap was given.
4243 if test ${with_ldap+y}
4244 then :
4245 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4249 # Check whether --with-mingw was given.
4250 if test ${with_mingw+y}
4251 then :
4252 withval=$with_mingw;
4256 # Check whether --with-netapi was given.
4257 if test ${with_netapi+y}
4258 then :
4259 withval=$with_netapi;
4263 # Check whether --with-openal was given.
4264 if test ${with_openal+y}
4265 then :
4266 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4270 # Check whether --with-opencl was given.
4271 if test ${with_opencl+y}
4272 then :
4273 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4277 # Check whether --with-opengl was given.
4278 if test ${with_opengl+y}
4279 then :
4280 withval=$with_opengl;
4284 # Check whether --with-osmesa was given.
4285 if test ${with_osmesa+y}
4286 then :
4287 withval=$with_osmesa;
4291 # Check whether --with-oss was given.
4292 if test ${with_oss+y}
4293 then :
4294 withval=$with_oss;
4298 # Check whether --with-pcap was given.
4299 if test ${with_pcap+y}
4300 then :
4301 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4305 # Check whether --with-pthread was given.
4306 if test ${with_pthread+y}
4307 then :
4308 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4312 # Check whether --with-pulse was given.
4313 if test ${with_pulse+y}
4314 then :
4315 withval=$with_pulse;
4319 # Check whether --with-sane was given.
4320 if test ${with_sane+y}
4321 then :
4322 withval=$with_sane;
4326 # Check whether --with-sdl was given.
4327 if test ${with_sdl+y}
4328 then :
4329 withval=$with_sdl;
4333 # Check whether --with-udev was given.
4334 if test ${with_udev+y}
4335 then :
4336 withval=$with_udev;
4340 # Check whether --with-unwind was given.
4341 if test ${with_unwind+y}
4342 then :
4343 withval=$with_unwind;
4347 # Check whether --with-usb was given.
4348 if test ${with_usb+y}
4349 then :
4350 withval=$with_usb;
4354 # Check whether --with-v4l2 was given.
4355 if test ${with_v4l2+y}
4356 then :
4357 withval=$with_v4l2;
4361 # Check whether --with-vulkan was given.
4362 if test ${with_vulkan+y}
4363 then :
4364 withval=$with_vulkan;
4368 # Check whether --with-xcomposite was given.
4369 if test ${with_xcomposite+y}
4370 then :
4371 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4375 # Check whether --with-xcursor was given.
4376 if test ${with_xcursor+y}
4377 then :
4378 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4382 # Check whether --with-xfixes was given.
4383 if test ${with_xfixes+y}
4384 then :
4385 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4389 # Check whether --with-xinerama was given.
4390 if test ${with_xinerama+y}
4391 then :
4392 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4396 # Check whether --with-xinput was given.
4397 if test ${with_xinput+y}
4398 then :
4399 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4403 # Check whether --with-xinput2 was given.
4404 if test ${with_xinput2+y}
4405 then :
4406 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4410 # Check whether --with-xrandr was given.
4411 if test ${with_xrandr+y}
4412 then :
4413 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4417 # Check whether --with-xrender was given.
4418 if test ${with_xrender+y}
4419 then :
4420 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4424 # Check whether --with-xshape was given.
4425 if test ${with_xshape+y}
4426 then :
4427 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4431 # Check whether --with-xshm was given.
4432 if test ${with_xshm+y}
4433 then :
4434 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4438 # Check whether --with-xxf86vm was given.
4439 if test ${with_xxf86vm+y}
4440 then :
4441 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
4446 # Check whether --with-system-dllpath was given.
4447 if test ${with_system_dllpath+y}
4448 then :
4449 withval=$with_system_dllpath; system_dllpath=$withval
4454 # Check whether --with-wine-tools was given.
4455 if test ${with_wine_tools+y}
4456 then :
4457 withval=$with_wine_tools;
4461 # Check whether --with-wine64 was given.
4462 if test ${with_wine64+y}
4463 then :
4464 withval=$with_wine64;
4471 # Make sure we can run config.sub.
4472 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4473 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4476 printf %s "checking build system type... " >&6; }
4477 if test ${ac_cv_build+y}
4478 then :
4479 printf %s "(cached) " >&6
4480 else $as_nop
4481 ac_build_alias=$build_alias
4482 test "x$ac_build_alias" = x &&
4483 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4484 test "x$ac_build_alias" = x &&
4485 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4486 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4487 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4491 printf "%s\n" "$ac_cv_build" >&6; }
4492 case $ac_cv_build in
4493 *-*-*) ;;
4494 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4495 esac
4496 build=$ac_cv_build
4497 ac_save_IFS=$IFS; IFS='-'
4498 set x $ac_cv_build
4499 shift
4500 build_cpu=$1
4501 build_vendor=$2
4502 shift; shift
4503 # Remember, the first character of IFS is used to create $*,
4504 # except with old shells:
4505 build_os=$*
4506 IFS=$ac_save_IFS
4507 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4511 printf %s "checking host system type... " >&6; }
4512 if test ${ac_cv_host+y}
4513 then :
4514 printf %s "(cached) " >&6
4515 else $as_nop
4516 if test "x$host_alias" = x; then
4517 ac_cv_host=$ac_cv_build
4518 else
4519 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4520 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4525 printf "%s\n" "$ac_cv_host" >&6; }
4526 case $ac_cv_host in
4527 *-*-*) ;;
4528 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4529 esac
4530 host=$ac_cv_host
4531 ac_save_IFS=$IFS; IFS='-'
4532 set x $ac_cv_host
4533 shift
4534 host_cpu=$1
4535 host_vendor=$2
4536 shift; shift
4537 # Remember, the first character of IFS is used to create $*,
4538 # except with old shells:
4539 host_os=$*
4540 IFS=$ac_save_IFS
4541 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4545 dlldir=\${libdir}/wine
4547 fontdir=\${datadir}/wine/fonts
4549 nlsdir=\${datadir}/wine/nls
4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4555 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4556 set x ${MAKE-make}
4557 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4558 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4559 then :
4560 printf %s "(cached) " >&6
4561 else $as_nop
4562 cat >conftest.make <<\_ACEOF
4563 SHELL = /bin/sh
4564 all:
4565 @echo '@@@%%%=$(MAKE)=@@@%%%'
4566 _ACEOF
4567 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4568 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4569 *@@@%%%=?*=@@@%%%*)
4570 eval ac_cv_prog_make_${ac_make}_set=yes;;
4572 eval ac_cv_prog_make_${ac_make}_set=no;;
4573 esac
4574 rm -f conftest.make
4576 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4578 printf "%s\n" "yes" >&6; }
4579 SET_MAKE=
4580 else
4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 printf "%s\n" "no" >&6; }
4583 SET_MAKE="MAKE=${MAKE-make}"
4595 ac_ext=c
4596 ac_cpp='$CPP $CPPFLAGS'
4597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 if test -n "$ac_tool_prefix"; then
4601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4604 printf %s "checking for $ac_word... " >&6; }
4605 if test ${ac_cv_prog_CC+y}
4606 then :
4607 printf %s "(cached) " >&6
4608 else $as_nop
4609 if test -n "$CC"; then
4610 ac_cv_prog_CC="$CC" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 case $as_dir in #(((
4617 '') as_dir=./ ;;
4618 */) ;;
4619 *) as_dir=$as_dir/ ;;
4620 esac
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4623 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4625 break 2
4627 done
4628 done
4629 IFS=$as_save_IFS
4633 CC=$ac_cv_prog_CC
4634 if test -n "$CC"; then
4635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4636 printf "%s\n" "$CC" >&6; }
4637 else
4638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4639 printf "%s\n" "no" >&6; }
4644 if test -z "$ac_cv_prog_CC"; then
4645 ac_ct_CC=$CC
4646 # Extract the first word of "gcc", so it can be a program name with args.
4647 set dummy gcc; ac_word=$2
4648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 printf %s "checking for $ac_word... " >&6; }
4650 if test ${ac_cv_prog_ac_ct_CC+y}
4651 then :
4652 printf %s "(cached) " >&6
4653 else $as_nop
4654 if test -n "$ac_ct_CC"; then
4655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4656 else
4657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4658 for as_dir in $PATH
4660 IFS=$as_save_IFS
4661 case $as_dir in #(((
4662 '') as_dir=./ ;;
4663 */) ;;
4664 *) as_dir=$as_dir/ ;;
4665 esac
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_CC="gcc"
4669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4670 break 2
4672 done
4673 done
4674 IFS=$as_save_IFS
4678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4679 if test -n "$ac_ct_CC"; then
4680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4681 printf "%s\n" "$ac_ct_CC" >&6; }
4682 else
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 printf "%s\n" "no" >&6; }
4687 if test "x$ac_ct_CC" = x; then
4688 CC=""
4689 else
4690 case $cross_compiling:$ac_tool_warned in
4691 yes:)
4692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4694 ac_tool_warned=yes ;;
4695 esac
4696 CC=$ac_ct_CC
4698 else
4699 CC="$ac_cv_prog_CC"
4702 if test -z "$CC"; then
4703 if test -n "$ac_tool_prefix"; then
4704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4705 set dummy ${ac_tool_prefix}cc; ac_word=$2
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707 printf %s "checking for $ac_word... " >&6; }
4708 if test ${ac_cv_prog_CC+y}
4709 then :
4710 printf %s "(cached) " >&6
4711 else $as_nop
4712 if test -n "$CC"; then
4713 ac_cv_prog_CC="$CC" # Let the user override the test.
4714 else
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH
4718 IFS=$as_save_IFS
4719 case $as_dir in #(((
4720 '') as_dir=./ ;;
4721 */) ;;
4722 *) as_dir=$as_dir/ ;;
4723 esac
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_CC="${ac_tool_prefix}cc"
4727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 CC=$ac_cv_prog_CC
4737 if test -n "$CC"; then
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4739 printf "%s\n" "$CC" >&6; }
4740 else
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 printf "%s\n" "no" >&6; }
4748 if test -z "$CC"; then
4749 # Extract the first word of "cc", so it can be a program name with args.
4750 set dummy cc; ac_word=$2
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 printf %s "checking for $ac_word... " >&6; }
4753 if test ${ac_cv_prog_CC+y}
4754 then :
4755 printf %s "(cached) " >&6
4756 else $as_nop
4757 if test -n "$CC"; then
4758 ac_cv_prog_CC="$CC" # Let the user override the test.
4759 else
4760 ac_prog_rejected=no
4761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 for as_dir in $PATH
4764 IFS=$as_save_IFS
4765 case $as_dir in #(((
4766 '') as_dir=./ ;;
4767 */) ;;
4768 *) as_dir=$as_dir/ ;;
4769 esac
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4772 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4773 ac_prog_rejected=yes
4774 continue
4776 ac_cv_prog_CC="cc"
4777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4778 break 2
4780 done
4781 done
4782 IFS=$as_save_IFS
4784 if test $ac_prog_rejected = yes; then
4785 # We found a bogon in the path, so make sure we never use it.
4786 set dummy $ac_cv_prog_CC
4787 shift
4788 if test $# != 0; then
4789 # We chose a different compiler from the bogus one.
4790 # However, it has the same basename, so the bogon will be chosen
4791 # first if we set CC to just the basename; use the full file name.
4792 shift
4793 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4798 CC=$ac_cv_prog_CC
4799 if test -n "$CC"; then
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4801 printf "%s\n" "$CC" >&6; }
4802 else
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 printf "%s\n" "no" >&6; }
4809 if test -z "$CC"; then
4810 if test -n "$ac_tool_prefix"; then
4811 for ac_prog in cl.exe
4813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s "checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 case $as_dir in #(((
4829 '') as_dir=./ ;;
4830 */) ;;
4831 *) as_dir=$as_dir/ ;;
4832 esac
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 CC=$ac_cv_prog_CC
4846 if test -n "$CC"; then
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 printf "%s\n" "$CC" >&6; }
4849 else
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 printf "%s\n" "no" >&6; }
4855 test -n "$CC" && break
4856 done
4858 if test -z "$CC"; then
4859 ac_ct_CC=$CC
4860 for ac_prog in cl.exe
4862 # Extract the first word of "$ac_prog", so it can be a program name with args.
4863 set dummy $ac_prog; ac_word=$2
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 printf %s "checking for $ac_word... " >&6; }
4866 if test ${ac_cv_prog_ac_ct_CC+y}
4867 then :
4868 printf %s "(cached) " >&6
4869 else $as_nop
4870 if test -n "$ac_ct_CC"; then
4871 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4876 IFS=$as_save_IFS
4877 case $as_dir in #(((
4878 '') as_dir=./ ;;
4879 */) ;;
4880 *) as_dir=$as_dir/ ;;
4881 esac
4882 for ac_exec_ext in '' $ac_executable_extensions; do
4883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4884 ac_cv_prog_ac_ct_CC="$ac_prog"
4885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4886 break 2
4888 done
4889 done
4890 IFS=$as_save_IFS
4894 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4895 if test -n "$ac_ct_CC"; then
4896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4897 printf "%s\n" "$ac_ct_CC" >&6; }
4898 else
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 printf "%s\n" "no" >&6; }
4904 test -n "$ac_ct_CC" && break
4905 done
4907 if test "x$ac_ct_CC" = x; then
4908 CC=""
4909 else
4910 case $cross_compiling:$ac_tool_warned in
4911 yes:)
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4913 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4914 ac_tool_warned=yes ;;
4915 esac
4916 CC=$ac_ct_CC
4921 if test -z "$CC"; then
4922 if test -n "$ac_tool_prefix"; then
4923 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4924 set dummy ${ac_tool_prefix}clang; ac_word=$2
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 printf %s "checking for $ac_word... " >&6; }
4927 if test ${ac_cv_prog_CC+y}
4928 then :
4929 printf %s "(cached) " >&6
4930 else $as_nop
4931 if test -n "$CC"; then
4932 ac_cv_prog_CC="$CC" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 case $as_dir in #(((
4939 '') as_dir=./ ;;
4940 */) ;;
4941 *) as_dir=$as_dir/ ;;
4942 esac
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_CC="${ac_tool_prefix}clang"
4946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 CC=$ac_cv_prog_CC
4956 if test -n "$CC"; then
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4958 printf "%s\n" "$CC" >&6; }
4959 else
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 printf "%s\n" "no" >&6; }
4966 if test -z "$ac_cv_prog_CC"; then
4967 ac_ct_CC=$CC
4968 # Extract the first word of "clang", so it can be a program name with args.
4969 set dummy clang; ac_word=$2
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 printf %s "checking for $ac_word... " >&6; }
4972 if test ${ac_cv_prog_ac_ct_CC+y}
4973 then :
4974 printf %s "(cached) " >&6
4975 else $as_nop
4976 if test -n "$ac_ct_CC"; then
4977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4982 IFS=$as_save_IFS
4983 case $as_dir in #(((
4984 '') as_dir=./ ;;
4985 */) ;;
4986 *) as_dir=$as_dir/ ;;
4987 esac
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4989 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4990 ac_cv_prog_ac_ct_CC="clang"
4991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4992 break 2
4994 done
4995 done
4996 IFS=$as_save_IFS
5000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5001 if test -n "$ac_ct_CC"; then
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5003 printf "%s\n" "$ac_ct_CC" >&6; }
5004 else
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 printf "%s\n" "no" >&6; }
5009 if test "x$ac_ct_CC" = x; then
5010 CC=""
5011 else
5012 case $cross_compiling:$ac_tool_warned in
5013 yes:)
5014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5016 ac_tool_warned=yes ;;
5017 esac
5018 CC=$ac_ct_CC
5020 else
5021 CC="$ac_cv_prog_CC"
5027 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5028 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5029 as_fn_error $? "no acceptable C compiler found in \$PATH
5030 See \`config.log' for more details" "$LINENO" 5; }
5032 # Provide some information about the compiler.
5033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5034 set X $ac_compile
5035 ac_compiler=$2
5036 for ac_option in --version -v -V -qversion -version; do
5037 { { ac_try="$ac_compiler $ac_option >&5"
5038 case "(($ac_try" in
5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040 *) ac_try_echo=$ac_try;;
5041 esac
5042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5043 printf "%s\n" "$ac_try_echo"; } >&5
5044 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5045 ac_status=$?
5046 if test -s conftest.err; then
5047 sed '10a\
5048 ... rest of stderr output deleted ...
5049 10q' conftest.err >conftest.er1
5050 cat conftest.er1 >&5
5052 rm -f conftest.er1 conftest.err
5053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5054 test $ac_status = 0; }
5055 done
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5061 main (void)
5065 return 0;
5067 _ACEOF
5068 ac_clean_files_save=$ac_clean_files
5069 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5070 # Try to create an executable without -o first, disregard a.out.
5071 # It will help us diagnose broken compilers, and finding out an intuition
5072 # of exeext.
5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5074 printf %s "checking whether the C compiler works... " >&6; }
5075 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5077 # The possible output files:
5078 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5080 ac_rmfiles=
5081 for ac_file in $ac_files
5083 case $ac_file in
5084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5085 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5086 esac
5087 done
5088 rm -f $ac_rmfiles
5090 if { { ac_try="$ac_link_default"
5091 case "(($ac_try" in
5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 *) ac_try_echo=$ac_try;;
5094 esac
5095 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5096 printf "%s\n" "$ac_try_echo"; } >&5
5097 (eval "$ac_link_default") 2>&5
5098 ac_status=$?
5099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5100 test $ac_status = 0; }
5101 then :
5102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5105 # so that the user can short-circuit this test for compilers unknown to
5106 # Autoconf.
5107 for ac_file in $ac_files ''
5109 test -f "$ac_file" || continue
5110 case $ac_file in
5111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5113 [ab].out )
5114 # We found the default executable, but exeext='' is most
5115 # certainly right.
5116 break;;
5117 *.* )
5118 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5119 then :; else
5120 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5122 # We set ac_cv_exeext here because the later test for it is not
5123 # safe: cross compilers may not add the suffix if given an `-o'
5124 # argument, so we may need to know it at that point already.
5125 # Even if this section looks crufty: it has the advantage of
5126 # actually working.
5127 break;;
5129 break;;
5130 esac
5131 done
5132 test "$ac_cv_exeext" = no && ac_cv_exeext=
5134 else $as_nop
5135 ac_file=''
5137 if test -z "$ac_file"
5138 then :
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 printf "%s\n" "no" >&6; }
5141 printf "%s\n" "$as_me: failed program was:" >&5
5142 sed 's/^/| /' conftest.$ac_ext >&5
5144 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5145 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5146 as_fn_error 77 "C compiler cannot create executables
5147 See \`config.log' for more details" "$LINENO" 5; }
5148 else $as_nop
5149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 printf "%s\n" "yes" >&6; }
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5153 printf %s "checking for C compiler default output file name... " >&6; }
5154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5155 printf "%s\n" "$ac_file" >&6; }
5156 ac_exeext=$ac_cv_exeext
5158 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5159 ac_clean_files=$ac_clean_files_save
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5161 printf %s "checking for suffix of executables... " >&6; }
5162 if { { ac_try="$ac_link"
5163 case "(($ac_try" in
5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5166 esac
5167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5168 printf "%s\n" "$ac_try_echo"; } >&5
5169 (eval "$ac_link") 2>&5
5170 ac_status=$?
5171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5172 test $ac_status = 0; }
5173 then :
5174 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5175 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5176 # work properly (i.e., refer to `conftest.exe'), while it won't with
5177 # `rm'.
5178 for ac_file in conftest.exe conftest conftest.*; do
5179 test -f "$ac_file" || continue
5180 case $ac_file in
5181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5182 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5183 break;;
5184 * ) break;;
5185 esac
5186 done
5187 else $as_nop
5188 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5190 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5191 See \`config.log' for more details" "$LINENO" 5; }
5193 rm -f conftest conftest$ac_cv_exeext
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5195 printf "%s\n" "$ac_cv_exeext" >&6; }
5197 rm -f conftest.$ac_ext
5198 EXEEXT=$ac_cv_exeext
5199 ac_exeext=$EXEEXT
5200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5202 #include <stdio.h>
5204 main (void)
5206 FILE *f = fopen ("conftest.out", "w");
5207 return ferror (f) || fclose (f) != 0;
5210 return 0;
5212 _ACEOF
5213 ac_clean_files="$ac_clean_files conftest.out"
5214 # Check that the compiler produces executables we can run. If not, either
5215 # the compiler is broken, or we cross compile.
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5217 printf %s "checking whether we are cross compiling... " >&6; }
5218 if test "$cross_compiling" != yes; then
5219 { { ac_try="$ac_link"
5220 case "(($ac_try" in
5221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222 *) ac_try_echo=$ac_try;;
5223 esac
5224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5225 printf "%s\n" "$ac_try_echo"; } >&5
5226 (eval "$ac_link") 2>&5
5227 ac_status=$?
5228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5229 test $ac_status = 0; }
5230 if { ac_try='./conftest$ac_cv_exeext'
5231 { { case "(($ac_try" in
5232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5233 *) ac_try_echo=$ac_try;;
5234 esac
5235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5236 printf "%s\n" "$ac_try_echo"; } >&5
5237 (eval "$ac_try") 2>&5
5238 ac_status=$?
5239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5240 test $ac_status = 0; }; }; then
5241 cross_compiling=no
5242 else
5243 if test "$cross_compiling" = maybe; then
5244 cross_compiling=yes
5245 else
5246 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5247 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5248 as_fn_error 77 "cannot run C compiled programs.
5249 If you meant to cross compile, use \`--host'.
5250 See \`config.log' for more details" "$LINENO" 5; }
5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5255 printf "%s\n" "$cross_compiling" >&6; }
5257 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5258 ac_clean_files=$ac_clean_files_save
5259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5260 printf %s "checking for suffix of object files... " >&6; }
5261 if test ${ac_cv_objext+y}
5262 then :
5263 printf %s "(cached) " >&6
5264 else $as_nop
5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5266 /* end confdefs.h. */
5269 main (void)
5273 return 0;
5275 _ACEOF
5276 rm -f conftest.o conftest.obj
5277 if { { ac_try="$ac_compile"
5278 case "(($ac_try" in
5279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5281 esac
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5283 printf "%s\n" "$ac_try_echo"; } >&5
5284 (eval "$ac_compile") 2>&5
5285 ac_status=$?
5286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5287 test $ac_status = 0; }
5288 then :
5289 for ac_file in conftest.o conftest.obj conftest.*; do
5290 test -f "$ac_file" || continue;
5291 case $ac_file in
5292 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5293 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5294 break;;
5295 esac
5296 done
5297 else $as_nop
5298 printf "%s\n" "$as_me: failed program was:" >&5
5299 sed 's/^/| /' conftest.$ac_ext >&5
5301 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5302 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5303 as_fn_error $? "cannot compute suffix of object files: cannot compile
5304 See \`config.log' for more details" "$LINENO" 5; }
5306 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5309 printf "%s\n" "$ac_cv_objext" >&6; }
5310 OBJEXT=$ac_cv_objext
5311 ac_objext=$OBJEXT
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5313 printf %s "checking whether the compiler supports GNU C... " >&6; }
5314 if test ${ac_cv_c_compiler_gnu+y}
5315 then :
5316 printf %s "(cached) " >&6
5317 else $as_nop
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5322 main (void)
5324 #ifndef __GNUC__
5325 choke me
5326 #endif
5329 return 0;
5331 _ACEOF
5332 if ac_fn_c_try_compile "$LINENO"
5333 then :
5334 ac_compiler_gnu=yes
5335 else $as_nop
5336 ac_compiler_gnu=no
5338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5343 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5346 if test $ac_compiler_gnu = yes; then
5347 GCC=yes
5348 else
5349 GCC=
5351 ac_test_CFLAGS=${CFLAGS+y}
5352 ac_save_CFLAGS=$CFLAGS
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5354 printf %s "checking whether $CC accepts -g... " >&6; }
5355 if test ${ac_cv_prog_cc_g+y}
5356 then :
5357 printf %s "(cached) " >&6
5358 else $as_nop
5359 ac_save_c_werror_flag=$ac_c_werror_flag
5360 ac_c_werror_flag=yes
5361 ac_cv_prog_cc_g=no
5362 CFLAGS="-g"
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5367 main (void)
5371 return 0;
5373 _ACEOF
5374 if ac_fn_c_try_compile "$LINENO"
5375 then :
5376 ac_cv_prog_cc_g=yes
5377 else $as_nop
5378 CFLAGS=""
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main (void)
5387 return 0;
5389 _ACEOF
5390 if ac_fn_c_try_compile "$LINENO"
5391 then :
5393 else $as_nop
5394 ac_c_werror_flag=$ac_save_c_werror_flag
5395 CFLAGS="-g"
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main (void)
5404 return 0;
5406 _ACEOF
5407 if ac_fn_c_try_compile "$LINENO"
5408 then :
5409 ac_cv_prog_cc_g=yes
5411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 ac_c_werror_flag=$ac_save_c_werror_flag
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5419 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5420 if test $ac_test_CFLAGS; then
5421 CFLAGS=$ac_save_CFLAGS
5422 elif test $ac_cv_prog_cc_g = yes; then
5423 if test "$GCC" = yes; then
5424 CFLAGS="-g -O2"
5425 else
5426 CFLAGS="-g"
5428 else
5429 if test "$GCC" = yes; then
5430 CFLAGS="-O2"
5431 else
5432 CFLAGS=
5435 ac_prog_cc_stdc=no
5436 if test x$ac_prog_cc_stdc = xno
5437 then :
5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5439 printf %s "checking for $CC option to enable C11 features... " >&6; }
5440 if test ${ac_cv_prog_cc_c11+y}
5441 then :
5442 printf %s "(cached) " >&6
5443 else $as_nop
5444 ac_cv_prog_cc_c11=no
5445 ac_save_CC=$CC
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5448 $ac_c_conftest_c11_program
5449 _ACEOF
5450 for ac_arg in '' -std=gnu11
5452 CC="$ac_save_CC $ac_arg"
5453 if ac_fn_c_try_compile "$LINENO"
5454 then :
5455 ac_cv_prog_cc_c11=$ac_arg
5457 rm -f core conftest.err conftest.$ac_objext conftest.beam
5458 test "x$ac_cv_prog_cc_c11" != "xno" && break
5459 done
5460 rm -f conftest.$ac_ext
5461 CC=$ac_save_CC
5464 if test "x$ac_cv_prog_cc_c11" = xno
5465 then :
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5467 printf "%s\n" "unsupported" >&6; }
5468 else $as_nop
5469 if test "x$ac_cv_prog_cc_c11" = x
5470 then :
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5472 printf "%s\n" "none needed" >&6; }
5473 else $as_nop
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5475 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5476 CC="$CC $ac_cv_prog_cc_c11"
5478 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5479 ac_prog_cc_stdc=c11
5482 if test x$ac_prog_cc_stdc = xno
5483 then :
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5485 printf %s "checking for $CC option to enable C99 features... " >&6; }
5486 if test ${ac_cv_prog_cc_c99+y}
5487 then :
5488 printf %s "(cached) " >&6
5489 else $as_nop
5490 ac_cv_prog_cc_c99=no
5491 ac_save_CC=$CC
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5494 $ac_c_conftest_c99_program
5495 _ACEOF
5496 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5498 CC="$ac_save_CC $ac_arg"
5499 if ac_fn_c_try_compile "$LINENO"
5500 then :
5501 ac_cv_prog_cc_c99=$ac_arg
5503 rm -f core conftest.err conftest.$ac_objext conftest.beam
5504 test "x$ac_cv_prog_cc_c99" != "xno" && break
5505 done
5506 rm -f conftest.$ac_ext
5507 CC=$ac_save_CC
5510 if test "x$ac_cv_prog_cc_c99" = xno
5511 then :
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5513 printf "%s\n" "unsupported" >&6; }
5514 else $as_nop
5515 if test "x$ac_cv_prog_cc_c99" = x
5516 then :
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5518 printf "%s\n" "none needed" >&6; }
5519 else $as_nop
5520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5521 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5522 CC="$CC $ac_cv_prog_cc_c99"
5524 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5525 ac_prog_cc_stdc=c99
5528 if test x$ac_prog_cc_stdc = xno
5529 then :
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5531 printf %s "checking for $CC option to enable C89 features... " >&6; }
5532 if test ${ac_cv_prog_cc_c89+y}
5533 then :
5534 printf %s "(cached) " >&6
5535 else $as_nop
5536 ac_cv_prog_cc_c89=no
5537 ac_save_CC=$CC
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540 $ac_c_conftest_c89_program
5541 _ACEOF
5542 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5544 CC="$ac_save_CC $ac_arg"
5545 if ac_fn_c_try_compile "$LINENO"
5546 then :
5547 ac_cv_prog_cc_c89=$ac_arg
5549 rm -f core conftest.err conftest.$ac_objext conftest.beam
5550 test "x$ac_cv_prog_cc_c89" != "xno" && break
5551 done
5552 rm -f conftest.$ac_ext
5553 CC=$ac_save_CC
5556 if test "x$ac_cv_prog_cc_c89" = xno
5557 then :
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5559 printf "%s\n" "unsupported" >&6; }
5560 else $as_nop
5561 if test "x$ac_cv_prog_cc_c89" = x
5562 then :
5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5564 printf "%s\n" "none needed" >&6; }
5565 else $as_nop
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5567 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5568 CC="$CC $ac_cv_prog_cc_c89"
5570 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5571 ac_prog_cc_stdc=c89
5575 ac_ext=c
5576 ac_cpp='$CPP $CPPFLAGS'
5577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5587 ac_ext=cpp
5588 ac_cpp='$CXXCPP $CPPFLAGS'
5589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5592 if test -z "$CXX"; then
5593 if test -n "$CCC"; then
5594 CXX=$CCC
5595 else
5596 if test -n "$ac_tool_prefix"; then
5597 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5602 printf %s "checking for $ac_word... " >&6; }
5603 if test ${ac_cv_prog_CXX+y}
5604 then :
5605 printf %s "(cached) " >&6
5606 else $as_nop
5607 if test -n "$CXX"; then
5608 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5613 IFS=$as_save_IFS
5614 case $as_dir in #(((
5615 '') as_dir=./ ;;
5616 */) ;;
5617 *) as_dir=$as_dir/ ;;
5618 esac
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5627 IFS=$as_save_IFS
5631 CXX=$ac_cv_prog_CXX
5632 if test -n "$CXX"; then
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5634 printf "%s\n" "$CXX" >&6; }
5635 else
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 printf "%s\n" "no" >&6; }
5641 test -n "$CXX" && break
5642 done
5644 if test -z "$CXX"; then
5645 ac_ct_CXX=$CXX
5646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5648 # Extract the first word of "$ac_prog", so it can be a program name with args.
5649 set dummy $ac_prog; ac_word=$2
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651 printf %s "checking for $ac_word... " >&6; }
5652 if test ${ac_cv_prog_ac_ct_CXX+y}
5653 then :
5654 printf %s "(cached) " >&6
5655 else $as_nop
5656 if test -n "$ac_ct_CXX"; then
5657 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5658 else
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 for as_dir in $PATH
5662 IFS=$as_save_IFS
5663 case $as_dir in #(((
5664 '') as_dir=./ ;;
5665 */) ;;
5666 *) as_dir=$as_dir/ ;;
5667 esac
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5670 ac_cv_prog_ac_ct_CXX="$ac_prog"
5671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5672 break 2
5674 done
5675 done
5676 IFS=$as_save_IFS
5680 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5681 if test -n "$ac_ct_CXX"; then
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5683 printf "%s\n" "$ac_ct_CXX" >&6; }
5684 else
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5686 printf "%s\n" "no" >&6; }
5690 test -n "$ac_ct_CXX" && break
5691 done
5693 if test "x$ac_ct_CXX" = x; then
5694 CXX="g++"
5695 else
5696 case $cross_compiling:$ac_tool_warned in
5697 yes:)
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700 ac_tool_warned=yes ;;
5701 esac
5702 CXX=$ac_ct_CXX
5708 # Provide some information about the compiler.
5709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5710 set X $ac_compile
5711 ac_compiler=$2
5712 for ac_option in --version -v -V -qversion; do
5713 { { ac_try="$ac_compiler $ac_option >&5"
5714 case "(($ac_try" in
5715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5716 *) ac_try_echo=$ac_try;;
5717 esac
5718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 printf "%s\n" "$ac_try_echo"; } >&5
5720 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5721 ac_status=$?
5722 if test -s conftest.err; then
5723 sed '10a\
5724 ... rest of stderr output deleted ...
5725 10q' conftest.err >conftest.er1
5726 cat conftest.er1 >&5
5728 rm -f conftest.er1 conftest.err
5729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5730 test $ac_status = 0; }
5731 done
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5734 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5735 if test ${ac_cv_cxx_compiler_gnu+y}
5736 then :
5737 printf %s "(cached) " >&6
5738 else $as_nop
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5743 main (void)
5745 #ifndef __GNUC__
5746 choke me
5747 #endif
5750 return 0;
5752 _ACEOF
5753 if ac_fn_cxx_try_compile "$LINENO"
5754 then :
5755 ac_compiler_gnu=yes
5756 else $as_nop
5757 ac_compiler_gnu=no
5759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5760 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5764 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5767 if test $ac_compiler_gnu = yes; then
5768 GXX=yes
5769 else
5770 GXX=
5772 ac_test_CXXFLAGS=${CXXFLAGS+y}
5773 ac_save_CXXFLAGS=$CXXFLAGS
5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5775 printf %s "checking whether $CXX accepts -g... " >&6; }
5776 if test ${ac_cv_prog_cxx_g+y}
5777 then :
5778 printf %s "(cached) " >&6
5779 else $as_nop
5780 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5781 ac_cxx_werror_flag=yes
5782 ac_cv_prog_cxx_g=no
5783 CXXFLAGS="-g"
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5788 main (void)
5792 return 0;
5794 _ACEOF
5795 if ac_fn_cxx_try_compile "$LINENO"
5796 then :
5797 ac_cv_prog_cxx_g=yes
5798 else $as_nop
5799 CXXFLAGS=""
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main (void)
5808 return 0;
5810 _ACEOF
5811 if ac_fn_cxx_try_compile "$LINENO"
5812 then :
5814 else $as_nop
5815 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5816 CXXFLAGS="-g"
5817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5818 /* end confdefs.h. */
5821 main (void)
5825 return 0;
5827 _ACEOF
5828 if ac_fn_cxx_try_compile "$LINENO"
5829 then :
5830 ac_cv_prog_cxx_g=yes
5832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5840 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5841 if test $ac_test_CXXFLAGS; then
5842 CXXFLAGS=$ac_save_CXXFLAGS
5843 elif test $ac_cv_prog_cxx_g = yes; then
5844 if test "$GXX" = yes; then
5845 CXXFLAGS="-g -O2"
5846 else
5847 CXXFLAGS="-g"
5849 else
5850 if test "$GXX" = yes; then
5851 CXXFLAGS="-O2"
5852 else
5853 CXXFLAGS=
5856 ac_prog_cxx_stdcxx=no
5857 if test x$ac_prog_cxx_stdcxx = xno
5858 then :
5859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5860 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5861 if test ${ac_cv_prog_cxx_11+y}
5862 then :
5863 printf %s "(cached) " >&6
5864 else $as_nop
5865 ac_cv_prog_cxx_11=no
5866 ac_save_CXX=$CXX
5867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 $ac_cxx_conftest_cxx11_program
5870 _ACEOF
5871 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5873 CXX="$ac_save_CXX $ac_arg"
5874 if ac_fn_cxx_try_compile "$LINENO"
5875 then :
5876 ac_cv_prog_cxx_cxx11=$ac_arg
5878 rm -f core conftest.err conftest.$ac_objext conftest.beam
5879 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5880 done
5881 rm -f conftest.$ac_ext
5882 CXX=$ac_save_CXX
5885 if test "x$ac_cv_prog_cxx_cxx11" = xno
5886 then :
5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5888 printf "%s\n" "unsupported" >&6; }
5889 else $as_nop
5890 if test "x$ac_cv_prog_cxx_cxx11" = x
5891 then :
5892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5893 printf "%s\n" "none needed" >&6; }
5894 else $as_nop
5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5896 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5897 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5899 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5900 ac_prog_cxx_stdcxx=cxx11
5903 if test x$ac_prog_cxx_stdcxx = xno
5904 then :
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5906 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5907 if test ${ac_cv_prog_cxx_98+y}
5908 then :
5909 printf %s "(cached) " >&6
5910 else $as_nop
5911 ac_cv_prog_cxx_98=no
5912 ac_save_CXX=$CXX
5913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5915 $ac_cxx_conftest_cxx98_program
5916 _ACEOF
5917 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5919 CXX="$ac_save_CXX $ac_arg"
5920 if ac_fn_cxx_try_compile "$LINENO"
5921 then :
5922 ac_cv_prog_cxx_cxx98=$ac_arg
5924 rm -f core conftest.err conftest.$ac_objext conftest.beam
5925 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5926 done
5927 rm -f conftest.$ac_ext
5928 CXX=$ac_save_CXX
5931 if test "x$ac_cv_prog_cxx_cxx98" = xno
5932 then :
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5934 printf "%s\n" "unsupported" >&6; }
5935 else $as_nop
5936 if test "x$ac_cv_prog_cxx_cxx98" = x
5937 then :
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5939 printf "%s\n" "none needed" >&6; }
5940 else $as_nop
5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5942 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5943 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5945 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5946 ac_prog_cxx_stdcxx=cxx98
5950 ac_ext=c
5951 ac_cpp='$CPP $CPPFLAGS'
5952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5956 if test -n "$ac_tool_prefix"; then
5957 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5958 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 printf %s "checking for $ac_word... " >&6; }
5961 if test ${ac_cv_prog_CPPBIN+y}
5962 then :
5963 printf %s "(cached) " >&6
5964 else $as_nop
5965 if test -n "$CPPBIN"; then
5966 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 case $as_dir in #(((
5973 '') as_dir=./ ;;
5974 */) ;;
5975 *) as_dir=$as_dir/ ;;
5976 esac
5977 for ac_exec_ext in '' $ac_executable_extensions; do
5978 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5981 break 2
5983 done
5984 done
5985 IFS=$as_save_IFS
5989 CPPBIN=$ac_cv_prog_CPPBIN
5990 if test -n "$CPPBIN"; then
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5992 printf "%s\n" "$CPPBIN" >&6; }
5993 else
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 printf "%s\n" "no" >&6; }
6000 if test -z "$ac_cv_prog_CPPBIN"; then
6001 ac_ct_CPPBIN=$CPPBIN
6002 # Extract the first word of "cpp", so it can be a program name with args.
6003 set dummy cpp; ac_word=$2
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 printf %s "checking for $ac_word... " >&6; }
6006 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6007 then :
6008 printf %s "(cached) " >&6
6009 else $as_nop
6010 if test -n "$ac_ct_CPPBIN"; then
6011 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 case $as_dir in #(((
6018 '') as_dir=./ ;;
6019 */) ;;
6020 *) as_dir=$as_dir/ ;;
6021 esac
6022 for ac_exec_ext in '' $ac_executable_extensions; do
6023 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6024 ac_cv_prog_ac_ct_CPPBIN="cpp"
6025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6026 break 2
6028 done
6029 done
6030 IFS=$as_save_IFS
6034 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6035 if test -n "$ac_ct_CPPBIN"; then
6036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6037 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6038 else
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 printf "%s\n" "no" >&6; }
6043 if test "x$ac_ct_CPPBIN" = x; then
6044 CPPBIN="cpp"
6045 else
6046 case $cross_compiling:$ac_tool_warned in
6047 yes:)
6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6049 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6050 ac_tool_warned=yes ;;
6051 esac
6052 CPPBIN=$ac_ct_CPPBIN
6054 else
6055 CPPBIN="$ac_cv_prog_CPPBIN"
6059 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6061 if test -n "$ac_tool_prefix"; then
6062 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6063 set dummy ${ac_tool_prefix}ld; ac_word=$2
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 printf %s "checking for $ac_word... " >&6; }
6066 if test ${ac_cv_prog_LD+y}
6067 then :
6068 printf %s "(cached) " >&6
6069 else $as_nop
6070 if test -n "$LD"; then
6071 ac_cv_prog_LD="$LD" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6076 IFS=$as_save_IFS
6077 case $as_dir in #(((
6078 '') as_dir=./ ;;
6079 */) ;;
6080 *) as_dir=$as_dir/ ;;
6081 esac
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_LD="${ac_tool_prefix}ld"
6085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 LD=$ac_cv_prog_LD
6095 if test -n "$LD"; then
6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6097 printf "%s\n" "$LD" >&6; }
6098 else
6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 printf "%s\n" "no" >&6; }
6105 if test -z "$ac_cv_prog_LD"; then
6106 ac_ct_LD=$LD
6107 # Extract the first word of "ld", so it can be a program name with args.
6108 set dummy ld; ac_word=$2
6109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 printf %s "checking for $ac_word... " >&6; }
6111 if test ${ac_cv_prog_ac_ct_LD+y}
6112 then :
6113 printf %s "(cached) " >&6
6114 else $as_nop
6115 if test -n "$ac_ct_LD"; then
6116 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6117 else
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6119 for as_dir in $PATH
6121 IFS=$as_save_IFS
6122 case $as_dir in #(((
6123 '') as_dir=./ ;;
6124 */) ;;
6125 *) as_dir=$as_dir/ ;;
6126 esac
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6129 ac_cv_prog_ac_ct_LD="ld"
6130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6140 if test -n "$ac_ct_LD"; then
6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6142 printf "%s\n" "$ac_ct_LD" >&6; }
6143 else
6144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 printf "%s\n" "no" >&6; }
6148 if test "x$ac_ct_LD" = x; then
6149 LD=""
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 LD=$ac_ct_LD
6159 else
6160 LD="$ac_cv_prog_LD"
6164 case $host in
6165 *-darwin*)
6166 with_fontconfig=${with_fontconfig:-no}
6168 *-mingw32*|*-cygwin*)
6169 enable_win16=${enable_win16:-no}
6170 with_mingw=${with_mingw:-no}
6172 esac
6175 case $host in
6176 x86_64*|amd64*)
6177 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6178 then
6179 CC="$CC -m32"
6180 CXX="$CXX -m32"
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6183 printf %s "checking whether $CC works... " >&6; }
6184 if test ${wine_cv_cc_m32+y}
6185 then :
6186 printf %s "(cached) " >&6
6187 else $as_nop
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6192 main (void)
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"
6200 then :
6201 wine_cv_cc_m32=yes
6202 else $as_nop
6203 wine_cv_cc_m32=no
6205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6206 conftest$ac_exeext conftest.$ac_ext
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6209 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6210 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
6211 host_cpu="i386"
6212 notice_platform="32-bit "
6213 TARGETFLAGS="$TARGETFLAGS -m32"
6214 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6215 export PKG_CONFIG_PATH
6216 enable_win16=${enable_win16:-yes}
6217 with_unwind=${with_unwind:-no}
6218 else
6219 if test "x${GCC}" = "xyes"
6220 then
6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6222 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6223 if test ${wine_cv_builtin_ms_va_list+y}
6224 then :
6225 printf %s "(cached) " >&6
6226 else $as_nop
6227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6229 #include <stdarg.h>
6231 main (void)
6233 void func(__builtin_ms_va_list *args);
6235 return 0;
6237 _ACEOF
6238 if ac_fn_c_try_compile "$LINENO"
6239 then :
6240 wine_cv_builtin_ms_va_list=yes
6241 else $as_nop
6242 wine_cv_builtin_ms_va_list=no
6244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6247 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6248 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
6250 CC="$CC -m64"
6251 CXX="$CXX -m64"
6252 host_cpu="x86_64"
6253 notice_platform="64-bit "
6254 TARGETFLAGS="$TARGETFLAGS -m64"
6255 enable_wow64=${enable_wow64:-yes}
6256 enable_wow64win=${enable_wow64win:-yes}
6257 enable_wow64cpu=${enable_wow64cpu:-yes}
6260 arm*)
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6262 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6263 if test ${wine_cv_thumb2+y}
6264 then :
6265 printf %s "(cached) " >&6
6266 else $as_nop
6267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6271 main (void)
6273 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6275 return 0;
6277 _ACEOF
6278 if ac_fn_c_try_link "$LINENO"
6279 then :
6280 wine_cv_thumb2=yes
6281 else $as_nop
6282 wine_cv_thumb2=no
6284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6285 conftest$ac_exeext conftest.$ac_ext
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6288 printf "%s\n" "$wine_cv_thumb2" >&6; }
6289 if test x"$wine_cv_thumb2" = xyes
6290 then
6291 CFLAGS="$CFLAGS -mthumb"
6292 TARGETFLAGS="$TARGETFLAGS -mthumb"
6293 else
6294 CFLAGS="$CFLAGS -marm"
6295 TARGETFLAGS="$TARGETFLAGS -marm"
6297 case $with_float_abi in
6298 soft|softfp|hard)
6299 float_abi=$with_float_abi ;;
6301 case $host_os in
6302 *eabihf)
6303 float_abi=hard ;;
6305 float_abi=softfp
6306 saved_CFLAGS=$CFLAGS
6307 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6309 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6310 if test ${wine_cv_float_abi+y}
6311 then :
6312 printf %s "(cached) " >&6
6313 else $as_nop
6314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6315 /* end confdefs.h. */
6318 main (void)
6320 asm("vmrs r2,fpscr");
6322 return 0;
6324 _ACEOF
6325 if ac_fn_c_try_link "$LINENO"
6326 then :
6327 wine_cv_float_abi=yes
6328 else $as_nop
6329 wine_cv_float_abi=no
6331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6332 conftest$ac_exeext conftest.$ac_ext
6334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6335 printf "%s\n" "$wine_cv_float_abi" >&6; }
6336 if test $wine_cv_float_abi = no
6337 then
6338 float_abi=soft
6339 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6341 CFLAGS=$saved_CFLAGS
6342 esac
6344 esac
6345 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6346 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6348 aarch64*)
6349 enable_wow64=${enable_wow64:-yes}
6350 enable_wow64win=${enable_wow64win:-yes}
6352 i[3456789]86*)
6353 enable_win16=${enable_win16:-yes}
6354 with_unwind=${with_unwind:-no}
6356 esac
6358 enable_win16=${enable_win16:-no}
6359 enable_win64=${enable_win64:-no}
6360 enable_wow64=${enable_wow64:-no}
6361 enable_wow64win=${enable_wow64win:-no}
6362 enable_wow64cpu=${enable_wow64cpu:-no}
6364 enable_winetest=${enable_winetest:-$enable_tests}
6366 if test "x$enable_win64" = "xyes"
6367 then
6368 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6369 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6372 case $build_os in
6373 cygwin*|mingw32*) toolsext=".exe"
6375 *) toolsext=""
6377 esac
6379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6380 printf %s "checking for the directory containing the Wine tools... " >&6; }
6381 if test ${wine_cv_toolsdir+y}
6382 then :
6383 printf %s "(cached) " >&6
6384 else $as_nop
6385 wine_cv_toolsdir="$with_wine_tools"
6386 if test -z "$with_wine_tools"; then
6387 if test "$cross_compiling" = "yes"; then
6388 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6389 elif test -n "$with_wine64"; then
6390 wine_cv_toolsdir="$with_wine64"
6394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6395 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6396 if test -z "$wine_cv_toolsdir"; then
6397 wine_makedep=tools/makedep$toolsext
6398 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6399 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6400 enable_tools=${enable_tools:-no}
6401 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6402 else
6403 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6405 toolsdir=$wine_cv_toolsdir
6407 MAKEDEP=$wine_makedep
6409 RUNTESTFLAGS="-q -P wine"
6411 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'"
6414 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6415 then
6416 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6419 for ac_prog in flex
6421 # Extract the first word of "$ac_prog", so it can be a program name with args.
6422 set dummy $ac_prog; ac_word=$2
6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 printf %s "checking for $ac_word... " >&6; }
6425 if test ${ac_cv_prog_FLEX+y}
6426 then :
6427 printf %s "(cached) " >&6
6428 else $as_nop
6429 if test -n "$FLEX"; then
6430 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 case $as_dir in #(((
6437 '') as_dir=./ ;;
6438 */) ;;
6439 *) as_dir=$as_dir/ ;;
6440 esac
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_FLEX="$ac_prog"
6444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 FLEX=$ac_cv_prog_FLEX
6454 if test -n "$FLEX"; then
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6456 printf "%s\n" "$FLEX" >&6; }
6457 else
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 printf "%s\n" "no" >&6; }
6463 test -n "$FLEX" && break
6464 done
6465 test -n "$FLEX" || FLEX="none"
6467 if test "$FLEX" = "none"
6468 then
6469 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6472 printf %s "checking whether flex is recent enough... " >&6; }
6473 if test ${wine_cv_recent_flex+y}
6474 then :
6475 printf %s "(cached) " >&6
6476 else $as_nop
6477 cat >conftest.l <<EOF
6478 %top{
6479 #include "prediluvian.h"
6483 if $FLEX -t conftest.l >/dev/null 2>&5
6484 then
6485 wine_cv_recent_flex=yes
6486 else
6487 wine_cv_recent_flex=no
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6491 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6492 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
6494 for ac_prog in bison
6496 # Extract the first word of "$ac_prog", so it can be a program name with args.
6497 set dummy $ac_prog; ac_word=$2
6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 printf %s "checking for $ac_word... " >&6; }
6500 if test ${ac_cv_prog_BISON+y}
6501 then :
6502 printf %s "(cached) " >&6
6503 else $as_nop
6504 if test -n "$BISON"; then
6505 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6506 else
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in $PATH
6510 IFS=$as_save_IFS
6511 case $as_dir in #(((
6512 '') as_dir=./ ;;
6513 */) ;;
6514 *) as_dir=$as_dir/ ;;
6515 esac
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_BISON="$ac_prog"
6519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6520 break 2
6522 done
6523 done
6524 IFS=$as_save_IFS
6528 BISON=$ac_cv_prog_BISON
6529 if test -n "$BISON"; then
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6531 printf "%s\n" "$BISON" >&6; }
6532 else
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 printf "%s\n" "no" >&6; }
6538 test -n "$BISON" && break
6539 done
6540 test -n "$BISON" || BISON="none"
6542 if test "$BISON" = "none"
6543 then
6544 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6547 printf %s "checking whether bison is recent enough... " >&6; }
6548 if test ${wine_cv_recent_bison+y}
6549 then :
6550 printf %s "(cached) " >&6
6551 else $as_nop
6552 cat >conftest.y <<EOF
6553 %define parse.error verbose
6555 empty: ;
6557 if $BISON conftest.y >/dev/null 2>&5
6558 then
6559 wine_cv_recent_bison=yes
6560 else
6561 wine_cv_recent_bison=no
6564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6565 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6566 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
6568 if test -n "$ac_tool_prefix"; then
6569 for ac_prog in ar gar
6571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6572 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 printf %s "checking for $ac_word... " >&6; }
6575 if test ${ac_cv_prog_AR+y}
6576 then :
6577 printf %s "(cached) " >&6
6578 else $as_nop
6579 if test -n "$AR"; then
6580 ac_cv_prog_AR="$AR" # Let the user override the test.
6581 else
6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 for as_dir in $PATH
6585 IFS=$as_save_IFS
6586 case $as_dir in #(((
6587 '') as_dir=./ ;;
6588 */) ;;
6589 *) as_dir=$as_dir/ ;;
6590 esac
6591 for ac_exec_ext in '' $ac_executable_extensions; do
6592 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6593 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6595 break 2
6597 done
6598 done
6599 IFS=$as_save_IFS
6603 AR=$ac_cv_prog_AR
6604 if test -n "$AR"; then
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6606 printf "%s\n" "$AR" >&6; }
6607 else
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609 printf "%s\n" "no" >&6; }
6613 test -n "$AR" && break
6614 done
6616 if test -z "$AR"; then
6617 ac_ct_AR=$AR
6618 for ac_prog in ar gar
6620 # Extract the first word of "$ac_prog", so it can be a program name with args.
6621 set dummy $ac_prog; ac_word=$2
6622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6623 printf %s "checking for $ac_word... " >&6; }
6624 if test ${ac_cv_prog_ac_ct_AR+y}
6625 then :
6626 printf %s "(cached) " >&6
6627 else $as_nop
6628 if test -n "$ac_ct_AR"; then
6629 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6634 IFS=$as_save_IFS
6635 case $as_dir in #(((
6636 '') as_dir=./ ;;
6637 */) ;;
6638 *) as_dir=$as_dir/ ;;
6639 esac
6640 for ac_exec_ext in '' $ac_executable_extensions; do
6641 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6642 ac_cv_prog_ac_ct_AR="$ac_prog"
6643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6644 break 2
6646 done
6647 done
6648 IFS=$as_save_IFS
6652 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6653 if test -n "$ac_ct_AR"; then
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6655 printf "%s\n" "$ac_ct_AR" >&6; }
6656 else
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6658 printf "%s\n" "no" >&6; }
6662 test -n "$ac_ct_AR" && break
6663 done
6665 if test "x$ac_ct_AR" = x; then
6666 AR="ar"
6667 else
6668 case $cross_compiling:$ac_tool_warned in
6669 yes:)
6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672 ac_tool_warned=yes ;;
6673 esac
6674 AR=$ac_ct_AR
6678 if test -n "$ac_tool_prefix"; then
6679 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6680 set dummy ${ac_tool_prefix}strip; ac_word=$2
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 printf %s "checking for $ac_word... " >&6; }
6683 if test ${ac_cv_prog_STRIP+y}
6684 then :
6685 printf %s "(cached) " >&6
6686 else $as_nop
6687 if test -n "$STRIP"; then
6688 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6689 else
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 for as_dir in $PATH
6693 IFS=$as_save_IFS
6694 case $as_dir in #(((
6695 '') as_dir=./ ;;
6696 */) ;;
6697 *) as_dir=$as_dir/ ;;
6698 esac
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6703 break 2
6705 done
6706 done
6707 IFS=$as_save_IFS
6711 STRIP=$ac_cv_prog_STRIP
6712 if test -n "$STRIP"; then
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6714 printf "%s\n" "$STRIP" >&6; }
6715 else
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 printf "%s\n" "no" >&6; }
6722 if test -z "$ac_cv_prog_STRIP"; then
6723 ac_ct_STRIP=$STRIP
6724 # Extract the first word of "strip", so it can be a program name with args.
6725 set dummy strip; ac_word=$2
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 printf %s "checking for $ac_word... " >&6; }
6728 if test ${ac_cv_prog_ac_ct_STRIP+y}
6729 then :
6730 printf %s "(cached) " >&6
6731 else $as_nop
6732 if test -n "$ac_ct_STRIP"; then
6733 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6734 else
6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 for as_dir in $PATH
6738 IFS=$as_save_IFS
6739 case $as_dir in #(((
6740 '') as_dir=./ ;;
6741 */) ;;
6742 *) as_dir=$as_dir/ ;;
6743 esac
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_ac_ct_STRIP="strip"
6747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6757 if test -n "$ac_ct_STRIP"; then
6758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6759 printf "%s\n" "$ac_ct_STRIP" >&6; }
6760 else
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 printf "%s\n" "no" >&6; }
6765 if test "x$ac_ct_STRIP" = x; then
6766 STRIP="strip"
6767 else
6768 case $cross_compiling:$ac_tool_warned in
6769 yes:)
6770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6771 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6772 ac_tool_warned=yes ;;
6773 esac
6774 STRIP=$ac_ct_STRIP
6776 else
6777 STRIP="$ac_cv_prog_STRIP"
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 printf %s "checking for $ac_word... " >&6; }
6785 if test ${ac_cv_prog_RANLIB+y}
6786 then :
6787 printf %s "(cached) " >&6
6788 else $as_nop
6789 if test -n "$RANLIB"; then
6790 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6791 else
6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 for as_dir in $PATH
6795 IFS=$as_save_IFS
6796 case $as_dir in #(((
6797 '') as_dir=./ ;;
6798 */) ;;
6799 *) as_dir=$as_dir/ ;;
6800 esac
6801 for ac_exec_ext in '' $ac_executable_extensions; do
6802 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6805 break 2
6807 done
6808 done
6809 IFS=$as_save_IFS
6813 RANLIB=$ac_cv_prog_RANLIB
6814 if test -n "$RANLIB"; then
6815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6816 printf "%s\n" "$RANLIB" >&6; }
6817 else
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 printf "%s\n" "no" >&6; }
6824 if test -z "$ac_cv_prog_RANLIB"; then
6825 ac_ct_RANLIB=$RANLIB
6826 # Extract the first word of "ranlib", so it can be a program name with args.
6827 set dummy ranlib; ac_word=$2
6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 printf %s "checking for $ac_word... " >&6; }
6830 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6831 then :
6832 printf %s "(cached) " >&6
6833 else $as_nop
6834 if test -n "$ac_ct_RANLIB"; then
6835 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6836 else
6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 for as_dir in $PATH
6840 IFS=$as_save_IFS
6841 case $as_dir in #(((
6842 '') as_dir=./ ;;
6843 */) ;;
6844 *) as_dir=$as_dir/ ;;
6845 esac
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_ac_ct_RANLIB="ranlib"
6849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6850 break 2
6852 done
6853 done
6854 IFS=$as_save_IFS
6858 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6859 if test -n "$ac_ct_RANLIB"; then
6860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6861 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6862 else
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 printf "%s\n" "no" >&6; }
6867 if test "x$ac_ct_RANLIB" = x; then
6868 RANLIB=":"
6869 else
6870 case $cross_compiling:$ac_tool_warned in
6871 yes:)
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6873 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6874 ac_tool_warned=yes ;;
6875 esac
6876 RANLIB=$ac_ct_RANLIB
6878 else
6879 RANLIB="$ac_cv_prog_RANLIB"
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6883 printf %s "checking whether ln -s works... " >&6; }
6884 LN_S=$as_ln_s
6885 if test "$LN_S" = "ln -s"; then
6886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6887 printf "%s\n" "yes" >&6; }
6888 else
6889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6890 printf "%s\n" "no, using $LN_S" >&6; }
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6894 printf %s "checking for grep that handles long lines and -e... " >&6; }
6895 if test ${ac_cv_path_GREP+y}
6896 then :
6897 printf %s "(cached) " >&6
6898 else $as_nop
6899 if test -z "$GREP"; then
6900 ac_path_GREP_found=false
6901 # Loop through the user's path and test for each of PROGNAME-LIST
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6905 IFS=$as_save_IFS
6906 case $as_dir in #(((
6907 '') as_dir=./ ;;
6908 */) ;;
6909 *) as_dir=$as_dir/ ;;
6910 esac
6911 for ac_prog in grep ggrep
6913 for ac_exec_ext in '' $ac_executable_extensions; do
6914 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6915 as_fn_executable_p "$ac_path_GREP" || continue
6916 # Check for GNU ac_path_GREP and select it if it is found.
6917 # Check for GNU $ac_path_GREP
6918 case `"$ac_path_GREP" --version 2>&1` in
6919 *GNU*)
6920 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6922 ac_count=0
6923 printf %s 0123456789 >"conftest.in"
6924 while :
6926 cat "conftest.in" "conftest.in" >"conftest.tmp"
6927 mv "conftest.tmp" "conftest.in"
6928 cp "conftest.in" "conftest.nl"
6929 printf "%s\n" 'GREP' >> "conftest.nl"
6930 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6931 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6932 as_fn_arith $ac_count + 1 && ac_count=$as_val
6933 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6934 # Best one so far, save it but keep looking for a better one
6935 ac_cv_path_GREP="$ac_path_GREP"
6936 ac_path_GREP_max=$ac_count
6938 # 10*(2^10) chars as input seems more than enough
6939 test $ac_count -gt 10 && break
6940 done
6941 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6942 esac
6944 $ac_path_GREP_found && break 3
6945 done
6946 done
6947 done
6948 IFS=$as_save_IFS
6949 if test -z "$ac_cv_path_GREP"; then
6950 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6952 else
6953 ac_cv_path_GREP=$GREP
6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6958 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6959 GREP="$ac_cv_path_GREP"
6962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6963 printf %s "checking for egrep... " >&6; }
6964 if test ${ac_cv_path_EGREP+y}
6965 then :
6966 printf %s "(cached) " >&6
6967 else $as_nop
6968 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6969 then ac_cv_path_EGREP="$GREP -E"
6970 else
6971 if test -z "$EGREP"; then
6972 ac_path_EGREP_found=false
6973 # Loop through the user's path and test for each of PROGNAME-LIST
6974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6977 IFS=$as_save_IFS
6978 case $as_dir in #(((
6979 '') as_dir=./ ;;
6980 */) ;;
6981 *) as_dir=$as_dir/ ;;
6982 esac
6983 for ac_prog in egrep
6985 for ac_exec_ext in '' $ac_executable_extensions; do
6986 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6987 as_fn_executable_p "$ac_path_EGREP" || continue
6988 # Check for GNU ac_path_EGREP and select it if it is found.
6989 # Check for GNU $ac_path_EGREP
6990 case `"$ac_path_EGREP" --version 2>&1` in
6991 *GNU*)
6992 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6994 ac_count=0
6995 printf %s 0123456789 >"conftest.in"
6996 while :
6998 cat "conftest.in" "conftest.in" >"conftest.tmp"
6999 mv "conftest.tmp" "conftest.in"
7000 cp "conftest.in" "conftest.nl"
7001 printf "%s\n" 'EGREP' >> "conftest.nl"
7002 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7003 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7004 as_fn_arith $ac_count + 1 && ac_count=$as_val
7005 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7006 # Best one so far, save it but keep looking for a better one
7007 ac_cv_path_EGREP="$ac_path_EGREP"
7008 ac_path_EGREP_max=$ac_count
7010 # 10*(2^10) chars as input seems more than enough
7011 test $ac_count -gt 10 && break
7012 done
7013 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7014 esac
7016 $ac_path_EGREP_found && break 3
7017 done
7018 done
7019 done
7020 IFS=$as_save_IFS
7021 if test -z "$ac_cv_path_EGREP"; then
7022 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7024 else
7025 ac_cv_path_EGREP=$EGREP
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7031 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7032 EGREP="$ac_cv_path_EGREP"
7035 # Extract the first word of "ldconfig", so it can be a program name with args.
7036 set dummy ldconfig; ac_word=$2
7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038 printf %s "checking for $ac_word... " >&6; }
7039 if test ${ac_cv_path_LDCONFIG+y}
7040 then :
7041 printf %s "(cached) " >&6
7042 else $as_nop
7043 case $LDCONFIG in
7044 [\\/]* | ?:[\\/]*)
7045 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049 for as_dir in /sbin /usr/sbin $PATH
7051 IFS=$as_save_IFS
7052 case $as_dir in #(((
7053 '') as_dir=./ ;;
7054 */) ;;
7055 *) as_dir=$as_dir/ ;;
7056 esac
7057 for ac_exec_ext in '' $ac_executable_extensions; do
7058 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7059 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7061 break 2
7063 done
7064 done
7065 IFS=$as_save_IFS
7067 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7069 esac
7071 LDCONFIG=$ac_cv_path_LDCONFIG
7072 if test -n "$LDCONFIG"; then
7073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7074 printf "%s\n" "$LDCONFIG" >&6; }
7075 else
7076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7077 printf "%s\n" "no" >&6; }
7081 for ac_prog in msgfmt
7083 # Extract the first word of "$ac_prog", so it can be a program name with args.
7084 set dummy $ac_prog; ac_word=$2
7085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7086 printf %s "checking for $ac_word... " >&6; }
7087 if test ${ac_cv_prog_MSGFMT+y}
7088 then :
7089 printf %s "(cached) " >&6
7090 else $as_nop
7091 if test -n "$MSGFMT"; then
7092 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7093 else
7094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7095 for as_dir in $PATH
7097 IFS=$as_save_IFS
7098 case $as_dir in #(((
7099 '') as_dir=./ ;;
7100 */) ;;
7101 *) as_dir=$as_dir/ ;;
7102 esac
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7105 ac_cv_prog_MSGFMT="$ac_prog"
7106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7107 break 2
7109 done
7110 done
7111 IFS=$as_save_IFS
7115 MSGFMT=$ac_cv_prog_MSGFMT
7116 if test -n "$MSGFMT"; then
7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7118 printf "%s\n" "$MSGFMT" >&6; }
7119 else
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 printf "%s\n" "no" >&6; }
7125 test -n "$MSGFMT" && break
7126 done
7127 test -n "$MSGFMT" || MSGFMT="false"
7129 if test ${ac_tool_prefix+y}
7130 then :
7131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7132 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7134 printf %s "checking for $ac_word... " >&6; }
7135 if test ${ac_cv_prog_PKG_CONFIG+y}
7136 then :
7137 printf %s "(cached) " >&6
7138 else $as_nop
7139 if test -n "$PKG_CONFIG"; then
7140 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7141 else
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 for as_dir in $PATH
7145 IFS=$as_save_IFS
7146 case $as_dir in #(((
7147 '') as_dir=./ ;;
7148 */) ;;
7149 *) as_dir=$as_dir/ ;;
7150 esac
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7153 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7155 break 2
7157 done
7158 done
7159 IFS=$as_save_IFS
7163 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7164 if test -n "$PKG_CONFIG"; then
7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7166 printf "%s\n" "$PKG_CONFIG" >&6; }
7167 else
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 printf "%s\n" "no" >&6; }
7174 if ${ac_cv_prog_PKG_CONFIG:+false} :
7175 then :
7176 if test "x$cross_compiling" = xyes
7177 then :
7179 else $as_nop
7180 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7181 # Extract the first word of "pkg-config", so it can be a program name with args.
7182 set dummy pkg-config; ac_word=$2
7183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 printf %s "checking for $ac_word... " >&6; }
7185 if test ${ac_cv_prog_PKG_CONFIG+y}
7186 then :
7187 printf %s "(cached) " >&6
7188 else $as_nop
7189 if test -n "$PKG_CONFIG"; then
7190 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7191 else
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 for as_dir in $PATH
7195 IFS=$as_save_IFS
7196 case $as_dir in #(((
7197 '') as_dir=./ ;;
7198 */) ;;
7199 *) as_dir=$as_dir/ ;;
7200 esac
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_PKG_CONFIG="pkg-config"
7204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7205 break 2
7207 done
7208 done
7209 IFS=$as_save_IFS
7213 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7214 if test -n "$PKG_CONFIG"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7216 printf "%s\n" "$PKG_CONFIG" >&6; }
7217 else
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 printf "%s\n" "no" >&6; }
7224 else $as_nop
7225 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7228 if test "x$enable_maintainer_mode" != "xyes"
7229 then
7230 FONTFORGE=""
7231 RSVG=""
7232 CONVERT=""
7233 ICOTOOL=""
7234 else
7235 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7236 for ac_prog in fontforge
7238 # Extract the first word of "$ac_prog", so it can be a program name with args.
7239 set dummy $ac_prog; ac_word=$2
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7241 printf %s "checking for $ac_word... " >&6; }
7242 if test ${ac_cv_prog_FONTFORGE+y}
7243 then :
7244 printf %s "(cached) " >&6
7245 else $as_nop
7246 if test -n "$FONTFORGE"; then
7247 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7248 else
7249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7250 for as_dir in $PATH
7252 IFS=$as_save_IFS
7253 case $as_dir in #(((
7254 '') as_dir=./ ;;
7255 */) ;;
7256 *) as_dir=$as_dir/ ;;
7257 esac
7258 for ac_exec_ext in '' $ac_executable_extensions; do
7259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7260 ac_cv_prog_FONTFORGE="$ac_prog"
7261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7262 break 2
7264 done
7265 done
7266 IFS=$as_save_IFS
7270 FONTFORGE=$ac_cv_prog_FONTFORGE
7271 if test -n "$FONTFORGE"; then
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7273 printf "%s\n" "$FONTFORGE" >&6; }
7274 else
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 printf "%s\n" "no" >&6; }
7280 test -n "$FONTFORGE" && break
7281 done
7282 test -n "$FONTFORGE" || FONTFORGE="false"
7284 for ac_prog in rsvg-convert rsvg
7286 # Extract the first word of "$ac_prog", so it can be a program name with args.
7287 set dummy $ac_prog; ac_word=$2
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 printf %s "checking for $ac_word... " >&6; }
7290 if test ${ac_cv_prog_RSVG+y}
7291 then :
7292 printf %s "(cached) " >&6
7293 else $as_nop
7294 if test -n "$RSVG"; then
7295 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7300 IFS=$as_save_IFS
7301 case $as_dir in #(((
7302 '') as_dir=./ ;;
7303 */) ;;
7304 *) as_dir=$as_dir/ ;;
7305 esac
7306 for ac_exec_ext in '' $ac_executable_extensions; do
7307 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7308 ac_cv_prog_RSVG="$ac_prog"
7309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7310 break 2
7312 done
7313 done
7314 IFS=$as_save_IFS
7318 RSVG=$ac_cv_prog_RSVG
7319 if test -n "$RSVG"; then
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7321 printf "%s\n" "$RSVG" >&6; }
7322 else
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7324 printf "%s\n" "no" >&6; }
7328 test -n "$RSVG" && break
7329 done
7330 test -n "$RSVG" || RSVG="false"
7332 for ac_prog in convert
7334 # Extract the first word of "$ac_prog", so it can be a program name with args.
7335 set dummy $ac_prog; ac_word=$2
7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7337 printf %s "checking for $ac_word... " >&6; }
7338 if test ${ac_cv_prog_CONVERT+y}
7339 then :
7340 printf %s "(cached) " >&6
7341 else $as_nop
7342 if test -n "$CONVERT"; then
7343 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7348 IFS=$as_save_IFS
7349 case $as_dir in #(((
7350 '') as_dir=./ ;;
7351 */) ;;
7352 *) as_dir=$as_dir/ ;;
7353 esac
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7356 ac_cv_prog_CONVERT="$ac_prog"
7357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 CONVERT=$ac_cv_prog_CONVERT
7367 if test -n "$CONVERT"; then
7368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7369 printf "%s\n" "$CONVERT" >&6; }
7370 else
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 printf "%s\n" "no" >&6; }
7376 test -n "$CONVERT" && break
7377 done
7378 test -n "$CONVERT" || CONVERT="false"
7380 for ac_prog in icotool
7382 # Extract the first word of "$ac_prog", so it can be a program name with args.
7383 set dummy $ac_prog; ac_word=$2
7384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7385 printf %s "checking for $ac_word... " >&6; }
7386 if test ${ac_cv_prog_ICOTOOL+y}
7387 then :
7388 printf %s "(cached) " >&6
7389 else $as_nop
7390 if test -n "$ICOTOOL"; then
7391 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7396 IFS=$as_save_IFS
7397 case $as_dir in #(((
7398 '') as_dir=./ ;;
7399 */) ;;
7400 *) as_dir=$as_dir/ ;;
7401 esac
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7404 ac_cv_prog_ICOTOOL="$ac_prog"
7405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ICOTOOL=$ac_cv_prog_ICOTOOL
7415 if test -n "$ICOTOOL"; then
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7417 printf "%s\n" "$ICOTOOL" >&6; }
7418 else
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 printf "%s\n" "no" >&6; }
7424 test -n "$ICOTOOL" && break
7425 done
7426 test -n "$ICOTOOL" || ICOTOOL="false"
7428 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7429 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7431 if test "$CONVERT" = false
7432 then
7433 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7434 else
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7436 printf %s "checking for recent enough imagemagick... " >&6; }
7437 convert_version=`convert --version | head -n1`
7438 if test "x$convert_version" != "x"
7439 then
7440 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7441 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7442 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7443 then
7444 CONVERT=false
7447 if test "$CONVERT" = false
7448 then
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7450 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7451 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7452 else
7453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7454 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7458 if test "$ICOTOOL" = false
7459 then
7460 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7461 else
7462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7463 printf %s "checking for recent enough icotool... " >&6; }
7464 icotool_version=`icotool --version | head -n1`
7465 if test "x$icotool_version" != "x"
7466 then
7467 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7468 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7469 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7470 then
7471 ICOTOOL=false
7472 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7475 if test "$ICOTOOL" = false
7476 then
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7478 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7479 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7480 else
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7482 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7486 with_gettext=yes
7487 with_gettextpo=yes
7489 enable_werror=yes
7492 test "x$with_gettext" != xno || MSGFMT=false
7493 if test "$MSGFMT" != "false"
7494 then
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7496 printf %s "checking whether msgfmt supports contexts... " >&6; }
7497 if test ${wine_cv_msgfmt_contexts+y}
7498 then :
7499 printf %s "(cached) " >&6
7500 else $as_nop
7501 cat >conftest.po <<EOF
7502 # comment
7503 msgctxt "ctxt"
7504 msgid "id"
7505 msgstr "str"
7507 if $MSGFMT -o /dev/null conftest.po 2>&5
7508 then
7509 wine_cv_msgfmt_contexts=yes
7510 else
7511 wine_cv_msgfmt_contexts=no
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7515 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7516 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7518 if test "$MSGFMT" = false
7519 then :
7520 case "x$with_gettext" in
7521 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7522 xno) ;;
7523 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7524 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7525 esac
7526 enable_po=${enable_po:-no}
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7531 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7532 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7533 then :
7534 printf %s "(cached) " >&6
7535 else $as_nop
7536 ac_check_lib_save_LIBS=$LIBS
7537 LIBS="-li386 $LIBS"
7538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7539 /* end confdefs.h. */
7541 /* Override any GCC internal prototype to avoid an error.
7542 Use char because int might match the return type of a GCC
7543 builtin and then its argument prototype would still apply. */
7544 char i386_set_ldt ();
7546 main (void)
7548 return i386_set_ldt ();
7550 return 0;
7552 _ACEOF
7553 if ac_fn_c_try_link "$LINENO"
7554 then :
7555 ac_cv_lib_i386_i386_set_ldt=yes
7556 else $as_nop
7557 ac_cv_lib_i386_i386_set_ldt=no
7559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7560 conftest$ac_exeext conftest.$ac_ext
7561 LIBS=$ac_check_lib_save_LIBS
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7564 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7565 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7566 then :
7567 I386_LIBS="-li386"
7572 OPENGL_LIBS=""
7576 # Check whether --enable-largefile was given.
7577 if test ${enable_largefile+y}
7578 then :
7579 enableval=$enable_largefile;
7582 if test "$enable_largefile" != no; then
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7585 printf %s "checking for special C compiler options needed for large files... " >&6; }
7586 if test ${ac_cv_sys_largefile_CC+y}
7587 then :
7588 printf %s "(cached) " >&6
7589 else $as_nop
7590 ac_cv_sys_largefile_CC=no
7591 if test "$GCC" != yes; then
7592 ac_save_CC=$CC
7593 while :; do
7594 # IRIX 6.2 and later do not support large files by default,
7595 # so use the C compiler's -n32 option if that helps.
7596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7597 /* end confdefs.h. */
7598 #include <sys/types.h>
7599 /* Check that off_t can represent 2**63 - 1 correctly.
7600 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7601 since some C++ compilers masquerading as C compilers
7602 incorrectly reject 9223372036854775807. */
7603 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7604 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7605 && LARGE_OFF_T % 2147483647 == 1)
7606 ? 1 : -1];
7608 main (void)
7612 return 0;
7614 _ACEOF
7615 if ac_fn_c_try_compile "$LINENO"
7616 then :
7617 break
7619 rm -f core conftest.err conftest.$ac_objext conftest.beam
7620 CC="$CC -n32"
7621 if ac_fn_c_try_compile "$LINENO"
7622 then :
7623 ac_cv_sys_largefile_CC=' -n32'; break
7625 rm -f core conftest.err conftest.$ac_objext conftest.beam
7626 break
7627 done
7628 CC=$ac_save_CC
7629 rm -f conftest.$ac_ext
7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7633 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7634 if test "$ac_cv_sys_largefile_CC" != no; then
7635 CC=$CC$ac_cv_sys_largefile_CC
7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7639 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7640 if test ${ac_cv_sys_file_offset_bits+y}
7641 then :
7642 printf %s "(cached) " >&6
7643 else $as_nop
7644 while :; do
7645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7646 /* end confdefs.h. */
7647 #include <sys/types.h>
7648 /* Check that off_t can represent 2**63 - 1 correctly.
7649 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7650 since some C++ compilers masquerading as C compilers
7651 incorrectly reject 9223372036854775807. */
7652 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7653 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7654 && LARGE_OFF_T % 2147483647 == 1)
7655 ? 1 : -1];
7657 main (void)
7661 return 0;
7663 _ACEOF
7664 if ac_fn_c_try_compile "$LINENO"
7665 then :
7666 ac_cv_sys_file_offset_bits=no; break
7668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7670 /* end confdefs.h. */
7671 #define _FILE_OFFSET_BITS 64
7672 #include <sys/types.h>
7673 /* Check that off_t can represent 2**63 - 1 correctly.
7674 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7675 since some C++ compilers masquerading as C compilers
7676 incorrectly reject 9223372036854775807. */
7677 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7678 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7679 && LARGE_OFF_T % 2147483647 == 1)
7680 ? 1 : -1];
7682 main (void)
7686 return 0;
7688 _ACEOF
7689 if ac_fn_c_try_compile "$LINENO"
7690 then :
7691 ac_cv_sys_file_offset_bits=64; break
7693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7694 ac_cv_sys_file_offset_bits=unknown
7695 break
7696 done
7698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7699 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7700 case $ac_cv_sys_file_offset_bits in #(
7701 no | unknown) ;;
7703 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7705 esac
7706 rm -rf conftest*
7707 if test $ac_cv_sys_file_offset_bits = unknown; then
7708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7709 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7710 if test ${ac_cv_sys_large_files+y}
7711 then :
7712 printf %s "(cached) " >&6
7713 else $as_nop
7714 while :; do
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7717 #include <sys/types.h>
7718 /* Check that off_t can represent 2**63 - 1 correctly.
7719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7720 since some C++ compilers masquerading as C compilers
7721 incorrectly reject 9223372036854775807. */
7722 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7724 && LARGE_OFF_T % 2147483647 == 1)
7725 ? 1 : -1];
7727 main (void)
7731 return 0;
7733 _ACEOF
7734 if ac_fn_c_try_compile "$LINENO"
7735 then :
7736 ac_cv_sys_large_files=no; break
7738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7741 #define _LARGE_FILES 1
7742 #include <sys/types.h>
7743 /* Check that off_t can represent 2**63 - 1 correctly.
7744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7745 since some C++ compilers masquerading as C compilers
7746 incorrectly reject 9223372036854775807. */
7747 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7749 && LARGE_OFF_T % 2147483647 == 1)
7750 ? 1 : -1];
7752 main (void)
7756 return 0;
7758 _ACEOF
7759 if ac_fn_c_try_compile "$LINENO"
7760 then :
7761 ac_cv_sys_large_files=1; break
7763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7764 ac_cv_sys_large_files=unknown
7765 break
7766 done
7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7769 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7770 case $ac_cv_sys_large_files in #(
7771 no | unknown) ;;
7773 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7775 esac
7776 rm -rf conftest*
7781 ac_header= ac_cache=
7782 for ac_item in $ac_header_c_list
7784 if test $ac_cache; then
7785 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7786 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7787 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7789 ac_header= ac_cache=
7790 elif test $ac_header; then
7791 ac_cache=$ac_item
7792 else
7793 ac_header=$ac_item
7795 done
7804 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7805 then :
7807 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7810 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7811 if test "x$ac_cv_header_AL_al_h" = xyes
7812 then :
7813 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7816 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7817 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7818 then :
7819 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7822 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7823 if test "x$ac_cv_header_CL_cl_h" = xyes
7824 then :
7825 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7828 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7829 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7830 then :
7831 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7834 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7835 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7836 then :
7837 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7840 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7841 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7842 then :
7843 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7846 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7847 if test "x$ac_cv_header_EGL_egl_h" = xyes
7848 then :
7849 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7852 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7853 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7854 then :
7855 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7858 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7859 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7860 then :
7861 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7864 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7865 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7866 then :
7867 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7870 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7871 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7872 then :
7873 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7876 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7877 if test "x$ac_cv_header_Security_Security_h" = xyes
7878 then :
7879 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7882 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7883 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7884 then :
7885 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7888 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7889 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7890 then :
7891 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7894 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7895 if test "x$ac_cv_header_arpa_inet_h" = xyes
7896 then :
7897 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7900 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7901 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7902 then :
7903 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7906 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7907 if test "x$ac_cv_header_asm_types_h" = xyes
7908 then :
7909 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7912 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7913 if test "x$ac_cv_header_asm_user_h" = xyes
7914 then :
7915 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7918 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7919 if test "x$ac_cv_header_elf_h" = xyes
7920 then :
7921 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7924 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7925 if test "x$ac_cv_header_float_h" = xyes
7926 then :
7927 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7930 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7931 if test "x$ac_cv_header_gettext_po_h" = xyes
7932 then :
7933 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7936 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_libproc_h" = xyes
7938 then :
7939 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7942 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7943 if test "x$ac_cv_header_link_h" = xyes
7944 then :
7945 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7948 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7949 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7950 then :
7951 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7954 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7955 if test "x$ac_cv_header_linux_filter_h" = xyes
7956 then :
7957 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7960 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7961 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7962 then :
7963 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7966 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7967 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7968 then :
7969 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7972 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7973 if test "x$ac_cv_header_linux_input_h" = xyes
7974 then :
7975 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7978 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7979 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7980 then :
7981 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7984 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7985 if test "x$ac_cv_header_linux_major_h" = xyes
7986 then :
7987 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7990 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7991 if test "x$ac_cv_header_linux_param_h" = xyes
7992 then :
7993 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7996 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7997 if test "x$ac_cv_header_linux_serial_h" = xyes
7998 then :
7999 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8002 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_linux_types_h" = xyes
8004 then :
8005 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8008 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8009 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8010 then :
8011 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8014 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8015 if test "x$ac_cv_header_lwp_h" = xyes
8016 then :
8017 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8020 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8021 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8022 then :
8023 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8026 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8027 if test "x$ac_cv_header_mach_mach_h" = xyes
8028 then :
8029 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8032 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8033 if test "x$ac_cv_header_machine_cpu_h" = xyes
8034 then :
8035 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8038 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8039 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8040 then :
8041 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8044 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8045 if test "x$ac_cv_header_mntent_h" = xyes
8046 then :
8047 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8050 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8051 if test "x$ac_cv_header_netdb_h" = xyes
8052 then :
8053 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8056 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8057 if test "x$ac_cv_header_netinet_in_h" = xyes
8058 then :
8059 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8062 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8063 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8064 then :
8065 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8068 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8069 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8070 then :
8071 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8074 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8075 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8076 then :
8077 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8080 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8081 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8082 then :
8083 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8086 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8087 if test "x$ac_cv_header_port_h" = xyes
8088 then :
8089 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8092 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8093 if test "x$ac_cv_header_pthread_h" = xyes
8094 then :
8095 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8098 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8099 if test "x$ac_cv_header_pwd_h" = xyes
8100 then :
8101 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8104 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8105 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8106 then :
8107 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8110 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_sched_h" = xyes
8112 then :
8113 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8116 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8118 then :
8119 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8122 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8123 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8124 then :
8125 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8128 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8129 if test "x$ac_cv_header_scsi_sg_h" = xyes
8130 then :
8131 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8134 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_stdint_h" = xyes
8136 then :
8137 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8140 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8141 if test "x$ac_cv_header_sys_attr_h" = xyes
8142 then :
8143 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8146 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8147 if test "x$ac_cv_header_sys_auxv_h" = xyes
8148 then :
8149 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8152 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8153 if test "x$ac_cv_header_sys_cdio_h" = xyes
8154 then :
8155 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8158 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8159 if test "x$ac_cv_header_sys_epoll_h" = xyes
8160 then :
8161 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8164 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8165 if test "x$ac_cv_header_sys_event_h" = xyes
8166 then :
8167 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8170 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8171 if test "x$ac_cv_header_sys_filio_h" = xyes
8172 then :
8173 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8176 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_sys_ipc_h" = xyes
8178 then :
8179 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8182 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8183 if test "x$ac_cv_header_sys_link_h" = xyes
8184 then :
8185 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8188 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8189 if test "x$ac_cv_header_sys_modem_h" = xyes
8190 then :
8191 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8194 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8195 if test "x$ac_cv_header_sys_mtio_h" = xyes
8196 then :
8197 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8200 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8201 if test "x$ac_cv_header_sys_param_h" = xyes
8202 then :
8203 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8206 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_sys_prctl_h" = xyes
8208 then :
8209 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8212 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8213 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8214 then :
8215 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8218 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8219 if test "x$ac_cv_header_sys_queue_h" = xyes
8220 then :
8221 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8224 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8225 if test "x$ac_cv_header_sys_random_h" = xyes
8226 then :
8227 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8230 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8231 if test "x$ac_cv_header_sys_resource_h" = xyes
8232 then :
8233 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8236 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8237 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8238 then :
8239 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8242 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8243 if test "x$ac_cv_header_sys_shm_h" = xyes
8244 then :
8245 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8248 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8249 if test "x$ac_cv_header_sys_signal_h" = xyes
8250 then :
8251 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8254 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8255 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8256 then :
8257 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8260 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8261 if test "x$ac_cv_header_sys_sockio_h" = xyes
8262 then :
8263 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8266 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8267 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8268 then :
8269 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8272 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8273 if test "x$ac_cv_header_sys_strtio_h" = xyes
8274 then :
8275 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8278 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8279 if test "x$ac_cv_header_sys_syscall_h" = xyes
8280 then :
8281 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8286 then :
8287 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8290 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8291 if test "x$ac_cv_header_sys_times_h" = xyes
8292 then :
8293 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8296 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8297 if test "x$ac_cv_header_sys_uio_h" = xyes
8298 then :
8299 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8302 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8303 if test "x$ac_cv_header_sys_user_h" = xyes
8304 then :
8305 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8308 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8309 if test "x$ac_cv_header_sys_utsname_h" = xyes
8310 then :
8311 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8314 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8315 if test "x$ac_cv_header_sys_vnode_h" = xyes
8316 then :
8317 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8320 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8321 if test "x$ac_cv_header_syscall_h" = xyes
8322 then :
8323 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_utime_h" = xyes
8328 then :
8329 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8332 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8333 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8334 then :
8335 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8338 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8339 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8340 then :
8341 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8347 then :
8349 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8353 if test $ac_cv_header_sys_mkdev_h = no; then
8354 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8356 then :
8358 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8364 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8365 if test ${ac_cv_header_stat_broken+y}
8366 then :
8367 printf %s "(cached) " >&6
8368 else $as_nop
8369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8370 /* end confdefs.h. */
8371 #include <sys/types.h>
8372 #include <sys/stat.h>
8374 #if defined S_ISBLK && defined S_IFDIR
8375 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8376 #endif
8378 #if defined S_ISBLK && defined S_IFCHR
8379 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8380 #endif
8382 #if defined S_ISLNK && defined S_IFREG
8383 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8384 #endif
8386 #if defined S_ISSOCK && defined S_IFREG
8387 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8388 #endif
8390 _ACEOF
8391 if ac_fn_c_try_compile "$LINENO"
8392 then :
8393 ac_cv_header_stat_broken=no
8394 else $as_nop
8395 ac_cv_header_stat_broken=yes
8397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8400 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8401 if test $ac_cv_header_stat_broken = yes; then
8403 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8409 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8410 #ifdef HAVE_SYS_PARAM_H
8411 # include <sys/param.h>
8412 #endif
8414 if test "x$ac_cv_header_sys_conf_h" = xyes
8415 then :
8416 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8419 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_mount_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8429 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8430 #ifdef HAVE_SYS_PARAM_H
8431 # include <sys/param.h>
8432 #endif
8434 if test "x$ac_cv_header_sys_statfs_h" = xyes
8435 then :
8436 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8439 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8440 #ifdef HAVE_SYS_PARAM_H
8441 # include <sys/param.h>
8442 #endif
8444 if test "x$ac_cv_header_sys_user_h" = xyes
8445 then :
8446 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8449 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8450 #ifdef HAVE_SYS_PARAM_H
8451 # include <sys/param.h>
8452 #endif
8454 if test "x$ac_cv_header_sys_vfs_h" = xyes
8455 then :
8456 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8461 saved_sysctl_h_CFLAGS=$CFLAGS
8462 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8463 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8464 #ifdef HAVE_SYS_PARAM_H
8465 # include <sys/param.h>
8466 #endif
8468 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8469 then :
8470 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8474 CFLAGS=$saved_sysctl_h_CFLAGS
8476 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8477 #include <sys/socket.h>
8478 #ifdef HAVE_SYS_SOCKETVAR_H
8479 # include <sys/socketvar.h>
8480 #endif
8481 #ifdef HAVE_NET_ROUTE_H
8482 # include <net/route.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IN_H
8485 # include <netinet/in.h>
8486 #endif
8487 #ifdef HAVE_NETINET_IN_SYSTM_H
8488 # include <netinet/in_systm.h>
8489 #endif
8490 #ifdef HAVE_NET_IF_H
8491 # include <net/if.h>
8492 #endif
8493 #ifdef HAVE_NETINET_IP_H
8494 # include <netinet/ip.h>
8495 #endif
8497 if test "x$ac_cv_header_netinet_ip_h" = xyes
8498 then :
8499 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8502 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8503 #include <sys/socket.h>
8504 #ifdef HAVE_SYS_SOCKETVAR_H
8505 # include <sys/socketvar.h>
8506 #endif
8507 #ifdef HAVE_NET_ROUTE_H
8508 # include <net/route.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IN_H
8511 # include <netinet/in.h>
8512 #endif
8513 #ifdef HAVE_NETINET_IN_SYSTM_H
8514 # include <netinet/in_systm.h>
8515 #endif
8516 #ifdef HAVE_NET_IF_H
8517 # include <net/if.h>
8518 #endif
8519 #ifdef HAVE_NETINET_IP_H
8520 # include <netinet/ip.h>
8521 #endif
8523 if test "x$ac_cv_header_net_if_h" = xyes
8524 then :
8525 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8528 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8529 #include <sys/socket.h>
8530 #ifdef HAVE_SYS_SOCKETVAR_H
8531 # include <sys/socketvar.h>
8532 #endif
8533 #ifdef HAVE_NET_ROUTE_H
8534 # include <net/route.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IN_H
8537 # include <netinet/in.h>
8538 #endif
8539 #ifdef HAVE_NETINET_IN_SYSTM_H
8540 # include <netinet/in_systm.h>
8541 #endif
8542 #ifdef HAVE_NET_IF_H
8543 # include <net/if.h>
8544 #endif
8545 #ifdef HAVE_NETINET_IP_H
8546 # include <netinet/ip.h>
8547 #endif
8549 if test "x$ac_cv_header_net_if_arp_h" = xyes
8550 then :
8551 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8554 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8555 #include <sys/socket.h>
8556 #ifdef HAVE_SYS_SOCKETVAR_H
8557 # include <sys/socketvar.h>
8558 #endif
8559 #ifdef HAVE_NET_ROUTE_H
8560 # include <net/route.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IN_H
8563 # include <netinet/in.h>
8564 #endif
8565 #ifdef HAVE_NETINET_IN_SYSTM_H
8566 # include <netinet/in_systm.h>
8567 #endif
8568 #ifdef HAVE_NET_IF_H
8569 # include <net/if.h>
8570 #endif
8571 #ifdef HAVE_NETINET_IP_H
8572 # include <netinet/ip.h>
8573 #endif
8575 if test "x$ac_cv_header_net_if_dl_h" = xyes
8576 then :
8577 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8580 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8581 #include <sys/socket.h>
8582 #ifdef HAVE_SYS_SOCKETVAR_H
8583 # include <sys/socketvar.h>
8584 #endif
8585 #ifdef HAVE_NET_ROUTE_H
8586 # include <net/route.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IN_H
8589 # include <netinet/in.h>
8590 #endif
8591 #ifdef HAVE_NETINET_IN_SYSTM_H
8592 # include <netinet/in_systm.h>
8593 #endif
8594 #ifdef HAVE_NET_IF_H
8595 # include <net/if.h>
8596 #endif
8597 #ifdef HAVE_NETINET_IP_H
8598 # include <netinet/ip.h>
8599 #endif
8601 if test "x$ac_cv_header_net_if_types_h" = xyes
8602 then :
8603 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8606 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8607 #include <sys/socket.h>
8608 #ifdef HAVE_SYS_SOCKETVAR_H
8609 # include <sys/socketvar.h>
8610 #endif
8611 #ifdef HAVE_NET_ROUTE_H
8612 # include <net/route.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IN_H
8615 # include <netinet/in.h>
8616 #endif
8617 #ifdef HAVE_NETINET_IN_SYSTM_H
8618 # include <netinet/in_systm.h>
8619 #endif
8620 #ifdef HAVE_NET_IF_H
8621 # include <net/if.h>
8622 #endif
8623 #ifdef HAVE_NETINET_IP_H
8624 # include <netinet/ip.h>
8625 #endif
8627 if test "x$ac_cv_header_net_route_h" = xyes
8628 then :
8629 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8632 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8633 #include <sys/socket.h>
8634 #ifdef HAVE_SYS_SOCKETVAR_H
8635 # include <sys/socketvar.h>
8636 #endif
8637 #ifdef HAVE_NET_ROUTE_H
8638 # include <net/route.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IN_H
8641 # include <netinet/in.h>
8642 #endif
8643 #ifdef HAVE_NETINET_IN_SYSTM_H
8644 # include <netinet/in_systm.h>
8645 #endif
8646 #ifdef HAVE_NET_IF_H
8647 # include <net/if.h>
8648 #endif
8649 #ifdef HAVE_NETINET_IP_H
8650 # include <netinet/ip.h>
8651 #endif
8653 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8654 then :
8655 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8658 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8659 #include <sys/socket.h>
8660 #ifdef HAVE_SYS_SOCKETVAR_H
8661 # include <sys/socketvar.h>
8662 #endif
8663 #ifdef HAVE_NET_ROUTE_H
8664 # include <net/route.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IN_H
8667 # include <netinet/in.h>
8668 #endif
8669 #ifdef HAVE_NETINET_IN_SYSTM_H
8670 # include <netinet/in_systm.h>
8671 #endif
8672 #ifdef HAVE_NET_IF_H
8673 # include <net/if.h>
8674 #endif
8675 #ifdef HAVE_NETINET_IP_H
8676 # include <netinet/ip.h>
8677 #endif
8679 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8680 then :
8681 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8684 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8685 #include <sys/socket.h>
8686 #ifdef HAVE_SYS_SOCKETVAR_H
8687 # include <sys/socketvar.h>
8688 #endif
8689 #ifdef HAVE_NET_ROUTE_H
8690 # include <net/route.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IN_H
8693 # include <netinet/in.h>
8694 #endif
8695 #ifdef HAVE_NETINET_IN_SYSTM_H
8696 # include <netinet/in_systm.h>
8697 #endif
8698 #ifdef HAVE_NET_IF_H
8699 # include <net/if.h>
8700 #endif
8701 #ifdef HAVE_NETINET_IP_H
8702 # include <netinet/ip.h>
8703 #endif
8705 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8706 then :
8707 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8710 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8711 #include <sys/socket.h>
8712 #ifdef HAVE_SYS_SOCKETVAR_H
8713 # include <sys/socketvar.h>
8714 #endif
8715 #ifdef HAVE_NET_ROUTE_H
8716 # include <net/route.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IN_H
8719 # include <netinet/in.h>
8720 #endif
8721 #ifdef HAVE_NETINET_IN_SYSTM_H
8722 # include <netinet/in_systm.h>
8723 #endif
8724 #ifdef HAVE_NET_IF_H
8725 # include <net/if.h>
8726 #endif
8727 #ifdef HAVE_NETINET_IP_H
8728 # include <netinet/ip.h>
8729 #endif
8731 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8732 then :
8733 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8736 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8737 #include <sys/socket.h>
8738 #ifdef HAVE_SYS_SOCKETVAR_H
8739 # include <sys/socketvar.h>
8740 #endif
8741 #ifdef HAVE_NET_ROUTE_H
8742 # include <net/route.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IN_H
8745 # include <netinet/in.h>
8746 #endif
8747 #ifdef HAVE_NETINET_IN_SYSTM_H
8748 # include <netinet/in_systm.h>
8749 #endif
8750 #ifdef HAVE_NET_IF_H
8751 # include <net/if.h>
8752 #endif
8753 #ifdef HAVE_NETINET_IP_H
8754 # include <netinet/ip.h>
8755 #endif
8757 if test "x$ac_cv_header_netinet_udp_h" = xyes
8758 then :
8759 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8762 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8763 #include <sys/socket.h>
8764 #ifdef HAVE_SYS_SOCKETVAR_H
8765 # include <sys/socketvar.h>
8766 #endif
8767 #ifdef HAVE_NET_ROUTE_H
8768 # include <net/route.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IN_H
8771 # include <netinet/in.h>
8772 #endif
8773 #ifdef HAVE_NETINET_IN_SYSTM_H
8774 # include <netinet/in_systm.h>
8775 #endif
8776 #ifdef HAVE_NET_IF_H
8777 # include <net/if.h>
8778 #endif
8779 #ifdef HAVE_NETINET_IP_H
8780 # include <netinet/ip.h>
8781 #endif
8783 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8784 then :
8785 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8788 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8789 #include <sys/socket.h>
8790 #ifdef HAVE_SYS_SOCKETVAR_H
8791 # include <sys/socketvar.h>
8792 #endif
8793 #ifdef HAVE_NET_ROUTE_H
8794 # include <net/route.h>
8795 #endif
8796 #ifdef HAVE_NETINET_IN_H
8797 # include <netinet/in.h>
8798 #endif
8799 #ifdef HAVE_NETINET_IN_SYSTM_H
8800 # include <netinet/in_systm.h>
8801 #endif
8802 #ifdef HAVE_NET_IF_H
8803 # include <net/if.h>
8804 #endif
8805 #ifdef HAVE_NETINET_IP_H
8806 # include <netinet/ip.h>
8807 #endif
8809 if test "x$ac_cv_header_sys_un_h" = xyes
8810 then :
8811 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8817 #include <sys/socket.h>
8818 #ifdef HAVE_SYS_SOCKETVAR_H
8819 # include <sys/socketvar.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_H
8822 # include <netinet/in.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IN_SYSTM_H
8825 # include <netinet/in_systm.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_H
8828 # include <netinet/ip.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_VAR_H
8831 # include <netinet/ip_var.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IP_ICMP_H
8834 # include <netinet/ip_icmp.h>
8835 #endif
8836 #ifdef HAVE_NETINET_UDP_H
8837 # include <netinet/udp.h>
8838 #endif
8839 #ifdef HAVE_NETINET_TCP_H
8840 # include <netinet/tcp.h>
8841 #endif
8843 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8844 then :
8845 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8848 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8849 #include <sys/socket.h>
8850 #ifdef HAVE_SYS_SOCKETVAR_H
8851 # include <sys/socketvar.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_H
8854 # include <netinet/in.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IN_SYSTM_H
8857 # include <netinet/in_systm.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_VAR_H
8863 # include <netinet/ip_var.h>
8864 #endif
8865 #ifdef HAVE_NETINET_IP_ICMP_H
8866 # include <netinet/ip_icmp.h>
8867 #endif
8868 #ifdef HAVE_NETINET_UDP_H
8869 # include <netinet/udp.h>
8870 #endif
8871 #ifdef HAVE_NETINET_TCP_H
8872 # include <netinet/tcp.h>
8873 #endif
8875 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8876 then :
8877 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8880 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8881 #include <sys/socket.h>
8882 #ifdef HAVE_SYS_SOCKETVAR_H
8883 # include <sys/socketvar.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IN_H
8886 # include <netinet/in.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IN_SYSTM_H
8889 # include <netinet/in_systm.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_H
8892 # include <netinet/ip.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_VAR_H
8895 # include <netinet/ip_var.h>
8896 #endif
8897 #ifdef HAVE_NETINET_IP_ICMP_H
8898 # include <netinet/ip_icmp.h>
8899 #endif
8900 #ifdef HAVE_NETINET_UDP_H
8901 # include <netinet/udp.h>
8902 #endif
8903 #ifdef HAVE_NETINET_TCP_H
8904 # include <netinet/tcp.h>
8905 #endif
8907 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8908 then :
8909 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_ASM_TYPES_H
8917 # include <asm/types.h>
8918 #endif
8919 #ifdef HAVE_LINUX_TYPES_H
8920 # include <linux/types.h>
8921 #endif
8923 if test "x$ac_cv_header_linux_ipx_h" = xyes
8924 then :
8925 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_ASM_TYPES_H
8931 # include <asm/types.h>
8932 #endif
8933 #ifdef HAVE_LINUX_TYPES_H
8934 # include <linux/types.h>
8935 #endif
8937 if test "x$ac_cv_header_linux_irda_h" = xyes
8938 then :
8939 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8946 #endif
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8949 #endif
8951 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8952 then :
8953 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8958 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8959 #include <sys/socket.h>
8960 #ifdef HAVE_NETINET_IN_H
8961 # include <netinet/in.h>
8962 #endif
8963 #ifdef HAVE_ARPA_NAMESER_H
8964 # include <arpa/nameser.h>
8965 #endif
8967 if test "x$ac_cv_header_resolv_h" = xyes
8968 then :
8969 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8974 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8976 if test "x$ac_cv_header_ifaddrs_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8983 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8985 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8986 then :
8987 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8992 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8993 #ifdef HAVE_SYS_UCONTEXT_H
8994 #include <sys/ucontext.h>
8995 #endif
8997 if test "x$ac_cv_header_sys_thr_h" = xyes
8998 then :
8999 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9004 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9005 #include <pthread.h>
9006 #endif
9008 if test "x$ac_cv_header_pthread_np_h" = xyes
9009 then :
9010 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9015 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9016 #include <sys/types.h>
9017 #ifdef HAVE_ASM_TYPES_H
9018 #include <asm/types.h>
9019 #endif
9021 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9022 then :
9023 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9029 #include <sys/param.h>
9030 #endif
9031 #include <sys/socket.h>
9032 #ifdef HAVE_SYS_QUEUE_H
9033 #include <sys/queue.h>
9034 #endif
9036 if test "x$ac_cv_header_libprocstat_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9044 DLLFLAGS=""
9046 LDDLLFLAGS=""
9048 LDEXECFLAGS=""
9050 EXTRACFLAGS=""
9052 UNIXDLLFLAGS="-fPIC"
9054 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9056 TOP_INSTALL_LIB=""
9058 TOP_INSTALL_DEV=""
9060 WINELOADER_LDFLAGS=""
9062 WINEPRELOADER_LDFLAGS=""
9064 LIBEXT="so"
9065 # Extract the first word of "ldd", so it can be a program name with args.
9066 set dummy ldd; ac_word=$2
9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9068 printf %s "checking for $ac_word... " >&6; }
9069 if test ${ac_cv_path_LDD+y}
9070 then :
9071 printf %s "(cached) " >&6
9072 else $as_nop
9073 case $LDD in
9074 [\\/]* | ?:[\\/]*)
9075 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9079 as_dummy="/sbin:/usr/sbin:$PATH"
9080 for as_dir in $as_dummy
9082 IFS=$as_save_IFS
9083 case $as_dir in #(((
9084 '') as_dir=./ ;;
9085 */) ;;
9086 *) as_dir=$as_dir/ ;;
9087 esac
9088 for ac_exec_ext in '' $ac_executable_extensions; do
9089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9090 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9092 break 2
9094 done
9095 done
9096 IFS=$as_save_IFS
9098 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9100 esac
9102 LDD=$ac_cv_path_LDD
9103 if test -n "$LDD"; then
9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9105 printf "%s\n" "$LDD" >&6; }
9106 else
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108 printf "%s\n" "no" >&6; }
9112 if test -n "$ac_tool_prefix"; then
9113 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}otool; ac_word=$2
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 printf %s "checking for $ac_word... " >&6; }
9117 if test ${ac_cv_prog_OTOOL+y}
9118 then :
9119 printf %s "(cached) " >&6
9120 else $as_nop
9121 if test -n "$OTOOL"; then
9122 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9123 else
9124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 for as_dir in $PATH
9127 IFS=$as_save_IFS
9128 case $as_dir in #(((
9129 '') as_dir=./ ;;
9130 */) ;;
9131 *) as_dir=$as_dir/ ;;
9132 esac
9133 for ac_exec_ext in '' $ac_executable_extensions; do
9134 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9135 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9137 break 2
9139 done
9140 done
9141 IFS=$as_save_IFS
9145 OTOOL=$ac_cv_prog_OTOOL
9146 if test -n "$OTOOL"; then
9147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9148 printf "%s\n" "$OTOOL" >&6; }
9149 else
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 printf "%s\n" "no" >&6; }
9156 if test -z "$ac_cv_prog_OTOOL"; then
9157 ac_ct_OTOOL=$OTOOL
9158 # Extract the first word of "otool", so it can be a program name with args.
9159 set dummy otool; ac_word=$2
9160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9161 printf %s "checking for $ac_word... " >&6; }
9162 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9163 then :
9164 printf %s "(cached) " >&6
9165 else $as_nop
9166 if test -n "$ac_ct_OTOOL"; then
9167 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9168 else
9169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9170 for as_dir in $PATH
9172 IFS=$as_save_IFS
9173 case $as_dir in #(((
9174 '') as_dir=./ ;;
9175 */) ;;
9176 *) as_dir=$as_dir/ ;;
9177 esac
9178 for ac_exec_ext in '' $ac_executable_extensions; do
9179 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9180 ac_cv_prog_ac_ct_OTOOL="otool"
9181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9182 break 2
9184 done
9185 done
9186 IFS=$as_save_IFS
9190 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9191 if test -n "$ac_ct_OTOOL"; then
9192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9193 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9194 else
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 printf "%s\n" "no" >&6; }
9199 if test "x$ac_ct_OTOOL" = x; then
9200 OTOOL="otool"
9201 else
9202 case $cross_compiling:$ac_tool_warned in
9203 yes:)
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9205 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9206 ac_tool_warned=yes ;;
9207 esac
9208 OTOOL=$ac_ct_OTOOL
9210 else
9211 OTOOL="$ac_cv_prog_OTOOL"
9214 if test -n "$ac_tool_prefix"; then
9215 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9216 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9218 printf %s "checking for $ac_word... " >&6; }
9219 if test ${ac_cv_prog_READELF+y}
9220 then :
9221 printf %s "(cached) " >&6
9222 else $as_nop
9223 if test -n "$READELF"; then
9224 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9225 else
9226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9227 for as_dir in $PATH
9229 IFS=$as_save_IFS
9230 case $as_dir in #(((
9231 '') as_dir=./ ;;
9232 */) ;;
9233 *) as_dir=$as_dir/ ;;
9234 esac
9235 for ac_exec_ext in '' $ac_executable_extensions; do
9236 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9237 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9239 break 2
9241 done
9242 done
9243 IFS=$as_save_IFS
9247 READELF=$ac_cv_prog_READELF
9248 if test -n "$READELF"; then
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9250 printf "%s\n" "$READELF" >&6; }
9251 else
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9253 printf "%s\n" "no" >&6; }
9258 if test -z "$ac_cv_prog_READELF"; then
9259 ac_ct_READELF=$READELF
9260 # Extract the first word of "readelf", so it can be a program name with args.
9261 set dummy readelf; ac_word=$2
9262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9263 printf %s "checking for $ac_word... " >&6; }
9264 if test ${ac_cv_prog_ac_ct_READELF+y}
9265 then :
9266 printf %s "(cached) " >&6
9267 else $as_nop
9268 if test -n "$ac_ct_READELF"; then
9269 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9270 else
9271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 for as_dir in $PATH
9274 IFS=$as_save_IFS
9275 case $as_dir in #(((
9276 '') as_dir=./ ;;
9277 */) ;;
9278 *) as_dir=$as_dir/ ;;
9279 esac
9280 for ac_exec_ext in '' $ac_executable_extensions; do
9281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9282 ac_cv_prog_ac_ct_READELF="readelf"
9283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9284 break 2
9286 done
9287 done
9288 IFS=$as_save_IFS
9292 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9293 if test -n "$ac_ct_READELF"; then
9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9295 printf "%s\n" "$ac_ct_READELF" >&6; }
9296 else
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 printf "%s\n" "no" >&6; }
9301 if test "x$ac_ct_READELF" = x; then
9302 READELF="true"
9303 else
9304 case $cross_compiling:$ac_tool_warned in
9305 yes:)
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9307 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9308 ac_tool_warned=yes ;;
9309 esac
9310 READELF=$ac_ct_READELF
9312 else
9313 READELF="$ac_cv_prog_READELF"
9316 wine_rules="all:"
9317 SUBDIRS=""
9319 DISABLED_SUBDIRS=""
9321 CONFIGURE_TARGETS=""
9324 wine_fn_append_file ()
9326 as_fn_append $1 " \\$as_nl $2"
9329 wine_fn_append_rule ()
9331 as_fn_append wine_rules "$as_nl$1"
9334 wine_fn_config_makefile ()
9336 wine_fn_append_file SUBDIRS $1
9337 if eval test \"x\$"$2"\" = x"no"
9338 then :
9339 wine_fn_append_file DISABLED_SUBDIRS $1
9343 wine_fn_config_symlink ()
9345 ac_links=$@
9346 wine_fn_append_rule \
9347 "$ac_links:
9348 @./config.status \$@"
9349 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9352 wine_binary="wine"
9353 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9354 WINELOADER_PROGRAMS="$wine_binary"
9356 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9358 case $host_os in
9359 cygwin*|mingw32*)
9360 if test -n "$ac_tool_prefix"; then
9361 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9362 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9364 printf %s "checking for $ac_word... " >&6; }
9365 if test ${ac_cv_prog_DLLTOOL+y}
9366 then :
9367 printf %s "(cached) " >&6
9368 else $as_nop
9369 if test -n "$DLLTOOL"; then
9370 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9371 else
9372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 for as_dir in $PATH
9375 IFS=$as_save_IFS
9376 case $as_dir in #(((
9377 '') as_dir=./ ;;
9378 */) ;;
9379 *) as_dir=$as_dir/ ;;
9380 esac
9381 for ac_exec_ext in '' $ac_executable_extensions; do
9382 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9383 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9385 break 2
9387 done
9388 done
9389 IFS=$as_save_IFS
9393 DLLTOOL=$ac_cv_prog_DLLTOOL
9394 if test -n "$DLLTOOL"; then
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9396 printf "%s\n" "$DLLTOOL" >&6; }
9397 else
9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9399 printf "%s\n" "no" >&6; }
9404 if test -z "$ac_cv_prog_DLLTOOL"; then
9405 ac_ct_DLLTOOL=$DLLTOOL
9406 # Extract the first word of "dlltool", so it can be a program name with args.
9407 set dummy dlltool; ac_word=$2
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9409 printf %s "checking for $ac_word... " >&6; }
9410 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9411 then :
9412 printf %s "(cached) " >&6
9413 else $as_nop
9414 if test -n "$ac_ct_DLLTOOL"; then
9415 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9416 else
9417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 for as_dir in $PATH
9420 IFS=$as_save_IFS
9421 case $as_dir in #(((
9422 '') as_dir=./ ;;
9423 */) ;;
9424 *) as_dir=$as_dir/ ;;
9425 esac
9426 for ac_exec_ext in '' $ac_executable_extensions; do
9427 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9428 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9430 break 2
9432 done
9433 done
9434 IFS=$as_save_IFS
9438 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9439 if test -n "$ac_ct_DLLTOOL"; then
9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9441 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9442 else
9443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 printf "%s\n" "no" >&6; }
9447 if test "x$ac_ct_DLLTOOL" = x; then
9448 DLLTOOL="false"
9449 else
9450 case $cross_compiling:$ac_tool_warned in
9451 yes:)
9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9453 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9454 ac_tool_warned=yes ;;
9455 esac
9456 DLLTOOL=$ac_ct_DLLTOOL
9458 else
9459 DLLTOOL="$ac_cv_prog_DLLTOOL"
9462 LIBEXT="dll"
9463 EXTRACFLAGS="-D__WINE_PE_BUILD"
9464 case $host_cpu in
9465 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9466 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9467 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9468 then :
9469 printf %s "(cached) " >&6
9470 else $as_nop
9471 ac_wine_try_cflags_saved=$CFLAGS
9472 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9475 int main(int argc, char **argv) { return 0; }
9476 _ACEOF
9477 if ac_fn_c_try_link "$LINENO"
9478 then :
9479 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9480 else $as_nop
9481 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9484 conftest$ac_exeext conftest.$ac_ext
9485 CFLAGS=$ac_wine_try_cflags_saved
9487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9488 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9489 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9490 then :
9491 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9492 fi ;;
9493 esac
9494 enable_loader=${enable_loader:-no}
9495 enable_server=${enable_server:-no}
9496 with_x=${with_x:-no}
9497 with_pthread=${with_pthread:-no}
9500 darwin*|macosx*)
9501 ac_ext=m
9502 ac_cpp='$OBJCPP $CPPFLAGS'
9503 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9507 ac_ext=m
9508 ac_cpp='$OBJCPP $CPPFLAGS'
9509 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9510 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9511 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9512 if test -n "$ac_tool_prefix"; then
9513 for ac_prog in gcc objcc objc cc CC clang
9515 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 printf %s "checking for $ac_word... " >&6; }
9519 if test ${ac_cv_prog_OBJC+y}
9520 then :
9521 printf %s "(cached) " >&6
9522 else $as_nop
9523 if test -n "$OBJC"; then
9524 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9525 else
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 for as_dir in $PATH
9529 IFS=$as_save_IFS
9530 case $as_dir in #(((
9531 '') as_dir=./ ;;
9532 */) ;;
9533 *) as_dir=$as_dir/ ;;
9534 esac
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9537 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9539 break 2
9541 done
9542 done
9543 IFS=$as_save_IFS
9547 OBJC=$ac_cv_prog_OBJC
9548 if test -n "$OBJC"; then
9549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9550 printf "%s\n" "$OBJC" >&6; }
9551 else
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9553 printf "%s\n" "no" >&6; }
9557 test -n "$OBJC" && break
9558 done
9560 if test -z "$OBJC"; then
9561 ac_ct_OBJC=$OBJC
9562 for ac_prog in gcc objcc objc cc CC clang
9564 # Extract the first word of "$ac_prog", so it can be a program name with args.
9565 set dummy $ac_prog; ac_word=$2
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9567 printf %s "checking for $ac_word... " >&6; }
9568 if test ${ac_cv_prog_ac_ct_OBJC+y}
9569 then :
9570 printf %s "(cached) " >&6
9571 else $as_nop
9572 if test -n "$ac_ct_OBJC"; then
9573 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9574 else
9575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 for as_dir in $PATH
9578 IFS=$as_save_IFS
9579 case $as_dir in #(((
9580 '') as_dir=./ ;;
9581 */) ;;
9582 *) as_dir=$as_dir/ ;;
9583 esac
9584 for ac_exec_ext in '' $ac_executable_extensions; do
9585 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9586 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9588 break 2
9590 done
9591 done
9592 IFS=$as_save_IFS
9596 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9597 if test -n "$ac_ct_OBJC"; then
9598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9599 printf "%s\n" "$ac_ct_OBJC" >&6; }
9600 else
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9602 printf "%s\n" "no" >&6; }
9606 test -n "$ac_ct_OBJC" && break
9607 done
9609 if test "x$ac_ct_OBJC" = x; then
9610 OBJC="gcc"
9611 else
9612 case $cross_compiling:$ac_tool_warned in
9613 yes:)
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9615 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9616 ac_tool_warned=yes ;;
9617 esac
9618 OBJC=$ac_ct_OBJC
9622 # Provide some information about the compiler.
9623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9624 set X $ac_compile
9625 ac_compiler=$2
9626 for ac_option in --version -v -V -qversion; do
9627 { { ac_try="$ac_compiler $ac_option >&5"
9628 case "(($ac_try" in
9629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9630 *) ac_try_echo=$ac_try;;
9631 esac
9632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9633 printf "%s\n" "$ac_try_echo"; } >&5
9634 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9635 ac_status=$?
9636 if test -s conftest.err; then
9637 sed '10a\
9638 ... rest of stderr output deleted ...
9639 10q' conftest.err >conftest.er1
9640 cat conftest.er1 >&5
9642 rm -f conftest.er1 conftest.err
9643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9644 test $ac_status = 0; }
9645 done
9647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9648 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9649 if test ${ac_cv_objc_compiler_gnu+y}
9650 then :
9651 printf %s "(cached) " >&6
9652 else $as_nop
9653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9654 /* end confdefs.h. */
9657 main (void)
9659 #ifndef __GNUC__
9660 choke me
9661 #endif
9664 return 0;
9666 _ACEOF
9667 if ac_fn_objc_try_compile "$LINENO"
9668 then :
9669 ac_compiler_gnu=yes
9670 else $as_nop
9671 ac_compiler_gnu=no
9673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9674 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9678 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9679 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9681 if test $ac_compiler_gnu = yes; then
9682 GOBJC=yes
9683 else
9684 GOBJC=
9686 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9687 ac_save_OBJCFLAGS=$OBJCFLAGS
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9689 printf %s "checking whether $OBJC accepts -g... " >&6; }
9690 if test ${ac_cv_prog_objc_g+y}
9691 then :
9692 printf %s "(cached) " >&6
9693 else $as_nop
9694 ac_save_objc_werror_flag=$ac_objc_werror_flag
9695 ac_objc_werror_flag=yes
9696 ac_cv_prog_objc_g=no
9697 OBJCFLAGS="-g"
9698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9702 main (void)
9706 return 0;
9708 _ACEOF
9709 if ac_fn_objc_try_compile "$LINENO"
9710 then :
9711 ac_cv_prog_objc_g=yes
9712 else $as_nop
9713 OBJCFLAGS=""
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9718 main (void)
9722 return 0;
9724 _ACEOF
9725 if ac_fn_objc_try_compile "$LINENO"
9726 then :
9728 else $as_nop
9729 ac_objc_werror_flag=$ac_save_objc_werror_flag
9730 OBJCFLAGS="-g"
9731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9735 main (void)
9739 return 0;
9741 _ACEOF
9742 if ac_fn_objc_try_compile "$LINENO"
9743 then :
9744 ac_cv_prog_objc_g=yes
9746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9750 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9751 ac_objc_werror_flag=$ac_save_objc_werror_flag
9753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9754 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9755 if test $ac_test_OBJCFLAGS; then
9756 OBJCFLAGS=$ac_save_OBJCFLAGS
9757 elif test $ac_cv_prog_objc_g = yes; then
9758 if test "$GOBJC" = yes; then
9759 OBJCFLAGS="-g -O2"
9760 else
9761 OBJCFLAGS="-g"
9763 else
9764 if test "$GOBJC" = yes; then
9765 OBJCFLAGS="-O2"
9766 else
9767 OBJCFLAGS=
9770 ac_ext=m
9771 ac_cpp='$OBJCPP $CPPFLAGS'
9772 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9773 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9774 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9778 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9779 then :
9780 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9784 ac_ext=c
9785 ac_cpp='$CPP $CPPFLAGS'
9786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9790 LIBEXT="dylib"
9791 DLLFLAGS="$DLLFLAGS -fPIC"
9792 LDDLLFLAGS="-fPIC"
9793 COREFOUNDATION_LIBS="-framework CoreFoundation"
9795 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9797 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9799 CORESERVICES_LIBS="-framework CoreServices"
9801 APPKIT_LIBS="-framework AppKit"
9803 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9806 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9808 wine_can_build_preloader=yes
9809 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"
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9811 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9812 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9813 then :
9814 printf %s "(cached) " >&6
9815 else $as_nop
9816 ac_wine_try_cflags_saved=$CFLAGS
9817 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h. */
9820 int main(int argc, char **argv) { return 0; }
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"
9823 then :
9824 ac_cv_cflags__Wl__no_new_main__e__main=yes
9825 else $as_nop
9826 ac_cv_cflags__Wl__no_new_main__e__main=no
9828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9829 conftest$ac_exeext conftest.$ac_ext
9830 CFLAGS=$ac_wine_try_cflags_saved
9832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9833 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9834 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9835 then :
9836 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9837 { 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
9838 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9839 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9840 then :
9841 printf %s "(cached) " >&6
9842 else $as_nop
9843 ac_wine_try_cflags_saved=$CFLAGS
9844 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9847 int main(int argc, char **argv) { return 0; }
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"
9850 then :
9851 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9852 else $as_nop
9853 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9859 { 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
9860 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9861 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9862 then :
9863 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9864 else $as_nop
9865 wine_can_build_preloader=no
9867 else $as_nop
9868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9869 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9870 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9871 then :
9872 printf %s "(cached) " >&6
9873 else $as_nop
9874 ac_wine_try_cflags_saved=$CFLAGS
9875 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9878 int main(int argc, char **argv) { return 0; }
9879 _ACEOF
9880 if ac_fn_c_try_link "$LINENO"
9881 then :
9882 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9883 else $as_nop
9884 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9891 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9892 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9893 then :
9894 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9895 else $as_nop
9896 wine_can_build_preloader=no
9899 if test "$wine_can_build_preloader" = "yes"
9900 then
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9902 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9903 if test ${ac_cv_cflags__Wl__no_pie+y}
9904 then :
9905 printf %s "(cached) " >&6
9906 else $as_nop
9907 ac_wine_try_cflags_saved=$CFLAGS
9908 CFLAGS="$CFLAGS -Wl,-no_pie"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 int main(int argc, char **argv) { return 0; }
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"
9914 then :
9915 ac_cv_cflags__Wl__no_pie=yes
9916 else $as_nop
9917 ac_cv_cflags__Wl__no_pie=no
9919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9924 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9925 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9926 then :
9927 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9929 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9930 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9931 else
9932 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9935 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9936 then
9937 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9940 if test "$ac_cv_header_Security_Security_h" = "yes"
9941 then
9942 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9945 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9946 then
9947 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9949 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9951 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9952 then
9953 OPENAL_LIBS="-framework OpenAL"
9956 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9958 ac_cv_lib_openal=yes
9960 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9961 then
9962 OPENCL_LIBS="-framework OpenCL"
9964 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9966 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9967 then
9968 ac_save_LIBS="$LIBS"
9969 LIBS="$LIBS $IOKIT_LIBS"
9970 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9971 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9972 then :
9973 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9977 LIBS="$ac_save_LIBS"
9980 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9981 then
9982 CARBON_LIBS="-framework Carbon"
9985 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9986 then
9987 METAL_LIBS="-framework Metal"
9991 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9992 then
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9994 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9995 ac_ext=m
9996 ac_cpp='$OBJCPP $CPPFLAGS'
9997 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9998 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9999 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 #include <Metal/Metal.h>
10005 main (void)
10007 id<MTLDevice> device; device.registryID;
10009 return 0;
10011 _ACEOF
10012 if ac_fn_objc_try_compile "$LINENO"
10013 then :
10014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10015 printf "%s\n" "yes" >&6; }
10017 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10019 else $as_nop
10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10021 printf "%s\n" "no" >&6; }
10023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10024 ac_ext=c
10025 ac_cpp='$CPP $CPPFLAGS'
10026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10032 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10033 then
10034 ac_save_LIBS="$LIBS"
10035 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10036 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10037 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10038 then :
10039 enable_winemac_drv=${enable_winemac_drv:-yes}
10042 LIBS="$ac_save_LIBS"
10045 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10046 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10048 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10050 WINELOADER_DEPENDS="wine_info.plist"
10052 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10055 linux-android*)
10057 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10059 DLLFLAGS="$DLLFLAGS -fPIC"
10060 LDDLLFLAGS="-fPIC"
10061 LDEXECFLAGS="-Wl,-pie"
10062 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10064 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10065 if test ${ac_cv_cflags__Wl__z_defs+y}
10066 then :
10067 printf %s "(cached) " >&6
10068 else $as_nop
10069 ac_wine_try_cflags_saved=$CFLAGS
10070 CFLAGS="$CFLAGS -Wl,-z,defs"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 int main(int argc, char **argv) { return 0; }
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"
10076 then :
10077 ac_cv_cflags__Wl__z_defs=yes
10078 else $as_nop
10079 ac_cv_cflags__Wl__z_defs=no
10081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10082 conftest$ac_exeext conftest.$ac_ext
10083 CFLAGS=$ac_wine_try_cflags_saved
10085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10086 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10087 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10088 then :
10089 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10092 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10093 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10094 then :
10095 printf %s "(cached) " >&6
10096 else $as_nop
10097 ac_wine_try_cflags_saved=$CFLAGS
10098 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10101 int main(int argc, char **argv) { return 0; }
10102 _ACEOF
10103 if ac_fn_c_try_link "$LINENO"
10104 then :
10105 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10106 else $as_nop
10107 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10114 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10115 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10116 then :
10117 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10119 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10122 printf %s "checking for -lEGL... " >&6; }
10123 if test ${ac_cv_lib_soname_EGL+y}
10124 then :
10125 printf %s "(cached) " >&6
10126 else $as_nop
10127 ac_check_soname_save_LIBS=$LIBS
10128 LIBS="-lEGL $LIBS"
10129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10130 /* end confdefs.h. */
10132 /* Override any GCC internal prototype to avoid an error.
10133 Use char because int might match the return type of a GCC
10134 builtin and then its argument prototype would still apply. */
10135 char eglGetProcAddress ();
10137 main (void)
10139 return eglGetProcAddress ();
10141 return 0;
10143 _ACEOF
10144 if ac_fn_c_try_link "$LINENO"
10145 then :
10146 case "$LIBEXT" in
10147 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10148 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'` ;;
10149 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10150 if ${ac_cv_lib_soname_EGL:+false} :
10151 then :
10152 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10153 fi ;;
10154 esac
10155 else $as_nop
10156 ac_cv_lib_soname_EGL=
10158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10159 conftest$ac_exeext conftest.$ac_ext
10160 LIBS=$ac_check_soname_save_LIBS
10162 if ${ac_cv_lib_soname_EGL:+false} :
10163 then :
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10165 printf "%s\n" "not found" >&6; }
10167 else $as_nop
10168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10169 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10171 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10176 printf %s "checking for -lGLESv2... " >&6; }
10177 if test ${ac_cv_lib_soname_GLESv2+y}
10178 then :
10179 printf %s "(cached) " >&6
10180 else $as_nop
10181 ac_check_soname_save_LIBS=$LIBS
10182 LIBS="-lGLESv2 $LIBS"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10186 /* Override any GCC internal prototype to avoid an error.
10187 Use char because int might match the return type of a GCC
10188 builtin and then its argument prototype would still apply. */
10189 char glFlush ();
10191 main (void)
10193 return glFlush ();
10195 return 0;
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"
10199 then :
10200 case "$LIBEXT" in
10201 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10202 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'` ;;
10203 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10204 if ${ac_cv_lib_soname_GLESv2:+false} :
10205 then :
10206 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10207 fi ;;
10208 esac
10209 else $as_nop
10210 ac_cv_lib_soname_GLESv2=
10212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10213 conftest$ac_exeext conftest.$ac_ext
10214 LIBS=$ac_check_soname_save_LIBS
10216 if ${ac_cv_lib_soname_GLESv2:+false} :
10217 then :
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10219 printf "%s\n" "not found" >&6; }
10221 else $as_nop
10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10223 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10225 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10230 if test "x$exec_prefix" = xNONE
10231 then
10232 case $host_cpu in
10233 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10234 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10235 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10236 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10237 esac
10243 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10245 test "$ac_cv_sys_file_offset_bits" = 64 &&
10246 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10248 case $host_cpu in
10249 *i[3456789]86*)
10250 DLLFLAGS="$DLLFLAGS -fno-PIC"
10251 LDDLLFLAGS="-fno-PIC"
10252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10253 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10254 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10255 then :
10256 printf %s "(cached) " >&6
10257 else $as_nop
10258 ac_wine_try_cflags_saved=$CFLAGS
10259 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10262 int main(int argc, char **argv) { return 0; }
10263 _ACEOF
10264 if ac_fn_c_try_link "$LINENO"
10265 then :
10266 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10267 else $as_nop
10268 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10271 conftest$ac_exeext conftest.$ac_ext
10272 CFLAGS=$ac_wine_try_cflags_saved
10274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10275 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10276 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10277 then :
10278 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10282 DLLFLAGS="$DLLFLAGS -fPIC"
10283 LDDLLFLAGS="-fPIC" ;;
10284 esac
10285 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10287 echo '{ global: *; };' >conftest.map
10288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10289 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10290 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10291 then :
10292 printf %s "(cached) " >&6
10293 else $as_nop
10294 ac_wine_try_cflags_saved=$CFLAGS
10295 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int main(int argc, char **argv) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"
10301 then :
10302 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10303 else $as_nop
10304 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10307 conftest$ac_exeext conftest.$ac_ext
10308 CFLAGS=$ac_wine_try_cflags_saved
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10311 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10312 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10313 then :
10314 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10316 rm -f conftest.map
10318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10319 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10320 if test ${ac_cv_cflags__Wl__z_defs+y}
10321 then :
10322 printf %s "(cached) " >&6
10323 else $as_nop
10324 ac_wine_try_cflags_saved=$CFLAGS
10325 CFLAGS="$CFLAGS -Wl,-z,defs"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10328 int main(int argc, char **argv) { return 0; }
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"
10331 then :
10332 ac_cv_cflags__Wl__z_defs=yes
10333 else $as_nop
10334 ac_cv_cflags__Wl__z_defs=no
10336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10337 conftest$ac_exeext conftest.$ac_ext
10338 CFLAGS=$ac_wine_try_cflags_saved
10340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10341 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10342 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10343 then :
10344 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10347 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10348 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10349 then :
10350 printf %s "(cached) " >&6
10351 else $as_nop
10352 ac_wine_try_cflags_saved=$CFLAGS
10353 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 int main(int argc, char **argv) { return 0; }
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"
10359 then :
10360 ac_cv_cflags__Wl___export_dynamic=yes
10361 else $as_nop
10362 ac_cv_cflags__Wl___export_dynamic=no
10364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10369 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10370 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10371 then :
10372 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10374 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10376 case $host_cpu in
10377 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10379 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10380 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10381 then :
10382 printf %s "(cached) " >&6
10383 else $as_nop
10384 ac_wine_try_cflags_saved=$CFLAGS
10385 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 int main(int argc, char **argv) { return 0; }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"
10391 then :
10392 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10393 else $as_nop
10394 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10397 conftest$ac_exeext conftest.$ac_ext
10398 CFLAGS=$ac_wine_try_cflags_saved
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10401 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10402 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10403 then :
10404 case $host_os in
10405 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10406 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10407 esac
10408 else $as_nop
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10410 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10411 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10412 then :
10413 printf %s "(cached) " >&6
10414 else $as_nop
10415 ac_wine_try_cflags_saved=$CFLAGS
10416 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
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___section_start__interp_0x7d000400=yes
10424 else $as_nop
10425 ac_cv_cflags__Wl___section_start__interp_0x7d000400=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___section_start__interp_0x7d000400" >&5
10432 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10433 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10434 then :
10435 case $host_os in
10436 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10437 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10438 esac
10440 # Extract the first word of "prelink", so it can be a program name with args.
10441 set dummy prelink; ac_word=$2
10442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10443 printf %s "checking for $ac_word... " >&6; }
10444 if test ${ac_cv_path_PRELINK+y}
10445 then :
10446 printf %s "(cached) " >&6
10447 else $as_nop
10448 case $PRELINK in
10449 [\\/]* | ?:[\\/]*)
10450 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in /sbin /usr/sbin $PATH
10456 IFS=$as_save_IFS
10457 case $as_dir in #(((
10458 '') as_dir=./ ;;
10459 */) ;;
10460 *) as_dir=$as_dir/ ;;
10461 esac
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10464 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10466 break 2
10468 done
10469 done
10470 IFS=$as_save_IFS
10472 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10474 esac
10476 PRELINK=$ac_cv_path_PRELINK
10477 if test -n "$PRELINK"; then
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10479 printf "%s\n" "$PRELINK" >&6; }
10480 else
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 printf "%s\n" "no" >&6; }
10486 if test "x$PRELINK" = xfalse
10487 then
10488 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10492 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10493 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10494 then :
10495 printf %s "(cached) " >&6
10496 else $as_nop
10497 ac_wine_try_cflags_saved=$CFLAGS
10498 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 int main(int argc, char **argv) { return 0; }
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"
10504 then :
10505 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10506 else $as_nop
10507 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10510 conftest$ac_exeext conftest.$ac_ext
10511 CFLAGS=$ac_wine_try_cflags_saved
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10514 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10515 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10516 then :
10517 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10520 esac
10521 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10523 LIBWINE_DEPENDS="wine.map"
10525 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10527 esac
10529 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10530 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10531 enable_winemac_drv=${enable_winemac_drv:-no}
10534 if test "x$with_mingw" != xno
10535 then
10536 case "x$with_mingw" in
10537 x|xyes) case "$host_cpu" in
10538 aarch64*)
10539 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10540 arm*)
10541 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10542 i[3456789]86*)
10543 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
10544 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10545 mingw32-gcc clang" ;;
10546 x86_64)
10547 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
10548 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10550 ac_prefix_list="" ;;
10551 esac
10552 for ac_prog in $ac_prefix_list
10554 # Extract the first word of "$ac_prog", so it can be a program name with args.
10555 set dummy $ac_prog; ac_word=$2
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10557 printf %s "checking for $ac_word... " >&6; }
10558 if test ${ac_cv_prog_CROSSCC+y}
10559 then :
10560 printf %s "(cached) " >&6
10561 else $as_nop
10562 if test -n "$CROSSCC"; then
10563 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10564 else
10565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10566 for as_dir in $PATH
10568 IFS=$as_save_IFS
10569 case $as_dir in #(((
10570 '') as_dir=./ ;;
10571 */) ;;
10572 *) as_dir=$as_dir/ ;;
10573 esac
10574 for ac_exec_ext in '' $ac_executable_extensions; do
10575 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10576 ac_cv_prog_CROSSCC="$ac_prog"
10577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10578 break 2
10580 done
10581 done
10582 IFS=$as_save_IFS
10586 CROSSCC=$ac_cv_prog_CROSSCC
10587 if test -n "$CROSSCC"; then
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10589 printf "%s\n" "$CROSSCC" >&6; }
10590 else
10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10592 printf "%s\n" "no" >&6; }
10596 test -n "$CROSSCC" && break
10597 done
10598 test -n "$CROSSCC" || CROSSCC="false"
10600 *) CROSSCC=$with_mingw ;;
10601 esac
10602 if test "$CROSSCC" != "false"
10603 then
10604 ac_save_CC="$CC"
10605 saved_CFLAGS=$CFLAGS
10606 saved_LDFLAGS=$LDFLAGS
10607 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10609 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10613 CC="$CROSSCC"
10614 CFLAGS=$CROSSCFLAGS
10615 LDFLAGS=$CROSSLDFLAGS
10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10617 printf %s "checking whether $CROSSCC works... " >&6; }
10618 if test ${wine_cv_crosscc+y}
10619 then :
10620 printf %s "(cached) " >&6
10621 else $as_nop
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10626 main (void)
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_compile "$LINENO"
10634 then :
10635 wine_cv_crosscc=yes
10636 else $as_nop
10637 wine_cv_crosscc=no
10639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10642 printf "%s\n" "$wine_cv_crosscc" >&6; }
10643 if test $wine_cv_crosscc = yes
10644 then
10645 set x $CROSSCC
10646 shift
10647 while test $# -ge 1
10649 case "$1" in
10650 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10651 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10652 esac
10653 shift
10654 done
10656 llvm_target=$CROSSTARGET
10657 llvm_cflags="-fuse-ld=lld"
10658 if test -z "$llvm_target"
10659 then
10660 case $host_cpu in
10661 *i[3456789]86*) llvm_target=i686-windows ;;
10662 *) llvm_target=$host_cpu-windows ;;
10663 esac
10665 case $llvm_target in
10666 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10667 esac
10668 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10670 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10671 if eval test \${$as_ac_var+y}
10672 then :
10673 printf %s "(cached) " >&6
10674 else $as_nop
10675 ac_wine_try_cflags_saved=$CFLAGS
10676 ac_wine_try_cflags_saved_cc=$CC
10677 ac_wine_try_cflags_saved_exeext=$ac_exeext
10678 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10679 CC="$CROSSCC"
10680 ac_exeext=".exe"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10683 int __cdecl mainCRTStartup(void) { return 0; }
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"
10686 then :
10687 eval "$as_ac_var=yes"
10688 else $as_nop
10689 eval "$as_ac_var=no"
10691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10692 conftest$ac_exeext conftest.$ac_ext
10693 CFLAGS=$ac_wine_try_cflags_saved
10694 CC=$ac_wine_try_cflags_saved_cc
10695 ac_exeext=$ac_wine_try_cflags_saved_exeext
10697 eval ac_res=\$$as_ac_var
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10699 printf "%s\n" "$ac_res" >&6; }
10700 if eval test \"x\$"$as_ac_var"\" = x"yes"
10701 then :
10702 CROSSTARGET=$llvm_target
10703 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10704 DELAYLOADFLAG="-Wl,-delayload,"
10706 CFLAGS="$CFLAGS $llvm_cflags"
10709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10710 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10711 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10712 then :
10713 printf %s "(cached) " >&6
10714 else $as_nop
10715 ac_wine_try_cflags_saved=$CFLAGS
10716 ac_wine_try_cflags_saved_cc=$CC
10717 ac_wine_try_cflags_saved_exeext=$ac_exeext
10718 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10719 CC="$CROSSCC"
10720 ac_exeext=".exe"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 int __cdecl mainCRTStartup(void) { return 0; }
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"
10726 then :
10727 ac_cv_crosscflags__fno_strict_aliasing=yes
10728 else $as_nop
10729 ac_cv_crosscflags__fno_strict_aliasing=no
10731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10732 conftest$ac_exeext conftest.$ac_ext
10733 CFLAGS=$ac_wine_try_cflags_saved
10734 CC=$ac_wine_try_cflags_saved_cc
10735 ac_exeext=$ac_wine_try_cflags_saved_exeext
10737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10738 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10739 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10740 then :
10741 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10744 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10745 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10746 then :
10747 printf %s "(cached) " >&6
10748 else $as_nop
10749 ac_wine_try_cflags_saved=$CFLAGS
10750 ac_wine_try_cflags_saved_cc=$CC
10751 ac_wine_try_cflags_saved_exeext=$ac_exeext
10752 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10753 CC="$CROSSCC"
10754 ac_exeext=".exe"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 int __cdecl mainCRTStartup(void) { return 0; }
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"
10760 then :
10761 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10762 else $as_nop
10763 ac_cv_crosscflags__Werror_unknown_warning_option=no
10765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10766 conftest$ac_exeext conftest.$ac_ext
10767 CFLAGS=$ac_wine_try_cflags_saved
10768 CC=$ac_wine_try_cflags_saved_cc
10769 ac_exeext=$ac_wine_try_cflags_saved_exeext
10771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10772 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10773 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10774 then :
10775 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10778 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10779 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10780 then :
10781 printf %s "(cached) " >&6
10782 else $as_nop
10783 ac_wine_try_cflags_saved=$CFLAGS
10784 ac_wine_try_cflags_saved_cc=$CC
10785 ac_wine_try_cflags_saved_exeext=$ac_exeext
10786 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10787 CC="$CROSSCC"
10788 ac_exeext=".exe"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10791 int __cdecl mainCRTStartup(void) { return 0; }
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"
10794 then :
10795 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10796 else $as_nop
10797 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10800 conftest$ac_exeext conftest.$ac_ext
10801 CFLAGS=$ac_wine_try_cflags_saved
10802 CC=$ac_wine_try_cflags_saved_cc
10803 ac_exeext=$ac_wine_try_cflags_saved_exeext
10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10806 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10807 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10808 then :
10809 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10812 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10813 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10814 then :
10815 printf %s "(cached) " >&6
10816 else $as_nop
10817 ac_wine_try_cflags_saved=$CFLAGS
10818 ac_wine_try_cflags_saved_cc=$CC
10819 ac_wine_try_cflags_saved_exeext=$ac_exeext
10820 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10821 CC="$CROSSCC"
10822 ac_exeext=".exe"
10823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10824 /* end confdefs.h. */
10825 int __cdecl mainCRTStartup(void) { return 0; }
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"
10828 then :
10829 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10830 else $as_nop
10831 ac_cv_crosscflags__Wdeclaration_after_statement=no
10833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10834 conftest$ac_exeext conftest.$ac_ext
10835 CFLAGS=$ac_wine_try_cflags_saved
10836 CC=$ac_wine_try_cflags_saved_cc
10837 ac_exeext=$ac_wine_try_cflags_saved_exeext
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10840 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10841 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10842 then :
10843 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10846 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10847 if test ${ac_cv_crosscflags__Wempty_body+y}
10848 then :
10849 printf %s "(cached) " >&6
10850 else $as_nop
10851 ac_wine_try_cflags_saved=$CFLAGS
10852 ac_wine_try_cflags_saved_cc=$CC
10853 ac_wine_try_cflags_saved_exeext=$ac_exeext
10854 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10855 CC="$CROSSCC"
10856 ac_exeext=".exe"
10857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10859 int __cdecl mainCRTStartup(void) { return 0; }
10860 _ACEOF
10861 if ac_fn_c_try_link "$LINENO"
10862 then :
10863 ac_cv_crosscflags__Wempty_body=yes
10864 else $as_nop
10865 ac_cv_crosscflags__Wempty_body=no
10867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10868 conftest$ac_exeext conftest.$ac_ext
10869 CFLAGS=$ac_wine_try_cflags_saved
10870 CC=$ac_wine_try_cflags_saved_cc
10871 ac_exeext=$ac_wine_try_cflags_saved_exeext
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10874 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10875 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10876 then :
10877 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10880 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10881 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10882 then :
10883 printf %s "(cached) " >&6
10884 else $as_nop
10885 ac_wine_try_cflags_saved=$CFLAGS
10886 ac_wine_try_cflags_saved_cc=$CC
10887 ac_wine_try_cflags_saved_exeext=$ac_exeext
10888 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10889 CC="$CROSSCC"
10890 ac_exeext=".exe"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10893 int __cdecl mainCRTStartup(void) { return 0; }
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"
10896 then :
10897 ac_cv_crosscflags__Wignored_qualifiers=yes
10898 else $as_nop
10899 ac_cv_crosscflags__Wignored_qualifiers=no
10901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10902 conftest$ac_exeext conftest.$ac_ext
10903 CFLAGS=$ac_wine_try_cflags_saved
10904 CC=$ac_wine_try_cflags_saved_cc
10905 ac_exeext=$ac_wine_try_cflags_saved_exeext
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10908 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10909 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10910 then :
10911 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10914 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10915 if test ${ac_cv_crosscflags__Winit_self+y}
10916 then :
10917 printf %s "(cached) " >&6
10918 else $as_nop
10919 ac_wine_try_cflags_saved=$CFLAGS
10920 ac_wine_try_cflags_saved_cc=$CC
10921 ac_wine_try_cflags_saved_exeext=$ac_exeext
10922 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10923 CC="$CROSSCC"
10924 ac_exeext=".exe"
10925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10926 /* end confdefs.h. */
10927 int __cdecl mainCRTStartup(void) { return 0; }
10928 _ACEOF
10929 if ac_fn_c_try_link "$LINENO"
10930 then :
10931 ac_cv_crosscflags__Winit_self=yes
10932 else $as_nop
10933 ac_cv_crosscflags__Winit_self=no
10935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10936 conftest$ac_exeext conftest.$ac_ext
10937 CFLAGS=$ac_wine_try_cflags_saved
10938 CC=$ac_wine_try_cflags_saved_cc
10939 ac_exeext=$ac_wine_try_cflags_saved_exeext
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10942 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10943 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10944 then :
10945 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10948 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10949 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10950 then :
10951 printf %s "(cached) " >&6
10952 else $as_nop
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_cc=$CC
10955 ac_wine_try_cflags_saved_exeext=$ac_exeext
10956 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10957 CC="$CROSSCC"
10958 ac_exeext=".exe"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10961 int __cdecl mainCRTStartup(void) { return 0; }
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"
10964 then :
10965 ac_cv_crosscflags__Wpacked_not_aligned=yes
10966 else $as_nop
10967 ac_cv_crosscflags__Wpacked_not_aligned=no
10969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10970 conftest$ac_exeext conftest.$ac_ext
10971 CFLAGS=$ac_wine_try_cflags_saved
10972 CC=$ac_wine_try_cflags_saved_cc
10973 ac_exeext=$ac_wine_try_cflags_saved_exeext
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10976 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10977 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
10978 then :
10979 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10982 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10983 if test ${ac_cv_crosscflags__Wpragma_pack+y}
10984 then :
10985 printf %s "(cached) " >&6
10986 else $as_nop
10987 ac_wine_try_cflags_saved=$CFLAGS
10988 ac_wine_try_cflags_saved_cc=$CC
10989 ac_wine_try_cflags_saved_exeext=$ac_exeext
10990 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10991 CC="$CROSSCC"
10992 ac_exeext=".exe"
10993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 /* end confdefs.h. */
10995 int __cdecl mainCRTStartup(void) { return 0; }
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"
10998 then :
10999 ac_cv_crosscflags__Wpragma_pack=yes
11000 else $as_nop
11001 ac_cv_crosscflags__Wpragma_pack=no
11003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11004 conftest$ac_exeext conftest.$ac_ext
11005 CFLAGS=$ac_wine_try_cflags_saved
11006 CC=$ac_wine_try_cflags_saved_cc
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11010 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11011 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11012 then :
11013 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11016 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11017 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11018 then :
11019 printf %s "(cached) " >&6
11020 else $as_nop
11021 ac_wine_try_cflags_saved=$CFLAGS
11022 ac_wine_try_cflags_saved_cc=$CC
11023 ac_wine_try_cflags_saved_exeext=$ac_exeext
11024 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11025 CC="$CROSSCC"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 int __cdecl mainCRTStartup(void) { return 0; }
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"
11032 then :
11033 ac_cv_crosscflags__Wshift_overflow_2=yes
11034 else $as_nop
11035 ac_cv_crosscflags__Wshift_overflow_2=no
11037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11038 conftest$ac_exeext conftest.$ac_ext
11039 CFLAGS=$ac_wine_try_cflags_saved
11040 CC=$ac_wine_try_cflags_saved_cc
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11044 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11045 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11046 then :
11047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11050 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11051 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11052 then :
11053 printf %s "(cached) " >&6
11054 else $as_nop
11055 ac_wine_try_cflags_saved=$CFLAGS
11056 ac_wine_try_cflags_saved_cc=$CC
11057 ac_wine_try_cflags_saved_exeext=$ac_exeext
11058 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11059 CC="$CROSSCC"
11060 ac_exeext=".exe"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 int __cdecl mainCRTStartup(void) { return 0; }
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"
11066 then :
11067 ac_cv_crosscflags__Wstrict_prototypes=yes
11068 else $as_nop
11069 ac_cv_crosscflags__Wstrict_prototypes=no
11071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11072 conftest$ac_exeext conftest.$ac_ext
11073 CFLAGS=$ac_wine_try_cflags_saved
11074 CC=$ac_wine_try_cflags_saved_cc
11075 ac_exeext=$ac_wine_try_cflags_saved_exeext
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11078 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11079 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11080 then :
11081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11084 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11085 if test ${ac_cv_crosscflags__Wtype_limits+y}
11086 then :
11087 printf %s "(cached) " >&6
11088 else $as_nop
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_cc=$CC
11091 ac_wine_try_cflags_saved_exeext=$ac_exeext
11092 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11093 CC="$CROSSCC"
11094 ac_exeext=".exe"
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11096 /* end confdefs.h. */
11097 int __cdecl mainCRTStartup(void) { return 0; }
11098 _ACEOF
11099 if ac_fn_c_try_link "$LINENO"
11100 then :
11101 ac_cv_crosscflags__Wtype_limits=yes
11102 else $as_nop
11103 ac_cv_crosscflags__Wtype_limits=no
11105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11106 conftest$ac_exeext conftest.$ac_ext
11107 CFLAGS=$ac_wine_try_cflags_saved
11108 CC=$ac_wine_try_cflags_saved_cc
11109 ac_exeext=$ac_wine_try_cflags_saved_exeext
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11112 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11113 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11114 then :
11115 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11118 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11119 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11120 then :
11121 printf %s "(cached) " >&6
11122 else $as_nop
11123 ac_wine_try_cflags_saved=$CFLAGS
11124 ac_wine_try_cflags_saved_cc=$CC
11125 ac_wine_try_cflags_saved_exeext=$ac_exeext
11126 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11127 CC="$CROSSCC"
11128 ac_exeext=".exe"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11131 int __cdecl mainCRTStartup(void) { return 0; }
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"
11134 then :
11135 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11136 else $as_nop
11137 ac_cv_crosscflags__Wunused_but_set_parameter=no
11139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11140 conftest$ac_exeext conftest.$ac_ext
11141 CFLAGS=$ac_wine_try_cflags_saved
11142 CC=$ac_wine_try_cflags_saved_cc
11143 ac_exeext=$ac_wine_try_cflags_saved_exeext
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11146 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11147 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11148 then :
11149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11152 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11153 if test ${ac_cv_crosscflags__Wvla+y}
11154 then :
11155 printf %s "(cached) " >&6
11156 else $as_nop
11157 ac_wine_try_cflags_saved=$CFLAGS
11158 ac_wine_try_cflags_saved_cc=$CC
11159 ac_wine_try_cflags_saved_exeext=$ac_exeext
11160 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11161 CC="$CROSSCC"
11162 ac_exeext=".exe"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165 int __cdecl mainCRTStartup(void) { return 0; }
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"
11168 then :
11169 ac_cv_crosscflags__Wvla=yes
11170 else $as_nop
11171 ac_cv_crosscflags__Wvla=no
11173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11174 conftest$ac_exeext conftest.$ac_ext
11175 CFLAGS=$ac_wine_try_cflags_saved
11176 CC=$ac_wine_try_cflags_saved_cc
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11180 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11181 if test "x$ac_cv_crosscflags__Wvla" = xyes
11182 then :
11183 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11186 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11187 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11188 then :
11189 printf %s "(cached) " >&6
11190 else $as_nop
11191 ac_wine_try_cflags_saved=$CFLAGS
11192 ac_wine_try_cflags_saved_cc=$CC
11193 ac_wine_try_cflags_saved_exeext=$ac_exeext
11194 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11195 CC="$CROSSCC"
11196 ac_exeext=".exe"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 int __cdecl mainCRTStartup(void) { return 0; }
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"
11202 then :
11203 ac_cv_crosscflags__Wwrite_strings=yes
11204 else $as_nop
11205 ac_cv_crosscflags__Wwrite_strings=no
11207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11208 conftest$ac_exeext conftest.$ac_ext
11209 CFLAGS=$ac_wine_try_cflags_saved
11210 CC=$ac_wine_try_cflags_saved_cc
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11214 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11215 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11216 then :
11217 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11220 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11221 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11222 then :
11223 printf %s "(cached) " >&6
11224 else $as_nop
11225 ac_wine_try_cflags_saved=$CFLAGS
11226 ac_wine_try_cflags_saved_cc=$CC
11227 ac_wine_try_cflags_saved_exeext=$ac_exeext
11228 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11229 CC="$CROSSCC"
11230 ac_exeext=".exe"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 int __cdecl mainCRTStartup(void) { return 0; }
11234 _ACEOF
11235 if ac_fn_c_try_link "$LINENO"
11236 then :
11237 ac_cv_crosscflags__Wpointer_arith=yes
11238 else $as_nop
11239 ac_cv_crosscflags__Wpointer_arith=no
11241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11242 conftest$ac_exeext conftest.$ac_ext
11243 CFLAGS=$ac_wine_try_cflags_saved
11244 CC=$ac_wine_try_cflags_saved_cc
11245 ac_exeext=$ac_wine_try_cflags_saved_exeext
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11248 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11249 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11250 then :
11251 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11254 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11255 if test ${ac_cv_crosscflags__Wlogical_op+y}
11256 then :
11257 printf %s "(cached) " >&6
11258 else $as_nop
11259 ac_wine_try_cflags_saved=$CFLAGS
11260 ac_wine_try_cflags_saved_cc=$CC
11261 ac_wine_try_cflags_saved_exeext=$ac_exeext
11262 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11263 CC="$CROSSCC"
11264 ac_exeext=".exe"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11267 int __cdecl mainCRTStartup(void) { return 0; }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"
11270 then :
11271 ac_cv_crosscflags__Wlogical_op=yes
11272 else $as_nop
11273 ac_cv_crosscflags__Wlogical_op=no
11275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11276 conftest$ac_exeext conftest.$ac_ext
11277 CFLAGS=$ac_wine_try_cflags_saved
11278 CC=$ac_wine_try_cflags_saved_cc
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11282 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11283 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11284 then :
11285 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11288 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11289 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11290 then :
11291 printf %s "(cached) " >&6
11292 else $as_nop
11293 ac_wine_try_cflags_saved=$CFLAGS
11294 ac_wine_try_cflags_saved_cc=$CC
11295 ac_wine_try_cflags_saved_exeext=$ac_exeext
11296 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11297 CC="$CROSSCC"
11298 ac_exeext=".exe"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 int __cdecl mainCRTStartup(void) { return 0; }
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"
11304 then :
11305 ac_cv_crosscflags__Wabsolute_value=yes
11306 else $as_nop
11307 ac_cv_crosscflags__Wabsolute_value=no
11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11310 conftest$ac_exeext conftest.$ac_ext
11311 CFLAGS=$ac_wine_try_cflags_saved
11312 CC=$ac_wine_try_cflags_saved_cc
11313 ac_exeext=$ac_wine_try_cflags_saved_exeext
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11316 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11317 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11318 then :
11319 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11322 case $host_cpu in
11323 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11324 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11325 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11326 then :
11327 printf %s "(cached) " >&6
11328 else $as_nop
11329 ac_wine_try_cflags_saved=$CFLAGS
11330 ac_wine_try_cflags_saved_cc=$CC
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11333 CC="$CROSSCC"
11334 ac_exeext=".exe"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11337 int __cdecl mainCRTStartup(void) { return 0; }
11338 _ACEOF
11339 if ac_fn_c_try_link "$LINENO"
11340 then :
11341 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11342 else $as_nop
11343 ac_cv_crosscflags__fno_omit_frame_pointer=no
11345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11346 conftest$ac_exeext conftest.$ac_ext
11347 CFLAGS=$ac_wine_try_cflags_saved
11348 CC=$ac_wine_try_cflags_saved_cc
11349 ac_exeext=$ac_wine_try_cflags_saved_exeext
11351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11352 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11353 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11354 then :
11355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11356 fi ;;
11357 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11358 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11359 if test ${ac_cv_crosscflags__Wno_format+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_cc=$CC
11365 ac_wine_try_cflags_saved_exeext=$ac_exeext
11366 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11367 CC="$CROSSCC"
11368 ac_exeext=".exe"
11369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11370 /* end confdefs.h. */
11371 int __cdecl mainCRTStartup(void) { return 0; }
11372 _ACEOF
11373 if ac_fn_c_try_link "$LINENO"
11374 then :
11375 ac_cv_crosscflags__Wno_format=yes
11376 else $as_nop
11377 ac_cv_crosscflags__Wno_format=no
11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11380 conftest$ac_exeext conftest.$ac_ext
11381 CFLAGS=$ac_wine_try_cflags_saved
11382 CC=$ac_wine_try_cflags_saved_cc
11383 ac_exeext=$ac_wine_try_cflags_saved_exeext
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11386 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11387 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11388 then :
11389 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11392 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11393 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11394 then :
11395 printf %s "(cached) " >&6
11396 else $as_nop
11397 ac_wine_try_cflags_saved=$CFLAGS
11398 ac_wine_try_cflags_saved_cc=$CC
11399 ac_wine_try_cflags_saved_exeext=$ac_exeext
11400 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11401 CC="$CROSSCC"
11402 ac_exeext=".exe"
11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11404 /* end confdefs.h. */
11405 int __cdecl mainCRTStartup(void) { return 0; }
11406 _ACEOF
11407 if ac_fn_c_try_link "$LINENO"
11408 then :
11409 ac_cv_crosscflags__Wformat_overflow=yes
11410 else $as_nop
11411 ac_cv_crosscflags__Wformat_overflow=no
11413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11414 conftest$ac_exeext conftest.$ac_ext
11415 CFLAGS=$ac_wine_try_cflags_saved
11416 CC=$ac_wine_try_cflags_saved_cc
11417 ac_exeext=$ac_wine_try_cflags_saved_exeext
11419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11420 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11421 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11422 then :
11423 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11426 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11427 if test ${ac_cv_crosscflags__Wnonnull+y}
11428 then :
11429 printf %s "(cached) " >&6
11430 else $as_nop
11431 ac_wine_try_cflags_saved=$CFLAGS
11432 ac_wine_try_cflags_saved_cc=$CC
11433 ac_wine_try_cflags_saved_exeext=$ac_exeext
11434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11435 CC="$CROSSCC"
11436 ac_exeext=".exe"
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439 int __cdecl mainCRTStartup(void) { return 0; }
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"
11442 then :
11443 ac_cv_crosscflags__Wnonnull=yes
11444 else $as_nop
11445 ac_cv_crosscflags__Wnonnull=no
11447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11448 conftest$ac_exeext conftest.$ac_ext
11449 CFLAGS=$ac_wine_try_cflags_saved
11450 CC=$ac_wine_try_cflags_saved_cc
11451 ac_exeext=$ac_wine_try_cflags_saved_exeext
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11454 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11455 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11456 then :
11457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11460 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11461 if test ${ac_cv_crosscflags__mcx16+y}
11462 then :
11463 printf %s "(cached) " >&6
11464 else $as_nop
11465 ac_wine_try_cflags_saved=$CFLAGS
11466 ac_wine_try_cflags_saved_cc=$CC
11467 ac_wine_try_cflags_saved_exeext=$ac_exeext
11468 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11469 CC="$CROSSCC"
11470 ac_exeext=".exe"
11471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 /* end confdefs.h. */
11473 int __cdecl mainCRTStartup(void) { return 0; }
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"
11476 then :
11477 ac_cv_crosscflags__mcx16=yes
11478 else $as_nop
11479 ac_cv_crosscflags__mcx16=no
11481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11482 conftest$ac_exeext conftest.$ac_ext
11483 CFLAGS=$ac_wine_try_cflags_saved
11484 CC=$ac_wine_try_cflags_saved_cc
11485 ac_exeext=$ac_wine_try_cflags_saved_exeext
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11488 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11489 if test "x$ac_cv_crosscflags__mcx16" = xyes
11490 then :
11491 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11492 fi ;;
11493 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11494 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11495 if test ${ac_cv_crosscflags__Wno_format+y}
11496 then :
11497 printf %s "(cached) " >&6
11498 else $as_nop
11499 ac_wine_try_cflags_saved=$CFLAGS
11500 ac_wine_try_cflags_saved_cc=$CC
11501 ac_wine_try_cflags_saved_exeext=$ac_exeext
11502 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11503 CC="$CROSSCC"
11504 ac_exeext=".exe"
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11507 int __cdecl mainCRTStartup(void) { return 0; }
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"
11510 then :
11511 ac_cv_crosscflags__Wno_format=yes
11512 else $as_nop
11513 ac_cv_crosscflags__Wno_format=no
11515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11516 conftest$ac_exeext conftest.$ac_ext
11517 CFLAGS=$ac_wine_try_cflags_saved
11518 CC=$ac_wine_try_cflags_saved_cc
11519 ac_exeext=$ac_wine_try_cflags_saved_exeext
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11522 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11523 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11524 then :
11525 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11526 fi ;;
11527 esac
11530 if test -z "$CROSSDEBUG"
11531 then
11532 for ac_flag in $CROSSCFLAGS; do
11533 case $ac_flag in
11534 -gdwarf*) CROSSDEBUG=dwarf ;;
11535 -gcodeview) CROSSDEBUG=pdb ;;
11536 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11537 esac
11538 done
11541 ac_debug_format_seen=""
11542 for ac_flag in $CROSSCFLAGS; do
11543 case $ac_flag in
11544 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11545 esac
11546 done
11547 if test "x$ac_debug_format_seen" = x
11548 then
11549 case $CROSSDEBUG in
11550 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11551 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11552 if test ${ac_cv_crosscflags__gdwarf_4+y}
11553 then :
11554 printf %s "(cached) " >&6
11555 else $as_nop
11556 ac_wine_try_cflags_saved=$CFLAGS
11557 ac_wine_try_cflags_saved_cc=$CC
11558 ac_wine_try_cflags_saved_exeext=$ac_exeext
11559 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11560 CC="$CROSSCC"
11561 ac_exeext=".exe"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 int __cdecl mainCRTStartup(void) { return 0; }
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"
11567 then :
11568 ac_cv_crosscflags__gdwarf_4=yes
11569 else $as_nop
11570 ac_cv_crosscflags__gdwarf_4=no
11572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11573 conftest$ac_exeext conftest.$ac_ext
11574 CFLAGS=$ac_wine_try_cflags_saved
11575 CC=$ac_wine_try_cflags_saved_cc
11576 ac_exeext=$ac_wine_try_cflags_saved_exeext
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11579 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11580 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11581 then :
11582 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11583 fi ;;
11584 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11585 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11586 if test ${ac_cv_crosscflags__gcodeview+y}
11587 then :
11588 printf %s "(cached) " >&6
11589 else $as_nop
11590 ac_wine_try_cflags_saved=$CFLAGS
11591 ac_wine_try_cflags_saved_cc=$CC
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11594 CC="$CROSSCC"
11595 ac_exeext=".exe"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11598 int __cdecl mainCRTStartup(void) { return 0; }
11599 _ACEOF
11600 if ac_fn_c_try_link "$LINENO"
11601 then :
11602 ac_cv_crosscflags__gcodeview=yes
11603 else $as_nop
11604 ac_cv_crosscflags__gcodeview=no
11606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11607 conftest$ac_exeext conftest.$ac_ext
11608 CFLAGS=$ac_wine_try_cflags_saved
11609 CC=$ac_wine_try_cflags_saved_cc
11610 ac_exeext=$ac_wine_try_cflags_saved_exeext
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11613 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11614 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11615 then :
11616 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11617 fi ;;
11618 esac
11621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11622 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11623 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11624 then :
11625 printf %s "(cached) " >&6
11626 else $as_nop
11627 ac_wine_try_cflags_saved=$CFLAGS
11628 ac_wine_try_cflags_saved_cc=$CC
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11631 CC="$CROSSCC"
11632 ac_exeext=".exe"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 int __cdecl mainCRTStartup(void) { return 0; }
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"
11638 then :
11639 ac_cv_crosscflags__fexcess_precision_standard=yes
11640 else $as_nop
11641 ac_cv_crosscflags__fexcess_precision_standard=no
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 CC=$ac_wine_try_cflags_saved_cc
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11650 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11651 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11652 then :
11653 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11657 if test "x$enable_werror" = "xyes"
11658 then
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11660 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11661 if test ${ac_cv_crosscflags__Werror+y}
11662 then :
11663 printf %s "(cached) " >&6
11664 else $as_nop
11665 ac_wine_try_cflags_saved=$CFLAGS
11666 ac_wine_try_cflags_saved_cc=$CC
11667 ac_wine_try_cflags_saved_exeext=$ac_exeext
11668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11669 CC="$CROSSCC"
11670 ac_exeext=".exe"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11673 int __cdecl mainCRTStartup(void) { return 0; }
11674 _ACEOF
11675 if ac_fn_c_try_link "$LINENO"
11676 then :
11677 ac_cv_crosscflags__Werror=yes
11678 else $as_nop
11679 ac_cv_crosscflags__Werror=no
11681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11682 conftest$ac_exeext conftest.$ac_ext
11683 CFLAGS=$ac_wine_try_cflags_saved
11684 CC=$ac_wine_try_cflags_saved_cc
11685 ac_exeext=$ac_wine_try_cflags_saved_exeext
11687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11688 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11689 if test "x$ac_cv_crosscflags__Werror" = xyes
11690 then :
11691 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11694 if test "x$enable_build_id" = "xyes"
11695 then
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11697 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11698 if test ${ac_cv_crosscflags__Wl___build_id+y}
11699 then :
11700 printf %s "(cached) " >&6
11701 else $as_nop
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_cc=$CC
11704 ac_wine_try_cflags_saved_exeext=$ac_exeext
11705 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11706 CC="$CROSSCC"
11707 ac_exeext=".exe"
11708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11710 int __cdecl mainCRTStartup(void) { return 0; }
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"
11713 then :
11714 ac_cv_crosscflags__Wl___build_id=yes
11715 else $as_nop
11716 ac_cv_crosscflags__Wl___build_id=no
11718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11719 conftest$ac_exeext conftest.$ac_ext
11720 CFLAGS=$ac_wine_try_cflags_saved
11721 CC=$ac_wine_try_cflags_saved_cc
11722 ac_exeext=$ac_wine_try_cflags_saved_exeext
11724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11725 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11726 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11727 then :
11728 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11729 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11733 CFLAGS=$saved_CFLAGS
11734 LDFLAGS=$saved_LDFLAGS
11735 CC="$ac_save_CC"
11738 if test "x$CROSSTARGET" = "x"
11739 then :
11740 case "x$with_mingw" in
11741 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11742 xno) ;;
11743 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11744 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11745 esac
11749 case $host_cpu in
11750 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 ;;
11751 esac
11754 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11755 then
11756 case "$host_cpu" in
11757 i[3456789]86*)
11758 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11760 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11761 esac
11762 for ac_prog in $ac_prefix_list
11764 # Extract the first word of "$ac_prog", so it can be a program name with args.
11765 set dummy $ac_prog; ac_word=$2
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11767 printf %s "checking for $ac_word... " >&6; }
11768 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11769 then :
11770 printf %s "(cached) " >&6
11771 else $as_nop
11772 if test -n "$MINGW_PKG_CONFIG"; then
11773 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11774 else
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11778 IFS=$as_save_IFS
11779 case $as_dir in #(((
11780 '') as_dir=./ ;;
11781 */) ;;
11782 *) as_dir=$as_dir/ ;;
11783 esac
11784 for ac_exec_ext in '' $ac_executable_extensions; do
11785 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11786 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11788 break 2
11790 done
11791 done
11792 IFS=$as_save_IFS
11796 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11797 if test -n "$MINGW_PKG_CONFIG"; then
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11799 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11800 else
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 printf "%s\n" "no" >&6; }
11806 test -n "$MINGW_PKG_CONFIG" && break
11807 done
11808 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11810 if ${FAUDIO_PE_CFLAGS:+false} :
11811 then :
11812 if test ${MINGW_PKG_CONFIG+y}
11813 then :
11814 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11817 if ${FAUDIO_PE_LIBS:+false} :
11818 then :
11819 if test ${MINGW_PKG_CONFIG+y}
11820 then :
11821 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11824 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11825 ac_save_CPPFLAGS=$CPPFLAGS
11826 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11828 printf %s "checking for MinGW FAudio.h... " >&6; }
11829 if test ${ac_cv_mingw_header_FAudio_h+y}
11830 then :
11831 printf %s "(cached) " >&6
11832 else $as_nop
11833 ac_wine_check_headers_saved_cc=$CC
11834 ac_wine_check_headers_saved_exeext=$ac_exeext
11835 CC="$CROSSCC"
11836 ac_exeext=".exe"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 #include <FAudio.h>
11842 main (void)
11846 return 0;
11848 _ACEOF
11849 if ac_fn_c_try_compile "$LINENO"
11850 then :
11851 ac_cv_mingw_header_FAudio_h=yes
11852 else $as_nop
11853 ac_cv_mingw_header_FAudio_h=no
11855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11856 CC=$ac_wine_check_headers_saved_cc
11857 ac_exeext=$ac_wine_check_headers_saved_exeext
11859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11860 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11861 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11862 then :
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11864 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11865 if test ${ac_cv_mingw_lib_FAudio+y}
11866 then :
11867 printf %s "(cached) " >&6
11868 else $as_nop
11869 ac_wine_check_headers_saved_cc=$CC
11870 ac_wine_check_headers_saved_exeext=$ac_exeext
11871 ac_wine_check_headers_saved_libs=$LIBS
11872 CC="$CROSSCC"
11873 ac_exeext=".exe"
11874 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 char FAudio_CommitOperationSet ();
11883 main (void)
11885 return FAudio_CommitOperationSet ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"
11891 then :
11892 ac_cv_mingw_lib_FAudio=yes
11893 else $as_nop
11894 ac_cv_mingw_lib_FAudio=no
11896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11897 conftest$ac_exeext conftest.$ac_ext
11898 CC=$ac_wine_check_headers_saved_cc
11899 ac_exeext=$ac_wine_check_headers_saved_exeext
11900 LIBS=$ac_wine_check_headers_saved_libs
11902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11903 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11904 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11905 then :
11907 else $as_nop
11908 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11910 else $as_nop
11911 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11913 CPPFLAGS=$ac_save_CPPFLAGS
11915 if test "x$FAUDIO_PE_LIBS" = "x"
11916 then
11917 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11920 if ${JPEG_PE_CFLAGS:+false} :
11921 then :
11922 if test ${MINGW_PKG_CONFIG+y}
11923 then :
11924 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11927 if ${JPEG_PE_LIBS:+false} :
11928 then :
11929 if test ${MINGW_PKG_CONFIG+y}
11930 then :
11931 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11935 ac_save_CPPFLAGS=$CPPFLAGS
11936 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11938 printf %s "checking for MinGW jpeglib.h... " >&6; }
11939 if test ${ac_cv_mingw_header_jpeglib_h+y}
11940 then :
11941 printf %s "(cached) " >&6
11942 else $as_nop
11943 ac_wine_check_headers_saved_cc=$CC
11944 ac_wine_check_headers_saved_exeext=$ac_exeext
11945 CC="$CROSSCC"
11946 ac_exeext=".exe"
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11949 #include <stddef.h>
11950 #include <stdio.h>
11951 #include <jpeglib.h>
11953 main (void)
11957 return 0;
11959 _ACEOF
11960 if ac_fn_c_try_compile "$LINENO"
11961 then :
11962 ac_cv_mingw_header_jpeglib_h=yes
11963 else $as_nop
11964 ac_cv_mingw_header_jpeglib_h=no
11966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11967 CC=$ac_wine_check_headers_saved_cc
11968 ac_exeext=$ac_wine_check_headers_saved_exeext
11970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11971 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11972 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11973 then :
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11975 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11976 if test ${ac_cv_mingw_lib_jpeg+y}
11977 then :
11978 printf %s "(cached) " >&6
11979 else $as_nop
11980 ac_wine_check_headers_saved_cc=$CC
11981 ac_wine_check_headers_saved_exeext=$ac_exeext
11982 ac_wine_check_headers_saved_libs=$LIBS
11983 CC="$CROSSCC"
11984 ac_exeext=".exe"
11985 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 char jpeg_start_decompress ();
11994 main (void)
11996 return jpeg_start_decompress ();
11998 return 0;
12000 _ACEOF
12001 if ac_fn_c_try_link "$LINENO"
12002 then :
12003 ac_cv_mingw_lib_jpeg=yes
12004 else $as_nop
12005 ac_cv_mingw_lib_jpeg=no
12007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12008 conftest$ac_exeext conftest.$ac_ext
12009 CC=$ac_wine_check_headers_saved_cc
12010 ac_exeext=$ac_wine_check_headers_saved_exeext
12011 LIBS=$ac_wine_check_headers_saved_libs
12013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12014 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12015 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12016 then :
12018 else $as_nop
12019 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12021 else $as_nop
12022 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12024 CPPFLAGS=$ac_save_CPPFLAGS
12026 if test "x$JPEG_PE_LIBS" = "x"
12027 then
12028 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12031 if ${LCMS2_PE_CFLAGS:+false} :
12032 then :
12033 if test ${MINGW_PKG_CONFIG+y}
12034 then :
12035 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12038 if ${LCMS2_PE_LIBS:+false} :
12039 then :
12040 if test ${MINGW_PKG_CONFIG+y}
12041 then :
12042 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12045 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12046 ac_save_CPPFLAGS=$CPPFLAGS
12047 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12049 printf %s "checking for MinGW lcms2.h... " >&6; }
12050 if test ${ac_cv_mingw_header_lcms2_h+y}
12051 then :
12052 printf %s "(cached) " >&6
12053 else $as_nop
12054 ac_wine_check_headers_saved_cc=$CC
12055 ac_wine_check_headers_saved_exeext=$ac_exeext
12056 CC="$CROSSCC"
12057 ac_exeext=".exe"
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 #include <lcms2.h>
12063 main (void)
12067 return 0;
12069 _ACEOF
12070 if ac_fn_c_try_compile "$LINENO"
12071 then :
12072 ac_cv_mingw_header_lcms2_h=yes
12073 else $as_nop
12074 ac_cv_mingw_header_lcms2_h=no
12076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12077 CC=$ac_wine_check_headers_saved_cc
12078 ac_exeext=$ac_wine_check_headers_saved_exeext
12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12081 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12082 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12083 then :
12084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12085 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12086 if test ${ac_cv_mingw_lib_lcms2+y}
12087 then :
12088 printf %s "(cached) " >&6
12089 else $as_nop
12090 ac_wine_check_headers_saved_cc=$CC
12091 ac_wine_check_headers_saved_exeext=$ac_exeext
12092 ac_wine_check_headers_saved_libs=$LIBS
12093 CC="$CROSSCC"
12094 ac_exeext=".exe"
12095 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 char cmsOpenProfileFromFile ();
12104 main (void)
12106 return cmsOpenProfileFromFile ();
12108 return 0;
12110 _ACEOF
12111 if ac_fn_c_try_link "$LINENO"
12112 then :
12113 ac_cv_mingw_lib_lcms2=yes
12114 else $as_nop
12115 ac_cv_mingw_lib_lcms2=no
12117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12118 conftest$ac_exeext conftest.$ac_ext
12119 CC=$ac_wine_check_headers_saved_cc
12120 ac_exeext=$ac_wine_check_headers_saved_exeext
12121 LIBS=$ac_wine_check_headers_saved_libs
12123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12124 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12125 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12126 then :
12128 else $as_nop
12129 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12131 else $as_nop
12132 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12134 CPPFLAGS=$ac_save_CPPFLAGS
12136 if test "x$LCMS2_PE_LIBS" = "x"
12137 then
12138 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12141 if ${MPG123_PE_CFLAGS:+false} :
12142 then :
12143 if test ${MINGW_PKG_CONFIG+y}
12144 then :
12145 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12148 if ${MPG123_PE_LIBS:+false} :
12149 then :
12150 if test ${MINGW_PKG_CONFIG+y}
12151 then :
12152 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12155 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12156 ac_save_CPPFLAGS=$CPPFLAGS
12157 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12159 printf %s "checking for MinGW mpg123.h... " >&6; }
12160 if test ${ac_cv_mingw_header_mpg123_h+y}
12161 then :
12162 printf %s "(cached) " >&6
12163 else $as_nop
12164 ac_wine_check_headers_saved_cc=$CC
12165 ac_wine_check_headers_saved_exeext=$ac_exeext
12166 CC="$CROSSCC"
12167 ac_exeext=".exe"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 #include <mpg123.h>
12173 main (void)
12177 return 0;
12179 _ACEOF
12180 if ac_fn_c_try_compile "$LINENO"
12181 then :
12182 ac_cv_mingw_header_mpg123_h=yes
12183 else $as_nop
12184 ac_cv_mingw_header_mpg123_h=no
12186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12187 CC=$ac_wine_check_headers_saved_cc
12188 ac_exeext=$ac_wine_check_headers_saved_exeext
12190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12191 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12192 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12193 then :
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12195 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12196 if test ${ac_cv_mingw_lib_mpg123+y}
12197 then :
12198 printf %s "(cached) " >&6
12199 else $as_nop
12200 ac_wine_check_headers_saved_cc=$CC
12201 ac_wine_check_headers_saved_exeext=$ac_exeext
12202 ac_wine_check_headers_saved_libs=$LIBS
12203 CC="$CROSSCC"
12204 ac_exeext=".exe"
12205 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207 /* end confdefs.h. */
12209 /* Override any GCC internal prototype to avoid an error.
12210 Use char because int might match the return type of a GCC
12211 builtin and then its argument prototype would still apply. */
12212 char mpg123_feed ();
12214 main (void)
12216 return mpg123_feed ();
12218 return 0;
12220 _ACEOF
12221 if ac_fn_c_try_link "$LINENO"
12222 then :
12223 ac_cv_mingw_lib_mpg123=yes
12224 else $as_nop
12225 ac_cv_mingw_lib_mpg123=no
12227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12228 conftest$ac_exeext conftest.$ac_ext
12229 CC=$ac_wine_check_headers_saved_cc
12230 ac_exeext=$ac_wine_check_headers_saved_exeext
12231 LIBS=$ac_wine_check_headers_saved_libs
12233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12234 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12235 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12236 then :
12238 else $as_nop
12239 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12241 else $as_nop
12242 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12244 CPPFLAGS=$ac_save_CPPFLAGS
12246 if test "x$MPG123_PE_LIBS" = "x"
12247 then
12248 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12251 if ${PNG_PE_CFLAGS:+false} :
12252 then :
12253 if test ${MINGW_PKG_CONFIG+y}
12254 then :
12255 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12258 if ${PNG_PE_LIBS:+false} :
12259 then :
12260 if test ${MINGW_PKG_CONFIG+y}
12261 then :
12262 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12266 ac_save_CPPFLAGS=$CPPFLAGS
12267 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12269 printf %s "checking for MinGW png.h... " >&6; }
12270 if test ${ac_cv_mingw_header_png_h+y}
12271 then :
12272 printf %s "(cached) " >&6
12273 else $as_nop
12274 ac_wine_check_headers_saved_cc=$CC
12275 ac_wine_check_headers_saved_exeext=$ac_exeext
12276 CC="$CROSSCC"
12277 ac_exeext=".exe"
12278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h. */
12281 #include <png.h>
12283 main (void)
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_compile "$LINENO"
12291 then :
12292 ac_cv_mingw_header_png_h=yes
12293 else $as_nop
12294 ac_cv_mingw_header_png_h=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12297 CC=$ac_wine_check_headers_saved_cc
12298 ac_exeext=$ac_wine_check_headers_saved_exeext
12300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12301 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12302 if test "x$ac_cv_mingw_header_png_h" = xyes
12303 then :
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12305 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12306 if test ${ac_cv_mingw_lib_png+y}
12307 then :
12308 printf %s "(cached) " >&6
12309 else $as_nop
12310 ac_wine_check_headers_saved_cc=$CC
12311 ac_wine_check_headers_saved_exeext=$ac_exeext
12312 ac_wine_check_headers_saved_libs=$LIBS
12313 CC="$CROSSCC"
12314 ac_exeext=".exe"
12315 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12322 char png_create_read_struct ();
12324 main (void)
12326 return png_create_read_struct ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"
12332 then :
12333 ac_cv_mingw_lib_png=yes
12334 else $as_nop
12335 ac_cv_mingw_lib_png=no
12337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12338 conftest$ac_exeext conftest.$ac_ext
12339 CC=$ac_wine_check_headers_saved_cc
12340 ac_exeext=$ac_wine_check_headers_saved_exeext
12341 LIBS=$ac_wine_check_headers_saved_libs
12343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12344 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12345 if test "x$ac_cv_mingw_lib_png" = xyes
12346 then :
12348 else $as_nop
12349 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12351 else $as_nop
12352 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12354 CPPFLAGS=$ac_save_CPPFLAGS
12356 if test "x$PNG_PE_LIBS" = "x"
12357 then
12358 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12361 if ${TIFF_PE_CFLAGS:+false} :
12362 then :
12363 if test ${MINGW_PKG_CONFIG+y}
12364 then :
12365 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12368 if ${TIFF_PE_LIBS:+false} :
12369 then :
12370 if test ${MINGW_PKG_CONFIG+y}
12371 then :
12372 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12376 ac_save_CPPFLAGS=$CPPFLAGS
12377 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12379 printf %s "checking for MinGW tiffio.h... " >&6; }
12380 if test ${ac_cv_mingw_header_tiffio_h+y}
12381 then :
12382 printf %s "(cached) " >&6
12383 else $as_nop
12384 ac_wine_check_headers_saved_cc=$CC
12385 ac_wine_check_headers_saved_exeext=$ac_exeext
12386 CC="$CROSSCC"
12387 ac_exeext=".exe"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 #include <tiffio.h>
12393 main (void)
12397 return 0;
12399 _ACEOF
12400 if ac_fn_c_try_compile "$LINENO"
12401 then :
12402 ac_cv_mingw_header_tiffio_h=yes
12403 else $as_nop
12404 ac_cv_mingw_header_tiffio_h=no
12406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12407 CC=$ac_wine_check_headers_saved_cc
12408 ac_exeext=$ac_wine_check_headers_saved_exeext
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12411 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12412 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12413 then :
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12415 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12416 if test ${ac_cv_mingw_lib_tiff+y}
12417 then :
12418 printf %s "(cached) " >&6
12419 else $as_nop
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 ac_wine_check_headers_saved_libs=$LIBS
12423 CC="$CROSSCC"
12424 ac_exeext=".exe"
12425 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 char TIFFClientOpen ();
12434 main (void)
12436 return TIFFClientOpen ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"
12442 then :
12443 ac_cv_mingw_lib_tiff=yes
12444 else $as_nop
12445 ac_cv_mingw_lib_tiff=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12448 conftest$ac_exeext conftest.$ac_ext
12449 CC=$ac_wine_check_headers_saved_cc
12450 ac_exeext=$ac_wine_check_headers_saved_exeext
12451 LIBS=$ac_wine_check_headers_saved_libs
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12454 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12455 if test "x$ac_cv_mingw_lib_tiff" = xyes
12456 then :
12458 else $as_nop
12459 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12461 else $as_nop
12462 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12464 CPPFLAGS=$ac_save_CPPFLAGS
12466 if test "x$TIFF_PE_LIBS" = "x"
12467 then
12468 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12471 if ${XML2_PE_CFLAGS:+false} :
12472 then :
12473 if test ${MINGW_PKG_CONFIG+y}
12474 then :
12475 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12478 if ${XML2_PE_LIBS:+false} :
12479 then :
12480 if test ${MINGW_PKG_CONFIG+y}
12481 then :
12482 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12485 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12489 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12490 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12491 then :
12492 printf %s "(cached) " >&6
12493 else $as_nop
12494 ac_wine_check_headers_saved_cc=$CC
12495 ac_wine_check_headers_saved_exeext=$ac_exeext
12496 CC="$CROSSCC"
12497 ac_exeext=".exe"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 #include <libxml/parser.h>
12503 main (void)
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_compile "$LINENO"
12511 then :
12512 ac_cv_mingw_header_libxml_parser_h=yes
12513 else $as_nop
12514 ac_cv_mingw_header_libxml_parser_h=no
12516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12517 CC=$ac_wine_check_headers_saved_cc
12518 ac_exeext=$ac_wine_check_headers_saved_exeext
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12521 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12522 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12523 then :
12526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12527 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12528 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12529 then :
12530 printf %s "(cached) " >&6
12531 else $as_nop
12532 ac_wine_check_headers_saved_cc=$CC
12533 ac_wine_check_headers_saved_exeext=$ac_exeext
12534 CC="$CROSSCC"
12535 ac_exeext=".exe"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 #include <libxml/xmlsave.h>
12541 main (void)
12545 return 0;
12547 _ACEOF
12548 if ac_fn_c_try_compile "$LINENO"
12549 then :
12550 ac_cv_mingw_header_libxml_xmlsave_h=yes
12551 else $as_nop
12552 ac_cv_mingw_header_libxml_xmlsave_h=no
12554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12555 CC=$ac_wine_check_headers_saved_cc
12556 ac_exeext=$ac_wine_check_headers_saved_exeext
12558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12559 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12560 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12561 then :
12564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12565 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12566 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12567 then :
12568 printf %s "(cached) " >&6
12569 else $as_nop
12570 ac_wine_check_headers_saved_cc=$CC
12571 ac_wine_check_headers_saved_exeext=$ac_exeext
12572 CC="$CROSSCC"
12573 ac_exeext=".exe"
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12577 #include <libxml/SAX2.h>
12579 main (void)
12583 return 0;
12585 _ACEOF
12586 if ac_fn_c_try_compile "$LINENO"
12587 then :
12588 ac_cv_mingw_header_libxml_SAX2_h=yes
12589 else $as_nop
12590 ac_cv_mingw_header_libxml_SAX2_h=no
12592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12593 CC=$ac_wine_check_headers_saved_cc
12594 ac_exeext=$ac_wine_check_headers_saved_exeext
12596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12597 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12598 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12599 then :
12602 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"
12603 then
12604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12605 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12606 if test ${ac_cv_mingw_lib_xml2+y}
12607 then :
12608 printf %s "(cached) " >&6
12609 else $as_nop
12610 ac_wine_check_headers_saved_cc=$CC
12611 ac_wine_check_headers_saved_exeext=$ac_exeext
12612 ac_wine_check_headers_saved_libs=$LIBS
12613 CC="$CROSSCC"
12614 ac_exeext=".exe"
12615 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 char xmlFirstElementChild ();
12624 main (void)
12626 return xmlFirstElementChild ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"
12632 then :
12633 ac_cv_mingw_lib_xml2=yes
12634 else $as_nop
12635 ac_cv_mingw_lib_xml2=no
12637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12638 conftest$ac_exeext conftest.$ac_ext
12639 CC=$ac_wine_check_headers_saved_cc
12640 ac_exeext=$ac_wine_check_headers_saved_exeext
12641 LIBS=$ac_wine_check_headers_saved_libs
12643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12644 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12645 if test "x$ac_cv_mingw_lib_xml2" = xyes
12646 then :
12648 else $as_nop
12649 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12651 else
12652 XML2_PE_CFLAGS=""
12653 XML2_PE_LIBS=""
12655 CPPFLAGS=$ac_save_CPPFLAGS
12657 if test "x$XML2_PE_LIBS" = "x"
12658 then
12659 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12662 if ${XSLT_PE_CFLAGS:+false} :
12663 then :
12664 if test ${MINGW_PKG_CONFIG+y}
12665 then :
12666 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12669 if ${XSLT_PE_LIBS:+false} :
12670 then :
12671 if test ${MINGW_PKG_CONFIG+y}
12672 then :
12673 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12676 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12677 ac_save_CPPFLAGS=$CPPFLAGS
12678 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12680 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12681 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12682 then :
12683 printf %s "(cached) " >&6
12684 else $as_nop
12685 ac_wine_check_headers_saved_cc=$CC
12686 ac_wine_check_headers_saved_exeext=$ac_exeext
12687 CC="$CROSSCC"
12688 ac_exeext=".exe"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 #include <libxslt/pattern.h>
12694 main (void)
12698 return 0;
12700 _ACEOF
12701 if ac_fn_c_try_compile "$LINENO"
12702 then :
12703 ac_cv_mingw_header_libxslt_pattern_h=yes
12704 else $as_nop
12705 ac_cv_mingw_header_libxslt_pattern_h=no
12707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12708 CC=$ac_wine_check_headers_saved_cc
12709 ac_exeext=$ac_wine_check_headers_saved_exeext
12711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12712 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12713 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12714 then :
12717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12718 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12719 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12720 then :
12721 printf %s "(cached) " >&6
12722 else $as_nop
12723 ac_wine_check_headers_saved_cc=$CC
12724 ac_wine_check_headers_saved_exeext=$ac_exeext
12725 CC="$CROSSCC"
12726 ac_exeext=".exe"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 #include <libxslt/transform.h>
12732 main (void)
12736 return 0;
12738 _ACEOF
12739 if ac_fn_c_try_compile "$LINENO"
12740 then :
12741 ac_cv_mingw_header_libxslt_transform_h=yes
12742 else $as_nop
12743 ac_cv_mingw_header_libxslt_transform_h=no
12745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12746 CC=$ac_wine_check_headers_saved_cc
12747 ac_exeext=$ac_wine_check_headers_saved_exeext
12749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12750 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12751 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12752 then :
12755 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12756 then
12757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12758 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12759 if test ${ac_cv_mingw_lib_xslt+y}
12760 then :
12761 printf %s "(cached) " >&6
12762 else $as_nop
12763 ac_wine_check_headers_saved_cc=$CC
12764 ac_wine_check_headers_saved_exeext=$ac_exeext
12765 ac_wine_check_headers_saved_libs=$LIBS
12766 CC="$CROSSCC"
12767 ac_exeext=".exe"
12768 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12770 /* end confdefs.h. */
12772 /* Override any GCC internal prototype to avoid an error.
12773 Use char because int might match the return type of a GCC
12774 builtin and then its argument prototype would still apply. */
12775 char xsltCompilePattern ();
12777 main (void)
12779 return xsltCompilePattern ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"
12785 then :
12786 ac_cv_mingw_lib_xslt=yes
12787 else $as_nop
12788 ac_cv_mingw_lib_xslt=no
12790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12791 conftest$ac_exeext conftest.$ac_ext
12792 CC=$ac_wine_check_headers_saved_cc
12793 ac_exeext=$ac_wine_check_headers_saved_exeext
12794 LIBS=$ac_wine_check_headers_saved_libs
12796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12797 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12798 if test "x$ac_cv_mingw_lib_xslt" = xyes
12799 then :
12801 else $as_nop
12802 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12804 else
12805 XSLT_PE_CFLAGS=""
12806 XSLT_PE_LIBS=""
12808 CPPFLAGS=$ac_save_CPPFLAGS
12810 if test "x$XSLT_PE_LIBS" = "x"
12811 then
12812 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12815 if ${VKD3D_PE_CFLAGS:+false} :
12816 then :
12817 if test ${MINGW_PKG_CONFIG+y}
12818 then :
12819 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12822 if ${VKD3D_PE_LIBS:+false} :
12823 then :
12824 if test ${MINGW_PKG_CONFIG+y}
12825 then :
12826 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12829 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12830 ac_save_CPPFLAGS=$CPPFLAGS
12831 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12833 printf %s "checking for MinGW vkd3d.h... " >&6; }
12834 if test ${ac_cv_mingw_header_vkd3d_h+y}
12835 then :
12836 printf %s "(cached) " >&6
12837 else $as_nop
12838 ac_wine_check_headers_saved_cc=$CC
12839 ac_wine_check_headers_saved_exeext=$ac_exeext
12840 CC="$CROSSCC"
12841 ac_exeext=".exe"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 #include <vkd3d.h>
12847 main (void)
12851 return 0;
12853 _ACEOF
12854 if ac_fn_c_try_compile "$LINENO"
12855 then :
12856 ac_cv_mingw_header_vkd3d_h=yes
12857 else $as_nop
12858 ac_cv_mingw_header_vkd3d_h=no
12860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12861 CC=$ac_wine_check_headers_saved_cc
12862 ac_exeext=$ac_wine_check_headers_saved_exeext
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12865 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12866 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12867 then :
12870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12871 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12872 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12873 then :
12874 printf %s "(cached) " >&6
12875 else $as_nop
12876 ac_wine_check_headers_saved_cc=$CC
12877 ac_wine_check_headers_saved_exeext=$ac_exeext
12878 CC="$CROSSCC"
12879 ac_exeext=".exe"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 #include <vkd3d_shader.h>
12885 main (void)
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_compile "$LINENO"
12893 then :
12894 ac_cv_mingw_header_vkd3d_shader_h=yes
12895 else $as_nop
12896 ac_cv_mingw_header_vkd3d_shader_h=no
12898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12899 CC=$ac_wine_check_headers_saved_cc
12900 ac_exeext=$ac_wine_check_headers_saved_exeext
12902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12903 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12904 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12905 then :
12908 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12909 then
12910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12911 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12912 if test ${ac_cv_mingw_lib_vkd3d+y}
12913 then :
12914 printf %s "(cached) " >&6
12915 else $as_nop
12916 ac_wine_check_headers_saved_cc=$CC
12917 ac_wine_check_headers_saved_exeext=$ac_exeext
12918 ac_wine_check_headers_saved_libs=$LIBS
12919 CC="$CROSSCC"
12920 ac_exeext=".exe"
12921 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12923 /* end confdefs.h. */
12925 /* Override any GCC internal prototype to avoid an error.
12926 Use char because int might match the return type of a GCC
12927 builtin and then its argument prototype would still apply. */
12928 char vkd3d_serialize_versioned_root_signature ();
12930 main (void)
12932 return vkd3d_serialize_versioned_root_signature ();
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_link "$LINENO"
12938 then :
12939 ac_cv_mingw_lib_vkd3d=yes
12940 else $as_nop
12941 ac_cv_mingw_lib_vkd3d=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12944 conftest$ac_exeext conftest.$ac_ext
12945 CC=$ac_wine_check_headers_saved_cc
12946 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 LIBS=$ac_wine_check_headers_saved_libs
12949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12950 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12951 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12952 then :
12954 else $as_nop
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12958 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12959 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12960 then :
12961 printf %s "(cached) " >&6
12962 else $as_nop
12963 ac_wine_check_headers_saved_cc=$CC
12964 ac_wine_check_headers_saved_exeext=$ac_exeext
12965 ac_wine_check_headers_saved_libs=$LIBS
12966 CC="$CROSSCC"
12967 ac_exeext=".exe"
12968 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 char vkd3d_shader_compile ();
12977 main (void)
12979 return vkd3d_shader_compile ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"
12985 then :
12986 ac_cv_mingw_lib_vkd3d_shader=yes
12987 else $as_nop
12988 ac_cv_mingw_lib_vkd3d_shader=no
12990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12991 conftest$ac_exeext conftest.$ac_ext
12992 CC=$ac_wine_check_headers_saved_cc
12993 ac_exeext=$ac_wine_check_headers_saved_exeext
12994 LIBS=$ac_wine_check_headers_saved_libs
12996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12997 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12998 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12999 then :
13001 else $as_nop
13004 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13005 then
13006 VKD3D_PE_CFLAGS=""
13007 VKD3D_PE_LIBS=""
13009 else
13010 VKD3D_PE_CFLAGS=""
13011 VKD3D_PE_LIBS=""
13013 CPPFLAGS=$ac_save_CPPFLAGS
13015 if test "x$VKD3D_PE_LIBS" = "x"
13016 then
13017 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13020 if ${ZLIB_PE_CFLAGS:+false} :
13021 then :
13022 if test ${MINGW_PKG_CONFIG+y}
13023 then :
13024 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13027 if ${ZLIB_PE_LIBS:+false} :
13028 then :
13029 if test ${MINGW_PKG_CONFIG+y}
13030 then :
13031 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13034 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13035 ac_save_CPPFLAGS=$CPPFLAGS
13036 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13038 printf %s "checking for MinGW zlib.h... " >&6; }
13039 if test ${ac_cv_mingw_header_zlib_h+y}
13040 then :
13041 printf %s "(cached) " >&6
13042 else $as_nop
13043 ac_wine_check_headers_saved_cc=$CC
13044 ac_wine_check_headers_saved_exeext=$ac_exeext
13045 CC="$CROSSCC"
13046 ac_exeext=".exe"
13047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13050 #include <zlib.h>
13052 main (void)
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_compile "$LINENO"
13060 then :
13061 ac_cv_mingw_header_zlib_h=yes
13062 else $as_nop
13063 ac_cv_mingw_header_zlib_h=no
13065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13066 CC=$ac_wine_check_headers_saved_cc
13067 ac_exeext=$ac_wine_check_headers_saved_exeext
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13070 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13071 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13072 then :
13073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13074 printf %s "checking for inflate in MinGW -lz... " >&6; }
13075 if test ${ac_cv_mingw_lib_z+y}
13076 then :
13077 printf %s "(cached) " >&6
13078 else $as_nop
13079 ac_wine_check_headers_saved_cc=$CC
13080 ac_wine_check_headers_saved_exeext=$ac_exeext
13081 ac_wine_check_headers_saved_libs=$LIBS
13082 CC="$CROSSCC"
13083 ac_exeext=".exe"
13084 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13091 char inflate ();
13093 main (void)
13095 return inflate ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"
13101 then :
13102 ac_cv_mingw_lib_z=yes
13103 else $as_nop
13104 ac_cv_mingw_lib_z=no
13106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13107 conftest$ac_exeext conftest.$ac_ext
13108 CC=$ac_wine_check_headers_saved_cc
13109 ac_exeext=$ac_wine_check_headers_saved_exeext
13110 LIBS=$ac_wine_check_headers_saved_libs
13112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13113 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13114 if test "x$ac_cv_mingw_lib_z" = xyes
13115 then :
13117 else $as_nop
13118 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13120 else $as_nop
13121 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13123 CPPFLAGS=$ac_save_CPPFLAGS
13125 if test "x$ZLIB_PE_LIBS" = "x"
13126 then
13127 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13131 if ${FAUDIO_PE_LIBS:+false} :
13132 then :
13133 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13134 if ${FAUDIO_PE_CFLAGS:+false} :
13135 then :
13136 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13137 else $as_nop
13138 enable_faudio=no
13140 else $as_nop
13141 enable_faudio=no
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13146 if ${GSM_PE_LIBS:+false} :
13147 then :
13148 GSM_PE_LIBS=gsm
13149 if ${GSM_PE_CFLAGS:+false} :
13150 then :
13151 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13152 else $as_nop
13153 enable_gsm=no
13155 else $as_nop
13156 enable_gsm=no
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13161 if ${JPEG_PE_LIBS:+false} :
13162 then :
13163 JPEG_PE_LIBS=jpeg
13164 if ${JPEG_PE_CFLAGS:+false} :
13165 then :
13166 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13167 else $as_nop
13168 enable_jpeg=no
13170 else $as_nop
13171 enable_jpeg=no
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13176 if ${JXR_PE_LIBS:+false} :
13177 then :
13178 JXR_PE_LIBS=jxr
13179 if ${JXR_PE_CFLAGS:+false} :
13180 then :
13181 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13182 else $as_nop
13183 enable_jxr=no
13185 else $as_nop
13186 enable_jxr=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13191 if ${LCMS2_PE_LIBS:+false} :
13192 then :
13193 LCMS2_PE_LIBS=lcms2
13194 if ${LCMS2_PE_CFLAGS:+false} :
13195 then :
13196 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13197 else $as_nop
13198 enable_lcms2=no
13200 else $as_nop
13201 enable_lcms2=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13206 if ${MPG123_PE_LIBS:+false} :
13207 then :
13208 MPG123_PE_LIBS=mpg123
13209 if ${MPG123_PE_CFLAGS:+false} :
13210 then :
13211 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13212 else $as_nop
13213 enable_mpg123=no
13215 else $as_nop
13216 enable_mpg123=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13221 if ${PNG_PE_LIBS:+false} :
13222 then :
13223 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13224 if ${PNG_PE_CFLAGS:+false} :
13225 then :
13226 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13227 else $as_nop
13228 enable_png=no
13230 else $as_nop
13231 enable_png=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13236 if ${TIFF_PE_LIBS:+false} :
13237 then :
13238 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13239 if ${TIFF_PE_CFLAGS:+false} :
13240 then :
13241 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13242 else $as_nop
13243 enable_tiff=no
13245 else $as_nop
13246 enable_tiff=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13251 if ${VKD3D_PE_LIBS:+false} :
13252 then :
13253 VKD3D_PE_LIBS=vkd3d
13254 if ${VKD3D_PE_CFLAGS:+false} :
13255 then :
13256 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13257 else $as_nop
13258 enable_vkd3d=no
13260 else $as_nop
13261 enable_vkd3d=no
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13266 if ${XML2_PE_LIBS:+false} :
13267 then :
13268 XML2_PE_LIBS=xml2
13269 if ${XML2_PE_CFLAGS:+false} :
13270 then :
13271 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13272 else $as_nop
13273 enable_xml2=no
13275 else $as_nop
13276 enable_xml2=no
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13281 if ${XSLT_PE_LIBS:+false} :
13282 then :
13283 XSLT_PE_LIBS=xslt
13284 if ${XSLT_PE_CFLAGS:+false} :
13285 then :
13286 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13287 else $as_nop
13288 enable_xslt=no
13290 else $as_nop
13291 enable_xslt=no
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13296 if ${ZLIB_PE_LIBS:+false} :
13297 then :
13298 ZLIB_PE_LIBS=z
13299 if ${ZLIB_PE_CFLAGS:+false} :
13300 then :
13301 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13302 else $as_nop
13303 enable_zlib=no
13305 else $as_nop
13306 enable_zlib=no
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13313 if test "$ac_cv_header_pthread_h" = "yes"
13314 then
13315 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13316 if test "x$ac_cv_func_pthread_create" = xyes
13317 then :
13319 else $as_nop
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13321 printf %s "checking for pthread_create in -lpthread... " >&6; }
13322 if test ${ac_cv_lib_pthread_pthread_create+y}
13323 then :
13324 printf %s "(cached) " >&6
13325 else $as_nop
13326 ac_check_lib_save_LIBS=$LIBS
13327 LIBS="-lpthread $LIBS"
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13331 /* Override any GCC internal prototype to avoid an error.
13332 Use char because int might match the return type of a GCC
13333 builtin and then its argument prototype would still apply. */
13334 char pthread_create ();
13336 main (void)
13338 return pthread_create ();
13340 return 0;
13342 _ACEOF
13343 if ac_fn_c_try_link "$LINENO"
13344 then :
13345 ac_cv_lib_pthread_pthread_create=yes
13346 else $as_nop
13347 ac_cv_lib_pthread_pthread_create=no
13349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13354 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13355 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13356 then :
13357 PTHREAD_LIBS="-lpthread"
13364 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13365 then :
13366 case "x$with_pthread" in
13367 xno) ;;
13368 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13369 Wine cannot support threads without libpthread.
13370 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13371 esac
13376 ac_ext=c
13377 ac_cpp='$CPP $CPPFLAGS'
13378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13382 printf %s "checking how to run the C preprocessor... " >&6; }
13383 # On Suns, sometimes $CPP names a directory.
13384 if test -n "$CPP" && test -d "$CPP"; then
13385 CPP=
13387 if test -z "$CPP"; then
13388 if test ${ac_cv_prog_CPP+y}
13389 then :
13390 printf %s "(cached) " >&6
13391 else $as_nop
13392 # Double quotes because $CC needs to be expanded
13393 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13395 ac_preproc_ok=false
13396 for ac_c_preproc_warn_flag in '' yes
13398 # Use a header file that comes with gcc, so configuring glibc
13399 # with a fresh cross-compiler works.
13400 # On the NeXT, cc -E runs the code through the compiler's parser,
13401 # not just through cpp. "Syntax error" is here to catch this case.
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <limits.h>
13405 Syntax error
13406 _ACEOF
13407 if ac_fn_c_try_cpp "$LINENO"
13408 then :
13410 else $as_nop
13411 # Broken: fails on valid input.
13412 continue
13414 rm -f conftest.err conftest.i conftest.$ac_ext
13416 # OK, works on sane cases. Now check whether nonexistent headers
13417 # can be detected and how.
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13420 #include <ac_nonexistent.h>
13421 _ACEOF
13422 if ac_fn_c_try_cpp "$LINENO"
13423 then :
13424 # Broken: success on invalid input.
13425 continue
13426 else $as_nop
13427 # Passes both tests.
13428 ac_preproc_ok=:
13429 break
13431 rm -f conftest.err conftest.i conftest.$ac_ext
13433 done
13434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13435 rm -f conftest.i conftest.err conftest.$ac_ext
13436 if $ac_preproc_ok
13437 then :
13438 break
13441 done
13442 ac_cv_prog_CPP=$CPP
13445 CPP=$ac_cv_prog_CPP
13446 else
13447 ac_cv_prog_CPP=$CPP
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13450 printf "%s\n" "$CPP" >&6; }
13451 ac_preproc_ok=false
13452 for ac_c_preproc_warn_flag in '' yes
13454 # Use a header file that comes with gcc, so configuring glibc
13455 # with a fresh cross-compiler works.
13456 # On the NeXT, cc -E runs the code through the compiler's parser,
13457 # not just through cpp. "Syntax error" is here to catch this case.
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <limits.h>
13461 Syntax error
13462 _ACEOF
13463 if ac_fn_c_try_cpp "$LINENO"
13464 then :
13466 else $as_nop
13467 # Broken: fails on valid input.
13468 continue
13470 rm -f conftest.err conftest.i conftest.$ac_ext
13472 # OK, works on sane cases. Now check whether nonexistent headers
13473 # can be detected and how.
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <ac_nonexistent.h>
13477 _ACEOF
13478 if ac_fn_c_try_cpp "$LINENO"
13479 then :
13480 # Broken: success on invalid input.
13481 continue
13482 else $as_nop
13483 # Passes both tests.
13484 ac_preproc_ok=:
13485 break
13487 rm -f conftest.err conftest.i conftest.$ac_ext
13489 done
13490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13491 rm -f conftest.i conftest.err conftest.$ac_ext
13492 if $ac_preproc_ok
13493 then :
13495 else $as_nop
13496 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13497 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13498 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13499 See \`config.log' for more details" "$LINENO" 5; }
13502 ac_ext=c
13503 ac_cpp='$CPP $CPPFLAGS'
13504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13510 printf %s "checking for X... " >&6; }
13513 # Check whether --with-x was given.
13514 if test ${with_x+y}
13515 then :
13516 withval=$with_x;
13519 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13520 if test "x$with_x" = xno; then
13521 # The user explicitly disabled X.
13522 have_x=disabled
13523 else
13524 case $x_includes,$x_libraries in #(
13525 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13526 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13527 then :
13528 printf %s "(cached) " >&6
13529 else $as_nop
13530 # One or both of the vars are not set, and there is no cached value.
13531 ac_x_includes=no
13532 ac_x_libraries=no
13533 # Do we need to do anything special at all?
13534 ac_save_LIBS=$LIBS
13535 LIBS="-lX11 $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13538 #include <X11/Xlib.h>
13540 main (void)
13542 XrmInitialize ()
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"
13548 then :
13549 # We can compile and link X programs with no special options.
13550 ac_x_includes=
13551 ac_x_libraries=
13553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS="$ac_save_LIBS"
13556 # If that didn't work, only try xmkmf and file system searches
13557 # for native compilation.
13558 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13559 then :
13560 rm -f -r conftest.dir
13561 if mkdir conftest.dir; then
13562 cd conftest.dir
13563 cat >Imakefile <<'_ACEOF'
13564 incroot:
13565 @echo incroot='${INCROOT}'
13566 usrlibdir:
13567 @echo usrlibdir='${USRLIBDIR}'
13568 libdir:
13569 @echo libdir='${LIBDIR}'
13570 _ACEOF
13571 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13572 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13573 for ac_var in incroot usrlibdir libdir; do
13574 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13575 done
13576 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13577 for ac_extension in a so sl dylib la dll; do
13578 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13579 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13580 ac_im_usrlibdir=$ac_im_libdir; break
13582 done
13583 # Screen out bogus values from the imake configuration. They are
13584 # bogus both because they are the default anyway, and because
13585 # using them would break gcc on systems where it needs fixed includes.
13586 case $ac_im_incroot in
13587 /usr/include) ac_x_includes= ;;
13588 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13589 esac
13590 case $ac_im_usrlibdir in
13591 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13592 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13593 esac
13595 cd ..
13596 rm -f -r conftest.dir
13599 # Standard set of common directories for X headers.
13600 # Check X11 before X11Rn because it is often a symlink to the current release.
13601 ac_x_header_dirs='
13602 /usr/X11/include
13603 /usr/X11R7/include
13604 /usr/X11R6/include
13605 /usr/X11R5/include
13606 /usr/X11R4/include
13608 /usr/include/X11
13609 /usr/include/X11R7
13610 /usr/include/X11R6
13611 /usr/include/X11R5
13612 /usr/include/X11R4
13614 /usr/local/X11/include
13615 /usr/local/X11R7/include
13616 /usr/local/X11R6/include
13617 /usr/local/X11R5/include
13618 /usr/local/X11R4/include
13620 /usr/local/include/X11
13621 /usr/local/include/X11R7
13622 /usr/local/include/X11R6
13623 /usr/local/include/X11R5
13624 /usr/local/include/X11R4
13626 /opt/X11/include
13628 /usr/X386/include
13629 /usr/x386/include
13630 /usr/XFree86/include/X11
13632 /usr/include
13633 /usr/local/include
13634 /usr/unsupported/include
13635 /usr/athena/include
13636 /usr/local/x11r5/include
13637 /usr/lpp/Xamples/include
13639 /usr/openwin/include
13640 /usr/openwin/share/include'
13642 if test "$ac_x_includes" = no; then
13643 # Guess where to find include files, by looking for Xlib.h.
13644 # First, try using that file with no special directory specified.
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <X11/Xlib.h>
13648 _ACEOF
13649 if ac_fn_c_try_cpp "$LINENO"
13650 then :
13651 # We can compile using X headers with no special include directory.
13652 ac_x_includes=
13653 else $as_nop
13654 for ac_dir in $ac_x_header_dirs; do
13655 if test -r "$ac_dir/X11/Xlib.h"; then
13656 ac_x_includes=$ac_dir
13657 break
13659 done
13661 rm -f conftest.err conftest.i conftest.$ac_ext
13662 fi # $ac_x_includes = no
13664 if test "$ac_x_libraries" = no; then
13665 # Check for the libraries.
13666 # See if we find them without any special options.
13667 # Don't add to $LIBS permanently.
13668 ac_save_LIBS=$LIBS
13669 LIBS="-lX11 $LIBS"
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671 /* end confdefs.h. */
13672 #include <X11/Xlib.h>
13674 main (void)
13676 XrmInitialize ()
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_link "$LINENO"
13682 then :
13683 LIBS=$ac_save_LIBS
13684 # We can link X programs with no special library path.
13685 ac_x_libraries=
13686 else $as_nop
13687 LIBS=$ac_save_LIBS
13688 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13690 # Don't even attempt the hair of trying to link an X program!
13691 for ac_extension in a so sl dylib la dll; do
13692 if test -r "$ac_dir/libX11.$ac_extension"; then
13693 ac_x_libraries=$ac_dir
13694 break 2
13696 done
13697 done
13699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13700 conftest$ac_exeext conftest.$ac_ext
13701 fi # $ac_x_libraries = no
13704 # Record the results.
13705 case $ac_x_includes,$ac_x_libraries in #(
13706 no,* | *,no | *\'*) :
13707 # Didn't find X, or a directory has "'" in its name.
13708 ac_cv_have_x="have_x=no" ;; #(
13709 *) :
13710 # Record where we found X for the cache.
13711 ac_cv_have_x="have_x=yes\
13712 ac_x_includes='$ac_x_includes'\
13713 ac_x_libraries='$ac_x_libraries'" ;;
13714 esac
13716 ;; #(
13717 *) have_x=yes;;
13718 esac
13719 eval "$ac_cv_have_x"
13720 fi # $with_x != no
13722 if test "$have_x" != yes; then
13723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13724 printf "%s\n" "$have_x" >&6; }
13725 no_x=yes
13726 else
13727 # If each of the values was on the command line, it overrides each guess.
13728 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13729 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13730 # Update the cache value to reflect the command line values.
13731 ac_cv_have_x="have_x=yes\
13732 ac_x_includes='$x_includes'\
13733 ac_x_libraries='$x_libraries'"
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13735 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13738 if test "$no_x" = yes; then
13739 # Not all programs may use this symbol, but it does not hurt to define it.
13741 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13743 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13744 else
13745 if test -n "$x_includes"; then
13746 X_CFLAGS="$X_CFLAGS -I$x_includes"
13749 # It would also be nice to do this for all -L options, not just this one.
13750 if test -n "$x_libraries"; then
13751 X_LIBS="$X_LIBS -L$x_libraries"
13752 # For Solaris; some versions of Sun CC require a space after -R and
13753 # others require no space. Words are not sufficient . . . .
13754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13755 printf %s "checking whether -R must be followed by a space... " >&6; }
13756 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13757 ac_xsave_c_werror_flag=$ac_c_werror_flag
13758 ac_c_werror_flag=yes
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13763 main (void)
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13773 printf "%s\n" "no" >&6; }
13774 X_LIBS="$X_LIBS -R$x_libraries"
13775 else $as_nop
13776 LIBS="$ac_xsave_LIBS -R $x_libraries"
13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13781 main (void)
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_link "$LINENO"
13789 then :
13790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13791 printf "%s\n" "yes" >&6; }
13792 X_LIBS="$X_LIBS -R $x_libraries"
13793 else $as_nop
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13795 printf "%s\n" "neither works" >&6; }
13797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13798 conftest$ac_exeext conftest.$ac_ext
13800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13801 conftest$ac_exeext conftest.$ac_ext
13802 ac_c_werror_flag=$ac_xsave_c_werror_flag
13803 LIBS=$ac_xsave_LIBS
13806 # Check for system-dependent libraries X programs must link with.
13807 # Do this before checking for the system-independent R6 libraries
13808 # (-lICE), since we may need -lsocket or whatever for X linking.
13810 if test "$ISC" = yes; then
13811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13812 else
13813 # Martyn Johnson says this is needed for Ultrix, if the X
13814 # libraries were built with DECnet support. And Karl Berry says
13815 # the Alpha needs dnet_stub (dnet does not exist).
13816 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13823 char XOpenDisplay ();
13825 main (void)
13827 return XOpenDisplay ();
13829 return 0;
13831 _ACEOF
13832 if ac_fn_c_try_link "$LINENO"
13833 then :
13835 else $as_nop
13836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13837 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13838 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13839 then :
13840 printf %s "(cached) " >&6
13841 else $as_nop
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-ldnet $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 char dnet_ntoa ();
13852 main (void)
13854 return dnet_ntoa ();
13856 return 0;
13858 _ACEOF
13859 if ac_fn_c_try_link "$LINENO"
13860 then :
13861 ac_cv_lib_dnet_dnet_ntoa=yes
13862 else $as_nop
13863 ac_cv_lib_dnet_dnet_ntoa=no
13865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13870 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13871 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13872 then :
13873 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13876 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13878 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13879 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else $as_nop
13883 ac_check_lib_save_LIBS=$LIBS
13884 LIBS="-ldnet_stub $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 char dnet_ntoa ();
13893 main (void)
13895 return dnet_ntoa ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"
13901 then :
13902 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13903 else $as_nop
13904 ac_cv_lib_dnet_stub_dnet_ntoa=no
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13911 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13912 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13913 then :
13914 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS="$ac_xsave_LIBS"
13923 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13924 # to get the SysV transport functions.
13925 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13926 # needs -lnsl.
13927 # The nsl library prevents programs from opening the X display
13928 # on Irix 5.2, according to T.E. Dickey.
13929 # The functions gethostbyname, getservbyname, and inet_addr are
13930 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13931 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13932 if test "x$ac_cv_func_gethostbyname" = xyes
13933 then :
13937 if test $ac_cv_func_gethostbyname = no; then
13938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13939 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13940 if test ${ac_cv_lib_nsl_gethostbyname+y}
13941 then :
13942 printf %s "(cached) " >&6
13943 else $as_nop
13944 ac_check_lib_save_LIBS=$LIBS
13945 LIBS="-lnsl $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 char gethostbyname ();
13954 main (void)
13956 return gethostbyname ();
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_link "$LINENO"
13962 then :
13963 ac_cv_lib_nsl_gethostbyname=yes
13964 else $as_nop
13965 ac_cv_lib_nsl_gethostbyname=no
13967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13968 conftest$ac_exeext conftest.$ac_ext
13969 LIBS=$ac_check_lib_save_LIBS
13971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13972 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13973 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13974 then :
13975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13978 if test $ac_cv_lib_nsl_gethostbyname = no; then
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13980 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13981 if test ${ac_cv_lib_bsd_gethostbyname+y}
13982 then :
13983 printf %s "(cached) " >&6
13984 else $as_nop
13985 ac_check_lib_save_LIBS=$LIBS
13986 LIBS="-lbsd $LIBS"
13987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 /* end confdefs.h. */
13990 /* Override any GCC internal prototype to avoid an error.
13991 Use char because int might match the return type of a GCC
13992 builtin and then its argument prototype would still apply. */
13993 char gethostbyname ();
13995 main (void)
13997 return gethostbyname ();
13999 return 0;
14001 _ACEOF
14002 if ac_fn_c_try_link "$LINENO"
14003 then :
14004 ac_cv_lib_bsd_gethostbyname=yes
14005 else $as_nop
14006 ac_cv_lib_bsd_gethostbyname=no
14008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14009 conftest$ac_exeext conftest.$ac_ext
14010 LIBS=$ac_check_lib_save_LIBS
14012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14013 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14014 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14015 then :
14016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14022 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14023 # socket/setsockopt and other routines are undefined under SCO ODT
14024 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14025 # on later versions), says Simon Leinen: it contains gethostby*
14026 # variants that don't use the name server (or something). -lsocket
14027 # must be given before -lnsl if both are needed. We assume that
14028 # if connect needs -lnsl, so does gethostbyname.
14029 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14030 if test "x$ac_cv_func_connect" = xyes
14031 then :
14035 if test $ac_cv_func_connect = no; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14037 printf %s "checking for connect in -lsocket... " >&6; }
14038 if test ${ac_cv_lib_socket_connect+y}
14039 then :
14040 printf %s "(cached) " >&6
14041 else $as_nop
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
14052 main (void)
14054 return connect ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"
14060 then :
14061 ac_cv_lib_socket_connect=yes
14062 else $as_nop
14063 ac_cv_lib_socket_connect=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_socket_connect" >&5
14070 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14071 if test "x$ac_cv_lib_socket_connect" = xyes
14072 then :
14073 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14078 # Guillermo Gomez says -lposix is necessary on A/UX.
14079 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14080 if test "x$ac_cv_func_remove" = xyes
14081 then :
14085 if test $ac_cv_func_remove = no; then
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14087 printf %s "checking for remove in -lposix... " >&6; }
14088 if test ${ac_cv_lib_posix_remove+y}
14089 then :
14090 printf %s "(cached) " >&6
14091 else $as_nop
14092 ac_check_lib_save_LIBS=$LIBS
14093 LIBS="-lposix $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14100 char remove ();
14102 main (void)
14104 return remove ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"
14110 then :
14111 ac_cv_lib_posix_remove=yes
14112 else $as_nop
14113 ac_cv_lib_posix_remove=no
14115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14120 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14121 if test "x$ac_cv_lib_posix_remove" = xyes
14122 then :
14123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14129 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14130 if test "x$ac_cv_func_shmat" = xyes
14131 then :
14135 if test $ac_cv_func_shmat = no; then
14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14137 printf %s "checking for shmat in -lipc... " >&6; }
14138 if test ${ac_cv_lib_ipc_shmat+y}
14139 then :
14140 printf %s "(cached) " >&6
14141 else $as_nop
14142 ac_check_lib_save_LIBS=$LIBS
14143 LIBS="-lipc $LIBS"
14144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14145 /* end confdefs.h. */
14147 /* Override any GCC internal prototype to avoid an error.
14148 Use char because int might match the return type of a GCC
14149 builtin and then its argument prototype would still apply. */
14150 char shmat ();
14152 main (void)
14154 return shmat ();
14156 return 0;
14158 _ACEOF
14159 if ac_fn_c_try_link "$LINENO"
14160 then :
14161 ac_cv_lib_ipc_shmat=yes
14162 else $as_nop
14163 ac_cv_lib_ipc_shmat=no
14165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14166 conftest$ac_exeext conftest.$ac_ext
14167 LIBS=$ac_check_lib_save_LIBS
14169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14170 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14171 if test "x$ac_cv_lib_ipc_shmat" = xyes
14172 then :
14173 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14179 # Check for libraries that X11R6 Xt/Xaw programs need.
14180 ac_save_LDFLAGS=$LDFLAGS
14181 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14182 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14183 # check for ICE first), but we must link in the order -lSM -lICE or
14184 # we get undefined symbols. So assume we have SM if we have ICE.
14185 # These have to be linked with before -lX11, unlike the other
14186 # libraries we check for below, so use a different variable.
14187 # John Interrante, Karl Berry
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14189 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14190 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14191 then :
14192 printf %s "(cached) " >&6
14193 else $as_nop
14194 ac_check_lib_save_LIBS=$LIBS
14195 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 char IceConnectionNumber ();
14204 main (void)
14206 return IceConnectionNumber ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"
14212 then :
14213 ac_cv_lib_ICE_IceConnectionNumber=yes
14214 else $as_nop
14215 ac_cv_lib_ICE_IceConnectionNumber=no
14217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14218 conftest$ac_exeext conftest.$ac_ext
14219 LIBS=$ac_check_lib_save_LIBS
14221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14222 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14223 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14224 then :
14225 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14228 LDFLAGS=$ac_save_LDFLAGS
14233 if test "$have_x" = "yes"
14234 then
14235 ac_save_CPPFLAGS="$CPPFLAGS"
14236 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14239 printf %s "checking for -lX11... " >&6; }
14240 if test ${ac_cv_lib_soname_X11+y}
14241 then :
14242 printf %s "(cached) " >&6
14243 else $as_nop
14244 ac_check_soname_save_LIBS=$LIBS
14245 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14247 /* end confdefs.h. */
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14252 char XCreateWindow ();
14254 main (void)
14256 return XCreateWindow ();
14258 return 0;
14260 _ACEOF
14261 if ac_fn_c_try_link "$LINENO"
14262 then :
14263 case "$LIBEXT" in
14264 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14265 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'` ;;
14266 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14267 if ${ac_cv_lib_soname_X11:+false} :
14268 then :
14269 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14270 fi ;;
14271 esac
14272 else $as_nop
14273 ac_cv_lib_soname_X11=
14275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14276 conftest$ac_exeext conftest.$ac_ext
14277 LIBS=$ac_check_soname_save_LIBS
14279 if ${ac_cv_lib_soname_X11:+false} :
14280 then :
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14282 printf "%s\n" "not found" >&6; }
14284 else $as_nop
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14286 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14288 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14293 printf %s "checking for -lXext... " >&6; }
14294 if test ${ac_cv_lib_soname_Xext+y}
14295 then :
14296 printf %s "(cached) " >&6
14297 else $as_nop
14298 ac_check_soname_save_LIBS=$LIBS
14299 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14303 /* Override any GCC internal prototype to avoid an error.
14304 Use char because int might match the return type of a GCC
14305 builtin and then its argument prototype would still apply. */
14306 char XextCreateExtension ();
14308 main (void)
14310 return XextCreateExtension ();
14312 return 0;
14314 _ACEOF
14315 if ac_fn_c_try_link "$LINENO"
14316 then :
14317 case "$LIBEXT" in
14318 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14319 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'` ;;
14320 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14321 if ${ac_cv_lib_soname_Xext:+false} :
14322 then :
14323 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14324 fi ;;
14325 esac
14326 else $as_nop
14327 ac_cv_lib_soname_Xext=
14329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14330 conftest$ac_exeext conftest.$ac_ext
14331 LIBS=$ac_check_soname_save_LIBS
14333 if ${ac_cv_lib_soname_Xext:+false} :
14334 then :
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14336 printf "%s\n" "not found" >&6; }
14338 else $as_nop
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14340 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14342 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14344 X_LIBS="$X_LIBS -lXext"
14346 X_LIBS="$X_LIBS -lX11"
14348 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14349 # include <X11/Xlib.h>
14350 #endif
14351 #ifdef HAVE_X11_XUTIL_H
14352 # include <X11/Xutil.h>
14353 #endif
14355 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14356 then :
14357 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14360 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14362 #endif
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14365 #endif
14367 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14368 then :
14369 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14374 #endif
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14377 #endif
14379 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14380 then :
14381 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14530 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14531 then
14532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14533 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14534 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14535 then :
14536 printf %s "(cached) " >&6
14537 else $as_nop
14538 ac_check_lib_save_LIBS=$LIBS
14539 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14543 /* Override any GCC internal prototype to avoid an error.
14544 Use char because int might match the return type of a GCC
14545 builtin and then its argument prototype would still apply. */
14546 char XkbQueryExtension ();
14548 main (void)
14550 return XkbQueryExtension ();
14552 return 0;
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"
14556 then :
14557 ac_cv_lib_X11_XkbQueryExtension=yes
14558 else $as_nop
14559 ac_cv_lib_X11_XkbQueryExtension=no
14561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_check_lib_save_LIBS
14565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14566 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14567 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14568 then :
14570 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14576 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14577 then
14578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14579 printf %s "checking for -lXcursor... " >&6; }
14580 if test ${ac_cv_lib_soname_Xcursor+y}
14581 then :
14582 printf %s "(cached) " >&6
14583 else $as_nop
14584 ac_check_soname_save_LIBS=$LIBS
14585 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14592 char XcursorImageLoadCursor ();
14594 main (void)
14596 return XcursorImageLoadCursor ();
14598 return 0;
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"
14602 then :
14603 case "$LIBEXT" in
14604 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14605 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'` ;;
14606 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14607 if ${ac_cv_lib_soname_Xcursor:+false} :
14608 then :
14609 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14610 fi ;;
14611 esac
14612 else $as_nop
14613 ac_cv_lib_soname_Xcursor=
14615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LIBS=$ac_check_soname_save_LIBS
14619 if ${ac_cv_lib_soname_Xcursor:+false} :
14620 then :
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 printf "%s\n" "not found" >&6; }
14624 else $as_nop
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14626 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14628 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14633 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14634 then :
14635 case "x$with_xcursor" in
14636 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14637 xno) ;;
14638 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14639 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14640 esac
14644 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14645 then
14646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14647 printf %s "checking for -lXi... " >&6; }
14648 if test ${ac_cv_lib_soname_Xi+y}
14649 then :
14650 printf %s "(cached) " >&6
14651 else $as_nop
14652 ac_check_soname_save_LIBS=$LIBS
14653 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 char XOpenDevice ();
14662 main (void)
14664 return XOpenDevice ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"
14670 then :
14671 case "$LIBEXT" in
14672 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14673 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'` ;;
14674 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14675 if ${ac_cv_lib_soname_Xi:+false} :
14676 then :
14677 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14678 fi ;;
14679 esac
14680 else $as_nop
14681 ac_cv_lib_soname_Xi=
14683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14684 conftest$ac_exeext conftest.$ac_ext
14685 LIBS=$ac_check_soname_save_LIBS
14687 if ${ac_cv_lib_soname_Xi:+false} :
14688 then :
14689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14690 printf "%s\n" "not found" >&6; }
14692 else $as_nop
14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14694 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14696 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14701 if test "x$ac_cv_lib_soname_Xi" = "x"
14702 then :
14703 case "x$with_xinput" in
14704 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14705 xno) ;;
14706 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14707 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14708 esac
14712 if test "x$ac_cv_lib_soname_Xi" != x
14713 then
14714 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14715 then :
14716 case "x$with_xinput2" in
14717 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14718 xno) ;;
14719 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14720 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14721 esac
14726 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14727 then
14728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14729 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14730 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14731 then :
14732 printf %s "(cached) " >&6
14733 else $as_nop
14734 ac_check_lib_save_LIBS=$LIBS
14735 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 char XShmQueryExtension ();
14744 main (void)
14746 return XShmQueryExtension ();
14748 return 0;
14750 _ACEOF
14751 if ac_fn_c_try_link "$LINENO"
14752 then :
14753 ac_cv_lib_Xext_XShmQueryExtension=yes
14754 else $as_nop
14755 ac_cv_lib_Xext_XShmQueryExtension=no
14757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14758 conftest$ac_exeext conftest.$ac_ext
14759 LIBS=$ac_check_lib_save_LIBS
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14762 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14763 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14764 then :
14766 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14771 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14772 then :
14773 case "x$with_xshm" in
14774 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14775 xno) ;;
14776 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14777 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14778 esac
14782 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14783 then
14784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14785 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14786 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14787 then :
14788 printf %s "(cached) " >&6
14789 else $as_nop
14790 ac_check_lib_save_LIBS=$LIBS
14791 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14793 /* end confdefs.h. */
14795 /* Override any GCC internal prototype to avoid an error.
14796 Use char because int might match the return type of a GCC
14797 builtin and then its argument prototype would still apply. */
14798 char XShapeQueryExtension ();
14800 main (void)
14802 return XShapeQueryExtension ();
14804 return 0;
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"
14808 then :
14809 ac_cv_lib_Xext_XShapeQueryExtension=yes
14810 else $as_nop
14811 ac_cv_lib_Xext_XShapeQueryExtension=no
14813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14818 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14819 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14820 then :
14822 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14827 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14828 then :
14829 case "x$with_xshape" in
14830 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14831 xno) ;;
14832 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14833 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14834 esac
14838 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14839 then
14840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14841 printf %s "checking for -lXxf86vm... " >&6; }
14842 if test ${ac_cv_lib_soname_Xxf86vm+y}
14843 then :
14844 printf %s "(cached) " >&6
14845 else $as_nop
14846 ac_check_soname_save_LIBS=$LIBS
14847 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14851 /* Override any GCC internal prototype to avoid an error.
14852 Use char because int might match the return type of a GCC
14853 builtin and then its argument prototype would still apply. */
14854 char XF86VidModeQueryExtension ();
14856 main (void)
14858 return XF86VidModeQueryExtension ();
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"
14864 then :
14865 case "$LIBEXT" in
14866 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14867 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'` ;;
14868 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14869 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14870 then :
14871 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14872 fi ;;
14873 esac
14874 else $as_nop
14875 ac_cv_lib_soname_Xxf86vm=
14877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14878 conftest$ac_exeext conftest.$ac_ext
14879 LIBS=$ac_check_soname_save_LIBS
14881 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14882 then :
14883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14884 printf "%s\n" "not found" >&6; }
14886 else $as_nop
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14888 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14890 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14895 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14896 then :
14897 case "x$with_xxf86vm" in
14898 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14899 xno) ;;
14900 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14901 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14902 esac
14906 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14907 then
14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14909 printf %s "checking for -lXrender... " >&6; }
14910 if test ${ac_cv_lib_soname_Xrender+y}
14911 then :
14912 printf %s "(cached) " >&6
14913 else $as_nop
14914 ac_check_soname_save_LIBS=$LIBS
14915 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14917 /* end confdefs.h. */
14919 /* Override any GCC internal prototype to avoid an error.
14920 Use char because int might match the return type of a GCC
14921 builtin and then its argument prototype would still apply. */
14922 char XRenderQueryExtension ();
14924 main (void)
14926 return XRenderQueryExtension ();
14928 return 0;
14930 _ACEOF
14931 if ac_fn_c_try_link "$LINENO"
14932 then :
14933 case "$LIBEXT" in
14934 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14935 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'` ;;
14936 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14937 if ${ac_cv_lib_soname_Xrender:+false} :
14938 then :
14939 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14940 fi ;;
14941 esac
14942 else $as_nop
14943 ac_cv_lib_soname_Xrender=
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14946 conftest$ac_exeext conftest.$ac_ext
14947 LIBS=$ac_check_soname_save_LIBS
14949 if ${ac_cv_lib_soname_Xrender:+false} :
14950 then :
14951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14952 printf "%s\n" "not found" >&6; }
14954 else $as_nop
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14956 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14958 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14961 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14962 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14963 then :
14964 printf %s "(cached) " >&6
14965 else $as_nop
14966 ac_check_lib_save_LIBS=$LIBS
14967 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14971 /* Override any GCC internal prototype to avoid an error.
14972 Use char because int might match the return type of a GCC
14973 builtin and then its argument prototype would still apply. */
14974 char XRenderSetPictureTransform ();
14976 main (void)
14978 return XRenderSetPictureTransform ();
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"
14984 then :
14985 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14986 else $as_nop
14987 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14990 conftest$ac_exeext conftest.$ac_ext
14991 LIBS=$ac_check_lib_save_LIBS
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14994 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14995 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14996 then :
14998 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15003 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15004 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15005 then :
15006 printf %s "(cached) " >&6
15007 else $as_nop
15008 ac_check_lib_save_LIBS=$LIBS
15009 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15011 /* end confdefs.h. */
15013 /* Override any GCC internal prototype to avoid an error.
15014 Use char because int might match the return type of a GCC
15015 builtin and then its argument prototype would still apply. */
15016 char XRenderCreateLinearGradient ();
15018 main (void)
15020 return XRenderCreateLinearGradient ();
15022 return 0;
15024 _ACEOF
15025 if ac_fn_c_try_link "$LINENO"
15026 then :
15027 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15028 else $as_nop
15029 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15032 conftest$ac_exeext conftest.$ac_ext
15033 LIBS=$ac_check_lib_save_LIBS
15035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15036 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15037 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15038 then :
15040 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15047 if test "x$ac_cv_lib_soname_Xrender" = "x"
15048 then :
15049 case "x$with_xrender" in
15050 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15051 xno) ;;
15052 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15053 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15054 esac
15058 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15059 then
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15061 /* end confdefs.h. */
15062 #include <X11/Xlib.h>
15063 #include <X11/extensions/Xrandr.h>
15065 main (void)
15067 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_compile "$LINENO"
15073 then :
15074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15075 printf %s "checking for -lXrandr... " >&6; }
15076 if test ${ac_cv_lib_soname_Xrandr+y}
15077 then :
15078 printf %s "(cached) " >&6
15079 else $as_nop
15080 ac_check_soname_save_LIBS=$LIBS
15081 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 char XRRQueryExtension ();
15090 main (void)
15092 return XRRQueryExtension ();
15094 return 0;
15096 _ACEOF
15097 if ac_fn_c_try_link "$LINENO"
15098 then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15103 if ${ac_cv_lib_soname_Xrandr:+false} :
15104 then :
15105 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15106 fi ;;
15107 esac
15108 else $as_nop
15109 ac_cv_lib_soname_Xrandr=
15111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15112 conftest$ac_exeext conftest.$ac_ext
15113 LIBS=$ac_check_soname_save_LIBS
15115 if ${ac_cv_lib_soname_Xrandr:+false} :
15116 then :
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15118 printf "%s\n" "not found" >&6; }
15120 else $as_nop
15121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15122 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15124 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 #include <X11/Xlib.h>
15129 #include <X11/extensions/Xrandr.h>
15131 main (void)
15133 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15135 return 0;
15137 _ACEOF
15138 if ac_fn_c_try_compile "$LINENO"
15139 then :
15141 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15143 else $as_nop
15144 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15151 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15152 then :
15153 case "x$with_xrandr" in
15154 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15155 xno) ;;
15156 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15157 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15158 esac
15162 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15163 then
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 #include <X11/Xlib.h>
15167 #include <X11/extensions/Xfixes.h>
15169 main (void)
15171 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15173 return 0;
15175 _ACEOF
15176 if ac_fn_c_try_compile "$LINENO"
15177 then :
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15179 printf %s "checking for -lXfixes... " >&6; }
15180 if test ${ac_cv_lib_soname_Xfixes+y}
15181 then :
15182 printf %s "(cached) " >&6
15183 else $as_nop
15184 ac_check_soname_save_LIBS=$LIBS
15185 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15189 /* Override any GCC internal prototype to avoid an error.
15190 Use char because int might match the return type of a GCC
15191 builtin and then its argument prototype would still apply. */
15192 char XFixesQueryVersion ();
15194 main (void)
15196 return XFixesQueryVersion ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"
15202 then :
15203 case "$LIBEXT" in
15204 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15205 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'` ;;
15206 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15207 if ${ac_cv_lib_soname_Xfixes:+false} :
15208 then :
15209 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15212 else $as_nop
15213 ac_cv_lib_soname_Xfixes=
15215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_soname_save_LIBS
15219 if ${ac_cv_lib_soname_Xfixes:+false} :
15220 then :
15221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15222 printf "%s\n" "not found" >&6; }
15224 else $as_nop
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15226 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15228 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15235 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15236 then :
15237 case "x$with_xfixes" in
15238 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15239 xno) ;;
15240 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15241 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15242 esac
15246 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15247 then
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 #include <X11/Xlib.h>
15251 #include <X11/extensions/Xinerama.h>
15253 main (void)
15255 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15257 return 0;
15259 _ACEOF
15260 if ac_fn_c_try_compile "$LINENO"
15261 then :
15262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15263 printf %s "checking for -lXinerama... " >&6; }
15264 if test ${ac_cv_lib_soname_Xinerama+y}
15265 then :
15266 printf %s "(cached) " >&6
15267 else $as_nop
15268 ac_check_soname_save_LIBS=$LIBS
15269 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 char XineramaQueryScreens ();
15278 main (void)
15280 return XineramaQueryScreens ();
15282 return 0;
15284 _ACEOF
15285 if ac_fn_c_try_link "$LINENO"
15286 then :
15287 case "$LIBEXT" in
15288 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15289 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'` ;;
15290 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15291 if ${ac_cv_lib_soname_Xinerama:+false} :
15292 then :
15293 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15294 fi ;;
15295 esac
15296 else $as_nop
15297 ac_cv_lib_soname_Xinerama=
15299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15300 conftest$ac_exeext conftest.$ac_ext
15301 LIBS=$ac_check_soname_save_LIBS
15303 if ${ac_cv_lib_soname_Xinerama:+false} :
15304 then :
15305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15306 printf "%s\n" "not found" >&6; }
15308 else $as_nop
15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15310 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15312 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15317 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15319 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15320 then :
15321 case "x$with_xinerama" in
15322 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15323 xno) ;;
15324 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15325 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15326 esac
15330 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15331 then
15332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15333 printf %s "checking for -lXcomposite... " >&6; }
15334 if test ${ac_cv_lib_soname_Xcomposite+y}
15335 then :
15336 printf %s "(cached) " >&6
15337 else $as_nop
15338 ac_check_soname_save_LIBS=$LIBS
15339 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15343 /* Override any GCC internal prototype to avoid an error.
15344 Use char because int might match the return type of a GCC
15345 builtin and then its argument prototype would still apply. */
15346 char XCompositeRedirectWindow ();
15348 main (void)
15350 return XCompositeRedirectWindow ();
15352 return 0;
15354 _ACEOF
15355 if ac_fn_c_try_link "$LINENO"
15356 then :
15357 case "$LIBEXT" in
15358 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15359 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'` ;;
15360 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15361 if ${ac_cv_lib_soname_Xcomposite:+false} :
15362 then :
15363 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15364 fi ;;
15365 esac
15366 else $as_nop
15367 ac_cv_lib_soname_Xcomposite=
15369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15370 conftest$ac_exeext conftest.$ac_ext
15371 LIBS=$ac_check_soname_save_LIBS
15373 if ${ac_cv_lib_soname_Xcomposite:+false} :
15374 then :
15375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15376 printf "%s\n" "not found" >&6; }
15378 else $as_nop
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15380 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15382 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15387 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15388 then :
15389 case "x$with_xcomposite" in
15390 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15391 xno) ;;
15392 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15393 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15394 esac
15398 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15399 #include <X11/Xlib.h>
15400 #endif
15402 if test "x$ac_cv_member_XICCallback_callback" = xyes
15403 then :
15405 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15409 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15410 #include <X11/Xlib.h>
15411 #endif
15413 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15414 then :
15416 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15423 opengl_msg=""
15424 if test "x$with_opengl" != "xno"
15425 then
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15427 printf %s "checking for -lGL... " >&6; }
15428 if test ${ac_cv_lib_soname_GL+y}
15429 then :
15430 printf %s "(cached) " >&6
15431 else $as_nop
15432 ac_check_soname_save_LIBS=$LIBS
15433 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15437 /* Override any GCC internal prototype to avoid an error.
15438 Use char because int might match the return type of a GCC
15439 builtin and then its argument prototype would still apply. */
15440 char glXCreateContext ();
15442 main (void)
15444 return glXCreateContext ();
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"
15450 then :
15451 case "$LIBEXT" in
15452 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15453 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'` ;;
15454 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15455 if ${ac_cv_lib_soname_GL:+false} :
15456 then :
15457 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15458 fi ;;
15459 esac
15460 else $as_nop
15461 ac_cv_lib_soname_GL=
15463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_soname_save_LIBS
15467 if ${ac_cv_lib_soname_GL:+false} :
15468 then :
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15470 printf "%s\n" "not found" >&6; }
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15472 printf %s "checking for -lGL... " >&6; }
15473 if test ${ac_cv_lib_soname_GL+y}
15474 then :
15475 printf %s "(cached) " >&6
15476 else $as_nop
15477 ac_check_soname_save_LIBS=$LIBS
15478 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"
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15480 /* end confdefs.h. */
15482 /* Override any GCC internal prototype to avoid an error.
15483 Use char because int might match the return type of a GCC
15484 builtin and then its argument prototype would still apply. */
15485 char glXCreateContext ();
15487 main (void)
15489 return glXCreateContext ();
15491 return 0;
15493 _ACEOF
15494 if ac_fn_c_try_link "$LINENO"
15495 then :
15496 case "$LIBEXT" in
15497 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15498 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'` ;;
15499 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15500 if ${ac_cv_lib_soname_GL:+false} :
15501 then :
15502 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15503 fi ;;
15504 esac
15505 else $as_nop
15506 ac_cv_lib_soname_GL=
15508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15509 conftest$ac_exeext conftest.$ac_ext
15510 LIBS=$ac_check_soname_save_LIBS
15512 if ${ac_cv_lib_soname_GL:+false} :
15513 then :
15514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15515 printf "%s\n" "not found" >&6; }
15516 if test -f /usr/X11R6/lib/libGL.a
15517 then
15518 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15519 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15520 else
15521 opengl_msg="No OpenGL library found on this system."
15523 else $as_nop
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15525 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15527 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15529 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"
15531 else $as_nop
15532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15533 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15535 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15537 OPENGL_LIBS="-lGL"
15539 if test "x$with_osmesa" != "xno"
15540 then
15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15542 printf %s "checking for -lOSMesa... " >&6; }
15543 if test ${ac_cv_lib_soname_OSMesa+y}
15544 then :
15545 printf %s "(cached) " >&6
15546 else $as_nop
15547 ac_check_soname_save_LIBS=$LIBS
15548 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 char OSMesaGetProcAddress ();
15557 main (void)
15559 return OSMesaGetProcAddress ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"
15565 then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_OSMesa:+false} :
15571 then :
15572 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 fi ;;
15574 esac
15575 else $as_nop
15576 ac_cv_lib_soname_OSMesa=
15578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_OSMesa:+false} :
15583 then :
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15585 printf "%s\n" "not found" >&6; }
15587 else $as_nop
15588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15589 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15591 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15595 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15596 then :
15597 case "x$with_osmesa" in
15598 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15599 xno) ;;
15600 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15601 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15602 esac
15607 if test -n "$opengl_msg"
15608 then :
15609 case "x$with_opengl" in
15610 x) as_fn_append wine_warnings "|$opengl_msg
15611 OpenGL and Direct3D won't be supported." ;;
15612 xno) ;;
15613 *) as_fn_error $? "$opengl_msg
15614 OpenGL and Direct3D won't be supported.
15615 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15616 esac
15620 CPPFLAGS="$ac_save_CPPFLAGS"
15621 else
15622 X_CFLAGS=""
15623 X_LIBS=""
15626 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15627 then
15628 if test "x$X_LIBS" = "x"
15629 then :
15630 case "x$with_x" in
15631 xno) ;;
15632 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15633 without X support, which probably isn't what you want. You will need
15634 to install ${notice_platform}development packages of Xlib at the very least.
15635 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15636 esac
15637 enable_winex11_drv=${enable_winex11_drv:-no}
15639 else
15640 if test "x$X_LIBS" = "x"
15641 then :
15642 case "x$with_x" in
15643 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15644 xno) ;;
15645 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15646 This is an error since --with-x was requested." "$LINENO" 5 ;;
15647 esac
15648 enable_winex11_drv=${enable_winex11_drv:-no}
15652 if test "$ac_cv_header_CL_cl_h" = "yes"
15653 then
15654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15655 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15656 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15657 then :
15658 printf %s "(cached) " >&6
15659 else $as_nop
15660 ac_check_lib_save_LIBS=$LIBS
15661 LIBS="-lOpenCL $LIBS"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15665 /* Override any GCC internal prototype to avoid an error.
15666 Use char because int might match the return type of a GCC
15667 builtin and then its argument prototype would still apply. */
15668 char clGetPlatformInfo ();
15670 main (void)
15672 return clGetPlatformInfo ();
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_link "$LINENO"
15678 then :
15679 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15680 else $as_nop
15681 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15684 conftest$ac_exeext conftest.$ac_ext
15685 LIBS=$ac_check_lib_save_LIBS
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15688 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15689 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15690 then :
15691 OPENCL_LIBS="-lOpenCL"
15696 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15697 then :
15698 case "x$with_opencl" in
15699 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15700 xno) ;;
15701 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15702 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15703 esac
15704 enable_opencl=${enable_opencl:-no}
15707 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15708 then
15709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15710 printf %s "checking for pcap_create in -lpcap... " >&6; }
15711 if test ${ac_cv_lib_pcap_pcap_create+y}
15712 then :
15713 printf %s "(cached) " >&6
15714 else $as_nop
15715 ac_check_lib_save_LIBS=$LIBS
15716 LIBS="-lpcap $LIBS"
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15720 /* Override any GCC internal prototype to avoid an error.
15721 Use char because int might match the return type of a GCC
15722 builtin and then its argument prototype would still apply. */
15723 char pcap_create ();
15725 main (void)
15727 return pcap_create ();
15729 return 0;
15731 _ACEOF
15732 if ac_fn_c_try_link "$LINENO"
15733 then :
15734 ac_cv_lib_pcap_pcap_create=yes
15735 else $as_nop
15736 ac_cv_lib_pcap_pcap_create=no
15738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15739 conftest$ac_exeext conftest.$ac_ext
15740 LIBS=$ac_check_lib_save_LIBS
15742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15743 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15744 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15745 then :
15746 PCAP_LIBS="-lpcap"
15751 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15752 then :
15753 case "x$with_pcap" in
15754 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15755 xno) ;;
15756 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15757 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15758 esac
15759 enable_wpcap=${enable_wpcap:-no}
15762 if test "x$with_inotify" != "xno"
15763 then
15764 if ${INOTIFY_CFLAGS:+false} :
15765 then :
15766 if test ${PKG_CONFIG+y}
15767 then :
15768 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15772 if ${INOTIFY_LIBS:+false} :
15773 then :
15774 if test ${PKG_CONFIG+y}
15775 then :
15776 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15783 ac_save_CPPFLAGS=$CPPFLAGS
15784 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15785 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15786 if test "x$ac_cv_header_sys_inotify_h" = xyes
15787 then :
15788 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15793 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15794 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15795 then :
15796 printf %s "(cached) " >&6
15797 else $as_nop
15798 ac_check_lib_save_LIBS=$LIBS
15799 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 char inotify_add_watch ();
15808 main (void)
15810 return inotify_add_watch ();
15812 return 0;
15814 _ACEOF
15815 if ac_fn_c_try_link "$LINENO"
15816 then :
15817 ac_cv_lib_inotify_inotify_add_watch=yes
15818 else $as_nop
15819 ac_cv_lib_inotify_inotify_add_watch=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15822 conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_lib_save_LIBS
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15826 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15827 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15828 then :
15830 else $as_nop
15831 INOTIFY_LIBS=""
15834 CPPFLAGS=$ac_save_CPPFLAGS
15837 if test "$ac_cv_header_sys_inotify_h" != "yes"
15838 then :
15839 case "x$with_inotify" in
15840 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15843 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15844 esac
15848 if test "x$with_dbus" != "xno"
15849 then
15850 if ${DBUS_CFLAGS:+false} :
15851 then :
15852 if test ${PKG_CONFIG+y}
15853 then :
15854 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15858 if ${DBUS_LIBS:+false} :
15859 then :
15860 if test ${PKG_CONFIG+y}
15861 then :
15862 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15869 ac_save_CPPFLAGS=$CPPFLAGS
15870 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15871 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15872 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15873 then :
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15875 printf %s "checking for -ldbus-1... " >&6; }
15876 if test ${ac_cv_lib_soname_dbus_1+y}
15877 then :
15878 printf %s "(cached) " >&6
15879 else $as_nop
15880 ac_check_soname_save_LIBS=$LIBS
15881 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15885 /* Override any GCC internal prototype to avoid an error.
15886 Use char because int might match the return type of a GCC
15887 builtin and then its argument prototype would still apply. */
15888 char dbus_connection_close ();
15890 main (void)
15892 return dbus_connection_close ();
15894 return 0;
15896 _ACEOF
15897 if ac_fn_c_try_link "$LINENO"
15898 then :
15899 case "$LIBEXT" in
15900 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15901 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'` ;;
15902 *) 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'`
15903 if ${ac_cv_lib_soname_dbus_1:+false} :
15904 then :
15905 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15906 fi ;;
15907 esac
15908 else $as_nop
15909 ac_cv_lib_soname_dbus_1=
15911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15912 conftest$ac_exeext conftest.$ac_ext
15913 LIBS=$ac_check_soname_save_LIBS
15915 if ${ac_cv_lib_soname_dbus_1:+false} :
15916 then :
15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15918 printf "%s\n" "not found" >&6; }
15919 DBUS_CFLAGS=""
15920 else $as_nop
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15922 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15924 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15928 else $as_nop
15929 DBUS_CFLAGS=""
15932 CPPFLAGS=$ac_save_CPPFLAGS
15935 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15936 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15937 then :
15938 case "x$with_dbus" in
15939 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15940 xno) ;;
15941 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15942 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15943 esac
15947 if test "x$with_gnutls" != "xno"
15948 then
15949 if ${GNUTLS_CFLAGS:+false} :
15950 then :
15951 if test ${PKG_CONFIG+y}
15952 then :
15953 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15957 if ${GNUTLS_LIBS:+false} :
15958 then :
15959 if test ${PKG_CONFIG+y}
15960 then :
15961 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15965 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15968 ac_save_CPPFLAGS=$CPPFLAGS
15969 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15970 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15971 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15972 then :
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h. */
15975 #include <gnutls/gnutls.h>
15976 #include <gnutls/crypto.h>
15978 main (void)
15980 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_compile "$LINENO"
15986 then :
15987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15988 printf %s "checking for -lgnutls... " >&6; }
15989 if test ${ac_cv_lib_soname_gnutls+y}
15990 then :
15991 printf %s "(cached) " >&6
15992 else $as_nop
15993 ac_check_soname_save_LIBS=$LIBS
15994 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 char gnutls_global_init ();
16003 main (void)
16005 return gnutls_global_init ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"
16011 then :
16012 case "$LIBEXT" in
16013 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16014 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'` ;;
16015 *) 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'`
16016 if ${ac_cv_lib_soname_gnutls:+false} :
16017 then :
16018 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'`
16019 fi ;;
16020 esac
16021 else $as_nop
16022 ac_cv_lib_soname_gnutls=
16024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16025 conftest$ac_exeext conftest.$ac_ext
16026 LIBS=$ac_check_soname_save_LIBS
16028 if ${ac_cv_lib_soname_gnutls:+false} :
16029 then :
16030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16031 printf "%s\n" "not found" >&6; }
16032 GNUTLS_CFLAGS=""
16033 else $as_nop
16034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16035 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16037 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16041 ac_wine_check_funcs_save_LIBS="$LIBS"
16042 LIBS="$LIBS $GNUTLS_LIBS"
16044 for ac_func in gnutls_cipher_init
16045 do :
16046 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16047 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16048 then :
16049 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16051 else $as_nop
16052 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16055 done
16056 LIBS="$ac_wine_check_funcs_save_LIBS"
16058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16059 else $as_nop
16060 GNUTLS_CFLAGS=""
16063 CPPFLAGS=$ac_save_CPPFLAGS
16066 if test "x$ac_cv_lib_soname_gnutls" = "x"
16067 then :
16068 case "x$with_gnutls" in
16069 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16070 xno) ;;
16071 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16072 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16073 esac
16077 if test "x$with_sane" != "xno"
16078 then
16079 if ${SANE_CFLAGS:+false} :
16080 then :
16081 if test ${PKG_CONFIG+y}
16082 then :
16083 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16086 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16087 if ${SANE_LIBS:+false} :
16088 then :
16089 if test ${PKG_CONFIG+y}
16090 then :
16091 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16094 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16098 ac_save_CPPFLAGS=$CPPFLAGS
16099 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16100 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16101 if test "x$ac_cv_header_sane_sane_h" = xyes
16102 then :
16103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16104 printf %s "checking for sane_init in -lsane... " >&6; }
16105 if test ${ac_cv_lib_sane_sane_init+y}
16106 then :
16107 printf %s "(cached) " >&6
16108 else $as_nop
16109 ac_check_lib_save_LIBS=$LIBS
16110 LIBS="-lsane $SANE_LIBS $LIBS"
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 char sane_init ();
16119 main (void)
16121 return sane_init ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"
16127 then :
16128 ac_cv_lib_sane_sane_init=yes
16129 else $as_nop
16130 ac_cv_lib_sane_sane_init=no
16132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16133 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_lib_save_LIBS
16136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16137 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16138 if test "x$ac_cv_lib_sane_sane_init" = xyes
16139 then :
16145 CPPFLAGS=$ac_save_CPPFLAGS
16148 if test "$ac_cv_lib_sane_sane_init" != "yes"
16149 then :
16150 case "x$with_sane" in
16151 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16152 xno) ;;
16153 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16154 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16155 esac
16156 enable_sane_ds=${enable_sane_ds:-no}
16159 if test "x$with_usb" != "xno"
16160 then
16161 if ${USB_CFLAGS:+false} :
16162 then :
16163 if test ${PKG_CONFIG+y}
16164 then :
16165 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16169 if ${USB_LIBS:+false} :
16170 then :
16171 if test ${PKG_CONFIG+y}
16172 then :
16173 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16177 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16180 ac_save_CPPFLAGS=$CPPFLAGS
16181 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16182 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16183 if test "x$ac_cv_header_libusb_h" = xyes
16184 then :
16185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16186 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16187 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16188 then :
16189 printf %s "(cached) " >&6
16190 else $as_nop
16191 ac_check_lib_save_LIBS=$LIBS
16192 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16196 /* Override any GCC internal prototype to avoid an error.
16197 Use char because int might match the return type of a GCC
16198 builtin and then its argument prototype would still apply. */
16199 char libusb_interrupt_event_handler ();
16201 main (void)
16203 return libusb_interrupt_event_handler ();
16205 return 0;
16207 _ACEOF
16208 if ac_fn_c_try_link "$LINENO"
16209 then :
16210 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16211 else $as_nop
16212 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16215 conftest$ac_exeext conftest.$ac_ext
16216 LIBS=$ac_check_lib_save_LIBS
16218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16219 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16220 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16221 then :
16223 else $as_nop
16224 USB_LIBS=""
16227 else $as_nop
16228 USB_LIBS=""
16231 CPPFLAGS=$ac_save_CPPFLAGS
16234 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16235 then :
16236 case "x$with_usb" in
16237 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16238 xno) ;;
16239 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16240 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16241 esac
16242 enable_wineusb_sys=${enable_wineusb_sys:-no}
16245 if test "x$with_v4l2" != "xno"
16246 then
16247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16248 printf %s "checking for -lv4l2... " >&6; }
16249 if test ${ac_cv_lib_soname_v4l2+y}
16250 then :
16251 printf %s "(cached) " >&6
16252 else $as_nop
16253 ac_check_soname_save_LIBS=$LIBS
16254 LIBS="-lv4l2 $LIBS"
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16258 /* Override any GCC internal prototype to avoid an error.
16259 Use char because int might match the return type of a GCC
16260 builtin and then its argument prototype would still apply. */
16261 char v4l2_open ();
16263 main (void)
16265 return v4l2_open ();
16267 return 0;
16269 _ACEOF
16270 if ac_fn_c_try_link "$LINENO"
16271 then :
16272 case "$LIBEXT" in
16273 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16274 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'` ;;
16275 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16276 if ${ac_cv_lib_soname_v4l2:+false} :
16277 then :
16278 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16279 fi ;;
16280 esac
16281 else $as_nop
16282 ac_cv_lib_soname_v4l2=
16284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16285 conftest$ac_exeext conftest.$ac_ext
16286 LIBS=$ac_check_soname_save_LIBS
16288 if ${ac_cv_lib_soname_v4l2:+false} :
16289 then :
16290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16291 printf "%s\n" "not found" >&6; }
16293 else $as_nop
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16295 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16297 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16302 if test "x$ac_cv_lib_soname_v4l2" = "x"
16303 then :
16304 case "x$with_v4l2" in
16305 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16306 xno) ;;
16307 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16308 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16309 esac
16313 if test "x$with_gphoto" != "xno"
16314 then
16315 if ${GPHOTO2_CFLAGS:+false} :
16316 then :
16317 if test ${PKG_CONFIG+y}
16318 then :
16319 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16322 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16323 if ${GPHOTO2_LIBS:+false} :
16324 then :
16325 if test ${PKG_CONFIG+y}
16326 then :
16327 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16330 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16331 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16334 ac_save_CPPFLAGS=$CPPFLAGS
16335 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16336 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16337 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16338 then :
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16340 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16341 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16342 then :
16343 printf %s "(cached) " >&6
16344 else $as_nop
16345 ac_check_lib_save_LIBS=$LIBS
16346 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16353 char gp_camera_new ();
16355 main (void)
16357 return gp_camera_new ();
16359 return 0;
16361 _ACEOF
16362 if ac_fn_c_try_link "$LINENO"
16363 then :
16364 ac_cv_lib_gphoto2_gp_camera_new=yes
16365 else $as_nop
16366 ac_cv_lib_gphoto2_gp_camera_new=no
16368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16369 conftest$ac_exeext conftest.$ac_ext
16370 LIBS=$ac_check_lib_save_LIBS
16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16373 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16374 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16375 then :
16381 CPPFLAGS=$ac_save_CPPFLAGS
16383 if ${GPHOTO2_PORT_CFLAGS:+false} :
16384 then :
16385 if test ${PKG_CONFIG+y}
16386 then :
16387 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16390 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16391 if ${GPHOTO2_PORT_LIBS:+false} :
16392 then :
16393 if test ${PKG_CONFIG+y}
16394 then :
16395 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16398 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16399 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16400 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16402 ac_save_CPPFLAGS=$CPPFLAGS
16403 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16404 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16405 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16406 then :
16407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16408 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16409 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16410 then :
16411 printf %s "(cached) " >&6
16412 else $as_nop
16413 ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16416 /* end confdefs.h. */
16418 /* Override any GCC internal prototype to avoid an error.
16419 Use char because int might match the return type of a GCC
16420 builtin and then its argument prototype would still apply. */
16421 char gp_port_info_list_new ();
16423 main (void)
16425 return gp_port_info_list_new ();
16427 return 0;
16429 _ACEOF
16430 if ac_fn_c_try_link "$LINENO"
16431 then :
16432 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16433 else $as_nop
16434 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16437 conftest$ac_exeext conftest.$ac_ext
16438 LIBS=$ac_check_lib_save_LIBS
16440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16441 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16442 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16443 then :
16445 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16447 else $as_nop
16448 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16451 else $as_nop
16452 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16455 CPPFLAGS=$ac_save_CPPFLAGS
16458 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16459 then :
16460 case "x$with_gphoto" in
16461 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16462 xno) ;;
16463 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16464 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16465 esac
16466 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16468 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16469 then :
16470 case "x$with_gphoto" in
16471 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16472 xno) ;;
16473 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16474 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16475 esac
16480 if test "$ac_cv_header_resolv_h" = "yes"
16481 then
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16483 printf %s "checking for resolver library... " >&6; }
16484 if test ${ac_cv_have_resolv+y}
16485 then :
16486 printf %s "(cached) " >&6
16487 else $as_nop
16488 ac_save_LIBS="$LIBS"
16489 for lib in '' -lresolv
16491 LIBS="$lib $ac_save_LIBS"
16492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16493 /* end confdefs.h. */
16494 #ifdef HAVE_NETINET_IN_H
16495 #include <netinet/in.h>
16496 #endif
16497 #include <resolv.h>
16499 main (void)
16501 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16503 return 0;
16505 _ACEOF
16506 if ac_fn_c_try_link "$LINENO"
16507 then :
16508 ac_cv_have_resolv=${lib:-"none required"}
16509 else $as_nop
16510 ac_cv_have_resolv="not found"
16512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16513 conftest$ac_exeext conftest.$ac_ext
16514 test "x$ac_cv_have_resolv" = "xnot found" || break
16515 done
16516 LIBS="$ac_save_LIBS"
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16519 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16521 case "$ac_cv_have_resolv" in
16522 "not found") ;;
16523 "none required")
16525 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16528 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16530 RESOLV_LIBS=$ac_cv_have_resolv
16532 esac
16534 if test "x$ac_cv_have_resolv" != "xnot found"
16535 then
16536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16537 printf %s "checking for res_getservers... " >&6; }
16538 if test ${ac_cv_have_res_getservers+y}
16539 then :
16540 printf %s "(cached) " >&6
16541 else $as_nop
16542 ac_save_LIBS="$LIBS"
16543 LIBS="$RESOLV_LIBS $LIBS"
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16546 #include <resolv.h>
16548 main (void)
16550 res_getservers(NULL, NULL, 0);
16552 return 0;
16554 _ACEOF
16555 if ac_fn_c_try_link "$LINENO"
16556 then :
16557 ac_cv_have_res_getservers=yes
16558 else $as_nop
16559 ac_cv_have_res_getservers=no
16561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16562 conftest$ac_exeext conftest.$ac_ext
16563 LIBS="$ac_save_LIBS"
16565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16566 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16567 if test "$ac_cv_have_res_getservers" = "yes"
16568 then
16570 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16576 if test "x$with_freetype" != "xno"
16577 then
16578 if ${FREETYPE_CFLAGS:+false} :
16579 then :
16580 if test ${PKG_CONFIG+y}
16581 then :
16582 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16585 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16586 if ${FREETYPE_LIBS:+false} :
16587 then :
16588 if test ${PKG_CONFIG+y}
16589 then :
16590 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16593 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16594 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16597 ac_save_CPPFLAGS=$CPPFLAGS
16598 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16599 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16600 if test "x$ac_cv_header_ft2build_h" = xyes
16601 then :
16602 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16606 if test "$ac_cv_header_ft2build_h" = "yes"
16607 then
16608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16609 printf %s "checking for -lfreetype... " >&6; }
16610 if test ${ac_cv_lib_soname_freetype+y}
16611 then :
16612 printf %s "(cached) " >&6
16613 else $as_nop
16614 ac_check_soname_save_LIBS=$LIBS
16615 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16617 /* end confdefs.h. */
16619 /* Override any GCC internal prototype to avoid an error.
16620 Use char because int might match the return type of a GCC
16621 builtin and then its argument prototype would still apply. */
16622 char FT_Init_FreeType ();
16624 main (void)
16626 return FT_Init_FreeType ();
16628 return 0;
16630 _ACEOF
16631 if ac_fn_c_try_link "$LINENO"
16632 then :
16633 case "$LIBEXT" in
16634 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16635 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'` ;;
16636 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16637 if ${ac_cv_lib_soname_freetype:+false} :
16638 then :
16639 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16640 fi ;;
16641 esac
16642 else $as_nop
16643 ac_cv_lib_soname_freetype=
16645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16646 conftest$ac_exeext conftest.$ac_ext
16647 LIBS=$ac_check_soname_save_LIBS
16649 if ${ac_cv_lib_soname_freetype:+false} :
16650 then :
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16652 printf "%s\n" "not found" >&6; }
16653 FREETYPE_LIBS=""
16654 else $as_nop
16655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16656 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16658 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16661 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16663 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16664 #include FT_MODULE_H
16666 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16667 then :
16669 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16675 else
16676 FREETYPE_CFLAGS=""
16677 FREETYPE_LIBS=""
16679 CPPFLAGS=$ac_save_CPPFLAGS
16682 if test "x$ac_cv_lib_soname_freetype" = x
16683 then :
16684 case "x$with_freetype" in
16685 xno) ;;
16686 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16687 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16688 esac
16689 enable_fonts=${enable_fonts:-no}
16692 ac_wine_check_funcs_save_LIBS="$LIBS"
16693 LIBS="$LIBS $PTHREAD_LIBS"
16694 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16695 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16696 then :
16697 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16701 LIBS="$ac_wine_check_funcs_save_LIBS"
16703 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16704 then
16705 if test "$ac_cv_header_gettext_po_h" = "yes"
16706 then
16707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16708 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16709 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16710 then :
16711 printf %s "(cached) " >&6
16712 else $as_nop
16713 ac_check_lib_save_LIBS=$LIBS
16714 LIBS="-lgettextpo $LIBS"
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16718 /* Override any GCC internal prototype to avoid an error.
16719 Use char because int might match the return type of a GCC
16720 builtin and then its argument prototype would still apply. */
16721 char po_message_msgctxt ();
16723 main (void)
16725 return po_message_msgctxt ();
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"
16731 then :
16732 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16733 else $as_nop
16734 ac_cv_lib_gettextpo_po_message_msgctxt=no
16736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16737 conftest$ac_exeext conftest.$ac_ext
16738 LIBS=$ac_check_lib_save_LIBS
16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16741 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16742 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16743 then :
16745 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16747 GETTEXTPO_LIBS="-lgettextpo"
16752 if test "x$GETTEXTPO_LIBS" = "x"
16753 then :
16754 case "x$with_gettextpo" in
16755 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16756 xno) ;;
16757 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16758 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16759 esac
16762 if test "$srcdir" != .
16763 then :
16764 case "x$with_gettextpo" in
16765 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16766 xno) ;;
16767 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16768 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16769 esac
16774 if test "x$with_pulse" != "xno";
16775 then
16776 if ${PULSE_CFLAGS:+false} :
16777 then :
16778 if test ${PKG_CONFIG+y}
16779 then :
16780 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16784 if ${PULSE_LIBS:+false} :
16785 then :
16786 if test ${PKG_CONFIG+y}
16787 then :
16788 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16795 ac_save_CPPFLAGS=$CPPFLAGS
16796 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16797 for ac_header in pulse/pulseaudio.h
16798 do :
16799 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16800 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16801 then :
16802 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16804 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16805 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16806 then :
16807 printf %s "(cached) " >&6
16808 else $as_nop
16809 ac_check_lib_save_LIBS=$LIBS
16810 LIBS="-lpulse $PULSE_LIBS $LIBS"
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16814 /* Override any GCC internal prototype to avoid an error.
16815 Use char because int might match the return type of a GCC
16816 builtin and then its argument prototype would still apply. */
16817 char pa_stream_is_corked ();
16819 main (void)
16821 return pa_stream_is_corked ();
16823 return 0;
16825 _ACEOF
16826 if ac_fn_c_try_link "$LINENO"
16827 then :
16828 ac_cv_lib_pulse_pa_stream_is_corked=yes
16829 else $as_nop
16830 ac_cv_lib_pulse_pa_stream_is_corked=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16833 conftest$ac_exeext conftest.$ac_ext
16834 LIBS=$ac_check_lib_save_LIBS
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16837 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16838 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16839 then :
16841 else $as_nop
16842 PULSE_LIBS=""
16845 else $as_nop
16846 PULSE_LIBS=""
16849 done
16850 CPPFLAGS=$ac_save_CPPFLAGS
16853 if test -z "$PULSE_LIBS"
16854 then :
16855 case "x$with_pulse" in
16856 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16857 xno) ;;
16858 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16859 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16860 esac
16861 enable_winepulse_drv=${enable_winepulse_drv:-no}
16864 if test "x$with_gstreamer" != "xno"
16865 then
16866 if ${GSTREAMER_CFLAGS:+false} :
16867 then :
16868 if test ${PKG_CONFIG+y}
16869 then :
16870 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16874 if ${GSTREAMER_LIBS:+false} :
16875 then :
16876 if test ${PKG_CONFIG+y}
16877 then :
16878 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16885 ac_save_CPPFLAGS=$CPPFLAGS
16886 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16887 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16888 if test "x$ac_cv_header_gst_gst_h" = xyes
16889 then :
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16891 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <gst/gst.h>
16896 main (void)
16898 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16900 return 0;
16902 _ACEOF
16903 if ac_fn_c_try_compile "$LINENO"
16904 then :
16905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16906 printf "%s\n" "yes" >&6; }
16907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16908 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16909 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16910 then :
16911 printf %s "(cached) " >&6
16912 else $as_nop
16913 ac_check_lib_save_LIBS=$LIBS
16914 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16918 /* Override any GCC internal prototype to avoid an error.
16919 Use char because int might match the return type of a GCC
16920 builtin and then its argument prototype would still apply. */
16921 char gst_pad_new ();
16923 main (void)
16925 return gst_pad_new ();
16927 return 0;
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"
16931 then :
16932 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16933 else $as_nop
16934 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16937 conftest$ac_exeext conftest.$ac_ext
16938 LIBS=$ac_check_lib_save_LIBS
16940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16941 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16942 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16943 then :
16947 else $as_nop
16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949 printf "%s\n" "no" >&6; }
16950 ac_glib2_broken=yes
16951 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16956 CPPFLAGS=$ac_save_CPPFLAGS
16959 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16960 then :
16961 case "x$with_gstreamer" in
16962 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16963 xno) ;;
16964 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16965 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16966 esac
16967 enable_winegstreamer=${enable_winegstreamer:-no}
16970 ALSA_LIBS=""
16972 if test "x$with_alsa" != "xno"
16973 then
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16975 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16976 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16977 then :
16978 printf %s "(cached) " >&6
16979 else $as_nop
16980 ac_check_lib_save_LIBS=$LIBS
16981 LIBS="-lasound $LIBS"
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16985 /* Override any GCC internal prototype to avoid an error.
16986 Use char because int might match the return type of a GCC
16987 builtin and then its argument prototype would still apply. */
16988 char snd_pcm_hw_params_get_access_mask ();
16990 main (void)
16992 return snd_pcm_hw_params_get_access_mask ();
16994 return 0;
16996 _ACEOF
16997 if ac_fn_c_try_link "$LINENO"
16998 then :
16999 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17000 else $as_nop
17001 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17004 conftest$ac_exeext conftest.$ac_ext
17005 LIBS=$ac_check_lib_save_LIBS
17007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17008 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17009 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17010 then :
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 #include <alsa/asoundlib.h>
17015 main (void)
17017 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17019 return 0;
17021 _ACEOF
17022 if ac_fn_c_try_compile "$LINENO"
17023 then :
17024 ALSA_LIBS="-lasound"
17026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17030 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17032 if test "x$with_oss" != xno
17033 then
17034 ac_save_CPPFLAGS="$CPPFLAGS"
17035 if test -f /etc/oss.conf
17036 then
17037 . /etc/oss.conf
17039 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17040 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17041 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17042 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17043 then :
17044 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17046 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17047 then :
17049 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17051 OSS4_CFLAGS="$ac_oss_incl"
17053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17054 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17055 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17056 then :
17057 printf %s "(cached) " >&6
17058 else $as_nop
17059 ac_check_lib_save_LIBS=$LIBS
17060 LIBS="-lossaudio $LIBS"
17061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h. */
17064 /* Override any GCC internal prototype to avoid an error.
17065 Use char because int might match the return type of a GCC
17066 builtin and then its argument prototype would still apply. */
17067 char _oss_ioctl ();
17069 main (void)
17071 return _oss_ioctl ();
17073 return 0;
17075 _ACEOF
17076 if ac_fn_c_try_link "$LINENO"
17077 then :
17078 ac_cv_lib_ossaudio__oss_ioctl=yes
17079 else $as_nop
17080 ac_cv_lib_ossaudio__oss_ioctl=no
17082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17083 conftest$ac_exeext conftest.$ac_ext
17084 LIBS=$ac_check_lib_save_LIBS
17086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17087 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17088 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17089 then :
17090 OSS4_LIBS="-lossaudio"
17098 CPPFLAGS="$ac_save_CPPFLAGS"
17100 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17101 then :
17102 case "x$with_oss" in
17103 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17104 xno) ;;
17105 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17106 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17107 esac
17108 enable_wineoss_drv=${enable_wineoss_drv:-no}
17111 if test "x$with_udev" != "xno"
17112 then
17113 if ${UDEV_CFLAGS:+false} :
17114 then :
17115 if test ${PKG_CONFIG+y}
17116 then :
17117 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17121 if ${UDEV_LIBS:+false} :
17122 then :
17123 if test ${PKG_CONFIG+y}
17124 then :
17125 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17129 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17132 ac_save_CPPFLAGS=$CPPFLAGS
17133 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17134 for ac_header in libudev.h
17135 do :
17136 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17137 if test "x$ac_cv_header_libudev_h" = xyes
17138 then :
17139 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17141 printf %s "checking for udev_new in -ludev... " >&6; }
17142 if test ${ac_cv_lib_udev_udev_new+y}
17143 then :
17144 printf %s "(cached) " >&6
17145 else $as_nop
17146 ac_check_lib_save_LIBS=$LIBS
17147 LIBS="-ludev $UDEV_LIBS $LIBS"
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17151 /* Override any GCC internal prototype to avoid an error.
17152 Use char because int might match the return type of a GCC
17153 builtin and then its argument prototype would still apply. */
17154 char udev_new ();
17156 main (void)
17158 return udev_new ();
17160 return 0;
17162 _ACEOF
17163 if ac_fn_c_try_link "$LINENO"
17164 then :
17165 ac_cv_lib_udev_udev_new=yes
17166 else $as_nop
17167 ac_cv_lib_udev_udev_new=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17170 conftest$ac_exeext conftest.$ac_ext
17171 LIBS=$ac_check_lib_save_LIBS
17173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17174 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17175 if test "x$ac_cv_lib_udev_udev_new" = xyes
17176 then :
17178 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17180 else $as_nop
17181 UDEV_LIBS=""
17184 else $as_nop
17185 UDEV_LIBS=""
17188 done
17189 CPPFLAGS=$ac_save_CPPFLAGS
17192 if test "x$UDEV_LIBS" = "x"
17193 then :
17194 case "x$with_udev" in
17195 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17196 xno) ;;
17197 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17198 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17199 esac
17203 if test "x$with_unwind" != xno
17204 then
17205 if ${UNWIND_CFLAGS:+false} :
17206 then :
17207 if test ${PKG_CONFIG+y}
17208 then :
17209 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17213 if ${UNWIND_LIBS:+false} :
17214 then :
17215 if test ${PKG_CONFIG+y}
17216 then :
17217 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17221 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17222 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17224 ac_save_CPPFLAGS=$CPPFLAGS
17225 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17227 printf %s "checking for unw_step... " >&6; }
17228 if test ${wine_cv_have_unw_step+y}
17229 then :
17230 printf %s "(cached) " >&6
17231 else $as_nop
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 #define UNW_LOCAL_ONLY
17235 #include <libunwind.h>
17237 main (void)
17239 unw_cursor_t cursor; unw_step( &cursor );
17241 return 0;
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"
17245 then :
17246 wine_cv_have_unw_step="yes"
17247 else $as_nop
17248 wine_cv_have_unw_step="no"
17250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17251 conftest$ac_exeext conftest.$ac_ext
17253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17254 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17255 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17256 then
17257 save_libs=$LIBS
17258 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17259 LIBS="$UNWIND_LIBS $LIBS"
17260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17261 printf %s "checking for unw_step in libunwind... " >&6; }
17262 if test ${wine_cv_have_libunwind_unw_step+y}
17263 then :
17264 printf %s "(cached) " >&6
17265 else $as_nop
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17268 #define UNW_LOCAL_ONLY
17269 #include <libunwind.h>
17271 main (void)
17273 unw_cursor_t cursor; unw_step( &cursor );
17275 return 0;
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"
17279 then :
17280 wine_cv_have_libunwind_unw_step="yes"
17281 else $as_nop
17282 wine_cv_have_libunwind_unw_step="no"
17284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17285 conftest$ac_exeext conftest.$ac_ext
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17288 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17289 LIBS=$save_libs
17291 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17292 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17293 then
17295 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17298 CPPFLAGS=$ac_save_CPPFLAGS
17301 case $host in
17302 aarch64*|*-darwin*)
17303 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17304 then :
17305 case "x$with_unwind" in
17306 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17307 xno) ;;
17308 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17309 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17310 esac
17312 fi ;;
17313 esac
17315 if test "x$with_sdl" != "xno"
17316 then
17317 if ${SDL2_CFLAGS:+false} :
17318 then :
17319 if test ${PKG_CONFIG+y}
17320 then :
17321 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17325 if ${SDL2_LIBS:+false} :
17326 then :
17327 if test ${PKG_CONFIG+y}
17328 then :
17329 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17333 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17336 ac_save_CPPFLAGS=$CPPFLAGS
17337 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17338 for ac_header in SDL.h
17339 do :
17340 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17341 if test "x$ac_cv_header_SDL_h" = xyes
17342 then :
17343 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17345 printf %s "checking for -lSDL2... " >&6; }
17346 if test ${ac_cv_lib_soname_SDL2+y}
17347 then :
17348 printf %s "(cached) " >&6
17349 else $as_nop
17350 ac_check_soname_save_LIBS=$LIBS
17351 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17355 /* Override any GCC internal prototype to avoid an error.
17356 Use char because int might match the return type of a GCC
17357 builtin and then its argument prototype would still apply. */
17358 char SDL_Init ();
17360 main (void)
17362 return SDL_Init ();
17364 return 0;
17366 _ACEOF
17367 if ac_fn_c_try_link "$LINENO"
17368 then :
17369 case "$LIBEXT" in
17370 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17371 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'` ;;
17372 *) 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'`
17373 if ${ac_cv_lib_soname_SDL2:+false} :
17374 then :
17375 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17376 fi ;;
17377 esac
17378 else $as_nop
17379 ac_cv_lib_soname_SDL2=
17381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17382 conftest$ac_exeext conftest.$ac_ext
17383 LIBS=$ac_check_soname_save_LIBS
17385 if ${ac_cv_lib_soname_SDL2:+false} :
17386 then :
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17388 printf "%s\n" "not found" >&6; }
17390 else $as_nop
17391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17392 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17394 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17400 done
17401 CPPFLAGS=$ac_save_CPPFLAGS
17404 if test "x$ac_cv_lib_soname_SDL2" = "x"
17405 then :
17406 case "x$with_sdl" in
17407 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17408 xno) ;;
17409 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17410 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17411 esac
17415 if test "x$with_capi" != "xno"
17416 then
17417 if ${CAPI20_CFLAGS:+false} :
17418 then :
17419 if test ${PKG_CONFIG+y}
17420 then :
17421 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17425 if ${CAPI20_LIBS:+false} :
17426 then :
17427 if test ${PKG_CONFIG+y}
17428 then :
17429 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17436 ac_save_CPPFLAGS=$CPPFLAGS
17437 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17438 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17440 if test "x$ac_cv_header_capi20_h" = xyes
17441 then :
17442 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17445 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17447 if test "x$ac_cv_header_linux_capi_h" = xyes
17448 then :
17449 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17453 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17454 then
17455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17456 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17457 if test ${ac_cv_lib_capi20_capi20_register+y}
17458 then :
17459 printf %s "(cached) " >&6
17460 else $as_nop
17461 ac_check_lib_save_LIBS=$LIBS
17462 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17466 /* Override any GCC internal prototype to avoid an error.
17467 Use char because int might match the return type of a GCC
17468 builtin and then its argument prototype would still apply. */
17469 char capi20_register ();
17471 main (void)
17473 return capi20_register ();
17475 return 0;
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"
17479 then :
17480 ac_cv_lib_capi20_capi20_register=yes
17481 else $as_nop
17482 ac_cv_lib_capi20_capi20_register=no
17484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17485 conftest$ac_exeext conftest.$ac_ext
17486 LIBS=$ac_check_lib_save_LIBS
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17489 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17490 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17491 then :
17493 else $as_nop
17494 CAPI20_LIBS=""
17498 CPPFLAGS=$ac_save_CPPFLAGS
17501 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17502 then :
17503 case "x$with_capi" in
17504 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17505 xno) ;;
17506 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17507 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17508 esac
17509 enable_capi2032=${enable_capi2032:-no}
17512 if test "x$with_cups" != "xno"
17513 then
17514 if ${CUPS_CFLAGS:+false} :
17515 then :
17516 if test ${PKG_CONFIG+y}
17517 then :
17518 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17521 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17522 if ${CUPS_LIBS:+false} :
17523 then :
17524 if test ${PKG_CONFIG+y}
17525 then :
17526 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17529 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17530 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17533 ac_save_CPPFLAGS=$CPPFLAGS
17534 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17535 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17536 if test "x$ac_cv_header_cups_cups_h" = xyes
17537 then :
17538 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17541 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17542 if test "x$ac_cv_header_cups_ppd_h" = xyes
17543 then :
17544 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17548 if test "$ac_cv_header_cups_cups_h" = "yes"
17549 then
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17551 printf %s "checking for -lcups... " >&6; }
17552 if test ${ac_cv_lib_soname_cups+y}
17553 then :
17554 printf %s "(cached) " >&6
17555 else $as_nop
17556 ac_check_soname_save_LIBS=$LIBS
17557 LIBS="-lcups $CUPS_LIBS $LIBS"
17558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17559 /* end confdefs.h. */
17561 /* Override any GCC internal prototype to avoid an error.
17562 Use char because int might match the return type of a GCC
17563 builtin and then its argument prototype would still apply. */
17564 char cupsGetDefault ();
17566 main (void)
17568 return cupsGetDefault ();
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_link "$LINENO"
17574 then :
17575 case "$LIBEXT" in
17576 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17577 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'` ;;
17578 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17579 if ${ac_cv_lib_soname_cups:+false} :
17580 then :
17581 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17582 fi ;;
17583 esac
17584 else $as_nop
17585 ac_cv_lib_soname_cups=
17587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17588 conftest$ac_exeext conftest.$ac_ext
17589 LIBS=$ac_check_soname_save_LIBS
17591 if ${ac_cv_lib_soname_cups:+false} :
17592 then :
17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17594 printf "%s\n" "not found" >&6; }
17595 CUPS_LIBS=""
17596 else $as_nop
17597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17598 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17600 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17604 else
17605 CUPS_CFLAGS=""
17606 CUPS_LIBS=""
17608 CPPFLAGS=$ac_save_CPPFLAGS
17611 if test "x$ac_cv_lib_soname_cups" = "x"
17612 then :
17613 case "x$with_cups" in
17614 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17615 xno) ;;
17616 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17617 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17618 esac
17622 if test "x$with_fontconfig" != "xno"
17623 then
17624 if ${FONTCONFIG_CFLAGS:+false} :
17625 then :
17626 if test ${PKG_CONFIG+y}
17627 then :
17628 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17631 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17632 if ${FONTCONFIG_LIBS:+false} :
17633 then :
17634 if test ${PKG_CONFIG+y}
17635 then :
17636 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17639 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17643 ac_save_CPPFLAGS=$CPPFLAGS
17644 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17645 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17646 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17647 then :
17648 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17652 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17653 then
17654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17655 printf %s "checking for -lfontconfig... " >&6; }
17656 if test ${ac_cv_lib_soname_fontconfig+y}
17657 then :
17658 printf %s "(cached) " >&6
17659 else $as_nop
17660 ac_check_soname_save_LIBS=$LIBS
17661 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 /* end confdefs.h. */
17665 /* Override any GCC internal prototype to avoid an error.
17666 Use char because int might match the return type of a GCC
17667 builtin and then its argument prototype would still apply. */
17668 char FcInit ();
17670 main (void)
17672 return FcInit ();
17674 return 0;
17676 _ACEOF
17677 if ac_fn_c_try_link "$LINENO"
17678 then :
17679 case "$LIBEXT" in
17680 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17681 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'` ;;
17682 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17683 if ${ac_cv_lib_soname_fontconfig:+false} :
17684 then :
17685 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17686 fi ;;
17687 esac
17688 else $as_nop
17689 ac_cv_lib_soname_fontconfig=
17691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17692 conftest$ac_exeext conftest.$ac_ext
17693 LIBS=$ac_check_soname_save_LIBS
17695 if ${ac_cv_lib_soname_fontconfig:+false} :
17696 then :
17697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17698 printf "%s\n" "not found" >&6; }
17699 FONTCONFIG_CFLAGS=""
17700 else $as_nop
17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17702 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17704 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17708 else
17709 FONTCONFIG_CFLAGS=""
17711 CPPFLAGS=$ac_save_CPPFLAGS
17714 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17715 then :
17716 case "x$with_fontconfig" in
17717 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17718 xno) ;;
17719 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17720 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17721 esac
17725 if test "x$with_krb5" != "xno"
17726 then
17727 if ${KRB5_CFLAGS:+false} :
17728 then :
17729 if test ${PKG_CONFIG+y}
17730 then :
17731 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17734 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17735 if ${KRB5_LIBS:+false} :
17736 then :
17737 if test ${PKG_CONFIG+y}
17738 then :
17739 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17742 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17746 ac_save_CPPFLAGS=$CPPFLAGS
17747 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17748 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17749 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17750 then :
17751 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17755 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17756 then
17757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17758 printf %s "checking for -lkrb5... " >&6; }
17759 if test ${ac_cv_lib_soname_krb5+y}
17760 then :
17761 printf %s "(cached) " >&6
17762 else $as_nop
17763 ac_check_soname_save_LIBS=$LIBS
17764 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17768 /* Override any GCC internal prototype to avoid an error.
17769 Use char because int might match the return type of a GCC
17770 builtin and then its argument prototype would still apply. */
17771 char krb5_is_config_principal ();
17773 main (void)
17775 return krb5_is_config_principal ();
17777 return 0;
17779 _ACEOF
17780 if ac_fn_c_try_link "$LINENO"
17781 then :
17782 case "$LIBEXT" in
17783 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17784 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'` ;;
17785 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17786 if ${ac_cv_lib_soname_krb5:+false} :
17787 then :
17788 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17789 fi ;;
17790 esac
17791 else $as_nop
17792 ac_cv_lib_soname_krb5=
17794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17795 conftest$ac_exeext conftest.$ac_ext
17796 LIBS=$ac_check_soname_save_LIBS
17798 if ${ac_cv_lib_soname_krb5:+false} :
17799 then :
17800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17801 printf "%s\n" "not found" >&6; }
17802 KRB5_CFLAGS=""
17803 else $as_nop
17804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17805 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17807 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17811 else
17812 KRB5_CFLAGS=""
17814 CPPFLAGS=$ac_save_CPPFLAGS
17817 if test "x$ac_cv_lib_soname_krb5" = "x"
17818 then :
17819 case "x$with_krb5" in
17820 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17821 xno) ;;
17822 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17823 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17824 esac
17827 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17829 if test "x$with_gssapi" != "xno"
17830 then
17831 if ${GSSAPI_CFLAGS:+false} :
17832 then :
17833 if test ${PKG_CONFIG+y}
17834 then :
17835 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17838 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17839 if ${GSSAPI_LIBS:+false} :
17840 then :
17841 if test ${PKG_CONFIG+y}
17842 then :
17843 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17846 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17850 ac_save_CPPFLAGS=$CPPFLAGS
17851 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17852 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17853 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17854 then :
17855 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17858 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17859 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17860 then :
17861 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17865 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17866 then
17867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17868 printf %s "checking for -lgssapi_krb5... " >&6; }
17869 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17870 then :
17871 printf %s "(cached) " >&6
17872 else $as_nop
17873 ac_check_soname_save_LIBS=$LIBS
17874 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17878 /* Override any GCC internal prototype to avoid an error.
17879 Use char because int might match the return type of a GCC
17880 builtin and then its argument prototype would still apply. */
17881 char gss_init_sec_context ();
17883 main (void)
17885 return gss_init_sec_context ();
17887 return 0;
17889 _ACEOF
17890 if ac_fn_c_try_link "$LINENO"
17891 then :
17892 case "$LIBEXT" in
17893 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17894 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'` ;;
17895 *) 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'`
17896 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17897 then :
17898 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17899 fi ;;
17900 esac
17901 else $as_nop
17902 ac_cv_lib_soname_gssapi_krb5=
17904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17905 conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_soname_save_LIBS
17908 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17909 then :
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17911 printf "%s\n" "not found" >&6; }
17912 GSSAPI_CFLAGS=""
17913 else $as_nop
17914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17915 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17917 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17921 else
17922 GSSAPI_CFLAGS=""
17924 CPPFLAGS=$ac_save_CPPFLAGS
17927 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17928 then :
17929 case "x$with_gssapi" in
17930 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17931 xno) ;;
17932 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17933 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17934 esac
17938 if test "$ac_cv_header_AL_al_h" = "yes"
17939 then
17940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17941 printf %s "checking for -lopenal... " >&6; }
17942 if test ${ac_cv_lib_soname_openal+y}
17943 then :
17944 printf %s "(cached) " >&6
17945 else $as_nop
17946 ac_check_soname_save_LIBS=$LIBS
17947 LIBS="-lopenal $LIBS"
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h. */
17951 /* Override any GCC internal prototype to avoid an error.
17952 Use char because int might match the return type of a GCC
17953 builtin and then its argument prototype would still apply. */
17954 char alGetSource3i ();
17956 main (void)
17958 return alGetSource3i ();
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_link "$LINENO"
17964 then :
17965 case "$LIBEXT" in
17966 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17967 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'` ;;
17968 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17969 if ${ac_cv_lib_soname_openal:+false} :
17970 then :
17971 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17972 fi ;;
17973 esac
17974 else $as_nop
17975 ac_cv_lib_soname_openal=
17977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_soname_save_LIBS
17981 if ${ac_cv_lib_soname_openal:+false} :
17982 then :
17983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17984 printf "%s\n" "not found" >&6; }
17986 else $as_nop
17987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17988 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17990 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17992 OPENAL_LIBS="-lopenal"
17994 ac_cv_lib_openal=yes
17996 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18000 if test "x$ac_cv_lib_openal" != xyes
18001 then :
18002 case "x$with_openal" in
18003 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18004 xno) ;;
18005 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18006 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18007 esac
18008 enable_openal32=${enable_openal32:-no}
18011 if test "$ac_cv_header_libprocstat_h" = "yes"
18012 then
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18014 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18015 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18016 then :
18017 printf %s "(cached) " >&6
18018 else $as_nop
18019 ac_check_lib_save_LIBS=$LIBS
18020 LIBS="-lprocstat $LIBS"
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18024 /* Override any GCC internal prototype to avoid an error.
18025 Use char because int might match the return type of a GCC
18026 builtin and then its argument prototype would still apply. */
18027 char procstat_open_sysctl ();
18029 main (void)
18031 return procstat_open_sysctl ();
18033 return 0;
18035 _ACEOF
18036 if ac_fn_c_try_link "$LINENO"
18037 then :
18038 ac_cv_lib_procstat_procstat_open_sysctl=yes
18039 else $as_nop
18040 ac_cv_lib_procstat_procstat_open_sysctl=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18043 conftest$ac_exeext conftest.$ac_ext
18044 LIBS=$ac_check_lib_save_LIBS
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18047 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18048 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18049 then :
18051 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18053 PROCSTAT_LIBS="-lprocstat"
18059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18060 printf %s "checking for -lodbc... " >&6; }
18061 if test ${ac_cv_lib_soname_odbc+y}
18062 then :
18063 printf %s "(cached) " >&6
18064 else $as_nop
18065 ac_check_soname_save_LIBS=$LIBS
18066 LIBS="-lodbc $LIBS"
18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18068 /* end confdefs.h. */
18070 /* Override any GCC internal prototype to avoid an error.
18071 Use char because int might match the return type of a GCC
18072 builtin and then its argument prototype would still apply. */
18073 char SQLConnect ();
18075 main (void)
18077 return SQLConnect ();
18079 return 0;
18081 _ACEOF
18082 if ac_fn_c_try_link "$LINENO"
18083 then :
18084 case "$LIBEXT" in
18085 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18086 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'` ;;
18087 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18088 if ${ac_cv_lib_soname_odbc:+false} :
18089 then :
18090 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18091 fi ;;
18092 esac
18093 else $as_nop
18094 ac_cv_lib_soname_odbc=
18096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18097 conftest$ac_exeext conftest.$ac_ext
18098 LIBS=$ac_check_soname_save_LIBS
18100 if ${ac_cv_lib_soname_odbc:+false} :
18101 then :
18102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18103 printf "%s\n" "not found" >&6; }
18104 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18106 else $as_nop
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18108 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18110 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18115 if test "x$with_netapi" != "xno"
18116 then
18117 if ${NETAPI_CFLAGS:+false} :
18118 then :
18119 if test ${PKG_CONFIG+y}
18120 then :
18121 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18125 if ${NETAPI_LIBS:+false} :
18126 then :
18127 if test ${PKG_CONFIG+y}
18128 then :
18129 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18136 ac_save_CPPFLAGS=$CPPFLAGS
18137 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18139 printf %s "checking for -lnetapi... " >&6; }
18140 if test ${ac_cv_lib_soname_netapi+y}
18141 then :
18142 printf %s "(cached) " >&6
18143 else $as_nop
18144 ac_check_soname_save_LIBS=$LIBS
18145 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18149 /* Override any GCC internal prototype to avoid an error.
18150 Use char because int might match the return type of a GCC
18151 builtin and then its argument prototype would still apply. */
18152 char libnetapi_init ();
18154 main (void)
18156 return libnetapi_init ();
18158 return 0;
18160 _ACEOF
18161 if ac_fn_c_try_link "$LINENO"
18162 then :
18163 case "$LIBEXT" in
18164 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18165 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'` ;;
18166 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18167 if ${ac_cv_lib_soname_netapi:+false} :
18168 then :
18169 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18170 fi ;;
18171 esac
18172 else $as_nop
18173 ac_cv_lib_soname_netapi=
18175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_soname_save_LIBS
18179 if ${ac_cv_lib_soname_netapi:+false} :
18180 then :
18181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18182 printf "%s\n" "not found" >&6; }
18183 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18185 else $as_nop
18186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18187 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18189 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18193 CPPFLAGS=$ac_save_CPPFLAGS
18196 if test "x$ac_cv_lib_soname_netapi" = "x"
18197 then :
18198 case "x$with_netapi" in
18199 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18200 xno) ;;
18201 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18202 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18203 esac
18204 enable_netapi=${enable_netapi:-no}
18208 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18209 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18210 then
18211 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18214 if test "x$with_vulkan" != "xno"
18215 then
18216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18217 printf %s "checking for -lvulkan... " >&6; }
18218 if test ${ac_cv_lib_soname_vulkan+y}
18219 then :
18220 printf %s "(cached) " >&6
18221 else $as_nop
18222 ac_check_soname_save_LIBS=$LIBS
18223 LIBS="-lvulkan $LIBS"
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18227 /* Override any GCC internal prototype to avoid an error.
18228 Use char because int might match the return type of a GCC
18229 builtin and then its argument prototype would still apply. */
18230 char vkGetInstanceProcAddr ();
18232 main (void)
18234 return vkGetInstanceProcAddr ();
18236 return 0;
18238 _ACEOF
18239 if ac_fn_c_try_link "$LINENO"
18240 then :
18241 case "$LIBEXT" in
18242 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18243 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'` ;;
18244 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18245 if ${ac_cv_lib_soname_vulkan:+false} :
18246 then :
18247 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18248 fi ;;
18249 esac
18250 else $as_nop
18251 ac_cv_lib_soname_vulkan=
18253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18254 conftest$ac_exeext conftest.$ac_ext
18255 LIBS=$ac_check_soname_save_LIBS
18257 if ${ac_cv_lib_soname_vulkan:+false} :
18258 then :
18259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18260 printf "%s\n" "not found" >&6; }
18262 else $as_nop
18263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18264 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18266 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18270 if test "x$ac_cv_lib_soname_vulkan" = "x"
18271 then
18272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18273 printf %s "checking for -lMoltenVK... " >&6; }
18274 if test ${ac_cv_lib_soname_MoltenVK+y}
18275 then :
18276 printf %s "(cached) " >&6
18277 else $as_nop
18278 ac_check_soname_save_LIBS=$LIBS
18279 LIBS="-lMoltenVK $LIBS"
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 /* Override any GCC internal prototype to avoid an error.
18284 Use char because int might match the return type of a GCC
18285 builtin and then its argument prototype would still apply. */
18286 char vkGetInstanceProcAddr ();
18288 main (void)
18290 return vkGetInstanceProcAddr ();
18292 return 0;
18294 _ACEOF
18295 if ac_fn_c_try_link "$LINENO"
18296 then :
18297 case "$LIBEXT" in
18298 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18299 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'` ;;
18300 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18301 if ${ac_cv_lib_soname_MoltenVK:+false} :
18302 then :
18303 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18304 fi ;;
18305 esac
18306 else $as_nop
18307 ac_cv_lib_soname_MoltenVK=
18309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_check_soname_save_LIBS
18313 if ${ac_cv_lib_soname_MoltenVK:+false} :
18314 then :
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18316 printf "%s\n" "not found" >&6; }
18318 else $as_nop
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18320 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18322 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18328 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18329 then :
18330 case "x$with_vulkan" in
18331 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18332 xno) ;;
18333 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18334 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18335 esac
18340 if test "x${GCC}" = "xyes"
18341 then
18342 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18344 saved_CFLAGS=$CFLAGS
18345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18346 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18347 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18348 then :
18349 printf %s "(cached) " >&6
18350 else $as_nop
18351 ac_wine_try_cflags_saved=$CFLAGS
18352 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h. */
18355 int main(int argc, char **argv) { return 0; }
18356 _ACEOF
18357 if ac_fn_c_try_link "$LINENO"
18358 then :
18359 ac_cv_cflags__Werror_unknown_warning_option=yes
18360 else $as_nop
18361 ac_cv_cflags__Werror_unknown_warning_option=no
18363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18364 conftest$ac_exeext conftest.$ac_ext
18365 CFLAGS=$ac_wine_try_cflags_saved
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18368 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18369 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18370 then :
18371 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18374 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18375 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18376 then :
18377 printf %s "(cached) " >&6
18378 else $as_nop
18379 ac_wine_try_cflags_saved=$CFLAGS
18380 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 int main(int argc, char **argv) { return 0; }
18384 _ACEOF
18385 if ac_fn_c_try_link "$LINENO"
18386 then :
18387 ac_cv_cflags__Werror_unused_command_line_argument=yes
18388 else $as_nop
18389 ac_cv_cflags__Werror_unused_command_line_argument=no
18391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18392 conftest$ac_exeext conftest.$ac_ext
18393 CFLAGS=$ac_wine_try_cflags_saved
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18396 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18397 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18398 then :
18399 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18402 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18403 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18404 then :
18405 printf %s "(cached) " >&6
18406 else $as_nop
18407 ac_wine_try_cflags_saved=$CFLAGS
18408 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 int main(int argc, char **argv) { return 0; }
18412 _ACEOF
18413 if ac_fn_c_try_link "$LINENO"
18414 then :
18415 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18416 else $as_nop
18417 ac_cv_cflags__Werror_ignored_optimization_argument=no
18419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18420 conftest$ac_exeext conftest.$ac_ext
18421 CFLAGS=$ac_wine_try_cflags_saved
18423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18424 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18425 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18426 then :
18427 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18430 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18431 if test ${ac_cv_cflags__fcf_protection_none+y}
18432 then :
18433 printf %s "(cached) " >&6
18434 else $as_nop
18435 ac_wine_try_cflags_saved=$CFLAGS
18436 CFLAGS="$CFLAGS -fcf-protection=none"
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h. */
18439 int main(int argc, char **argv) { return 0; }
18440 _ACEOF
18441 if ac_fn_c_try_link "$LINENO"
18442 then :
18443 ac_cv_cflags__fcf_protection_none=yes
18444 else $as_nop
18445 ac_cv_cflags__fcf_protection_none=no
18447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18448 conftest$ac_exeext conftest.$ac_ext
18449 CFLAGS=$ac_wine_try_cflags_saved
18451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18452 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18453 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18454 then :
18455 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18458 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18459 if test ${ac_cv_cflags__fno_stack_protector+y}
18460 then :
18461 printf %s "(cached) " >&6
18462 else $as_nop
18463 ac_wine_try_cflags_saved=$CFLAGS
18464 CFLAGS="$CFLAGS -fno-stack-protector"
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 int main(int argc, char **argv) { return 0; }
18468 _ACEOF
18469 if ac_fn_c_try_link "$LINENO"
18470 then :
18471 ac_cv_cflags__fno_stack_protector=yes
18472 else $as_nop
18473 ac_cv_cflags__fno_stack_protector=no
18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18476 conftest$ac_exeext conftest.$ac_ext
18477 CFLAGS=$ac_wine_try_cflags_saved
18479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18480 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18481 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18482 then :
18483 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18486 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18487 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18488 then :
18489 printf %s "(cached) " >&6
18490 else $as_nop
18491 ac_wine_try_cflags_saved=$CFLAGS
18492 CFLAGS="$CFLAGS -fno-strict-aliasing"
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h. */
18495 int main(int argc, char **argv) { return 0; }
18496 _ACEOF
18497 if ac_fn_c_try_link "$LINENO"
18498 then :
18499 ac_cv_cflags__fno_strict_aliasing=yes
18500 else $as_nop
18501 ac_cv_cflags__fno_strict_aliasing=no
18503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18504 conftest$ac_exeext conftest.$ac_ext
18505 CFLAGS=$ac_wine_try_cflags_saved
18507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18508 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18509 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18510 then :
18511 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18514 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18515 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18516 then :
18517 printf %s "(cached) " >&6
18518 else $as_nop
18519 ac_wine_try_cflags_saved=$CFLAGS
18520 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18523 int main(int argc, char **argv) { return 0; }
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"
18526 then :
18527 ac_cv_cflags__Wdeclaration_after_statement=yes
18528 else $as_nop
18529 ac_cv_cflags__Wdeclaration_after_statement=no
18531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18532 conftest$ac_exeext conftest.$ac_ext
18533 CFLAGS=$ac_wine_try_cflags_saved
18535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18536 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18537 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18538 then :
18539 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18542 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18543 if test ${ac_cv_cflags__Wempty_body+y}
18544 then :
18545 printf %s "(cached) " >&6
18546 else $as_nop
18547 ac_wine_try_cflags_saved=$CFLAGS
18548 CFLAGS="$CFLAGS -Wempty-body"
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 int main(int argc, char **argv) { return 0; }
18552 _ACEOF
18553 if ac_fn_c_try_link "$LINENO"
18554 then :
18555 ac_cv_cflags__Wempty_body=yes
18556 else $as_nop
18557 ac_cv_cflags__Wempty_body=no
18559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18560 conftest$ac_exeext conftest.$ac_ext
18561 CFLAGS=$ac_wine_try_cflags_saved
18563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18564 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18565 if test "x$ac_cv_cflags__Wempty_body" = xyes
18566 then :
18567 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18570 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18571 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18572 then :
18573 printf %s "(cached) " >&6
18574 else $as_nop
18575 ac_wine_try_cflags_saved=$CFLAGS
18576 CFLAGS="$CFLAGS -Wignored-qualifiers"
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 int main(int argc, char **argv) { return 0; }
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"
18582 then :
18583 ac_cv_cflags__Wignored_qualifiers=yes
18584 else $as_nop
18585 ac_cv_cflags__Wignored_qualifiers=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18588 conftest$ac_exeext conftest.$ac_ext
18589 CFLAGS=$ac_wine_try_cflags_saved
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18592 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18593 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18594 then :
18595 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18598 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18599 if test ${ac_cv_cflags__Winit_self+y}
18600 then :
18601 printf %s "(cached) " >&6
18602 else $as_nop
18603 ac_wine_try_cflags_saved=$CFLAGS
18604 CFLAGS="$CFLAGS -Winit-self"
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18607 int main(int argc, char **argv) { return 0; }
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"
18610 then :
18611 ac_cv_cflags__Winit_self=yes
18612 else $as_nop
18613 ac_cv_cflags__Winit_self=no
18615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18616 conftest$ac_exeext conftest.$ac_ext
18617 CFLAGS=$ac_wine_try_cflags_saved
18619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18620 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18621 if test "x$ac_cv_cflags__Winit_self" = xyes
18622 then :
18623 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18626 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18627 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18628 then :
18629 printf %s "(cached) " >&6
18630 else $as_nop
18631 ac_wine_try_cflags_saved=$CFLAGS
18632 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18635 int main(int argc, char **argv) { return 0; }
18636 _ACEOF
18637 if ac_fn_c_try_link "$LINENO"
18638 then :
18639 ac_cv_cflags__Wpacked_not_aligned=yes
18640 else $as_nop
18641 ac_cv_cflags__Wpacked_not_aligned=no
18643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18644 conftest$ac_exeext conftest.$ac_ext
18645 CFLAGS=$ac_wine_try_cflags_saved
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18648 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18649 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18650 then :
18651 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18654 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18655 if test ${ac_cv_cflags__Wpragma_pack+y}
18656 then :
18657 printf %s "(cached) " >&6
18658 else $as_nop
18659 ac_wine_try_cflags_saved=$CFLAGS
18660 CFLAGS="$CFLAGS -Wpragma-pack"
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18663 int main(int argc, char **argv) { return 0; }
18664 _ACEOF
18665 if ac_fn_c_try_link "$LINENO"
18666 then :
18667 ac_cv_cflags__Wpragma_pack=yes
18668 else $as_nop
18669 ac_cv_cflags__Wpragma_pack=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18672 conftest$ac_exeext conftest.$ac_ext
18673 CFLAGS=$ac_wine_try_cflags_saved
18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18676 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18677 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18678 then :
18679 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18682 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18683 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18684 then :
18685 printf %s "(cached) " >&6
18686 else $as_nop
18687 ac_wine_try_cflags_saved=$CFLAGS
18688 CFLAGS="$CFLAGS -Wshift-overflow=2"
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 int main(int argc, char **argv) { return 0; }
18692 _ACEOF
18693 if ac_fn_c_try_link "$LINENO"
18694 then :
18695 ac_cv_cflags__Wshift_overflow_2=yes
18696 else $as_nop
18697 ac_cv_cflags__Wshift_overflow_2=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18700 conftest$ac_exeext conftest.$ac_ext
18701 CFLAGS=$ac_wine_try_cflags_saved
18703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18704 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18705 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18706 then :
18707 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18710 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18711 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18712 then :
18713 printf %s "(cached) " >&6
18714 else $as_nop
18715 ac_wine_try_cflags_saved=$CFLAGS
18716 CFLAGS="$CFLAGS -Wstrict-prototypes"
18717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18718 /* end confdefs.h. */
18719 int main(int argc, char **argv) { return 0; }
18720 _ACEOF
18721 if ac_fn_c_try_link "$LINENO"
18722 then :
18723 ac_cv_cflags__Wstrict_prototypes=yes
18724 else $as_nop
18725 ac_cv_cflags__Wstrict_prototypes=no
18727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18728 conftest$ac_exeext conftest.$ac_ext
18729 CFLAGS=$ac_wine_try_cflags_saved
18731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18732 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18733 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18734 then :
18735 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18738 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18739 if test ${ac_cv_cflags__Wtype_limits+y}
18740 then :
18741 printf %s "(cached) " >&6
18742 else $as_nop
18743 ac_wine_try_cflags_saved=$CFLAGS
18744 CFLAGS="$CFLAGS -Wtype-limits"
18745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18746 /* end confdefs.h. */
18747 int main(int argc, char **argv) { return 0; }
18748 _ACEOF
18749 if ac_fn_c_try_link "$LINENO"
18750 then :
18751 ac_cv_cflags__Wtype_limits=yes
18752 else $as_nop
18753 ac_cv_cflags__Wtype_limits=no
18755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18756 conftest$ac_exeext conftest.$ac_ext
18757 CFLAGS=$ac_wine_try_cflags_saved
18759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18760 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18761 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18762 then :
18763 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18766 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18767 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18768 then :
18769 printf %s "(cached) " >&6
18770 else $as_nop
18771 ac_wine_try_cflags_saved=$CFLAGS
18772 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18775 int main(int argc, char **argv) { return 0; }
18776 _ACEOF
18777 if ac_fn_c_try_link "$LINENO"
18778 then :
18779 ac_cv_cflags__Wunused_but_set_parameter=yes
18780 else $as_nop
18781 ac_cv_cflags__Wunused_but_set_parameter=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18784 conftest$ac_exeext conftest.$ac_ext
18785 CFLAGS=$ac_wine_try_cflags_saved
18787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18788 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18789 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18790 then :
18791 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18794 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18795 if test ${ac_cv_cflags__Wvla+y}
18796 then :
18797 printf %s "(cached) " >&6
18798 else $as_nop
18799 ac_wine_try_cflags_saved=$CFLAGS
18800 CFLAGS="$CFLAGS -Wvla"
18801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18802 /* end confdefs.h. */
18803 int main(int argc, char **argv) { return 0; }
18804 _ACEOF
18805 if ac_fn_c_try_link "$LINENO"
18806 then :
18807 ac_cv_cflags__Wvla=yes
18808 else $as_nop
18809 ac_cv_cflags__Wvla=no
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18812 conftest$ac_exeext conftest.$ac_ext
18813 CFLAGS=$ac_wine_try_cflags_saved
18815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18816 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18817 if test "x$ac_cv_cflags__Wvla" = xyes
18818 then :
18819 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18822 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18823 if test ${ac_cv_cflags__Wwrite_strings+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_wine_try_cflags_saved=$CFLAGS
18828 CFLAGS="$CFLAGS -Wwrite-strings"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 int main(int argc, char **argv) { return 0; }
18832 _ACEOF
18833 if ac_fn_c_try_link "$LINENO"
18834 then :
18835 ac_cv_cflags__Wwrite_strings=yes
18836 else $as_nop
18837 ac_cv_cflags__Wwrite_strings=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18840 conftest$ac_exeext conftest.$ac_ext
18841 CFLAGS=$ac_wine_try_cflags_saved
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18844 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18845 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18846 then :
18847 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18850 if test -z "$CROSSTARGET"
18851 then
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18853 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18854 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18855 then :
18856 printf %s "(cached) " >&6
18857 else $as_nop
18858 ac_wine_try_cflags_saved=$CFLAGS
18859 CFLAGS="$CFLAGS -fexcess-precision=standard"
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 int main(int argc, char **argv) { return 0; }
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"
18865 then :
18866 ac_cv_cflags__fexcess_precision_standard=yes
18867 else $as_nop
18868 ac_cv_cflags__fexcess_precision_standard=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18871 conftest$ac_exeext conftest.$ac_ext
18872 CFLAGS=$ac_wine_try_cflags_saved
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18875 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18876 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18877 then :
18878 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18884 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18885 if test ${ac_cv_cflags__Wpointer_arith+y}
18886 then :
18887 printf %s "(cached) " >&6
18888 else $as_nop
18889 ac_wine_try_cflags_saved=$CFLAGS
18890 CFLAGS="$CFLAGS -Wpointer-arith"
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 int main(int argc, char **argv) { return 0; }
18894 _ACEOF
18895 if ac_fn_c_try_link "$LINENO"
18896 then :
18897 ac_cv_cflags__Wpointer_arith=yes
18898 else $as_nop
18899 ac_cv_cflags__Wpointer_arith=no
18901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18902 conftest$ac_exeext conftest.$ac_ext
18903 CFLAGS=$ac_wine_try_cflags_saved
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18906 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18907 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18908 then :
18909 saved_string_h_CFLAGS=$CFLAGS
18910 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18912 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18913 if test ${ac_cv_c_string_h_warnings+y}
18914 then :
18915 printf %s "(cached) " >&6
18916 else $as_nop
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <string.h>
18921 main (void)
18925 return 0;
18927 _ACEOF
18928 if ac_fn_c_try_compile "$LINENO"
18929 then :
18930 ac_cv_c_string_h_warnings=no
18931 else $as_nop
18932 ac_cv_c_string_h_warnings=yes
18934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18937 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18938 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18939 CFLAGS=$saved_string_h_CFLAGS
18942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18943 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18944 if test ${ac_cv_cflags__Wlogical_op+y}
18945 then :
18946 printf %s "(cached) " >&6
18947 else $as_nop
18948 ac_wine_try_cflags_saved=$CFLAGS
18949 CFLAGS="$CFLAGS -Wlogical-op"
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952 int main(int argc, char **argv) { return 0; }
18953 _ACEOF
18954 if ac_fn_c_try_link "$LINENO"
18955 then :
18956 ac_cv_cflags__Wlogical_op=yes
18957 else $as_nop
18958 ac_cv_cflags__Wlogical_op=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18961 conftest$ac_exeext conftest.$ac_ext
18962 CFLAGS=$ac_wine_try_cflags_saved
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18965 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18966 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18967 then :
18968 saved_string_h_CFLAGS=$CFLAGS
18969 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18971 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18972 if test ${ac_cv_c_logicalop_noisy+y}
18973 then :
18974 printf %s "(cached) " >&6
18975 else $as_nop
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 #include <string.h>
18979 char*f(const char *h,char n) {return strchr(h,n);}
18981 main (void)
18985 return 0;
18987 _ACEOF
18988 if ac_fn_c_try_compile "$LINENO"
18989 then :
18990 ac_cv_c_logicalop_noisy=no
18991 else $as_nop
18992 ac_cv_c_logicalop_noisy=yes
18994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18997 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18998 CFLAGS=$saved_string_h_CFLAGS
18999 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19003 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19004 if test ${wine_cv_64bit_compare_swap+y}
19005 then :
19006 printf %s "(cached) " >&6
19007 else $as_nop
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19011 #error no
19012 #endif
19014 main (void)
19018 return 0;
19020 _ACEOF
19021 if ac_fn_c_try_compile "$LINENO"
19022 then :
19023 wine_cv_64bit_compare_swap="none needed"
19024 else $as_nop
19025 case $host_cpu in
19026 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19027 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19028 *) wine_cv_64bit_compare_swap="unknown" ;;
19029 esac
19030 if test "x$wine_cv_64bit_compare_swap" != xunknown
19031 then
19032 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19036 #error no
19037 #endif
19039 main (void)
19043 return 0;
19045 _ACEOF
19046 if ac_fn_c_try_compile "$LINENO"
19047 then :
19049 else $as_nop
19050 wine_cv_64bit_compare_swap="unknown"
19052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19053 CFLAGS=$saved_CFLAGS
19056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19059 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19060 case "$wine_cv_64bit_compare_swap" in
19061 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19062 "none needed") ;;
19063 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19064 esac
19066 ac_debug_format_seen=""
19067 for ac_flag in $CFLAGS; do
19068 case $ac_flag in
19069 -gdwarf*) ac_debug_format_seen=yes ;;
19070 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19071 esac
19072 done
19073 if test "x$ac_debug_format_seen" = xdefault
19074 then
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19076 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19077 if test ${ac_cv_cflags__gdwarf_4+y}
19078 then :
19079 printf %s "(cached) " >&6
19080 else $as_nop
19081 ac_wine_try_cflags_saved=$CFLAGS
19082 CFLAGS="$CFLAGS -gdwarf-4"
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 int main(int argc, char **argv) { return 0; }
19086 _ACEOF
19087 if ac_fn_c_try_link "$LINENO"
19088 then :
19089 ac_cv_cflags__gdwarf_4=yes
19090 else $as_nop
19091 ac_cv_cflags__gdwarf_4=no
19093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19094 conftest$ac_exeext conftest.$ac_ext
19095 CFLAGS=$ac_wine_try_cflags_saved
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19098 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19099 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19100 then :
19101 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19105 MSVCRTFLAGS=""
19107 case $host_os in
19108 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19109 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19110 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19111 then :
19112 printf %s "(cached) " >&6
19113 else $as_nop
19114 ac_wine_try_cflags_saved=$CFLAGS
19115 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 /* end confdefs.h. */
19118 int main(int argc, char **argv) { return 0; }
19119 _ACEOF
19120 if ac_fn_c_try_link "$LINENO"
19121 then :
19122 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19123 else $as_nop
19124 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19127 conftest$ac_exeext conftest.$ac_ext
19128 CFLAGS=$ac_wine_try_cflags_saved
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19131 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19132 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19133 then :
19134 DELAYLOADFLAG="-Wl,-delayload,"
19136 fi ;;
19137 *) MSVCRTFLAGS="-D_WIN32"
19138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19139 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19140 if test ${ac_cv_cflags__fno_builtin+y}
19141 then :
19142 printf %s "(cached) " >&6
19143 else $as_nop
19144 ac_wine_try_cflags_saved=$CFLAGS
19145 CFLAGS="$CFLAGS -fno-builtin"
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19148 int main(int argc, char **argv) { return 0; }
19149 _ACEOF
19150 if ac_fn_c_try_link "$LINENO"
19151 then :
19152 ac_cv_cflags__fno_builtin=yes
19153 else $as_nop
19154 ac_cv_cflags__fno_builtin=no
19156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19157 conftest$ac_exeext conftest.$ac_ext
19158 CFLAGS=$ac_wine_try_cflags_saved
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19161 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19162 if test "x$ac_cv_cflags__fno_builtin" = xyes
19163 then :
19164 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19167 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19168 if test ${ac_cv_cflags__fshort_wchar+y}
19169 then :
19170 printf %s "(cached) " >&6
19171 else $as_nop
19172 ac_wine_try_cflags_saved=$CFLAGS
19173 CFLAGS="$CFLAGS -fshort-wchar"
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 int main(int argc, char **argv) { return 0; }
19177 _ACEOF
19178 if ac_fn_c_try_link "$LINENO"
19179 then :
19180 ac_cv_cflags__fshort_wchar=yes
19181 else $as_nop
19182 ac_cv_cflags__fshort_wchar=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19185 conftest$ac_exeext conftest.$ac_ext
19186 CFLAGS=$ac_wine_try_cflags_saved
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19189 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19190 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19191 then :
19192 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19195 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19196 if test ${ac_cv_cflags__Wno_format+y}
19197 then :
19198 printf %s "(cached) " >&6
19199 else $as_nop
19200 ac_wine_try_cflags_saved=$CFLAGS
19201 CFLAGS="$CFLAGS -Wno-format"
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 int main(int argc, char **argv) { return 0; }
19205 _ACEOF
19206 if ac_fn_c_try_link "$LINENO"
19207 then :
19208 ac_cv_cflags__Wno_format=yes
19209 else $as_nop
19210 ac_cv_cflags__Wno_format=no
19212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19213 conftest$ac_exeext conftest.$ac_ext
19214 CFLAGS=$ac_wine_try_cflags_saved
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19217 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19218 if test "x$ac_cv_cflags__Wno_format" = xyes
19219 then :
19220 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19221 fi ;;
19222 esac
19224 case $host_cpu in
19225 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19226 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19227 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19228 then :
19229 printf %s "(cached) " >&6
19230 else $as_nop
19231 ac_wine_try_cflags_saved=$CFLAGS
19232 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19235 int main(int argc, char **argv) { return 0; }
19236 _ACEOF
19237 if ac_fn_c_try_link "$LINENO"
19238 then :
19239 ac_cv_cflags__fno_omit_frame_pointer=yes
19240 else $as_nop
19241 ac_cv_cflags__fno_omit_frame_pointer=no
19243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19244 conftest$ac_exeext conftest.$ac_ext
19245 CFLAGS=$ac_wine_try_cflags_saved
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19248 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19249 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19250 then :
19251 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19252 fi ;;
19253 *x86_64*)
19254 case $host_os in
19255 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19256 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19257 if test ${ac_cv_cflags__Wno_format+y}
19258 then :
19259 printf %s "(cached) " >&6
19260 else $as_nop
19261 ac_wine_try_cflags_saved=$CFLAGS
19262 CFLAGS="$CFLAGS -Wno-format"
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 int main(int argc, char **argv) { return 0; }
19266 _ACEOF
19267 if ac_fn_c_try_link "$LINENO"
19268 then :
19269 ac_cv_cflags__Wno_format=yes
19270 else $as_nop
19271 ac_cv_cflags__Wno_format=no
19273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19274 conftest$ac_exeext conftest.$ac_ext
19275 CFLAGS=$ac_wine_try_cflags_saved
19277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19278 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19279 if test "x$ac_cv_cflags__Wno_format" = xyes
19280 then :
19281 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19282 fi ;;
19283 *) if test -z "$CROSSTARGET"
19284 then
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19286 printf %s "checking for working -mabi=ms... " >&6; }
19287 if test ${ac_cv_mabi_ms+y}
19288 then :
19289 printf %s "(cached) " >&6
19290 else $as_nop
19291 CFLAGS="$CFLAGS -mabi=ms"
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <stdarg.h>
19295 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19297 main (void)
19301 return 0;
19303 _ACEOF
19304 if ac_fn_c_try_compile "$LINENO"
19305 then :
19306 ac_cv_mabi_ms=yes
19307 else $as_nop
19308 ac_cv_mabi_ms=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19311 CFLAGS=$saved_CFLAGS
19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19314 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19315 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
19317 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19318 esac ;;
19319 esac
19321 CFLAGS=$saved_CFLAGS
19323 if test "x$enable_werror" = "xyes"
19324 then
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19326 printf %s "checking whether the compiler supports -Werror... " >&6; }
19327 if test ${ac_cv_cflags__Werror+y}
19328 then :
19329 printf %s "(cached) " >&6
19330 else $as_nop
19331 ac_wine_try_cflags_saved=$CFLAGS
19332 CFLAGS="$CFLAGS -Werror"
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19336 _ACEOF
19337 if ac_fn_c_try_link "$LINENO"
19338 then :
19339 ac_cv_cflags__Werror=yes
19340 else $as_nop
19341 ac_cv_cflags__Werror=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19344 conftest$ac_exeext conftest.$ac_ext
19345 CFLAGS=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19348 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19349 if test "x$ac_cv_cflags__Werror" = xyes
19350 then :
19351 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19354 if test "x$enable_build_id" = "xyes"
19355 then
19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19357 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19358 if test ${ac_cv_cflags__Wl___build_id+y}
19359 then :
19360 printf %s "(cached) " >&6
19361 else $as_nop
19362 ac_wine_try_cflags_saved=$CFLAGS
19363 CFLAGS="$CFLAGS -Wl,--build-id"
19364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19365 /* end confdefs.h. */
19366 int main(int argc, char **argv) { return 0; }
19367 _ACEOF
19368 if ac_fn_c_try_link "$LINENO"
19369 then :
19370 ac_cv_cflags__Wl___build_id=yes
19371 else $as_nop
19372 ac_cv_cflags__Wl___build_id=no
19374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19375 conftest$ac_exeext conftest.$ac_ext
19376 CFLAGS=$ac_wine_try_cflags_saved
19378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19379 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19380 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19381 then :
19382 CFLAGS="$CFLAGS -Wl,--build-id"
19383 LDFLAGS="$LDFLAGS -Wl,--build-id"
19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19390 printf %s "checking for the need to disable Fortify... " >&6; }
19391 if test ${ac_cv_c_fortify_enabled+y}
19392 then :
19393 printf %s "(cached) " >&6
19394 else $as_nop
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <string.h>
19399 main (void)
19401 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19402 #error Fortify enabled
19403 #endif
19405 return 0;
19407 _ACEOF
19408 if ac_fn_c_try_compile "$LINENO"
19409 then :
19410 ac_cv_c_fortify_enabled=no
19411 else $as_nop
19412 ac_cv_c_fortify_enabled=yes
19414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19417 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19418 if test "$ac_cv_c_fortify_enabled" = yes
19419 then
19420 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19425 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19426 if test ${ac_cv_c_cfi_support+y}
19427 then :
19428 printf %s "(cached) " >&6
19429 else $as_nop
19430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19431 /* end confdefs.h. */
19432 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19434 main (void)
19438 return 0;
19440 _ACEOF
19441 if ac_fn_c_try_compile "$LINENO"
19442 then :
19443 ac_cv_c_cfi_support="yes"
19444 else $as_nop
19445 ac_cv_c_cfi_support="no"
19447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19450 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19451 if test "$ac_cv_c_cfi_support" = "yes"
19452 then
19453 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19454 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19455 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19456 else
19457 if test "x$enable_win64" = "xyes"
19458 then
19459 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19464 case $host_os in
19465 linux*)
19466 case $host_cpu in
19467 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19468 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19469 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19471 esac
19473 esac
19476 ac_save_CFLAGS="$CFLAGS"
19477 CFLAGS="$CFLAGS $BUILTINFLAG"
19478 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19479 if test "x$ac_cv_func_epoll_create" = xyes
19480 then :
19481 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19484 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19485 if test "x$ac_cv_func_fstatfs" = xyes
19486 then :
19487 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19490 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19491 if test "x$ac_cv_func_futimens" = xyes
19492 then :
19493 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19496 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19497 if test "x$ac_cv_func_futimes" = xyes
19498 then :
19499 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19502 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19503 if test "x$ac_cv_func_futimesat" = xyes
19504 then :
19505 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19508 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19509 if test "x$ac_cv_func_getattrlist" = xyes
19510 then :
19511 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19514 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19515 if test "x$ac_cv_func_getauxval" = xyes
19516 then :
19517 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19520 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19521 if test "x$ac_cv_func_getifaddrs" = xyes
19522 then :
19523 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19526 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19527 if test "x$ac_cv_func_getrandom" = xyes
19528 then :
19529 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19532 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19533 if test "x$ac_cv_func_kqueue" = xyes
19534 then :
19535 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19538 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19539 if test "x$ac_cv_func_mach_continuous_time" = xyes
19540 then :
19541 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19544 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19545 if test "x$ac_cv_func_pipe2" = xyes
19546 then :
19547 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19550 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19551 if test "x$ac_cv_func_port_create" = xyes
19552 then :
19553 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19556 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19557 if test "x$ac_cv_func_posix_fadvise" = xyes
19558 then :
19559 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19562 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19563 if test "x$ac_cv_func_posix_fallocate" = xyes
19564 then :
19565 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19568 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19569 if test "x$ac_cv_func_prctl" = xyes
19570 then :
19571 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19574 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19575 if test "x$ac_cv_func_proc_pidinfo" = xyes
19576 then :
19577 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19580 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19581 if test "x$ac_cv_func_sched_yield" = xyes
19582 then :
19583 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19586 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19587 if test "x$ac_cv_func_setproctitle" = xyes
19588 then :
19589 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19592 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19593 if test "x$ac_cv_func_setprogname" = xyes
19594 then :
19595 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19598 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19599 if test "x$ac_cv_func_sigprocmask" = xyes
19600 then :
19601 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19604 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19605 if test "x$ac_cv_func_sysinfo" = xyes
19606 then :
19607 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19610 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19611 if test "x$ac_cv_func_tcdrain" = xyes
19612 then :
19613 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19616 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19617 if test "x$ac_cv_func_thr_kill2" = xyes
19618 then :
19619 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19623 CFLAGS="$ac_save_CFLAGS"
19625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19626 printf %s "checking for library containing dlopen... " >&6; }
19627 if test ${ac_cv_search_dlopen+y}
19628 then :
19629 printf %s "(cached) " >&6
19630 else $as_nop
19631 ac_func_search_save_LIBS=$LIBS
19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19633 /* end confdefs.h. */
19635 /* Override any GCC internal prototype to avoid an error.
19636 Use char because int might match the return type of a GCC
19637 builtin and then its argument prototype would still apply. */
19638 char dlopen ();
19640 main (void)
19642 return dlopen ();
19644 return 0;
19646 _ACEOF
19647 for ac_lib in '' dl
19649 if test -z "$ac_lib"; then
19650 ac_res="none required"
19651 else
19652 ac_res=-l$ac_lib
19653 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19655 if ac_fn_c_try_link "$LINENO"
19656 then :
19657 ac_cv_search_dlopen=$ac_res
19659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19660 conftest$ac_exeext
19661 if test ${ac_cv_search_dlopen+y}
19662 then :
19663 break
19665 done
19666 if test ${ac_cv_search_dlopen+y}
19667 then :
19669 else $as_nop
19670 ac_cv_search_dlopen=no
19672 rm conftest.$ac_ext
19673 LIBS=$ac_func_search_save_LIBS
19675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19676 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19677 ac_res=$ac_cv_search_dlopen
19678 if test "$ac_res" != no
19679 then :
19680 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19684 ac_wine_check_funcs_save_LIBS="$LIBS"
19685 LIBS="$LIBS $DL_LIBS"
19686 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19687 if test "x$ac_cv_func_dlinfo" = xyes
19688 then :
19689 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19693 LIBS="$ac_wine_check_funcs_save_LIBS"
19695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19696 printf %s "checking for library containing gethostbyname... " >&6; }
19697 if test ${ac_cv_search_gethostbyname+y}
19698 then :
19699 printf %s "(cached) " >&6
19700 else $as_nop
19701 ac_func_search_save_LIBS=$LIBS
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19705 /* Override any GCC internal prototype to avoid an error.
19706 Use char because int might match the return type of a GCC
19707 builtin and then its argument prototype would still apply. */
19708 char gethostbyname ();
19710 main (void)
19712 return gethostbyname ();
19714 return 0;
19716 _ACEOF
19717 for ac_lib in '' nsl
19719 if test -z "$ac_lib"; then
19720 ac_res="none required"
19721 else
19722 ac_res=-l$ac_lib
19723 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19725 if ac_fn_c_try_link "$LINENO"
19726 then :
19727 ac_cv_search_gethostbyname=$ac_res
19729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19730 conftest$ac_exeext
19731 if test ${ac_cv_search_gethostbyname+y}
19732 then :
19733 break
19735 done
19736 if test ${ac_cv_search_gethostbyname+y}
19737 then :
19739 else $as_nop
19740 ac_cv_search_gethostbyname=no
19742 rm conftest.$ac_ext
19743 LIBS=$ac_func_search_save_LIBS
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19746 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19747 ac_res=$ac_cv_search_gethostbyname
19748 if test "$ac_res" != no
19749 then :
19750 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19756 printf %s "checking for library containing connect... " >&6; }
19757 if test ${ac_cv_search_connect+y}
19758 then :
19759 printf %s "(cached) " >&6
19760 else $as_nop
19761 ac_func_search_save_LIBS=$LIBS
19762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19765 /* Override any GCC internal prototype to avoid an error.
19766 Use char because int might match the return type of a GCC
19767 builtin and then its argument prototype would still apply. */
19768 char connect ();
19770 main (void)
19772 return connect ();
19774 return 0;
19776 _ACEOF
19777 for ac_lib in '' socket
19779 if test -z "$ac_lib"; then
19780 ac_res="none required"
19781 else
19782 ac_res=-l$ac_lib
19783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19785 if ac_fn_c_try_link "$LINENO"
19786 then :
19787 ac_cv_search_connect=$ac_res
19789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19790 conftest$ac_exeext
19791 if test ${ac_cv_search_connect+y}
19792 then :
19793 break
19795 done
19796 if test ${ac_cv_search_connect+y}
19797 then :
19799 else $as_nop
19800 ac_cv_search_connect=no
19802 rm conftest.$ac_ext
19803 LIBS=$ac_func_search_save_LIBS
19805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19806 printf "%s\n" "$ac_cv_search_connect" >&6; }
19807 ac_res=$ac_cv_search_connect
19808 if test "$ac_res" != no
19809 then :
19810 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19816 printf %s "checking for library containing inet_aton... " >&6; }
19817 if test ${ac_cv_search_inet_aton+y}
19818 then :
19819 printf %s "(cached) " >&6
19820 else $as_nop
19821 ac_func_search_save_LIBS=$LIBS
19822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19823 /* end confdefs.h. */
19825 /* Override any GCC internal prototype to avoid an error.
19826 Use char because int might match the return type of a GCC
19827 builtin and then its argument prototype would still apply. */
19828 char inet_aton ();
19830 main (void)
19832 return inet_aton ();
19834 return 0;
19836 _ACEOF
19837 for ac_lib in '' resolv
19839 if test -z "$ac_lib"; then
19840 ac_res="none required"
19841 else
19842 ac_res=-l$ac_lib
19843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19845 if ac_fn_c_try_link "$LINENO"
19846 then :
19847 ac_cv_search_inet_aton=$ac_res
19849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19850 conftest$ac_exeext
19851 if test ${ac_cv_search_inet_aton+y}
19852 then :
19853 break
19855 done
19856 if test ${ac_cv_search_inet_aton+y}
19857 then :
19859 else $as_nop
19860 ac_cv_search_inet_aton=no
19862 rm conftest.$ac_ext
19863 LIBS=$ac_func_search_save_LIBS
19865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19866 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19867 ac_res=$ac_cv_search_inet_aton
19868 if test "$ac_res" != no
19869 then :
19870 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19875 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19876 if test "x$ac_cv_func_getaddrinfo" = xyes
19877 then :
19878 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19883 case $host_os in
19884 darwin*|macosx*) ;;
19885 *) ac_save_LIBS=$LIBS
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19887 printf %s "checking for library containing clock_gettime... " >&6; }
19888 if test ${ac_cv_search_clock_gettime+y}
19889 then :
19890 printf %s "(cached) " >&6
19891 else $as_nop
19892 ac_func_search_save_LIBS=$LIBS
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19899 char clock_gettime ();
19901 main (void)
19903 return clock_gettime ();
19905 return 0;
19907 _ACEOF
19908 for ac_lib in '' rt
19910 if test -z "$ac_lib"; then
19911 ac_res="none required"
19912 else
19913 ac_res=-l$ac_lib
19914 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19916 if ac_fn_c_try_link "$LINENO"
19917 then :
19918 ac_cv_search_clock_gettime=$ac_res
19920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19921 conftest$ac_exeext
19922 if test ${ac_cv_search_clock_gettime+y}
19923 then :
19924 break
19926 done
19927 if test ${ac_cv_search_clock_gettime+y}
19928 then :
19930 else $as_nop
19931 ac_cv_search_clock_gettime=no
19933 rm conftest.$ac_ext
19934 LIBS=$ac_func_search_save_LIBS
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19937 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19938 ac_res=$ac_cv_search_clock_gettime
19939 if test "$ac_res" != no
19940 then :
19941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19943 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19945 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19949 LIBS=$ac_save_LIBS
19951 esac
19953 if test "x$with_ldap" != "xno"
19954 then
19955 if ${LDAP_CFLAGS:+false} :
19956 then :
19957 if test ${PKG_CONFIG+y}
19958 then :
19959 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19963 if ${LDAP_LIBS:+false} :
19964 then :
19965 if test ${PKG_CONFIG+y}
19966 then :
19967 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19971 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
19972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19974 ac_save_CPPFLAGS=$CPPFLAGS
19975 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19976 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19977 if test "x$ac_cv_header_ldap_h" = xyes
19978 then :
19979 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19982 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19983 if test "x$ac_cv_header_lber_h" = xyes
19984 then :
19985 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19989 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19990 then
19991 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19993 if test "x$ac_cv_type_LDAPSortKey" = xyes
19994 then :
19995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
19996 printf %s "checking for ldap_initialize in -lldap... " >&6; }
19997 if test ${ac_cv_lib_ldap_ldap_initialize+y}
19998 then :
19999 printf %s "(cached) " >&6
20000 else $as_nop
20001 ac_check_lib_save_LIBS=$LIBS
20002 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20006 /* Override any GCC internal prototype to avoid an error.
20007 Use char because int might match the return type of a GCC
20008 builtin and then its argument prototype would still apply. */
20009 char ldap_initialize ();
20011 main (void)
20013 return ldap_initialize ();
20015 return 0;
20017 _ACEOF
20018 if ac_fn_c_try_link "$LINENO"
20019 then :
20020 ac_cv_lib_ldap_ldap_initialize=yes
20021 else $as_nop
20022 ac_cv_lib_ldap_ldap_initialize=no
20024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20025 conftest$ac_exeext conftest.$ac_ext
20026 LIBS=$ac_check_lib_save_LIBS
20028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20029 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20030 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20031 then :
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20033 printf %s "checking for ber_init in -llber... " >&6; }
20034 if test ${ac_cv_lib_lber_ber_init+y}
20035 then :
20036 printf %s "(cached) " >&6
20037 else $as_nop
20038 ac_check_lib_save_LIBS=$LIBS
20039 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20043 /* Override any GCC internal prototype to avoid an error.
20044 Use char because int might match the return type of a GCC
20045 builtin and then its argument prototype would still apply. */
20046 char ber_init ();
20048 main (void)
20050 return ber_init ();
20052 return 0;
20054 _ACEOF
20055 if ac_fn_c_try_link "$LINENO"
20056 then :
20057 ac_cv_lib_lber_ber_init=yes
20058 else $as_nop
20059 ac_cv_lib_lber_ber_init=no
20061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20062 conftest$ac_exeext conftest.$ac_ext
20063 LIBS=$ac_check_lib_save_LIBS
20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20066 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20067 if test "x$ac_cv_lib_lber_ber_init" = xyes
20068 then :
20070 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20072 else $as_nop
20073 LDAP_LIBS=""
20076 else $as_nop
20077 LDAP_LIBS=""
20080 else $as_nop
20081 LDAP_LIBS=""
20084 else
20085 LDAP_LIBS=""
20087 CPPFLAGS=$ac_save_CPPFLAGS
20090 if test "x$LDAP_LIBS" = "x"
20091 then :
20092 case "x$with_ldap" in
20093 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20094 xno) ;;
20095 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20096 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20097 esac
20101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20102 printf %s "checking for sched_setaffinity... " >&6; }
20103 if test ${wine_cv_have_sched_setaffinity+y}
20104 then :
20105 printf %s "(cached) " >&6
20106 else $as_nop
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <sched.h>
20111 main (void)
20113 sched_setaffinity(0, 0, 0);
20115 return 0;
20117 _ACEOF
20118 if ac_fn_c_try_link "$LINENO"
20119 then :
20120 wine_cv_have_sched_setaffinity=yes
20121 else $as_nop
20122 wine_cv_have_sched_setaffinity=no
20124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20125 conftest$ac_exeext conftest.$ac_ext
20127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20128 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20129 if test "$wine_cv_have_sched_setaffinity" = "yes"
20130 then
20132 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20138 printf %s "checking for inline... " >&6; }
20139 if test ${ac_cv_c_inline+y}
20140 then :
20141 printf %s "(cached) " >&6
20142 else $as_nop
20143 ac_cv_c_inline=no
20144 for ac_kw in inline __inline__ __inline; do
20145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20146 /* end confdefs.h. */
20147 #ifndef __cplusplus
20148 typedef int foo_t;
20149 static $ac_kw foo_t static_foo (void) {return 0; }
20150 $ac_kw foo_t foo (void) {return 0; }
20151 #endif
20153 _ACEOF
20154 if ac_fn_c_try_compile "$LINENO"
20155 then :
20156 ac_cv_c_inline=$ac_kw
20158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20159 test "$ac_cv_c_inline" != no && break
20160 done
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20164 printf "%s\n" "$ac_cv_c_inline" >&6; }
20166 case $ac_cv_c_inline in
20167 inline | yes) ;;
20169 case $ac_cv_c_inline in
20170 no) ac_val=;;
20171 *) ac_val=$ac_cv_c_inline;;
20172 esac
20173 cat >>confdefs.h <<_ACEOF
20174 #ifndef __cplusplus
20175 #define inline $ac_val
20176 #endif
20177 _ACEOF
20179 esac
20181 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20182 #include <signal.h>
20184 if test "x$ac_cv_type_sigset_t" = xyes
20185 then :
20187 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20192 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20194 if test "x$ac_cv_type_request_sense" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20203 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20204 #include <sys/socket.h>
20205 #ifdef HAVE_SYS_SOCKETVAR_H
20206 #include <sys/socketvar.h>
20207 #endif
20208 #ifdef HAVE_NET_ROUTE_H
20209 #include <net/route.h>
20210 #endif
20211 #ifdef HAVE_NETINET_IN_H
20212 #include <netinet/in.h>
20213 #endif
20214 #ifdef HAVE_NETINET_IN_SYSTM_H
20215 #include <netinet/in_systm.h>
20216 #endif
20217 #ifdef HAVE_NETINET_IP_H
20218 #include <netinet/ip.h>
20219 #endif
20220 #ifdef HAVE_NETINET_IN_PCB_H
20221 #include <netinet/in_pcb.h>
20222 #endif
20224 if test "x$ac_cv_type_struct_xinpgen" = xyes
20225 then :
20227 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20234 printf %s "checking for sigaddset... " >&6; }
20235 if test ${wine_cv_have_sigaddset+y}
20236 then :
20237 printf %s "(cached) " >&6
20238 else $as_nop
20239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20241 #include <signal.h>
20243 main (void)
20245 sigset_t set; sigaddset(&set,SIGTERM);
20247 return 0;
20249 _ACEOF
20250 if ac_fn_c_try_link "$LINENO"
20251 then :
20252 wine_cv_have_sigaddset=yes
20253 else $as_nop
20254 wine_cv_have_sigaddset=no
20256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20257 conftest$ac_exeext conftest.$ac_ext
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20260 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20261 if test "$wine_cv_have_sigaddset" = "yes"
20262 then
20264 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20270 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20271 if test ${wine_cv_linux_gethostbyname_r_6+y}
20272 then :
20273 printf %s "(cached) " >&6
20274 else $as_nop
20275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20277 #include <netdb.h>
20279 main (void)
20282 char *name=0;
20283 struct hostent he;
20284 struct hostent *result;
20285 char *buf=0;
20286 int bufsize=0;
20287 int errnr;
20288 char *addr=0;
20289 int addrlen=0;
20290 int addrtype=0;
20291 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20292 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20295 return 0;
20297 _ACEOF
20298 if ac_fn_c_try_link "$LINENO"
20299 then :
20300 wine_cv_linux_gethostbyname_r_6=yes
20301 else $as_nop
20302 wine_cv_linux_gethostbyname_r_6=no
20305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20306 conftest$ac_exeext conftest.$ac_ext
20309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20310 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20311 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20312 then
20314 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20318 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20319 #include <sys/socket.h>
20320 #ifdef HAVE_SYS_UN_H
20321 # include <sys/un.h>
20322 #endif
20324 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20325 then :
20327 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20331 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20332 #include <sys/socket.h>
20333 #ifdef HAVE_SYS_UN_H
20334 # include <sys/un.h>
20335 #endif
20337 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20346 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20347 #ifdef HAVE_SCSI_SG_H
20348 #include <scsi/sg.h>
20349 #endif
20351 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20352 then :
20354 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20358 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>
20359 #ifdef HAVE_SCSI_SG_H
20360 #include <scsi/sg.h>
20361 #endif
20363 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20364 then :
20366 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20372 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20374 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20375 then :
20377 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20383 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20384 #ifdef HAVE_SYS_MTIO_H
20385 #include <sys/mtio.h>
20386 #endif
20388 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20389 then :
20391 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20395 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20396 #ifdef HAVE_SYS_MTIO_H
20397 #include <sys/mtio.h>
20398 #endif
20400 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20407 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20408 #ifdef HAVE_SYS_MTIO_H
20409 #include <sys/mtio.h>
20410 #endif
20412 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20413 then :
20415 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20421 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20422 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20423 then :
20425 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20429 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20430 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20431 then :
20433 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20437 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20438 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20439 then :
20441 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20445 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20446 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20453 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20454 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20455 then :
20457 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20461 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20462 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20463 then :
20465 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20469 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20470 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20471 then :
20473 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20477 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20478 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20479 then :
20481 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20485 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20486 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20487 then :
20489 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20493 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20494 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20501 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20502 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20503 then :
20505 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20511 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>
20512 #ifdef HAVE_NETINET_IN_H
20513 #include <netinet/in.h>
20514 #endif
20516 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20517 then :
20519 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20525 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
20526 #include <resolv.h>
20527 #endif
20529 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20530 then :
20532 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20538 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20539 #include <netinet/in.h>
20540 #endif
20542 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20543 then :
20545 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20551 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20552 #ifdef HAVE_SYS_SOCKETVAR_H
20553 #include <sys/socketvar.h>
20554 #endif
20555 #ifdef HAVE_NETINET_IN_H
20556 #include <netinet/in.h>
20557 #endif
20558 #ifdef HAVE_NETINET_IP_VAR_H
20559 #include <netinet/ip_var.h>
20560 #endif
20562 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20563 then :
20565 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20571 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
20572 #include <netinet/ip_var.h>
20573 #endif
20575 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20576 then :
20578 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20584 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20585 #ifdef HAVE_SYS_SOCKETVAR_H
20586 #include <sys/socketvar.h>
20587 #endif
20588 #ifdef HAVE_NETINET_IN_H
20589 #include <netinet/in.h>
20590 #endif
20591 #ifdef HAVE_NETINET_TCP_H
20592 #include <netinet/tcp.h>
20593 #endif
20594 #ifdef HAVE_NETINET_TCP_VAR_H
20595 #include <netinet/tcp_var.h>
20596 #endif
20598 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20599 then :
20601 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20607 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
20608 #include <netinet/tcp_var.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20620 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20621 #ifdef HAVE_NETINET_IN_H
20622 #include <netinet/in.h>
20623 #endif
20624 #ifdef HAVE_NETINET_IP_VAR_H
20625 #include <netinet/ip_var.h>
20626 #endif
20627 #ifdef HAVE_NETINET_UDP_H
20628 #include <netinet/udp.h>
20629 #endif
20630 #ifdef HAVE_NETINET_UDP_VAR_H
20631 #include <netinet/udp_var.h>
20632 #endif
20634 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20643 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20644 #ifdef HAVE_NET_IF_H
20645 # include <net/if.h>
20646 #endif
20648 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20649 then :
20651 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20657 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20658 # include <sys/sysinfo.h>
20659 #endif
20661 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20662 then :
20664 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20668 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20669 # include <sys/sysinfo.h>
20670 #endif
20672 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20673 then :
20675 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20681 LIBS="$ac_save_LIBS"
20683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20684 printf %s "checking for __builtin_popcount... " >&6; }
20685 if test ${ac_cv_have___builtin_popcount+y}
20686 then :
20687 printf %s "(cached) " >&6
20688 else $as_nop
20689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20693 main (void)
20695 return __builtin_popcount(1)
20697 return 0;
20699 _ACEOF
20700 if ac_fn_c_try_link "$LINENO"
20701 then :
20702 ac_cv_have___builtin_popcount="yes"
20703 else $as_nop
20704 ac_cv_have___builtin_popcount="no"
20706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20707 conftest$ac_exeext conftest.$ac_ext
20709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20710 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20711 if test "$ac_cv_have___builtin_popcount" = "yes"
20712 then
20714 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20719 printf %s "checking for __clear_cache... " >&6; }
20720 if test ${ac_cv_have___clear_cache+y}
20721 then :
20722 printf %s "(cached) " >&6
20723 else $as_nop
20724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20725 /* end confdefs.h. */
20728 main (void)
20730 __clear_cache((void*)0, (void*)0); return 0;
20732 return 0;
20734 _ACEOF
20735 if ac_fn_c_try_link "$LINENO"
20736 then :
20737 ac_cv_have___clear_cache="yes"
20738 else $as_nop
20739 ac_cv_have___clear_cache="no"
20741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20742 conftest$ac_exeext conftest.$ac_ext
20744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20745 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20746 if test "$ac_cv_have___clear_cache" = "yes"
20747 then
20749 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20754 case $host_cpu in
20755 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20756 printf %s "checking whether we need to define __i386__... " >&6; }
20757 if test ${ac_cv_cpp_def___i386__+y}
20758 then :
20759 printf %s "(cached) " >&6
20760 else $as_nop
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #ifndef __i386__
20765 #endif
20766 _ACEOF
20767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20768 $EGREP "yes" >/dev/null 2>&1
20769 then :
20770 ac_cv_cpp_def___i386__=yes
20771 else $as_nop
20772 ac_cv_cpp_def___i386__=no
20774 rm -rf conftest*
20777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20778 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20779 if test "x$ac_cv_cpp_def___i386__" = xyes
20780 then :
20781 CFLAGS="$CFLAGS -D__i386__"
20782 LINTFLAGS="$LINTFLAGS -D__i386__"
20783 fi ;;
20784 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20785 printf %s "checking whether we need to define __x86_64__... " >&6; }
20786 if test ${ac_cv_cpp_def___x86_64__+y}
20787 then :
20788 printf %s "(cached) " >&6
20789 else $as_nop
20790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20792 #ifndef __x86_64__
20794 #endif
20795 _ACEOF
20796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20797 $EGREP "yes" >/dev/null 2>&1
20798 then :
20799 ac_cv_cpp_def___x86_64__=yes
20800 else $as_nop
20801 ac_cv_cpp_def___x86_64__=no
20803 rm -rf conftest*
20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20807 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20808 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20809 then :
20810 CFLAGS="$CFLAGS -D__x86_64__"
20811 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20812 fi ;;
20813 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20814 printf %s "checking whether we need to define __sparc64__... " >&6; }
20815 if test ${ac_cv_cpp_def___sparc64__+y}
20816 then :
20817 printf %s "(cached) " >&6
20818 else $as_nop
20819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20820 /* end confdefs.h. */
20821 #ifndef __sparc64__
20823 #endif
20824 _ACEOF
20825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20826 $EGREP "yes" >/dev/null 2>&1
20827 then :
20828 ac_cv_cpp_def___sparc64__=yes
20829 else $as_nop
20830 ac_cv_cpp_def___sparc64__=no
20832 rm -rf conftest*
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20836 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20837 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20838 then :
20839 CFLAGS="$CFLAGS -D__sparc64__"
20840 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20841 fi ;;
20842 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20843 printf %s "checking whether we need to define __sparc__... " >&6; }
20844 if test ${ac_cv_cpp_def___sparc__+y}
20845 then :
20846 printf %s "(cached) " >&6
20847 else $as_nop
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20850 #ifndef __sparc__
20852 #endif
20853 _ACEOF
20854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20855 $EGREP "yes" >/dev/null 2>&1
20856 then :
20857 ac_cv_cpp_def___sparc__=yes
20858 else $as_nop
20859 ac_cv_cpp_def___sparc__=no
20861 rm -rf conftest*
20864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20865 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20866 if test "x$ac_cv_cpp_def___sparc__" = xyes
20867 then :
20868 CFLAGS="$CFLAGS -D__sparc__"
20869 LINTFLAGS="$LINTFLAGS -D__sparc__"
20870 fi ;;
20871 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20872 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20873 if test ${ac_cv_cpp_def___powerpc64__+y}
20874 then :
20875 printf %s "(cached) " >&6
20876 else $as_nop
20877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20878 /* end confdefs.h. */
20879 #ifndef __powerpc64__
20881 #endif
20882 _ACEOF
20883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20884 $EGREP "yes" >/dev/null 2>&1
20885 then :
20886 ac_cv_cpp_def___powerpc64__=yes
20887 else $as_nop
20888 ac_cv_cpp_def___powerpc64__=no
20890 rm -rf conftest*
20893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20894 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20895 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20896 then :
20897 CFLAGS="$CFLAGS -D__powerpc64__"
20898 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20899 fi ;;
20900 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20901 printf %s "checking whether we need to define __powerpc__... " >&6; }
20902 if test ${ac_cv_cpp_def___powerpc__+y}
20903 then :
20904 printf %s "(cached) " >&6
20905 else $as_nop
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908 #ifndef __powerpc__
20910 #endif
20911 _ACEOF
20912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20913 $EGREP "yes" >/dev/null 2>&1
20914 then :
20915 ac_cv_cpp_def___powerpc__=yes
20916 else $as_nop
20917 ac_cv_cpp_def___powerpc__=no
20919 rm -rf conftest*
20922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20923 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20924 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20925 then :
20926 CFLAGS="$CFLAGS -D__powerpc__"
20927 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20928 fi ;;
20929 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20930 printf %s "checking whether we need to define __aarch64__... " >&6; }
20931 if test ${ac_cv_cpp_def___aarch64__+y}
20932 then :
20933 printf %s "(cached) " >&6
20934 else $as_nop
20935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h. */
20937 #ifndef __aarch64__
20939 #endif
20940 _ACEOF
20941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20942 $EGREP "yes" >/dev/null 2>&1
20943 then :
20944 ac_cv_cpp_def___aarch64__=yes
20945 else $as_nop
20946 ac_cv_cpp_def___aarch64__=no
20948 rm -rf conftest*
20951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20952 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20953 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20954 then :
20955 CFLAGS="$CFLAGS -D__aarch64__"
20956 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20957 fi ;;
20958 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20959 printf %s "checking whether we need to define __arm__... " >&6; }
20960 if test ${ac_cv_cpp_def___arm__+y}
20961 then :
20962 printf %s "(cached) " >&6
20963 else $as_nop
20964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20965 /* end confdefs.h. */
20966 #ifndef __arm__
20968 #endif
20969 _ACEOF
20970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20971 $EGREP "yes" >/dev/null 2>&1
20972 then :
20973 ac_cv_cpp_def___arm__=yes
20974 else $as_nop
20975 ac_cv_cpp_def___arm__=no
20977 rm -rf conftest*
20980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20981 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20982 if test "x$ac_cv_cpp_def___arm__" = xyes
20983 then :
20984 CFLAGS="$CFLAGS -D__arm__"
20985 LINTFLAGS="$LINTFLAGS -D__arm__"
20986 fi ;;
20987 esac
20989 case $host_vendor in
20990 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20991 printf %s "checking whether we need to define __sun__... " >&6; }
20992 if test ${ac_cv_cpp_def___sun__+y}
20993 then :
20994 printf %s "(cached) " >&6
20995 else $as_nop
20996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20997 /* end confdefs.h. */
20998 #ifndef __sun__
21000 #endif
21001 _ACEOF
21002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21003 $EGREP "yes" >/dev/null 2>&1
21004 then :
21005 ac_cv_cpp_def___sun__=yes
21006 else $as_nop
21007 ac_cv_cpp_def___sun__=no
21009 rm -rf conftest*
21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21013 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21014 if test "x$ac_cv_cpp_def___sun__" = xyes
21015 then :
21016 CFLAGS="$CFLAGS -D__sun__"
21017 LINTFLAGS="$LINTFLAGS -D__sun__"
21018 fi ;;
21019 esac
21025 ac_config_commands="$ac_config_commands include/stamp-h"
21027 printf %s "creating Makefile rules..." >&6
21029 makedep_flags=""
21030 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21032 wine_srcdir=
21033 test "$srcdir" = . || wine_srcdir="$srcdir/"
21035 ac_config_links="$ac_config_links wine:tools/winewrapper"
21036 wine_fn_config_symlink wine
21037 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21038 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21039 wine_fn_config_symlink wine64
21042 wine_fn_config_makefile dlls/acledit enable_acledit
21043 wine_fn_config_makefile dlls/aclui enable_aclui
21044 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21045 wine_fn_config_makefile dlls/activeds enable_activeds
21046 wine_fn_config_makefile dlls/activeds/tests enable_tests
21047 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21048 wine_fn_config_makefile dlls/adsldp enable_adsldp
21049 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21050 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21051 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21052 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21053 wine_fn_config_makefile dlls/advpack enable_advpack
21054 wine_fn_config_makefile dlls/advpack/tests enable_tests
21055 wine_fn_config_makefile dlls/amsi enable_amsi
21056 wine_fn_config_makefile dlls/amstream enable_amstream
21057 wine_fn_config_makefile dlls/amstream/tests enable_tests
21058 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21059 wine_fn_config_makefile dlls/apphelp enable_apphelp
21060 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21061 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21062 wine_fn_config_makefile dlls/atl enable_atl
21063 wine_fn_config_makefile dlls/atl/tests enable_tests
21064 wine_fn_config_makefile dlls/atl100 enable_atl100
21065 wine_fn_config_makefile dlls/atl100/tests enable_tests
21066 wine_fn_config_makefile dlls/atl110 enable_atl110
21067 wine_fn_config_makefile dlls/atl80 enable_atl80
21068 wine_fn_config_makefile dlls/atl80/tests enable_tests
21069 wine_fn_config_makefile dlls/atl90 enable_atl90
21070 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21071 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21072 wine_fn_config_makefile dlls/atmlib enable_atmlib
21073 wine_fn_config_makefile dlls/authz enable_authz
21074 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21075 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21076 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21077 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21078 wine_fn_config_makefile dlls/avrt enable_avrt
21079 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21080 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21081 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21082 wine_fn_config_makefile dlls/browseui enable_browseui
21083 wine_fn_config_makefile dlls/browseui/tests enable_tests
21084 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21085 wine_fn_config_makefile dlls/cabinet enable_cabinet
21086 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21087 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21088 wine_fn_config_makefile dlls/cards enable_cards
21089 wine_fn_config_makefile dlls/cdosys enable_cdosys
21090 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21091 wine_fn_config_makefile dlls/clusapi enable_clusapi
21092 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21093 wine_fn_config_makefile dlls/combase enable_combase
21094 wine_fn_config_makefile dlls/combase/tests enable_tests
21095 wine_fn_config_makefile dlls/comcat enable_comcat
21096 wine_fn_config_makefile dlls/comcat/tests enable_tests
21097 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21098 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21099 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21100 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21101 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21102 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21103 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21104 wine_fn_config_makefile dlls/compstui enable_compstui
21105 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21106 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21107 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21108 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21109 wine_fn_config_makefile dlls/connect enable_connect
21110 wine_fn_config_makefile dlls/credui enable_credui
21111 wine_fn_config_makefile dlls/credui/tests enable_tests
21112 wine_fn_config_makefile dlls/crtdll enable_crtdll
21113 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21114 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21115 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21116 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21117 wine_fn_config_makefile dlls/cryptext enable_cryptext
21118 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21119 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21120 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21121 wine_fn_config_makefile dlls/cryptui enable_cryptui
21122 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21123 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21124 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21125 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21126 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21127 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21128 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21129 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21130 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21131 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21132 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21133 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21134 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21135 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21136 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21137 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21138 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21139 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21140 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21141 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21142 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21143 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21144 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21145 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21146 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21147 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21148 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21149 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21150 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21151 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21152 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21153 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21154 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21155 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21156 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21157 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21158 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21159 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21160 wine_fn_config_makefile dlls/d3dim enable_d3dim
21161 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21162 wine_fn_config_makefile dlls/d3drm enable_d3drm
21163 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21164 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21165 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21166 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21167 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21168 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21169 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21170 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21171 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21172 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21173 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21174 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21175 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21176 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21177 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21178 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21179 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21180 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21181 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21182 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21183 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21184 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21185 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21186 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21187 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21188 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21189 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21190 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21191 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21192 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21193 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21194 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21195 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21196 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21197 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21198 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21199 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21200 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21201 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21202 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21203 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21204 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21205 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21206 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21207 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21208 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21209 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21210 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21211 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21212 wine_fn_config_makefile dlls/davclnt enable_davclnt
21213 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21214 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21215 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21216 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21217 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21218 wine_fn_config_makefile dlls/dcomp enable_dcomp
21219 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21220 wine_fn_config_makefile dlls/ddraw enable_ddraw
21221 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21222 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21223 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21224 wine_fn_config_makefile dlls/devenum enable_devenum
21225 wine_fn_config_makefile dlls/devenum/tests enable_tests
21226 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21227 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21228 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21229 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21230 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21231 wine_fn_config_makefile dlls/difxapi enable_difxapi
21232 wine_fn_config_makefile dlls/dinput enable_dinput
21233 wine_fn_config_makefile dlls/dinput/tests enable_tests
21234 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21235 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21236 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21237 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21238 wine_fn_config_makefile dlls/dispex enable_dispex
21239 wine_fn_config_makefile dlls/dispex/tests enable_tests
21240 wine_fn_config_makefile dlls/display.drv16 enable_win16
21241 wine_fn_config_makefile dlls/dmband enable_dmband
21242 wine_fn_config_makefile dlls/dmband/tests enable_tests
21243 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21244 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21245 wine_fn_config_makefile dlls/dmime enable_dmime
21246 wine_fn_config_makefile dlls/dmime/tests enable_tests
21247 wine_fn_config_makefile dlls/dmloader enable_dmloader
21248 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21249 wine_fn_config_makefile dlls/dmscript enable_dmscript
21250 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21251 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21252 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21253 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21254 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21255 wine_fn_config_makefile dlls/dmusic enable_dmusic
21256 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21257 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21258 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21259 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21260 wine_fn_config_makefile dlls/dplay enable_dplay
21261 wine_fn_config_makefile dlls/dplayx enable_dplayx
21262 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21263 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21264 wine_fn_config_makefile dlls/dpnet enable_dpnet
21265 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21266 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21267 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21268 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21269 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21270 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21271 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21272 wine_fn_config_makefile dlls/drmclien enable_drmclien
21273 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21274 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21275 wine_fn_config_makefile dlls/dsound enable_dsound
21276 wine_fn_config_makefile dlls/dsound/tests enable_tests
21277 wine_fn_config_makefile dlls/dsquery enable_dsquery
21278 wine_fn_config_makefile dlls/dssenh enable_dssenh
21279 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21280 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21281 wine_fn_config_makefile dlls/dswave enable_dswave
21282 wine_fn_config_makefile dlls/dswave/tests enable_tests
21283 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21284 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21285 wine_fn_config_makefile dlls/dwrite enable_dwrite
21286 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21287 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21288 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21289 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21290 wine_fn_config_makefile dlls/dxgi enable_dxgi
21291 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21292 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21293 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21294 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21295 wine_fn_config_makefile dlls/esent enable_esent
21296 wine_fn_config_makefile dlls/evr enable_evr
21297 wine_fn_config_makefile dlls/evr/tests enable_tests
21298 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21299 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21300 wine_fn_config_makefile dlls/faultrep enable_faultrep
21301 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21302 wine_fn_config_makefile dlls/feclient enable_feclient
21303 wine_fn_config_makefile dlls/fltlib enable_fltlib
21304 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21305 wine_fn_config_makefile dlls/fntcache enable_fntcache
21306 wine_fn_config_makefile dlls/fontsub enable_fontsub
21307 wine_fn_config_makefile dlls/fusion enable_fusion
21308 wine_fn_config_makefile dlls/fusion/tests enable_tests
21309 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21310 wine_fn_config_makefile dlls/gameux enable_gameux
21311 wine_fn_config_makefile dlls/gameux/tests enable_tests
21312 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21313 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21314 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21315 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21316 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21317 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21318 wine_fn_config_makefile dlls/glu32 enable_glu32
21319 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21320 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21321 wine_fn_config_makefile dlls/hal enable_hal
21322 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21323 wine_fn_config_makefile dlls/hid enable_hid
21324 wine_fn_config_makefile dlls/hid/tests enable_tests
21325 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21326 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21327 wine_fn_config_makefile dlls/hlink enable_hlink
21328 wine_fn_config_makefile dlls/hlink/tests enable_tests
21329 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21330 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21331 wine_fn_config_makefile dlls/http.sys enable_http_sys
21332 wine_fn_config_makefile dlls/httpapi enable_httpapi
21333 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21334 wine_fn_config_makefile dlls/iccvid enable_iccvid
21335 wine_fn_config_makefile dlls/icmp enable_icmp
21336 wine_fn_config_makefile dlls/ieframe enable_ieframe
21337 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21338 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21339 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21340 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21341 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21342 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21343 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21344 wine_fn_config_makefile dlls/imm32 enable_imm32
21345 wine_fn_config_makefile dlls/imm32/tests enable_tests
21346 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21347 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21348 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21349 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21350 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21351 wine_fn_config_makefile dlls/infosoft enable_infosoft
21352 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21353 wine_fn_config_makefile dlls/initpki enable_initpki
21354 wine_fn_config_makefile dlls/inkobj enable_inkobj
21355 wine_fn_config_makefile dlls/inseng enable_inseng
21356 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21357 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21358 wine_fn_config_makefile dlls/iprop enable_iprop
21359 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21360 wine_fn_config_makefile dlls/itircl enable_itircl
21361 wine_fn_config_makefile dlls/itss enable_itss
21362 wine_fn_config_makefile dlls/itss/tests enable_tests
21363 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21364 wine_fn_config_makefile dlls/jscript enable_jscript
21365 wine_fn_config_makefile dlls/jscript/tests enable_tests
21366 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21367 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21368 wine_fn_config_makefile dlls/kerberos enable_kerberos
21369 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21370 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21371 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21372 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21373 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21374 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21375 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21376 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21377 wine_fn_config_makefile dlls/ksuser enable_ksuser
21378 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21379 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21380 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21381 wine_fn_config_makefile dlls/loadperf enable_loadperf
21382 wine_fn_config_makefile dlls/localspl enable_localspl
21383 wine_fn_config_makefile dlls/localspl/tests enable_tests
21384 wine_fn_config_makefile dlls/localui enable_localui
21385 wine_fn_config_makefile dlls/localui/tests enable_tests
21386 wine_fn_config_makefile dlls/lz32 enable_lz32
21387 wine_fn_config_makefile dlls/lz32/tests enable_tests
21388 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21389 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21390 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21391 wine_fn_config_makefile dlls/mapistub enable_mapistub
21392 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21393 wine_fn_config_makefile dlls/mcicda enable_mcicda
21394 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21395 wine_fn_config_makefile dlls/mciseq enable_mciseq
21396 wine_fn_config_makefile dlls/mciwave enable_mciwave
21397 wine_fn_config_makefile dlls/mf enable_mf
21398 wine_fn_config_makefile dlls/mf/tests enable_tests
21399 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21400 wine_fn_config_makefile dlls/mferror enable_mferror
21401 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21402 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21403 wine_fn_config_makefile dlls/mfplat enable_mfplat
21404 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21405 wine_fn_config_makefile dlls/mfplay enable_mfplay
21406 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21407 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21408 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21409 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21410 wine_fn_config_makefile dlls/midimap enable_midimap
21411 wine_fn_config_makefile dlls/mlang enable_mlang
21412 wine_fn_config_makefile dlls/mlang/tests enable_tests
21413 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21414 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21415 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21416 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21417 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21418 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21419 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21420 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21421 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21422 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21423 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21424 wine_fn_config_makefile dlls/mpr enable_mpr
21425 wine_fn_config_makefile dlls/mpr/tests enable_tests
21426 wine_fn_config_makefile dlls/mprapi enable_mprapi
21427 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21428 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21429 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21430 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21431 wine_fn_config_makefile dlls/msado15 enable_msado15
21432 wine_fn_config_makefile dlls/msado15/tests enable_tests
21433 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21434 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21435 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21436 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21437 wine_fn_config_makefile dlls/mscms enable_mscms
21438 wine_fn_config_makefile dlls/mscms/tests enable_tests
21439 wine_fn_config_makefile dlls/mscoree enable_mscoree
21440 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21441 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21442 wine_fn_config_makefile dlls/msctf enable_msctf
21443 wine_fn_config_makefile dlls/msctf/tests enable_tests
21444 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21445 wine_fn_config_makefile dlls/msctfp enable_msctfp
21446 wine_fn_config_makefile dlls/msdaps enable_msdaps
21447 wine_fn_config_makefile dlls/msdasql enable_msdasql
21448 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21449 wine_fn_config_makefile dlls/msdelta enable_msdelta
21450 wine_fn_config_makefile dlls/msdmo enable_msdmo
21451 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21452 wine_fn_config_makefile dlls/msdrm enable_msdrm
21453 wine_fn_config_makefile dlls/msftedit enable_msftedit
21454 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21455 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21456 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21457 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21458 wine_fn_config_makefile dlls/mshtml enable_mshtml
21459 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21460 wine_fn_config_makefile dlls/msi enable_msi
21461 wine_fn_config_makefile dlls/msi/tests enable_tests
21462 wine_fn_config_makefile dlls/msident enable_msident
21463 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21464 wine_fn_config_makefile dlls/msimsg enable_msimsg
21465 wine_fn_config_makefile dlls/msimtf enable_msimtf
21466 wine_fn_config_makefile dlls/msisip enable_msisip
21467 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21468 wine_fn_config_makefile dlls/msls31 enable_msls31
21469 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21470 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21471 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21472 wine_fn_config_makefile dlls/msports enable_msports
21473 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21474 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21475 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21476 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21477 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21478 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21479 wine_fn_config_makefile dlls/mstask enable_mstask
21480 wine_fn_config_makefile dlls/mstask/tests enable_tests
21481 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21482 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21483 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21485 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21486 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21487 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21488 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21489 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21490 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21491 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21492 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21493 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21494 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21495 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21496 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21497 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21498 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21499 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21500 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21501 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21502 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21503 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21504 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21505 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21506 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21507 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21508 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21509 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21510 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21511 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21512 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21513 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21514 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21515 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21516 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21517 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21518 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21519 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21520 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21521 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21522 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21523 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21524 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21525 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21526 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21527 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21528 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21529 wine_fn_config_makefile dlls/mswsock enable_mswsock
21530 wine_fn_config_makefile dlls/msxml enable_msxml
21531 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21532 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21533 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21534 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21535 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21536 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21537 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21538 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21539 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21540 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21541 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21542 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21543 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21544 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21545 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21546 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21547 wine_fn_config_makefile dlls/netprofm enable_netprofm
21548 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21549 wine_fn_config_makefile dlls/netutils enable_netutils
21550 wine_fn_config_makefile dlls/newdev enable_newdev
21551 wine_fn_config_makefile dlls/ninput enable_ninput
21552 wine_fn_config_makefile dlls/ninput/tests enable_tests
21553 wine_fn_config_makefile dlls/normaliz enable_normaliz
21554 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21555 wine_fn_config_makefile dlls/npptools enable_npptools
21556 wine_fn_config_makefile dlls/nsi enable_nsi
21557 wine_fn_config_makefile dlls/nsi/tests enable_tests
21558 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21559 wine_fn_config_makefile dlls/ntdll enable_ntdll
21560 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21561 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21562 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21563 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21564 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21565 wine_fn_config_makefile dlls/ntprint enable_ntprint
21566 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21567 wine_fn_config_makefile dlls/objsel enable_objsel
21568 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21569 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21570 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21571 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21572 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21573 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21574 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21575 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21576 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21577 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21578 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21579 wine_fn_config_makefile dlls/ole32 enable_ole32
21580 wine_fn_config_makefile dlls/ole32/tests enable_tests
21581 wine_fn_config_makefile dlls/oleacc enable_oleacc
21582 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21583 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21584 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21585 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21586 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21587 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21588 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21589 wine_fn_config_makefile dlls/oledlg enable_oledlg
21590 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21591 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21592 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21593 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21594 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21595 wine_fn_config_makefile dlls/opcservices enable_opcservices
21596 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21597 wine_fn_config_makefile dlls/openal32 enable_openal32
21598 wine_fn_config_makefile dlls/opencl enable_opencl
21599 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21600 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21601 wine_fn_config_makefile dlls/packager enable_packager
21602 wine_fn_config_makefile dlls/packager/tests enable_tests
21603 wine_fn_config_makefile dlls/pdh enable_pdh
21604 wine_fn_config_makefile dlls/pdh/tests enable_tests
21605 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21606 wine_fn_config_makefile dlls/pidgen enable_pidgen
21607 wine_fn_config_makefile dlls/powrprof enable_powrprof
21608 wine_fn_config_makefile dlls/printui enable_printui
21609 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21610 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21611 wine_fn_config_makefile dlls/propsys enable_propsys
21612 wine_fn_config_makefile dlls/propsys/tests enable_tests
21613 wine_fn_config_makefile dlls/psapi enable_psapi
21614 wine_fn_config_makefile dlls/psapi/tests enable_tests
21615 wine_fn_config_makefile dlls/pstorec enable_pstorec
21616 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21617 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21618 wine_fn_config_makefile dlls/qasf enable_qasf
21619 wine_fn_config_makefile dlls/qasf/tests enable_tests
21620 wine_fn_config_makefile dlls/qcap enable_qcap
21621 wine_fn_config_makefile dlls/qcap/tests enable_tests
21622 wine_fn_config_makefile dlls/qdvd enable_qdvd
21623 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21624 wine_fn_config_makefile dlls/qedit enable_qedit
21625 wine_fn_config_makefile dlls/qedit/tests enable_tests
21626 wine_fn_config_makefile dlls/qmgr enable_qmgr
21627 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21628 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21629 wine_fn_config_makefile dlls/quartz enable_quartz
21630 wine_fn_config_makefile dlls/quartz/tests enable_tests
21631 wine_fn_config_makefile dlls/query enable_query
21632 wine_fn_config_makefile dlls/qwave enable_qwave
21633 wine_fn_config_makefile dlls/qwave/tests enable_tests
21634 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21635 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21636 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21637 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21638 wine_fn_config_makefile dlls/regapi enable_regapi
21639 wine_fn_config_makefile dlls/resutils enable_resutils
21640 wine_fn_config_makefile dlls/riched20 enable_riched20
21641 wine_fn_config_makefile dlls/riched20/tests enable_tests
21642 wine_fn_config_makefile dlls/riched32 enable_riched32
21643 wine_fn_config_makefile dlls/riched32/tests enable_tests
21644 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21645 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21646 wine_fn_config_makefile dlls/rsabase enable_rsabase
21647 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21648 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21649 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21650 wine_fn_config_makefile dlls/rtutils enable_rtutils
21651 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21652 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21653 wine_fn_config_makefile dlls/samlib enable_samlib
21654 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21655 wine_fn_config_makefile dlls/sapi enable_sapi
21656 wine_fn_config_makefile dlls/sapi/tests enable_tests
21657 wine_fn_config_makefile dlls/sas enable_sas
21658 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21659 wine_fn_config_makefile dlls/sccbase enable_sccbase
21660 wine_fn_config_makefile dlls/schannel enable_schannel
21661 wine_fn_config_makefile dlls/schannel/tests enable_tests
21662 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21663 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21664 wine_fn_config_makefile dlls/scrobj enable_scrobj
21665 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21666 wine_fn_config_makefile dlls/scrrun enable_scrrun
21667 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21668 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21669 wine_fn_config_makefile dlls/sechost enable_sechost
21670 wine_fn_config_makefile dlls/secur32 enable_secur32
21671 wine_fn_config_makefile dlls/secur32/tests enable_tests
21672 wine_fn_config_makefile dlls/security enable_security
21673 wine_fn_config_makefile dlls/sensapi enable_sensapi
21674 wine_fn_config_makefile dlls/serialui enable_serialui
21675 wine_fn_config_makefile dlls/serialui/tests enable_tests
21676 wine_fn_config_makefile dlls/setupapi enable_setupapi
21677 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21678 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21679 wine_fn_config_makefile dlls/sfc enable_sfc
21680 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21681 wine_fn_config_makefile dlls/shcore enable_shcore
21682 wine_fn_config_makefile dlls/shcore/tests enable_tests
21683 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21684 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21685 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21686 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21687 wine_fn_config_makefile dlls/shell32 enable_shell32
21688 wine_fn_config_makefile dlls/shell32/tests enable_tests
21689 wine_fn_config_makefile dlls/shfolder enable_shfolder
21690 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21691 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21692 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21693 wine_fn_config_makefile dlls/slc enable_slc
21694 wine_fn_config_makefile dlls/slc/tests enable_tests
21695 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21696 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21697 wine_fn_config_makefile dlls/softpub enable_softpub
21698 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21699 wine_fn_config_makefile dlls/spoolss enable_spoolss
21700 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21701 wine_fn_config_makefile dlls/sppc enable_sppc
21702 wine_fn_config_makefile dlls/srclient enable_srclient
21703 wine_fn_config_makefile dlls/srvcli enable_srvcli
21704 wine_fn_config_makefile dlls/sspicli enable_sspicli
21705 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21706 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21707 wine_fn_config_makefile dlls/sti enable_sti
21708 wine_fn_config_makefile dlls/sti/tests enable_tests
21709 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21710 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21711 wine_fn_config_makefile dlls/strmdll enable_strmdll
21712 wine_fn_config_makefile dlls/svrapi enable_svrapi
21713 wine_fn_config_makefile dlls/sxs enable_sxs
21714 wine_fn_config_makefile dlls/sxs/tests enable_tests
21715 wine_fn_config_makefile dlls/system.drv16 enable_win16
21716 wine_fn_config_makefile dlls/t2embed enable_t2embed
21717 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21718 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21719 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21720 wine_fn_config_makefile dlls/taskschd enable_taskschd
21721 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21722 wine_fn_config_makefile dlls/tbs enable_tbs
21723 wine_fn_config_makefile dlls/tdh enable_tdh
21724 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21725 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21726 wine_fn_config_makefile dlls/traffic enable_traffic
21727 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21728 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21729 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21730 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21731 wine_fn_config_makefile dlls/tzres enable_tzres
21732 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21733 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21734 wine_fn_config_makefile dlls/uianimation enable_uianimation
21735 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21736 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21737 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21738 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21739 wine_fn_config_makefile dlls/unicows enable_unicows
21740 wine_fn_config_makefile dlls/updspapi enable_updspapi
21741 wine_fn_config_makefile dlls/url enable_url
21742 wine_fn_config_makefile dlls/urlmon enable_urlmon
21743 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21744 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21745 wine_fn_config_makefile dlls/user.exe16 enable_win16
21746 wine_fn_config_makefile dlls/user32 enable_user32
21747 wine_fn_config_makefile dlls/user32/tests enable_tests
21748 wine_fn_config_makefile dlls/userenv enable_userenv
21749 wine_fn_config_makefile dlls/userenv/tests enable_tests
21750 wine_fn_config_makefile dlls/usp10 enable_usp10
21751 wine_fn_config_makefile dlls/usp10/tests enable_tests
21752 wine_fn_config_makefile dlls/utildll enable_utildll
21753 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21754 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21755 wine_fn_config_makefile dlls/vbscript enable_vbscript
21756 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21757 wine_fn_config_makefile dlls/vcomp enable_vcomp
21758 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21759 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21760 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21761 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21762 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21763 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21764 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21765 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21766 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21767 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21768 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21769 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21770 wine_fn_config_makefile dlls/version enable_version
21771 wine_fn_config_makefile dlls/version/tests enable_tests
21772 wine_fn_config_makefile dlls/vga enable_vga
21773 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21774 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21775 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21776 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21777 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21778 wine_fn_config_makefile dlls/vssapi enable_vssapi
21779 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21780 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21781 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21782 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21783 wine_fn_config_makefile dlls/w32skrnl enable_win16
21784 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21785 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21786 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21787 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21788 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21789 wine_fn_config_makefile dlls/wdscore enable_wdscore
21790 wine_fn_config_makefile dlls/webservices enable_webservices
21791 wine_fn_config_makefile dlls/webservices/tests enable_tests
21792 wine_fn_config_makefile dlls/websocket enable_websocket
21793 wine_fn_config_makefile dlls/wer enable_wer
21794 wine_fn_config_makefile dlls/wer/tests enable_tests
21795 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21796 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21797 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21798 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21799 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21800 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21801 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21802 wine_fn_config_makefile dlls/win32u enable_win32u
21803 wine_fn_config_makefile dlls/win32u/tests enable_tests
21804 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21805 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21806 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21807 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21808 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21809 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21810 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21811 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21812 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21813 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21814 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21815 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21816 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21817 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21818 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21819 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21820 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21821 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21822 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21823 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21824 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21825 wine_fn_config_makefile dlls/wined3d enable_wined3d
21826 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21827 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21828 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21829 wine_fn_config_makefile dlls/winemapi enable_winemapi
21830 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21831 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21832 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21833 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21834 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21835 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21836 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21837 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21838 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21839 wine_fn_config_makefile dlls/wing32 enable_wing32
21840 wine_fn_config_makefile dlls/winhttp enable_winhttp
21841 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21842 wine_fn_config_makefile dlls/wininet enable_wininet
21843 wine_fn_config_makefile dlls/wininet/tests enable_tests
21844 wine_fn_config_makefile dlls/winmm enable_winmm
21845 wine_fn_config_makefile dlls/winmm/tests enable_tests
21846 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21847 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21848 wine_fn_config_makefile dlls/winscard enable_winscard
21849 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21850 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21851 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21852 wine_fn_config_makefile dlls/winsta enable_winsta
21853 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21854 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21855 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21856 wine_fn_config_makefile dlls/wintrust enable_wintrust
21857 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21858 wine_fn_config_makefile dlls/winusb enable_winusb
21859 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21860 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21861 wine_fn_config_makefile dlls/wlanui enable_wlanui
21862 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21863 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21864 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21865 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21866 wine_fn_config_makefile dlls/wmasf enable_wmasf
21867 wine_fn_config_makefile dlls/wmi enable_wmi
21868 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21869 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21870 wine_fn_config_makefile dlls/wmp enable_wmp
21871 wine_fn_config_makefile dlls/wmp/tests enable_tests
21872 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21873 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21874 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21875 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21876 wine_fn_config_makefile dlls/wow32 enable_win16
21877 wine_fn_config_makefile dlls/wow64 enable_wow64
21878 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21879 wine_fn_config_makefile dlls/wow64win enable_wow64win
21880 wine_fn_config_makefile dlls/wpc enable_wpc
21881 wine_fn_config_makefile dlls/wpc/tests enable_tests
21882 wine_fn_config_makefile dlls/wpcap enable_wpcap
21883 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21884 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21885 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21886 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21887 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21888 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21889 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21890 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21891 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21892 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21893 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21894 wine_fn_config_makefile dlls/wuapi enable_wuapi
21895 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21896 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21897 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21898 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21899 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21900 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21901 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21902 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21903 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21904 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21905 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21906 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21907 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21908 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21909 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21910 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21911 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21912 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21913 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21914 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21915 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21916 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21917 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21918 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21919 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21920 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21921 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21922 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21923 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21924 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21925 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21926 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21927 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21928 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21929 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21930 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21931 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21932 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21933 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21934 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21935 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21936 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21937 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21938 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21939 wine_fn_config_makefile dlls/xmllite enable_xmllite
21940 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21941 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21942 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21943 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21944 wine_fn_config_makefile fonts enable_fonts
21945 wine_fn_config_makefile include enable_include
21946 wine_fn_config_makefile libs/adsiid enable_adsiid
21947 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21948 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21949 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21950 wine_fn_config_makefile libs/dxguid enable_dxguid
21951 wine_fn_config_makefile libs/faudio enable_faudio
21952 wine_fn_config_makefile libs/gsm enable_gsm
21953 wine_fn_config_makefile libs/jpeg enable_jpeg
21954 wine_fn_config_makefile libs/jxr enable_jxr
21955 wine_fn_config_makefile libs/lcms2 enable_lcms2
21956 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21957 wine_fn_config_makefile libs/mpg123 enable_mpg123
21958 wine_fn_config_makefile libs/png enable_png
21959 wine_fn_config_makefile libs/strmbase enable_strmbase
21960 wine_fn_config_makefile libs/strmiids enable_strmiids
21961 wine_fn_config_makefile libs/tiff enable_tiff
21962 wine_fn_config_makefile libs/uuid enable_uuid
21963 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21964 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21965 wine_fn_config_makefile libs/wine enable_wine
21966 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21967 wine_fn_config_makefile libs/xml2 enable_xml2
21968 wine_fn_config_makefile libs/xslt enable_xslt
21969 wine_fn_config_makefile libs/zlib enable_zlib
21970 wine_fn_config_makefile loader enable_loader
21971 wine_fn_config_makefile nls enable_nls
21972 wine_fn_config_makefile po enable_po
21973 wine_fn_config_makefile programs/arp enable_arp
21974 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21975 wine_fn_config_makefile programs/attrib enable_attrib
21976 wine_fn_config_makefile programs/cabarc enable_cabarc
21977 wine_fn_config_makefile programs/cacls enable_cacls
21978 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21979 wine_fn_config_makefile programs/clock enable_clock
21980 wine_fn_config_makefile programs/cmd enable_cmd
21981 wine_fn_config_makefile programs/cmd/tests enable_tests
21982 wine_fn_config_makefile programs/conhost enable_conhost
21983 wine_fn_config_makefile programs/conhost/tests enable_tests
21984 wine_fn_config_makefile programs/control enable_control
21985 wine_fn_config_makefile programs/cscript enable_cscript
21986 wine_fn_config_makefile programs/dism enable_dism
21987 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21988 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21989 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21990 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21991 wine_fn_config_makefile programs/eject enable_eject
21992 wine_fn_config_makefile programs/expand enable_expand
21993 wine_fn_config_makefile programs/explorer enable_explorer
21994 wine_fn_config_makefile programs/extrac32 enable_extrac32
21995 wine_fn_config_makefile programs/fc enable_fc
21996 wine_fn_config_makefile programs/find enable_find
21997 wine_fn_config_makefile programs/find/tests enable_tests
21998 wine_fn_config_makefile programs/findstr enable_findstr
21999 wine_fn_config_makefile programs/fsutil enable_fsutil
22000 wine_fn_config_makefile programs/fsutil/tests enable_tests
22001 wine_fn_config_makefile programs/hh enable_hh
22002 wine_fn_config_makefile programs/hostname enable_hostname
22003 wine_fn_config_makefile programs/icacls enable_icacls
22004 wine_fn_config_makefile programs/icinfo enable_icinfo
22005 wine_fn_config_makefile programs/iexplore enable_iexplore
22006 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22007 wine_fn_config_makefile programs/lodctr enable_lodctr
22008 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22009 wine_fn_config_makefile programs/mshta enable_mshta
22010 wine_fn_config_makefile programs/msidb enable_msidb
22011 wine_fn_config_makefile programs/msiexec enable_msiexec
22012 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22013 wine_fn_config_makefile programs/net enable_net
22014 wine_fn_config_makefile programs/netsh enable_netsh
22015 wine_fn_config_makefile programs/netstat enable_netstat
22016 wine_fn_config_makefile programs/ngen enable_ngen
22017 wine_fn_config_makefile programs/notepad enable_notepad
22018 wine_fn_config_makefile programs/oleview enable_oleview
22019 wine_fn_config_makefile programs/ping enable_ping
22020 wine_fn_config_makefile programs/plugplay enable_plugplay
22021 wine_fn_config_makefile programs/powershell enable_powershell
22022 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22023 wine_fn_config_makefile programs/progman enable_progman
22024 wine_fn_config_makefile programs/reg enable_reg
22025 wine_fn_config_makefile programs/reg/tests enable_tests
22026 wine_fn_config_makefile programs/regasm enable_regasm
22027 wine_fn_config_makefile programs/regedit enable_regedit
22028 wine_fn_config_makefile programs/regedit/tests enable_tests
22029 wine_fn_config_makefile programs/regini enable_regini
22030 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22031 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22032 wine_fn_config_makefile programs/robocopy enable_robocopy
22033 wine_fn_config_makefile programs/rpcss enable_rpcss
22034 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22035 wine_fn_config_makefile programs/rundll32 enable_rundll32
22036 wine_fn_config_makefile programs/sc enable_sc
22037 wine_fn_config_makefile programs/schtasks enable_schtasks
22038 wine_fn_config_makefile programs/schtasks/tests enable_tests
22039 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22040 wine_fn_config_makefile programs/secedit enable_secedit
22041 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22042 wine_fn_config_makefile programs/services enable_services
22043 wine_fn_config_makefile programs/services/tests enable_tests
22044 wine_fn_config_makefile programs/shutdown enable_shutdown
22045 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22046 wine_fn_config_makefile programs/start enable_start
22047 wine_fn_config_makefile programs/subst enable_subst
22048 wine_fn_config_makefile programs/svchost enable_svchost
22049 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22050 wine_fn_config_makefile programs/taskkill enable_taskkill
22051 wine_fn_config_makefile programs/tasklist enable_tasklist
22052 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22053 wine_fn_config_makefile programs/termsv enable_termsv
22054 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22055 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22056 wine_fn_config_makefile programs/view enable_view
22057 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22058 wine_fn_config_makefile programs/where enable_where
22059 wine_fn_config_makefile programs/whoami enable_whoami
22060 wine_fn_config_makefile programs/wineboot enable_wineboot
22061 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22062 wine_fn_config_makefile programs/winecfg enable_winecfg
22063 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22064 wine_fn_config_makefile programs/winedbg enable_winedbg
22065 wine_fn_config_makefile programs/winedevice enable_winedevice
22066 wine_fn_config_makefile programs/winefile enable_winefile
22067 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22068 wine_fn_config_makefile programs/winemine enable_winemine
22069 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22070 wine_fn_config_makefile programs/winepath enable_winepath
22071 wine_fn_config_makefile programs/winetest enable_winetest
22072 wine_fn_config_makefile programs/winevdm enable_win16
22073 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22074 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22075 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22076 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22077 wine_fn_config_makefile programs/winver enable_winver
22078 wine_fn_config_makefile programs/wmic enable_wmic
22079 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22080 wine_fn_config_makefile programs/wordpad enable_wordpad
22081 wine_fn_config_makefile programs/write enable_write
22082 wine_fn_config_makefile programs/wscript enable_wscript
22083 wine_fn_config_makefile programs/wscript/tests enable_tests
22084 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22085 wine_fn_config_makefile programs/wusa enable_wusa
22086 wine_fn_config_makefile programs/xcopy enable_xcopy
22087 wine_fn_config_makefile programs/xcopy/tests enable_tests
22088 wine_fn_config_makefile server enable_server
22089 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22100 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22101 wine_fn_append_file CONFIGURE_TARGETS "tags"
22102 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22103 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22104 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22105 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22106 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22107 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22109 if test "x$enable_tools" != xno
22110 then
22111 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22112 ac_config_commands="$ac_config_commands tools/makedep"
22116 ac_config_commands="$ac_config_commands Makefile"
22120 SHELL=/bin/sh
22123 wine_fn_append_rule "all: wine
22124 @echo \"Wine build complete.\"
22125 .INIT: Makefile
22126 .MAKEFILEDEPS:
22127 all: Makefile
22128 Makefile: config.status \$(MAKEDEP)
22129 @./config.status Makefile
22130 depend: \$(MAKEDEP)
22131 \$(MAKEDEP)$makedep_flags"
22134 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22135 @./config.status --recheck
22136 include/config.h: include/stamp-h
22137 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22138 @./config.status include/config.h include/stamp-h"
22140 if test "x$enable_maintainer_mode" = xyes
22141 then
22142 wine_fn_append_rule "configure: configure.ac aclocal.m4
22143 autoconf --warnings=all
22144 include/config.h.in: include/stamp-h.in
22145 include/stamp-h.in: configure.ac aclocal.m4
22146 autoheader --warnings=all
22147 @echo timestamp > \$@"
22150 if test "x$enable_tools" != xno
22151 then
22152 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22153 @./config.status tools/makedep
22154 Makefile: tools/makedep$ac_exeext"
22155 else
22156 wine_fn_append_rule "\$(MAKEDEP):
22157 @echo \"You need to run make in $toolsdir first\" && false"
22161 if test -n "$with_wine64"
22162 then
22163 case "$with_wine64" in
22164 /*) reldir="" ;;
22165 *) reldir="../" ;;
22166 esac
22167 rm -f fonts server 2>/dev/null
22168 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22169 loader/wine64 loader/wine64-preloader:
22170 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22171 $with_wine64/loader/wine:
22172 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22173 $with_wine64/loader/wine-preloader:
22174 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22175 clean::
22176 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22177 else
22178 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22179 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22180 fonts \
22181 loader/wine.inf \
22182 nls \
22183 programs/msidb/msidb \
22184 programs/msiexec/msiexec \
22185 programs/notepad/notepad \
22186 programs/regedit/regedit \
22187 programs/regsvr32/regsvr32 \
22188 programs/wineboot/wineboot \
22189 programs/winecfg/winecfg \
22190 programs/wineconsole/wineconsole \
22191 programs/winedbg/winedbg \
22192 programs/winefile/winefile \
22193 programs/winemine/winemine \
22194 programs/winepath/winepath \
22195 server/wineserver"
22197 case $host_os in
22198 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22199 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22200 esac
22204 wine_fn_append_rule "distclean:: clean
22205 rm -rf autom4te.cache
22206 maintainer-clean::
22207 rm -f configure include/config.h.in"
22210 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22211 @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)
22212 programs/winetest/build.rc: dummy
22213 @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)
22214 programs/winetest/build.nfo:
22215 @-\$(CC) -v 2>\$@
22216 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
22217 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22218 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22221 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22223 wine_fn_append_rule "TAGS etags:
22224 rm -f TAGS
22225 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22226 tags ctags:
22227 rm -f tags
22228 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22229 dummy:
22230 .PHONY: depend dummy install-manpages"
22232 printf "%s\n" " done" >&6
22233 cat >confcache <<\_ACEOF
22234 # This file is a shell script that caches the results of configure
22235 # tests run on this system so they can be shared between configure
22236 # scripts and configure runs, see configure's option --config-cache.
22237 # It is not useful on other systems. If it contains results you don't
22238 # want to keep, you may remove or edit it.
22240 # config.status only pays attention to the cache file if you give it
22241 # the --recheck option to rerun configure.
22243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22245 # following values.
22247 _ACEOF
22249 # The following way of writing the cache mishandles newlines in values,
22250 # but we know of no workaround that is simple, portable, and efficient.
22251 # So, we kill variables containing newlines.
22252 # Ultrix sh set writes to stderr and can't be redirected directly,
22253 # and sets the high bit in the cache file unless we assign to the vars.
22255 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22256 eval ac_val=\$$ac_var
22257 case $ac_val in #(
22258 *${as_nl}*)
22259 case $ac_var in #(
22260 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22261 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22262 esac
22263 case $ac_var in #(
22264 _ | IFS | as_nl) ;; #(
22265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22266 *) { eval $ac_var=; unset $ac_var;} ;;
22267 esac ;;
22268 esac
22269 done
22271 (set) 2>&1 |
22272 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22273 *${as_nl}ac_space=\ *)
22274 # `set' does not quote correctly, so add quotes: double-quote
22275 # substitution turns \\\\ into \\, and sed turns \\ into \.
22276 sed -n \
22277 "s/'/'\\\\''/g;
22278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22279 ;; #(
22281 # `set' quotes correctly as required by POSIX, so do not add quotes.
22282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22284 esac |
22285 sort
22287 sed '
22288 /^ac_cv_env_/b end
22289 t clear
22290 :clear
22291 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22292 t end
22293 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22294 :end' >>confcache
22295 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22296 if test -w "$cache_file"; then
22297 if test "x$cache_file" != "x/dev/null"; then
22298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22299 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22300 if test ! -f "$cache_file" || test -h "$cache_file"; then
22301 cat confcache >"$cache_file"
22302 else
22303 case $cache_file in #(
22304 */* | ?:*)
22305 mv -f confcache "$cache_file"$$ &&
22306 mv -f "$cache_file"$$ "$cache_file" ;; #(
22308 mv -f confcache "$cache_file" ;;
22309 esac
22312 else
22313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22314 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22317 rm -f confcache
22319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22320 # Let make expand exec_prefix.
22321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22323 DEFS=-DHAVE_CONFIG_H
22325 ac_libobjs=
22326 ac_ltlibobjs=
22328 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22329 # 1. Remove the extension, and $U if already installed.
22330 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22331 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22332 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22333 # will be set to the directory where LIBOBJS objects are built.
22334 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22335 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22336 done
22337 LIBOBJS=$ac_libobjs
22339 LTLIBOBJS=$ac_ltlibobjs
22343 : "${CONFIG_STATUS=./config.status}"
22344 ac_write_fail=0
22345 ac_clean_files_save=$ac_clean_files
22346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22348 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22349 as_write_fail=0
22350 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22351 #! $SHELL
22352 # Generated by $as_me.
22353 # Run this file to recreate the current configuration.
22354 # Compiler output produced by configure, useful for debugging
22355 # configure, is in config.log if it exists.
22357 debug=false
22358 ac_cs_recheck=false
22359 ac_cs_silent=false
22361 SHELL=\${CONFIG_SHELL-$SHELL}
22362 export SHELL
22363 _ASEOF
22364 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22365 ## -------------------- ##
22366 ## M4sh Initialization. ##
22367 ## -------------------- ##
22369 # Be more Bourne compatible
22370 DUALCASE=1; export DUALCASE # for MKS sh
22371 as_nop=:
22372 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22373 then :
22374 emulate sh
22375 NULLCMD=:
22376 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22377 # is contrary to our usage. Disable this feature.
22378 alias -g '${1+"$@"}'='"$@"'
22379 setopt NO_GLOB_SUBST
22380 else $as_nop
22381 case `(set -o) 2>/dev/null` in #(
22382 *posix*) :
22383 set -o posix ;; #(
22384 *) :
22386 esac
22391 # Reset variables that may have inherited troublesome values from
22392 # the environment.
22394 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22395 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22396 # side effect of setting IFS to empty, thus disabling word splitting.)
22397 # Quoting is to prevent editors from complaining about space-tab.
22398 as_nl='
22400 export as_nl
22401 IFS=" "" $as_nl"
22403 PS1='$ '
22404 PS2='> '
22405 PS4='+ '
22407 # Ensure predictable behavior from utilities with locale-dependent output.
22408 LC_ALL=C
22409 export LC_ALL
22410 LANGUAGE=C
22411 export LANGUAGE
22413 # We cannot yet rely on "unset" to work, but we need these variables
22414 # to be unset--not just set to an empty or harmless value--now, to
22415 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22416 # also avoids known problems related to "unset" and subshell syntax
22417 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22418 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22419 do eval test \${$as_var+y} \
22420 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22421 done
22423 # Ensure that fds 0, 1, and 2 are open.
22424 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22425 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22426 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22428 # The user is always right.
22429 if ${PATH_SEPARATOR+false} :; then
22430 PATH_SEPARATOR=:
22431 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22432 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22433 PATH_SEPARATOR=';'
22438 # Find who we are. Look in the path if we contain no directory separator.
22439 as_myself=
22440 case $0 in #((
22441 *[\\/]* ) as_myself=$0 ;;
22442 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22443 for as_dir in $PATH
22445 IFS=$as_save_IFS
22446 case $as_dir in #(((
22447 '') as_dir=./ ;;
22448 */) ;;
22449 *) as_dir=$as_dir/ ;;
22450 esac
22451 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22452 done
22453 IFS=$as_save_IFS
22456 esac
22457 # We did not find ourselves, most probably we were run as `sh COMMAND'
22458 # in which case we are not to be found in the path.
22459 if test "x$as_myself" = x; then
22460 as_myself=$0
22462 if test ! -f "$as_myself"; then
22463 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22464 exit 1
22469 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22470 # ----------------------------------------
22471 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22472 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22473 # script with STATUS, using 1 if that was 0.
22474 as_fn_error ()
22476 as_status=$1; test $as_status -eq 0 && as_status=1
22477 if test "$4"; then
22478 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22481 printf "%s\n" "$as_me: error: $2" >&2
22482 as_fn_exit $as_status
22483 } # as_fn_error
22487 # as_fn_set_status STATUS
22488 # -----------------------
22489 # Set $? to STATUS, without forking.
22490 as_fn_set_status ()
22492 return $1
22493 } # as_fn_set_status
22495 # as_fn_exit STATUS
22496 # -----------------
22497 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22498 as_fn_exit ()
22500 set +e
22501 as_fn_set_status $1
22502 exit $1
22503 } # as_fn_exit
22505 # as_fn_unset VAR
22506 # ---------------
22507 # Portably unset VAR.
22508 as_fn_unset ()
22510 { eval $1=; unset $1;}
22512 as_unset=as_fn_unset
22514 # as_fn_append VAR VALUE
22515 # ----------------------
22516 # Append the text in VALUE to the end of the definition contained in VAR. Take
22517 # advantage of any shell optimizations that allow amortized linear growth over
22518 # repeated appends, instead of the typical quadratic growth present in naive
22519 # implementations.
22520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22521 then :
22522 eval 'as_fn_append ()
22524 eval $1+=\$2
22526 else $as_nop
22527 as_fn_append ()
22529 eval $1=\$$1\$2
22531 fi # as_fn_append
22533 # as_fn_arith ARG...
22534 # ------------------
22535 # Perform arithmetic evaluation on the ARGs, and store the result in the
22536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22537 # must be portable across $(()) and expr.
22538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22539 then :
22540 eval 'as_fn_arith ()
22542 as_val=$(( $* ))
22544 else $as_nop
22545 as_fn_arith ()
22547 as_val=`expr "$@" || test $? -eq 1`
22549 fi # as_fn_arith
22552 if expr a : '\(a\)' >/dev/null 2>&1 &&
22553 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22554 as_expr=expr
22555 else
22556 as_expr=false
22559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22560 as_basename=basename
22561 else
22562 as_basename=false
22565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22566 as_dirname=dirname
22567 else
22568 as_dirname=false
22571 as_me=`$as_basename -- "$0" ||
22572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22573 X"$0" : 'X\(//\)$' \| \
22574 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22575 printf "%s\n" X/"$0" |
22576 sed '/^.*\/\([^/][^/]*\)\/*$/{
22577 s//\1/
22580 /^X\/\(\/\/\)$/{
22581 s//\1/
22584 /^X\/\(\/\).*/{
22585 s//\1/
22588 s/.*/./; q'`
22590 # Avoid depending upon Character Ranges.
22591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22594 as_cr_digits='0123456789'
22595 as_cr_alnum=$as_cr_Letters$as_cr_digits
22598 # Determine whether it's possible to make 'echo' print without a newline.
22599 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22600 # for compatibility with existing Makefiles.
22601 ECHO_C= ECHO_N= ECHO_T=
22602 case `echo -n x` in #(((((
22603 -n*)
22604 case `echo 'xy\c'` in
22605 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22606 xy) ECHO_C='\c';;
22607 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22608 ECHO_T=' ';;
22609 esac;;
22611 ECHO_N='-n';;
22612 esac
22614 # For backward compatibility with old third-party macros, we provide
22615 # the shell variables $as_echo and $as_echo_n. New code should use
22616 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22617 as_echo='printf %s\n'
22618 as_echo_n='printf %s'
22620 rm -f conf$$ conf$$.exe conf$$.file
22621 if test -d conf$$.dir; then
22622 rm -f conf$$.dir/conf$$.file
22623 else
22624 rm -f conf$$.dir
22625 mkdir conf$$.dir 2>/dev/null
22627 if (echo >conf$$.file) 2>/dev/null; then
22628 if ln -s conf$$.file conf$$ 2>/dev/null; then
22629 as_ln_s='ln -s'
22630 # ... but there are two gotchas:
22631 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22632 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22633 # In both cases, we have to default to `cp -pR'.
22634 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22635 as_ln_s='cp -pR'
22636 elif ln conf$$.file conf$$ 2>/dev/null; then
22637 as_ln_s=ln
22638 else
22639 as_ln_s='cp -pR'
22641 else
22642 as_ln_s='cp -pR'
22644 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22645 rmdir conf$$.dir 2>/dev/null
22648 # as_fn_mkdir_p
22649 # -------------
22650 # Create "$as_dir" as a directory, including parents if necessary.
22651 as_fn_mkdir_p ()
22654 case $as_dir in #(
22655 -*) as_dir=./$as_dir;;
22656 esac
22657 test -d "$as_dir" || eval $as_mkdir_p || {
22658 as_dirs=
22659 while :; do
22660 case $as_dir in #(
22661 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22662 *) as_qdir=$as_dir;;
22663 esac
22664 as_dirs="'$as_qdir' $as_dirs"
22665 as_dir=`$as_dirname -- "$as_dir" ||
22666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22667 X"$as_dir" : 'X\(//\)[^/]' \| \
22668 X"$as_dir" : 'X\(//\)$' \| \
22669 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22670 printf "%s\n" X"$as_dir" |
22671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22672 s//\1/
22675 /^X\(\/\/\)[^/].*/{
22676 s//\1/
22679 /^X\(\/\/\)$/{
22680 s//\1/
22683 /^X\(\/\).*/{
22684 s//\1/
22687 s/.*/./; q'`
22688 test -d "$as_dir" && break
22689 done
22690 test -z "$as_dirs" || eval "mkdir $as_dirs"
22691 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22694 } # as_fn_mkdir_p
22695 if mkdir -p . 2>/dev/null; then
22696 as_mkdir_p='mkdir -p "$as_dir"'
22697 else
22698 test -d ./-p && rmdir ./-p
22699 as_mkdir_p=false
22703 # as_fn_executable_p FILE
22704 # -----------------------
22705 # Test if FILE is an executable regular file.
22706 as_fn_executable_p ()
22708 test -f "$1" && test -x "$1"
22709 } # as_fn_executable_p
22710 as_test_x='test -x'
22711 as_executable_p=as_fn_executable_p
22713 # Sed expression to map a string onto a valid CPP name.
22714 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22716 # Sed expression to map a string onto a valid variable name.
22717 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22720 exec 6>&1
22721 ## ----------------------------------- ##
22722 ## Main body of $CONFIG_STATUS script. ##
22723 ## ----------------------------------- ##
22724 _ASEOF
22725 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22728 # Save the log message, to keep $0 and so on meaningful, and to
22729 # report actual input values of CONFIG_FILES etc. instead of their
22730 # values after options handling.
22731 ac_log="
22732 This file was extended by Wine $as_me 7.3, which was
22733 generated by GNU Autoconf 2.71. Invocation command line was
22735 CONFIG_FILES = $CONFIG_FILES
22736 CONFIG_HEADERS = $CONFIG_HEADERS
22737 CONFIG_LINKS = $CONFIG_LINKS
22738 CONFIG_COMMANDS = $CONFIG_COMMANDS
22739 $ $0 $@
22741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22744 _ACEOF
22747 case $ac_config_headers in *"
22748 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22749 esac
22752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22753 # Files that config.status was made for.
22754 config_headers="$ac_config_headers"
22755 config_links="$ac_config_links"
22756 config_commands="$ac_config_commands"
22758 _ACEOF
22760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22761 ac_cs_usage="\
22762 \`$as_me' instantiates files and other configuration actions
22763 from templates according to the current configuration. Unless the files
22764 and actions are specified as TAGs, all are instantiated by default.
22766 Usage: $0 [OPTION]... [TAG]...
22768 -h, --help print this help, then exit
22769 -V, --version print version number and configuration settings, then exit
22770 --config print configuration, then exit
22771 -q, --quiet, --silent
22772 do not print progress messages
22773 -d, --debug don't remove temporary files
22774 --recheck update $as_me by reconfiguring in the same conditions
22775 --header=FILE[:TEMPLATE]
22776 instantiate the configuration header FILE
22778 Configuration headers:
22779 $config_headers
22781 Configuration links:
22782 $config_links
22784 Configuration commands:
22785 $config_commands
22787 Report bugs to <wine-devel@winehq.org>.
22788 Wine home page: <https://www.winehq.org>."
22790 _ACEOF
22791 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22792 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22794 ac_cs_config='$ac_cs_config_escaped'
22795 ac_cs_version="\\
22796 Wine config.status 7.3
22797 configured by $0, generated by GNU Autoconf 2.71,
22798 with options \\"\$ac_cs_config\\"
22800 Copyright (C) 2021 Free Software Foundation, Inc.
22801 This config.status script is free software; the Free Software Foundation
22802 gives unlimited permission to copy, distribute and modify it."
22804 ac_pwd='$ac_pwd'
22805 srcdir='$srcdir'
22806 test -n "\$AWK" || AWK=awk
22807 _ACEOF
22809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22810 # The default lists apply if the user does not specify any file.
22811 ac_need_defaults=:
22812 while test $# != 0
22814 case $1 in
22815 --*=?*)
22816 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22817 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22818 ac_shift=:
22820 --*=)
22821 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22822 ac_optarg=
22823 ac_shift=:
22826 ac_option=$1
22827 ac_optarg=$2
22828 ac_shift=shift
22830 esac
22832 case $ac_option in
22833 # Handling of the options.
22834 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22835 ac_cs_recheck=: ;;
22836 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22837 printf "%s\n" "$ac_cs_version"; exit ;;
22838 --config | --confi | --conf | --con | --co | --c )
22839 printf "%s\n" "$ac_cs_config"; exit ;;
22840 --debug | --debu | --deb | --de | --d | -d )
22841 debug=: ;;
22842 --header | --heade | --head | --hea )
22843 $ac_shift
22844 case $ac_optarg in
22845 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22846 esac
22847 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22848 ac_need_defaults=false;;
22849 --he | --h)
22850 # Conflict between --help and --header
22851 as_fn_error $? "ambiguous option: \`$1'
22852 Try \`$0 --help' for more information.";;
22853 --help | --hel | -h )
22854 printf "%s\n" "$ac_cs_usage"; exit ;;
22855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22856 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22857 ac_cs_silent=: ;;
22859 # This is an error.
22860 -*) as_fn_error $? "unrecognized option: \`$1'
22861 Try \`$0 --help' for more information." ;;
22863 *) as_fn_append ac_config_targets " $1"
22864 ac_need_defaults=false ;;
22866 esac
22867 shift
22868 done
22870 ac_configure_extra_args=
22872 if $ac_cs_silent; then
22873 exec 6>/dev/null
22874 ac_configure_extra_args="$ac_configure_extra_args --silent"
22877 _ACEOF
22878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22879 if \$ac_cs_recheck; then
22880 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22881 shift
22882 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22883 CONFIG_SHELL='$SHELL'
22884 export CONFIG_SHELL
22885 exec "\$@"
22888 _ACEOF
22889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22890 exec 5>>config.log
22892 echo
22893 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22894 ## Running $as_me. ##
22895 _ASBOX
22896 printf "%s\n" "$ac_log"
22897 } >&5
22899 _ACEOF
22900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22902 # INIT-COMMANDS
22904 wine_fn_output_makedep ()
22906 as_dir=tools; as_fn_mkdir_p
22907 $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
22909 wine_fn_output_makefile ()
22911 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22912 # This Makefile understands the following targets:
22914 # all (default): build wine
22915 # clean: remove all intermediate files
22916 # distclean: also remove all files created by configure
22917 # test: run tests
22918 # testclean: clean test results to force running all tests again
22919 # install-lib: install libraries needed to run applications
22920 # install-dev: install development environment
22921 # install: install everything
22922 # uninstall: uninstall everything
22923 # ctags: create a tags file for vim and others.
22924 # etags: create a TAGS file for Emacs.
22926 SHELL = $SHELL
22927 PATH_SEPARATOR = $PATH_SEPARATOR
22928 PACKAGE_NAME = $PACKAGE_NAME
22929 PACKAGE_TARNAME = $PACKAGE_TARNAME
22930 PACKAGE_VERSION = $PACKAGE_VERSION
22931 PACKAGE_STRING = $PACKAGE_STRING
22932 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22933 PACKAGE_URL = $PACKAGE_URL
22934 exec_prefix = $exec_prefix
22935 prefix = $prefix
22936 program_transform_name = $program_transform_name
22937 bindir = $bindir
22938 sbindir = $sbindir
22939 libexecdir = $libexecdir
22940 datarootdir = $datarootdir
22941 datadir = $datadir
22942 sysconfdir = $sysconfdir
22943 sharedstatedir = $sharedstatedir
22944 localstatedir = $localstatedir
22945 runstatedir = $runstatedir
22946 includedir = $includedir
22947 oldincludedir = $oldincludedir
22948 docdir = $docdir
22949 infodir = $infodir
22950 htmldir = $htmldir
22951 dvidir = $dvidir
22952 pdfdir = $pdfdir
22953 psdir = $psdir
22954 libdir = $libdir
22955 localedir = $localedir
22956 mandir = $mandir
22957 DEFS = $DEFS
22958 ECHO_C = $ECHO_C
22959 ECHO_N = $ECHO_N
22960 ECHO_T = $ECHO_T
22961 LIBS = $LIBS
22962 build_alias = $build_alias
22963 host_alias = $host_alias
22964 target_alias = $target_alias
22965 system_dllpath = $system_dllpath
22966 build = $build
22967 build_cpu = $build_cpu
22968 build_vendor = $build_vendor
22969 build_os = $build_os
22970 host = $host
22971 host_cpu = $host_cpu
22972 host_vendor = $host_vendor
22973 host_os = $host_os
22974 dlldir = $dlldir
22975 fontdir = $fontdir
22976 nlsdir = $nlsdir
22977 srcdir = $srcdir
22978 SET_MAKE = $SET_MAKE
22979 CC = $CC
22980 CFLAGS = $CFLAGS
22981 LDFLAGS = $LDFLAGS
22982 CPPFLAGS = $CPPFLAGS
22983 ac_ct_CC = $ac_ct_CC
22984 EXEEXT = $EXEEXT
22985 OBJEXT = $OBJEXT
22986 CXX = $CXX
22987 CXXFLAGS = $CXXFLAGS
22988 ac_ct_CXX = $ac_ct_CXX
22989 CPPBIN = $CPPBIN
22990 LD = $LD
22991 TARGETFLAGS = $TARGETFLAGS
22992 toolsext = $toolsext
22993 toolsdir = $toolsdir
22994 MAKEDEP = $MAKEDEP
22995 RUNTESTFLAGS = $RUNTESTFLAGS
22996 SED_CMD = $SED_CMD
22997 FLEX = $FLEX
22998 BISON = $BISON
22999 AR = $AR
23000 ac_ct_AR = $ac_ct_AR
23001 STRIP = $STRIP
23002 RANLIB = $RANLIB
23003 LN_S = $LN_S
23004 GREP = $GREP
23005 EGREP = $EGREP
23006 LDCONFIG = $LDCONFIG
23007 MSGFMT = $MSGFMT
23008 PKG_CONFIG = $PKG_CONFIG
23009 FONTFORGE = $FONTFORGE
23010 RSVG = $RSVG
23011 CONVERT = $CONVERT
23012 ICOTOOL = $ICOTOOL
23013 I386_LIBS = $I386_LIBS
23014 OPENGL_LIBS = $OPENGL_LIBS
23015 DLLFLAGS = $DLLFLAGS
23016 LDDLLFLAGS = $LDDLLFLAGS
23017 LDEXECFLAGS = $LDEXECFLAGS
23018 EXTRACFLAGS = $EXTRACFLAGS
23019 UNIXDLLFLAGS = $UNIXDLLFLAGS
23020 UNIXLDFLAGS = $UNIXLDFLAGS
23021 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23022 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23023 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23024 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23025 LDD = $LDD
23026 OTOOL = $OTOOL
23027 READELF = $READELF
23028 SUBDIRS = $SUBDIRS
23029 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23030 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23031 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23032 DLLTOOL = $DLLTOOL
23033 OBJC = $OBJC
23034 OBJCFLAGS = $OBJCFLAGS
23035 ac_ct_OBJC = $ac_ct_OBJC
23036 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23037 IOKIT_LIBS = $IOKIT_LIBS
23038 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23039 CORESERVICES_LIBS = $CORESERVICES_LIBS
23040 APPKIT_LIBS = $APPKIT_LIBS
23041 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23042 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23043 SECURITY_LIBS = $SECURITY_LIBS
23044 COREAUDIO_LIBS = $COREAUDIO_LIBS
23045 OPENAL_LIBS = $OPENAL_LIBS
23046 OPENCL_LIBS = $OPENCL_LIBS
23047 CARBON_LIBS = $CARBON_LIBS
23048 METAL_LIBS = $METAL_LIBS
23049 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23050 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23051 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23052 PRELINK = $PRELINK
23053 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23054 CROSSTARGET = $CROSSTARGET
23055 CROSSCC = $CROSSCC
23056 CROSSCFLAGS = $CROSSCFLAGS
23057 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23058 CROSSLDFLAGS = $CROSSLDFLAGS
23059 DELAYLOADFLAG = $DELAYLOADFLAG
23060 CROSSDEBUG = $CROSSDEBUG
23061 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23062 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23063 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23064 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23065 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23066 GSM_PE_LIBS = $GSM_PE_LIBS
23067 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23068 JPEG_PE_LIBS = $JPEG_PE_LIBS
23069 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23070 JXR_PE_LIBS = $JXR_PE_LIBS
23071 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23072 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23073 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23074 MPG123_PE_LIBS = $MPG123_PE_LIBS
23075 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23076 PNG_PE_LIBS = $PNG_PE_LIBS
23077 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23078 TIFF_PE_LIBS = $TIFF_PE_LIBS
23079 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23080 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23081 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23082 XML2_PE_LIBS = $XML2_PE_LIBS
23083 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23084 XSLT_PE_LIBS = $XSLT_PE_LIBS
23085 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23086 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23087 PTHREAD_LIBS = $PTHREAD_LIBS
23088 XMKMF = $XMKMF
23089 CPP = $CPP
23090 X_CFLAGS = $X_CFLAGS
23091 X_PRE_LIBS = $X_PRE_LIBS
23092 X_LIBS = $X_LIBS
23093 X_EXTRA_LIBS = $X_EXTRA_LIBS
23094 PCAP_LIBS = $PCAP_LIBS
23095 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23096 INOTIFY_LIBS = $INOTIFY_LIBS
23097 DBUS_CFLAGS = $DBUS_CFLAGS
23098 DBUS_LIBS = $DBUS_LIBS
23099 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23100 GNUTLS_LIBS = $GNUTLS_LIBS
23101 SANE_CFLAGS = $SANE_CFLAGS
23102 SANE_LIBS = $SANE_LIBS
23103 USB_CFLAGS = $USB_CFLAGS
23104 USB_LIBS = $USB_LIBS
23105 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23106 GPHOTO2_LIBS = $GPHOTO2_LIBS
23107 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23108 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23109 RESOLV_LIBS = $RESOLV_LIBS
23110 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23111 FREETYPE_LIBS = $FREETYPE_LIBS
23112 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23113 PULSE_CFLAGS = $PULSE_CFLAGS
23114 PULSE_LIBS = $PULSE_LIBS
23115 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23116 GSTREAMER_LIBS = $GSTREAMER_LIBS
23117 ALSA_LIBS = $ALSA_LIBS
23118 OSS4_CFLAGS = $OSS4_CFLAGS
23119 OSS4_LIBS = $OSS4_LIBS
23120 UDEV_CFLAGS = $UDEV_CFLAGS
23121 UDEV_LIBS = $UDEV_LIBS
23122 UNWIND_CFLAGS = $UNWIND_CFLAGS
23123 UNWIND_LIBS = $UNWIND_LIBS
23124 SDL2_CFLAGS = $SDL2_CFLAGS
23125 SDL2_LIBS = $SDL2_LIBS
23126 CAPI20_CFLAGS = $CAPI20_CFLAGS
23127 CAPI20_LIBS = $CAPI20_LIBS
23128 CUPS_CFLAGS = $CUPS_CFLAGS
23129 CUPS_LIBS = $CUPS_LIBS
23130 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23131 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23132 KRB5_CFLAGS = $KRB5_CFLAGS
23133 KRB5_LIBS = $KRB5_LIBS
23134 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23135 GSSAPI_LIBS = $GSSAPI_LIBS
23136 PROCSTAT_LIBS = $PROCSTAT_LIBS
23137 NETAPI_CFLAGS = $NETAPI_CFLAGS
23138 NETAPI_LIBS = $NETAPI_LIBS
23139 MSVCRTFLAGS = $MSVCRTFLAGS
23140 RT_LIBS = $RT_LIBS
23141 LDAP_CFLAGS = $LDAP_CFLAGS
23142 LDAP_LIBS = $LDAP_LIBS
23143 TAGSFLAGS = $TAGSFLAGS
23144 LIBOBJS = $LIBOBJS
23145 LTLIBOBJS = $LTLIBOBJS
23146 $SET_MAKE
23147 $wine_rules
23148 _WINE_EOF
23149 as_fn_error $? "could not create Makefile" "$LINENO" 5
23152 _ACEOF
23154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23156 # Handling of arguments.
23157 for ac_config_target in $ac_config_targets
23159 case $ac_config_target in
23160 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23161 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23162 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23163 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23164 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23165 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23167 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23168 esac
23169 done
23172 # If the user did not use the arguments to specify the items to instantiate,
23173 # then the envvar interface is used. Set only those that are not.
23174 # We use the long form for the default assignment because of an extremely
23175 # bizarre bug on SunOS 4.1.3.
23176 if $ac_need_defaults; then
23177 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23178 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23179 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23182 # Have a temporary directory for convenience. Make it in the build tree
23183 # simply because there is no reason against having it here, and in addition,
23184 # creating and moving files from /tmp can sometimes cause problems.
23185 # Hook for its removal unless debugging.
23186 # Note that there is a small window in which the directory will not be cleaned:
23187 # after its creation but before its name has been assigned to `$tmp'.
23188 $debug ||
23190 tmp= ac_tmp=
23191 trap 'exit_status=$?
23192 : "${ac_tmp:=$tmp}"
23193 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23195 trap 'as_fn_exit 1' 1 2 13 15
23197 # Create a (secure) tmp directory for tmp files.
23200 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23201 test -d "$tmp"
23202 } ||
23204 tmp=./conf$$-$RANDOM
23205 (umask 077 && mkdir "$tmp")
23206 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23207 ac_tmp=$tmp
23209 # Set up the scripts for CONFIG_HEADERS section.
23210 # No need to generate them if there are no CONFIG_HEADERS.
23211 # This happens for instance with `./config.status Makefile'.
23212 if test -n "$CONFIG_HEADERS"; then
23213 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23214 BEGIN {
23215 _ACEOF
23217 # Transform confdefs.h into an awk script `defines.awk', embedded as
23218 # here-document in config.status, that substitutes the proper values into
23219 # config.h.in to produce config.h.
23221 # Create a delimiter string that does not exist in confdefs.h, to ease
23222 # handling of long lines.
23223 ac_delim='%!_!# '
23224 for ac_last_try in false false :; do
23225 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23226 if test -z "$ac_tt"; then
23227 break
23228 elif $ac_last_try; then
23229 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23230 else
23231 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23233 done
23235 # For the awk script, D is an array of macro values keyed by name,
23236 # likewise P contains macro parameters if any. Preserve backslash
23237 # newline sequences.
23239 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23240 sed -n '
23241 s/.\{148\}/&'"$ac_delim"'/g
23242 t rset
23243 :rset
23244 s/^[ ]*#[ ]*define[ ][ ]*/ /
23245 t def
23247 :def
23248 s/\\$//
23249 t bsnl
23250 s/["\\]/\\&/g
23251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23252 D["\1"]=" \3"/p
23253 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23255 :bsnl
23256 s/["\\]/\\&/g
23257 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23258 D["\1"]=" \3\\\\\\n"\\/p
23259 t cont
23260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23261 t cont
23263 :cont
23265 s/.\{148\}/&'"$ac_delim"'/g
23266 t clear
23267 :clear
23268 s/\\$//
23269 t bsnlc
23270 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23272 :bsnlc
23273 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23274 b cont
23275 ' <confdefs.h | sed '
23276 s/'"$ac_delim"'/"\\\
23277 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23280 for (key in D) D_is_set[key] = 1
23281 FS = "\a"
23283 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23284 line = \$ 0
23285 split(line, arg, " ")
23286 if (arg[1] == "#") {
23287 defundef = arg[2]
23288 mac1 = arg[3]
23289 } else {
23290 defundef = substr(arg[1], 2)
23291 mac1 = arg[2]
23293 split(mac1, mac2, "(") #)
23294 macro = mac2[1]
23295 prefix = substr(line, 1, index(line, defundef) - 1)
23296 if (D_is_set[macro]) {
23297 # Preserve the white space surrounding the "#".
23298 print prefix "define", macro P[macro] D[macro]
23299 next
23300 } else {
23301 # Replace #undef with comments. This is necessary, for example,
23302 # in the case of _POSIX_SOURCE, which is predefined and required
23303 # on some systems where configure will not decide to define it.
23304 if (defundef == "undef") {
23305 print "/*", prefix defundef, macro, "*/"
23306 next
23310 { print }
23311 _ACAWK
23312 _ACEOF
23313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23314 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23315 fi # test -n "$CONFIG_HEADERS"
23318 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23319 shift
23320 for ac_tag
23322 case $ac_tag in
23323 :[FHLC]) ac_mode=$ac_tag; continue;;
23324 esac
23325 case $ac_mode$ac_tag in
23326 :[FHL]*:*);;
23327 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23328 :[FH]-) ac_tag=-:-;;
23329 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23330 esac
23331 ac_save_IFS=$IFS
23332 IFS=:
23333 set x $ac_tag
23334 IFS=$ac_save_IFS
23335 shift
23336 ac_file=$1
23337 shift
23339 case $ac_mode in
23340 :L) ac_source=$1;;
23341 :[FH])
23342 ac_file_inputs=
23343 for ac_f
23345 case $ac_f in
23346 -) ac_f="$ac_tmp/stdin";;
23347 *) # Look for the file first in the build tree, then in the source tree
23348 # (if the path is not absolute). The absolute path cannot be DOS-style,
23349 # because $ac_f cannot contain `:'.
23350 test -f "$ac_f" ||
23351 case $ac_f in
23352 [\\/$]*) false;;
23353 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23354 esac ||
23355 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23356 esac
23357 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23358 as_fn_append ac_file_inputs " '$ac_f'"
23359 done
23361 # Let's still pretend it is `configure' which instantiates (i.e., don't
23362 # use $as_me), people would be surprised to read:
23363 # /* config.h. Generated by config.status. */
23364 configure_input='Generated from '`
23365 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23366 `' by configure.'
23367 if test x"$ac_file" != x-; then
23368 configure_input="$ac_file. $configure_input"
23369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23370 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23372 # Neutralize special characters interpreted by sed in replacement strings.
23373 case $configure_input in #(
23374 *\&* | *\|* | *\\* )
23375 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23376 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23377 *) ac_sed_conf_input=$configure_input;;
23378 esac
23380 case $ac_tag in
23381 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23382 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23383 esac
23385 esac
23387 ac_dir=`$as_dirname -- "$ac_file" ||
23388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23389 X"$ac_file" : 'X\(//\)[^/]' \| \
23390 X"$ac_file" : 'X\(//\)$' \| \
23391 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23392 printf "%s\n" X"$ac_file" |
23393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23394 s//\1/
23397 /^X\(\/\/\)[^/].*/{
23398 s//\1/
23401 /^X\(\/\/\)$/{
23402 s//\1/
23405 /^X\(\/\).*/{
23406 s//\1/
23409 s/.*/./; q'`
23410 as_dir="$ac_dir"; as_fn_mkdir_p
23411 ac_builddir=.
23413 case "$ac_dir" in
23414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23416 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23417 # A ".." for each directory in $ac_dir_suffix.
23418 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23419 case $ac_top_builddir_sub in
23420 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23421 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23422 esac ;;
23423 esac
23424 ac_abs_top_builddir=$ac_pwd
23425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23426 # for backward compatibility:
23427 ac_top_builddir=$ac_top_build_prefix
23429 case $srcdir in
23430 .) # We are building in place.
23431 ac_srcdir=.
23432 ac_top_srcdir=$ac_top_builddir_sub
23433 ac_abs_top_srcdir=$ac_pwd ;;
23434 [\\/]* | ?:[\\/]* ) # Absolute name.
23435 ac_srcdir=$srcdir$ac_dir_suffix;
23436 ac_top_srcdir=$srcdir
23437 ac_abs_top_srcdir=$srcdir ;;
23438 *) # Relative name.
23439 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23440 ac_top_srcdir=$ac_top_build_prefix$srcdir
23441 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23442 esac
23443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23446 case $ac_mode in
23450 # CONFIG_HEADER
23452 if test x"$ac_file" != x-; then
23454 printf "%s\n" "/* $configure_input */" >&1 \
23455 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23456 } >"$ac_tmp/config.h" \
23457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23458 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23460 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23461 else
23462 rm -f "$ac_file"
23463 mv "$ac_tmp/config.h" "$ac_file" \
23464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23466 else
23467 printf "%s\n" "/* $configure_input */" >&1 \
23468 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23469 || as_fn_error $? "could not create -" "$LINENO" 5
23474 # CONFIG_LINK
23477 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23479 else
23480 # Prefer the file from the source tree if names are identical.
23481 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23482 ac_source=$srcdir/$ac_source
23485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23486 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23488 if test ! -r "$ac_source"; then
23489 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23491 rm -f "$ac_file"
23493 # Try a relative symlink, then a hard link, then a copy.
23494 case $ac_source in
23495 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23496 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23497 esac
23498 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23499 ln "$ac_source" "$ac_file" 2>/dev/null ||
23500 cp -p "$ac_source" "$ac_file" ||
23501 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23504 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23505 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23507 esac
23510 case $ac_file$ac_mode in
23511 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23512 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23513 "Makefile":C) wine_fn_output_makefile Makefile ;;
23515 esac
23516 done # for ac_tag
23519 as_fn_exit 0
23520 _ACEOF
23521 ac_clean_files=$ac_clean_files_save
23523 test $ac_write_fail = 0 ||
23524 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23527 # configure is writing to config.log, and then calls config.status.
23528 # config.status does its own redirection, appending to config.log.
23529 # Unfortunately, on DOS this fails, as config.log is still kept open
23530 # by configure, so config.status won't be able to write to it; its
23531 # output is simply discarded. So we exec the FD to /dev/null,
23532 # effectively closing config.log, so it can be properly (re)opened and
23533 # appended to by config.status. When coming back to configure, we
23534 # need to make the FD available again.
23535 if test "$no_create" != yes; then
23536 ac_cs_success=:
23537 ac_config_status_args=
23538 test "$silent" = yes &&
23539 ac_config_status_args="$ac_config_status_args --quiet"
23540 exec 5>/dev/null
23541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23542 exec 5>>config.log
23543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23544 # would make configure fail if this is the last instruction.
23545 $ac_cs_success || as_fn_exit 1
23547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23549 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23553 if test "$no_create" = "yes"
23554 then
23555 exit 0
23558 ac_save_IFS="$IFS"
23559 if test "x$wine_notices" != x; then
23560 echo >&6
23561 IFS="|"
23562 for msg in $wine_notices; do
23563 IFS="$ac_save_IFS"
23564 if ${msg:+false} :
23565 then :
23567 else $as_nop
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23569 printf "%s\n" "$as_me: $msg" >&6;}
23571 done
23573 IFS="|"
23574 for msg in $wine_warnings; do
23575 IFS="$ac_save_IFS"
23576 if ${msg:+false} :
23577 then :
23579 else $as_nop
23580 echo >&2
23581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23582 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23584 done
23585 IFS="$ac_save_IFS"
23587 printf "%s\n" "
23588 $as_me: Finished. Do '${ac_make}' to compile Wine.
23589 " >&6