po: Update Dutch Translation.
[wine.git] / configure
blob6a3a43a9e97cddec23748fcbf5a2fc2b90a25077
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.4.
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.4'
615 PACKAGE_STRING='Wine 7.4'
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_dllhost
1560 enable_dplaysvr
1561 enable_dpnsvr
1562 enable_dpvsetup
1563 enable_dxdiag
1564 enable_eject
1565 enable_expand
1566 enable_explorer
1567 enable_extrac32
1568 enable_fc
1569 enable_find
1570 enable_findstr
1571 enable_fsutil
1572 enable_hh
1573 enable_hostname
1574 enable_icacls
1575 enable_icinfo
1576 enable_iexplore
1577 enable_ipconfig
1578 enable_lodctr
1579 enable_mofcomp
1580 enable_mshta
1581 enable_msidb
1582 enable_msiexec
1583 enable_msinfo32
1584 enable_net
1585 enable_netsh
1586 enable_netstat
1587 enable_ngen
1588 enable_notepad
1589 enable_oleview
1590 enable_ping
1591 enable_plugplay
1592 enable_powershell
1593 enable_presentationfontcache
1594 enable_progman
1595 enable_reg
1596 enable_regasm
1597 enable_regedit
1598 enable_regini
1599 enable_regsvcs
1600 enable_regsvr32
1601 enable_robocopy
1602 enable_rpcss
1603 enable_rundll32
1604 enable_sc
1605 enable_schtasks
1606 enable_sdbinst
1607 enable_secedit
1608 enable_servicemodelreg
1609 enable_services
1610 enable_shutdown
1611 enable_spoolsv
1612 enable_start
1613 enable_subst
1614 enable_svchost
1615 enable_systeminfo
1616 enable_taskkill
1617 enable_tasklist
1618 enable_taskmgr
1619 enable_termsv
1620 enable_uninstaller
1621 enable_unlodctr
1622 enable_view
1623 enable_wevtutil
1624 enable_where
1625 enable_whoami
1626 enable_wineboot
1627 enable_winebrowser
1628 enable_winecfg
1629 enable_wineconsole
1630 enable_winedbg
1631 enable_winedevice
1632 enable_winefile
1633 enable_winemenubuilder
1634 enable_winemine
1635 enable_winemsibuilder
1636 enable_winepath
1637 enable_winetest
1638 enable_winhlp32
1639 enable_winmgmt
1640 enable_winver
1641 enable_wmic
1642 enable_wmplayer
1643 enable_wordpad
1644 enable_write
1645 enable_wscript
1646 enable_wuauserv
1647 enable_wusa
1648 enable_xcopy
1649 enable_server
1650 enable_tools
1651 enable_sfnt2fon
1652 enable_widl
1653 enable_winebuild
1654 enable_winedump
1655 enable_winegcc
1656 enable_winemaker
1657 enable_wmc
1658 enable_wrc
1660 ac_precious_vars='build_alias
1661 host_alias
1662 target_alias
1664 CFLAGS
1665 LDFLAGS
1666 LIBS
1667 CPPFLAGS
1669 CXXFLAGS
1671 OBJC
1672 OBJCFLAGS
1673 FAUDIO_PE_CFLAGS
1674 FAUDIO_PE_LIBS
1675 GSM_PE_CFLAGS
1676 GSM_PE_LIBS
1677 JPEG_PE_CFLAGS
1678 JPEG_PE_LIBS
1679 JXR_PE_CFLAGS
1680 JXR_PE_LIBS
1681 LCMS2_PE_CFLAGS
1682 LCMS2_PE_LIBS
1683 MPG123_PE_CFLAGS
1684 MPG123_PE_LIBS
1685 PNG_PE_CFLAGS
1686 PNG_PE_LIBS
1687 TIFF_PE_CFLAGS
1688 TIFF_PE_LIBS
1689 VKD3D_PE_CFLAGS
1690 VKD3D_PE_LIBS
1691 XML2_PE_CFLAGS
1692 XML2_PE_LIBS
1693 XSLT_PE_CFLAGS
1694 XSLT_PE_LIBS
1695 ZLIB_PE_CFLAGS
1696 ZLIB_PE_LIBS
1697 XMKMF
1699 INOTIFY_CFLAGS
1700 INOTIFY_LIBS
1701 DBUS_CFLAGS
1702 DBUS_LIBS
1703 GNUTLS_CFLAGS
1704 GNUTLS_LIBS
1705 SANE_CFLAGS
1706 SANE_LIBS
1707 USB_CFLAGS
1708 USB_LIBS
1709 GPHOTO2_CFLAGS
1710 GPHOTO2_LIBS
1711 GPHOTO2_PORT_CFLAGS
1712 GPHOTO2_PORT_LIBS
1713 FREETYPE_CFLAGS
1714 FREETYPE_LIBS
1715 PULSE_CFLAGS
1716 PULSE_LIBS
1717 GSTREAMER_CFLAGS
1718 GSTREAMER_LIBS
1719 UDEV_CFLAGS
1720 UDEV_LIBS
1721 UNWIND_CFLAGS
1722 UNWIND_LIBS
1723 SDL2_CFLAGS
1724 SDL2_LIBS
1725 CAPI20_CFLAGS
1726 CAPI20_LIBS
1727 CUPS_CFLAGS
1728 CUPS_LIBS
1729 FONTCONFIG_CFLAGS
1730 FONTCONFIG_LIBS
1731 KRB5_CFLAGS
1732 KRB5_LIBS
1733 GSSAPI_CFLAGS
1734 GSSAPI_LIBS
1735 NETAPI_CFLAGS
1736 NETAPI_LIBS
1737 LDAP_CFLAGS
1738 LDAP_LIBS'
1741 # Initialize some variables set by options.
1742 ac_init_help=
1743 ac_init_version=false
1744 ac_unrecognized_opts=
1745 ac_unrecognized_sep=
1746 # The variables have the same names as the options, with
1747 # dashes changed to underlines.
1748 cache_file=/dev/null
1749 exec_prefix=NONE
1750 no_create=
1751 no_recursion=
1752 prefix=NONE
1753 program_prefix=NONE
1754 program_suffix=NONE
1755 program_transform_name=s,x,x,
1756 silent=
1757 site=
1758 srcdir=
1759 verbose=
1760 x_includes=NONE
1761 x_libraries=NONE
1763 # Installation directory options.
1764 # These are left unexpanded so users can "make install exec_prefix=/foo"
1765 # and all the variables that are supposed to be based on exec_prefix
1766 # by default will actually change.
1767 # Use braces instead of parens because sh, perl, etc. also accept them.
1768 # (The list follows the same order as the GNU Coding Standards.)
1769 bindir='${exec_prefix}/bin'
1770 sbindir='${exec_prefix}/sbin'
1771 libexecdir='${exec_prefix}/libexec'
1772 datarootdir='${prefix}/share'
1773 datadir='${datarootdir}'
1774 sysconfdir='${prefix}/etc'
1775 sharedstatedir='${prefix}/com'
1776 localstatedir='${prefix}/var'
1777 runstatedir='${localstatedir}/run'
1778 includedir='${prefix}/include'
1779 oldincludedir='/usr/include'
1780 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1781 infodir='${datarootdir}/info'
1782 htmldir='${docdir}'
1783 dvidir='${docdir}'
1784 pdfdir='${docdir}'
1785 psdir='${docdir}'
1786 libdir='${exec_prefix}/lib'
1787 localedir='${datarootdir}/locale'
1788 mandir='${datarootdir}/man'
1790 ac_prev=
1791 ac_dashdash=
1792 for ac_option
1794 # If the previous option needs an argument, assign it.
1795 if test -n "$ac_prev"; then
1796 eval $ac_prev=\$ac_option
1797 ac_prev=
1798 continue
1801 case $ac_option in
1802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1803 *=) ac_optarg= ;;
1804 *) ac_optarg=yes ;;
1805 esac
1807 case $ac_dashdash$ac_option in
1809 ac_dashdash=yes ;;
1811 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1812 ac_prev=bindir ;;
1813 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1814 bindir=$ac_optarg ;;
1816 -build | --build | --buil | --bui | --bu)
1817 ac_prev=build_alias ;;
1818 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1819 build_alias=$ac_optarg ;;
1821 -cache-file | --cache-file | --cache-fil | --cache-fi \
1822 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1823 ac_prev=cache_file ;;
1824 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1825 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1826 cache_file=$ac_optarg ;;
1828 --config-cache | -C)
1829 cache_file=config.cache ;;
1831 -datadir | --datadir | --datadi | --datad)
1832 ac_prev=datadir ;;
1833 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1834 datadir=$ac_optarg ;;
1836 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1837 | --dataroo | --dataro | --datar)
1838 ac_prev=datarootdir ;;
1839 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1840 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1841 datarootdir=$ac_optarg ;;
1843 -disable-* | --disable-*)
1844 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1845 # Reject names that are not valid shell variable names.
1846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1848 ac_useropt_orig=$ac_useropt
1849 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1850 case $ac_user_opts in
1852 "enable_$ac_useropt"
1853 "*) ;;
1854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1855 ac_unrecognized_sep=', ';;
1856 esac
1857 eval enable_$ac_useropt=no ;;
1859 -docdir | --docdir | --docdi | --doc | --do)
1860 ac_prev=docdir ;;
1861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1862 docdir=$ac_optarg ;;
1864 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1865 ac_prev=dvidir ;;
1866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1867 dvidir=$ac_optarg ;;
1869 -enable-* | --enable-*)
1870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1871 # Reject names that are not valid shell variable names.
1872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1873 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1874 ac_useropt_orig=$ac_useropt
1875 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1876 case $ac_user_opts in
1878 "enable_$ac_useropt"
1879 "*) ;;
1880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1881 ac_unrecognized_sep=', ';;
1882 esac
1883 eval enable_$ac_useropt=\$ac_optarg ;;
1885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1887 | --exec | --exe | --ex)
1888 ac_prev=exec_prefix ;;
1889 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1890 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1891 | --exec=* | --exe=* | --ex=*)
1892 exec_prefix=$ac_optarg ;;
1894 -gas | --gas | --ga | --g)
1895 # Obsolete; use --with-gas.
1896 with_gas=yes ;;
1898 -help | --help | --hel | --he | -h)
1899 ac_init_help=long ;;
1900 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1901 ac_init_help=recursive ;;
1902 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1903 ac_init_help=short ;;
1905 -host | --host | --hos | --ho)
1906 ac_prev=host_alias ;;
1907 -host=* | --host=* | --hos=* | --ho=*)
1908 host_alias=$ac_optarg ;;
1910 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1911 ac_prev=htmldir ;;
1912 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1913 | --ht=*)
1914 htmldir=$ac_optarg ;;
1916 -includedir | --includedir | --includedi | --included | --include \
1917 | --includ | --inclu | --incl | --inc)
1918 ac_prev=includedir ;;
1919 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1920 | --includ=* | --inclu=* | --incl=* | --inc=*)
1921 includedir=$ac_optarg ;;
1923 -infodir | --infodir | --infodi | --infod | --info | --inf)
1924 ac_prev=infodir ;;
1925 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1926 infodir=$ac_optarg ;;
1928 -libdir | --libdir | --libdi | --libd)
1929 ac_prev=libdir ;;
1930 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1931 libdir=$ac_optarg ;;
1933 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1934 | --libexe | --libex | --libe)
1935 ac_prev=libexecdir ;;
1936 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1937 | --libexe=* | --libex=* | --libe=*)
1938 libexecdir=$ac_optarg ;;
1940 -localedir | --localedir | --localedi | --localed | --locale)
1941 ac_prev=localedir ;;
1942 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1943 localedir=$ac_optarg ;;
1945 -localstatedir | --localstatedir | --localstatedi | --localstated \
1946 | --localstate | --localstat | --localsta | --localst | --locals)
1947 ac_prev=localstatedir ;;
1948 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1949 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1950 localstatedir=$ac_optarg ;;
1952 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1953 ac_prev=mandir ;;
1954 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1955 mandir=$ac_optarg ;;
1957 -nfp | --nfp | --nf)
1958 # Obsolete; use --without-fp.
1959 with_fp=no ;;
1961 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1962 | --no-cr | --no-c | -n)
1963 no_create=yes ;;
1965 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1966 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1967 no_recursion=yes ;;
1969 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1970 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1971 | --oldin | --oldi | --old | --ol | --o)
1972 ac_prev=oldincludedir ;;
1973 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1974 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1975 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1976 oldincludedir=$ac_optarg ;;
1978 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1979 ac_prev=prefix ;;
1980 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1981 prefix=$ac_optarg ;;
1983 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1984 | --program-pre | --program-pr | --program-p)
1985 ac_prev=program_prefix ;;
1986 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1987 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1988 program_prefix=$ac_optarg ;;
1990 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1991 | --program-suf | --program-su | --program-s)
1992 ac_prev=program_suffix ;;
1993 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1994 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1995 program_suffix=$ac_optarg ;;
1997 -program-transform-name | --program-transform-name \
1998 | --program-transform-nam | --program-transform-na \
1999 | --program-transform-n | --program-transform- \
2000 | --program-transform | --program-transfor \
2001 | --program-transfo | --program-transf \
2002 | --program-trans | --program-tran \
2003 | --progr-tra | --program-tr | --program-t)
2004 ac_prev=program_transform_name ;;
2005 -program-transform-name=* | --program-transform-name=* \
2006 | --program-transform-nam=* | --program-transform-na=* \
2007 | --program-transform-n=* | --program-transform-=* \
2008 | --program-transform=* | --program-transfor=* \
2009 | --program-transfo=* | --program-transf=* \
2010 | --program-trans=* | --program-tran=* \
2011 | --progr-tra=* | --program-tr=* | --program-t=*)
2012 program_transform_name=$ac_optarg ;;
2014 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2015 ac_prev=pdfdir ;;
2016 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2017 pdfdir=$ac_optarg ;;
2019 -psdir | --psdir | --psdi | --psd | --ps)
2020 ac_prev=psdir ;;
2021 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2022 psdir=$ac_optarg ;;
2024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2025 | -silent | --silent | --silen | --sile | --sil)
2026 silent=yes ;;
2028 -runstatedir | --runstatedir | --runstatedi | --runstated \
2029 | --runstate | --runstat | --runsta | --runst | --runs \
2030 | --run | --ru | --r)
2031 ac_prev=runstatedir ;;
2032 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2033 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2034 | --run=* | --ru=* | --r=*)
2035 runstatedir=$ac_optarg ;;
2037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2038 ac_prev=sbindir ;;
2039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2040 | --sbi=* | --sb=*)
2041 sbindir=$ac_optarg ;;
2043 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2044 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2045 | --sharedst | --shareds | --shared | --share | --shar \
2046 | --sha | --sh)
2047 ac_prev=sharedstatedir ;;
2048 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2049 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2050 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2051 | --sha=* | --sh=*)
2052 sharedstatedir=$ac_optarg ;;
2054 -site | --site | --sit)
2055 ac_prev=site ;;
2056 -site=* | --site=* | --sit=*)
2057 site=$ac_optarg ;;
2059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2060 ac_prev=srcdir ;;
2061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2062 srcdir=$ac_optarg ;;
2064 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2065 | --syscon | --sysco | --sysc | --sys | --sy)
2066 ac_prev=sysconfdir ;;
2067 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2068 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2069 sysconfdir=$ac_optarg ;;
2071 -target | --target | --targe | --targ | --tar | --ta | --t)
2072 ac_prev=target_alias ;;
2073 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2074 target_alias=$ac_optarg ;;
2076 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2077 verbose=yes ;;
2079 -version | --version | --versio | --versi | --vers | -V)
2080 ac_init_version=: ;;
2082 -with-* | --with-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid package name: \`$ac_useropt'"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "with_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval with_$ac_useropt=\$ac_optarg ;;
2098 -without-* | --without-*)
2099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2100 # Reject names that are not valid shell variable names.
2101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2102 as_fn_error $? "invalid package name: \`$ac_useropt'"
2103 ac_useropt_orig=$ac_useropt
2104 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2105 case $ac_user_opts in
2107 "with_$ac_useropt"
2108 "*) ;;
2109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2110 ac_unrecognized_sep=', ';;
2111 esac
2112 eval with_$ac_useropt=no ;;
2114 --x)
2115 # Obsolete; use --with-x.
2116 with_x=yes ;;
2118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2119 | --x-incl | --x-inc | --x-in | --x-i)
2120 ac_prev=x_includes ;;
2121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2123 x_includes=$ac_optarg ;;
2125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2127 ac_prev=x_libraries ;;
2128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2130 x_libraries=$ac_optarg ;;
2132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2133 Try \`$0 --help' for more information"
2136 *=*)
2137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2138 # Reject names that are not valid shell variable names.
2139 case $ac_envvar in #(
2140 '' | [0-9]* | *[!_$as_cr_alnum]* )
2141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2142 esac
2143 eval $ac_envvar=\$ac_optarg
2144 export $ac_envvar ;;
2147 # FIXME: should be removed in autoconf 3.0.
2148 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2150 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2154 esac
2155 done
2157 if test -n "$ac_prev"; then
2158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2159 as_fn_error $? "missing argument to $ac_option"
2162 if test -n "$ac_unrecognized_opts"; then
2163 case $enable_option_checking in
2164 no) ;;
2165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2166 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2167 esac
2170 # Check all directory arguments for consistency.
2171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2172 datadir sysconfdir sharedstatedir localstatedir includedir \
2173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2174 libdir localedir mandir runstatedir
2176 eval ac_val=\$$ac_var
2177 # Remove trailing slashes.
2178 case $ac_val in
2179 */ )
2180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2181 eval $ac_var=\$ac_val;;
2182 esac
2183 # Be sure to have absolute directory names.
2184 case $ac_val in
2185 [\\/$]* | ?:[\\/]* ) continue;;
2186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2187 esac
2188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2189 done
2191 # There might be people who depend on the old broken behavior: `$host'
2192 # used to hold the argument of --host etc.
2193 # FIXME: To remove some day.
2194 build=$build_alias
2195 host=$host_alias
2196 target=$target_alias
2198 # FIXME: To remove some day.
2199 if test "x$host_alias" != x; then
2200 if test "x$build_alias" = x; then
2201 cross_compiling=maybe
2202 elif test "x$build_alias" != "x$host_alias"; then
2203 cross_compiling=yes
2207 ac_tool_prefix=
2208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2210 test "$silent" = yes && exec 6>/dev/null
2213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2214 ac_ls_di=`ls -di .` &&
2215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2216 as_fn_error $? "working directory cannot be determined"
2217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2218 as_fn_error $? "pwd does not report name of working directory"
2221 # Find the source files, if location was not specified.
2222 if test -z "$srcdir"; then
2223 ac_srcdir_defaulted=yes
2224 # Try the directory containing this script, then the parent directory.
2225 ac_confdir=`$as_dirname -- "$as_myself" ||
2226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2227 X"$as_myself" : 'X\(//\)[^/]' \| \
2228 X"$as_myself" : 'X\(//\)$' \| \
2229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2230 printf "%s\n" X"$as_myself" |
2231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2232 s//\1/
2235 /^X\(\/\/\)[^/].*/{
2236 s//\1/
2239 /^X\(\/\/\)$/{
2240 s//\1/
2243 /^X\(\/\).*/{
2244 s//\1/
2247 s/.*/./; q'`
2248 srcdir=$ac_confdir
2249 if test ! -r "$srcdir/$ac_unique_file"; then
2250 srcdir=..
2252 else
2253 ac_srcdir_defaulted=no
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2259 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2260 ac_abs_confdir=`(
2261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2262 pwd)`
2263 # When building in place, set srcdir=.
2264 if test "$ac_abs_confdir" = "$ac_pwd"; then
2265 srcdir=.
2267 # Remove unnecessary trailing slashes from srcdir.
2268 # Double slashes in file names in object file debugging info
2269 # mess up M-x gdb in Emacs.
2270 case $srcdir in
2271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2272 esac
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2275 eval ac_env_${ac_var}_value=\$${ac_var}
2276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2278 done
2281 # Report the --help message.
2283 if test "$ac_init_help" = "long"; then
2284 # Omit some internal or obsolete options to make the list less imposing.
2285 # This message is too long to be a string in the A/UX 3.1 sh.
2286 cat <<_ACEOF
2287 \`configure' configures Wine 7.4 to adapt to many kinds of systems.
2289 Usage: $0 [OPTION]... [VAR=VALUE]...
2291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2292 VAR=VALUE. See below for descriptions of some of the useful variables.
2294 Defaults for the options are specified in brackets.
2296 Configuration:
2297 -h, --help display this help and exit
2298 --help=short display options specific to this package
2299 --help=recursive display the short help of all the included packages
2300 -V, --version display version information and exit
2301 -q, --quiet, --silent do not print \`checking ...' messages
2302 --cache-file=FILE cache test results in FILE [disabled]
2303 -C, --config-cache alias for \`--cache-file=config.cache'
2304 -n, --no-create do not create output files
2305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2307 Installation directories:
2308 --prefix=PREFIX install architecture-independent files in PREFIX
2309 [$ac_default_prefix]
2310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2311 [PREFIX]
2313 By default, \`make install' will install all the files in
2314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2316 for instance \`--prefix=\$HOME'.
2318 For better control, use the options below.
2320 Fine tuning of the installation directories:
2321 --bindir=DIR user executables [EPREFIX/bin]
2322 --sbindir=DIR system admin executables [EPREFIX/sbin]
2323 --libexecdir=DIR program executables [EPREFIX/libexec]
2324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2327 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2328 --libdir=DIR object code libraries [EPREFIX/lib]
2329 --includedir=DIR C header files [PREFIX/include]
2330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2333 --infodir=DIR info documentation [DATAROOTDIR/info]
2334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2335 --mandir=DIR man documentation [DATAROOTDIR/man]
2336 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2337 --htmldir=DIR html documentation [DOCDIR]
2338 --dvidir=DIR dvi documentation [DOCDIR]
2339 --pdfdir=DIR pdf documentation [DOCDIR]
2340 --psdir=DIR ps documentation [DOCDIR]
2341 _ACEOF
2343 cat <<\_ACEOF
2345 X features:
2346 --x-includes=DIR X include files are in DIR
2347 --x-libraries=DIR X library files are in DIR
2349 System types:
2350 --build=BUILD configure for building on BUILD [guessed]
2351 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2352 _ACEOF
2355 if test -n "$ac_init_help"; then
2356 case $ac_init_help in
2357 short | recursive ) echo "Configuration of Wine 7.4:";;
2358 esac
2359 cat <<\_ACEOF
2361 Optional Features:
2362 --disable-option-checking ignore unrecognized --enable/--with options
2363 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2364 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2365 --disable-win16 do not include Win16 support
2366 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2367 binaries)
2368 --disable-tests do not build the regression tests
2369 --enable-build-id include .buildid section in output objects
2370 --enable-maintainer-mode
2371 enable maintainer-specific build rules
2372 --enable-silent-rules use silent build rules (override: "make V=1")
2373 --enable-werror treat compilation warnings as errors
2374 --disable-largefile omit support for large files
2376 Optional Packages:
2377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2379 --without-alsa do not use the Alsa sound support
2380 --without-capi do not use CAPI (ISDN support)
2381 --without-coreaudio do not use the CoreAudio sound support
2382 --without-cups do not use CUPS
2383 --without-dbus do not use DBus (dynamic device support)
2384 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2385 --without-fontconfig do not use fontconfig
2386 --without-freetype do not use the FreeType library
2387 --without-gettext do not use gettext
2388 --with-gettextpo use the GetTextPO library to rebuild po files
2389 --without-gphoto do not use gphoto (Digital Camera support)
2390 --without-gnutls do not use GnuTLS (schannel support)
2391 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2392 --without-gstreamer do not use GStreamer (codecs support)
2393 --without-inotify do not use inotify (filesystem change notifications)
2394 --without-krb5 do not use krb5 (Kerberos)
2395 --without-ldap do not use LDAP
2396 --without-mingw do not use the MinGW cross-compiler
2397 --without-netapi do not use the Samba NetAPI library
2398 --without-openal do not use OpenAL
2399 --without-opencl do not use OpenCL
2400 --without-opengl do not use OpenGL
2401 --without-osmesa do not use the OSMesa library
2402 --without-oss do not use the OSS sound support
2403 --without-pcap do not use the Packet Capture library
2404 --without-pthread do not use the pthread library
2405 --without-pulse do not use PulseAudio sound support
2406 --without-sane do not use SANE (scanner support)
2407 --without-sdl do not use SDL
2408 --without-udev do not use udev (plug and play support)
2409 --without-unwind do not use the libunwind library (exception
2410 handling)
2411 --without-usb do not use the libusb library
2412 --without-v4l2 do not use v4l2 (video capture)
2413 --without-vulkan do not use Vulkan
2414 --without-xcomposite do not use the Xcomposite extension
2415 --without-xcursor do not use the Xcursor extension
2416 --without-xfixes do not use Xfixes for clipboard change notifications
2417 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2418 --without-xinput do not use the Xinput extension
2419 --without-xinput2 do not use the Xinput 2 extension
2420 --without-xrandr do not use Xrandr (multi-monitor support)
2421 --without-xrender do not use the Xrender extension
2422 --without-xshape do not use the Xshape extension
2423 --without-xshm do not use XShm (shared memory extension)
2424 --without-xxf86vm do not use XFree video mode extension
2425 --with-system-dllpath=PATH
2426 load external PE dependencies from colon-separated
2427 path PATH
2428 --with-wine-tools=DIR use Wine tools from directory DIR
2429 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2430 --with-x use the X Window System
2432 Some influential environment variables:
2433 CC C compiler command
2434 CFLAGS C compiler flags
2435 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2436 nonstandard directory <lib dir>
2437 LIBS libraries to pass to the linker, e.g. -l<library>
2438 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2439 you have headers in a nonstandard directory <include dir>
2440 CXX C++ compiler command
2441 CXXFLAGS C++ compiler flags
2442 OBJC Objective C compiler command
2443 OBJCFLAGS Objective C compiler flags
2444 FAUDIO_PE_CFLAGS
2445 C compiler flags for the PE faudio, overriding the bundled
2446 version
2447 FAUDIO_PE_LIBS
2448 Linker flags for the PE faudio, overriding the bundled version
2449 GSM_PE_CFLAGS
2450 C compiler flags for the PE gsm, overriding the bundled version
2451 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2452 JPEG_PE_CFLAGS
2453 C compiler flags for the PE jpeg, overriding the bundled version
2454 JPEG_PE_LIBS
2455 Linker flags for the PE jpeg, overriding the bundled version
2456 JXR_PE_CFLAGS
2457 C compiler flags for the PE jxr, overriding the bundled version
2458 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2459 LCMS2_PE_CFLAGS
2460 C compiler flags for the PE lcms2, overriding the bundled
2461 version
2462 LCMS2_PE_LIBS
2463 Linker flags for the PE lcms2, overriding the bundled version
2464 MPG123_PE_CFLAGS
2465 C compiler flags for the PE mpg123, overriding the bundled
2466 version
2467 MPG123_PE_LIBS
2468 Linker flags for the PE mpg123, overriding the bundled version
2469 PNG_PE_CFLAGS
2470 C compiler flags for the PE png, overriding the bundled version
2471 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2472 TIFF_PE_CFLAGS
2473 C compiler flags for the PE tiff, overriding the bundled version
2474 TIFF_PE_LIBS
2475 Linker flags for the PE tiff, overriding the bundled version
2476 VKD3D_PE_CFLAGS
2477 C compiler flags for the PE vkd3d, overriding the bundled
2478 version
2479 VKD3D_PE_LIBS
2480 Linker flags for the PE vkd3d, overriding the bundled version
2481 XML2_PE_CFLAGS
2482 C compiler flags for the PE xml2, overriding the bundled version
2483 XML2_PE_LIBS
2484 Linker flags for the PE xml2, overriding the bundled version
2485 XSLT_PE_CFLAGS
2486 C compiler flags for the PE xslt, overriding the bundled version
2487 XSLT_PE_LIBS
2488 Linker flags for the PE xslt, overriding the bundled version
2489 ZLIB_PE_CFLAGS
2490 C compiler flags for the PE zlib, overriding the bundled version
2491 ZLIB_PE_LIBS
2492 Linker flags for the PE zlib, overriding the bundled version
2493 XMKMF Path to xmkmf, Makefile generator for X Window System
2494 CPP C preprocessor
2495 INOTIFY_CFLAGS
2496 C compiler flags for libinotify, overriding pkg-config
2497 INOTIFY_LIBS
2498 Linker flags for libinotify, overriding pkg-config
2499 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2500 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2501 GNUTLS_CFLAGS
2502 C compiler flags for gnutls, overriding pkg-config
2503 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2504 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2505 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2506 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2507 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2508 GPHOTO2_CFLAGS
2509 C compiler flags for libgphoto2, overriding pkg-config
2510 GPHOTO2_LIBS
2511 Linker flags for libgphoto2, overriding pkg-config
2512 GPHOTO2_PORT_CFLAGS
2513 C compiler flags for libgphoto2_port, overriding pkg-config
2514 GPHOTO2_PORT_LIBS
2515 Linker flags for libgphoto2_port, overriding pkg-config
2516 FREETYPE_CFLAGS
2517 C compiler flags for freetype2, overriding pkg-config
2518 FREETYPE_LIBS
2519 Linker flags for freetype2, overriding pkg-config
2520 PULSE_CFLAGS
2521 C compiler flags for libpulse, overriding pkg-config
2522 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2523 GSTREAMER_CFLAGS
2524 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2525 gstreamer-audio-1.0, overriding pkg-config
2526 GSTREAMER_LIBS
2527 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2528 gstreamer-audio-1.0, overriding pkg-config
2529 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2530 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2531 UNWIND_CFLAGS
2532 C compiler flags for libunwind, overriding pkg-config
2533 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2534 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2535 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2536 CAPI20_CFLAGS
2537 C compiler flags for capi20, overriding pkg-config
2538 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2539 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2540 CUPS_LIBS Linker flags for cups, overriding pkg-config
2541 FONTCONFIG_CFLAGS
2542 C compiler flags for fontconfig, overriding pkg-config
2543 FONTCONFIG_LIBS
2544 Linker flags for fontconfig, overriding pkg-config
2545 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2546 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2547 GSSAPI_CFLAGS
2548 C compiler flags for krb5-gssapi, overriding pkg-config
2549 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2550 NETAPI_CFLAGS
2551 C compiler flags for netapi, overriding pkg-config
2552 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2553 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2554 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2556 Use these variables to override the choices made by `configure' or to help
2557 it to find libraries and programs with nonstandard names/locations.
2559 Report bugs to <wine-devel@winehq.org>.
2560 Wine home page: <https://www.winehq.org>.
2561 _ACEOF
2562 ac_status=$?
2565 if test "$ac_init_help" = "recursive"; then
2566 # If there are subdirs, report their specific --help.
2567 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2568 test -d "$ac_dir" ||
2569 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2570 continue
2571 ac_builddir=.
2573 case "$ac_dir" in
2574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2576 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2577 # A ".." for each directory in $ac_dir_suffix.
2578 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2579 case $ac_top_builddir_sub in
2580 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2581 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2582 esac ;;
2583 esac
2584 ac_abs_top_builddir=$ac_pwd
2585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2586 # for backward compatibility:
2587 ac_top_builddir=$ac_top_build_prefix
2589 case $srcdir in
2590 .) # We are building in place.
2591 ac_srcdir=.
2592 ac_top_srcdir=$ac_top_builddir_sub
2593 ac_abs_top_srcdir=$ac_pwd ;;
2594 [\\/]* | ?:[\\/]* ) # Absolute name.
2595 ac_srcdir=$srcdir$ac_dir_suffix;
2596 ac_top_srcdir=$srcdir
2597 ac_abs_top_srcdir=$srcdir ;;
2598 *) # Relative name.
2599 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2600 ac_top_srcdir=$ac_top_build_prefix$srcdir
2601 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2602 esac
2603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2605 cd "$ac_dir" || { ac_status=$?; continue; }
2606 # Check for configure.gnu first; this name is used for a wrapper for
2607 # Metaconfig's "Configure" on case-insensitive file systems.
2608 if test -f "$ac_srcdir/configure.gnu"; then
2609 echo &&
2610 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2611 elif test -f "$ac_srcdir/configure"; then
2612 echo &&
2613 $SHELL "$ac_srcdir/configure" --help=recursive
2614 else
2615 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2616 fi || ac_status=$?
2617 cd "$ac_pwd" || { ac_status=$?; break; }
2618 done
2621 test -n "$ac_init_help" && exit $ac_status
2622 if $ac_init_version; then
2623 cat <<\_ACEOF
2624 Wine configure 7.4
2625 generated by GNU Autoconf 2.71
2627 Copyright (C) 2021 Free Software Foundation, Inc.
2628 This configure script is free software; the Free Software Foundation
2629 gives unlimited permission to copy, distribute and modify it.
2630 _ACEOF
2631 exit
2634 ## ------------------------ ##
2635 ## Autoconf initialization. ##
2636 ## ------------------------ ##
2638 # ac_fn_c_try_compile LINENO
2639 # --------------------------
2640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2641 ac_fn_c_try_compile ()
2643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2644 rm -f conftest.$ac_objext conftest.beam
2645 if { { ac_try="$ac_compile"
2646 case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649 esac
2650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2651 printf "%s\n" "$ac_try_echo"; } >&5
2652 (eval "$ac_compile") 2>conftest.err
2653 ac_status=$?
2654 if test -s conftest.err; then
2655 grep -v '^ *+' conftest.err >conftest.er1
2656 cat conftest.er1 >&5
2657 mv -f conftest.er1 conftest.err
2659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2660 test $ac_status = 0; } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest.$ac_objext
2664 then :
2665 ac_retval=0
2666 else $as_nop
2667 printf "%s\n" "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.$ac_ext >&5
2670 ac_retval=1
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status $ac_retval
2675 } # ac_fn_c_try_compile
2677 # ac_fn_cxx_try_compile LINENO
2678 # ----------------------------
2679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2680 ac_fn_cxx_try_compile ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 rm -f conftest.$ac_objext conftest.beam
2684 if { { ac_try="$ac_compile"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 printf "%s\n" "$ac_try_echo"; } >&5
2691 (eval "$ac_compile") 2>conftest.err
2692 ac_status=$?
2693 if test -s conftest.err; then
2694 grep -v '^ *+' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2696 mv -f conftest.er1 conftest.err
2698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && {
2700 test -z "$ac_cxx_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest.$ac_objext
2703 then :
2704 ac_retval=0
2705 else $as_nop
2706 printf "%s\n" "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=1
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_cxx_try_compile
2716 # ac_fn_c_try_link LINENO
2717 # -----------------------
2718 # Try to link conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_link ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2723 if { { ac_try="$ac_link"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 printf "%s\n" "$ac_try_echo"; } >&5
2730 (eval "$ac_link") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_c_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest$ac_exeext && {
2742 test "$cross_compiling" = yes ||
2743 test -x conftest$ac_exeext
2745 then :
2746 ac_retval=0
2747 else $as_nop
2748 printf "%s\n" "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2751 ac_retval=1
2753 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2754 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2755 # interfere with the next link command; also delete a directory that is
2756 # left behind by Apple's compiler. We do this before executing the actions.
2757 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2758 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2759 as_fn_set_status $ac_retval
2761 } # ac_fn_c_try_link
2763 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2764 # -------------------------------------------------------
2765 # Tests whether HEADER exists and can be compiled using the include files in
2766 # INCLUDES, setting the cache variable VAR accordingly.
2767 ac_fn_c_check_header_compile ()
2769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2771 printf %s "checking for $2... " >&6; }
2772 if eval test \${$3+y}
2773 then :
2774 printf %s "(cached) " >&6
2775 else $as_nop
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2779 #include <$2>
2780 _ACEOF
2781 if ac_fn_c_try_compile "$LINENO"
2782 then :
2783 eval "$3=yes"
2784 else $as_nop
2785 eval "$3=no"
2787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2789 eval ac_res=\$$3
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 printf "%s\n" "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 } # ac_fn_c_check_header_compile
2796 # ac_fn_objc_try_compile LINENO
2797 # -----------------------------
2798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2799 ac_fn_objc_try_compile ()
2801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2802 rm -f conftest.$ac_objext conftest.beam
2803 if { { ac_try="$ac_compile"
2804 case "(($ac_try" in
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2807 esac
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 printf "%s\n" "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>conftest.err
2811 ac_status=$?
2812 if test -s conftest.err; then
2813 grep -v '^ *+' conftest.err >conftest.er1
2814 cat conftest.er1 >&5
2815 mv -f conftest.er1 conftest.err
2817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2818 test $ac_status = 0; } && {
2819 test -z "$ac_objc_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext
2822 then :
2823 ac_retval=0
2824 else $as_nop
2825 printf "%s\n" "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 ac_retval=1
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2831 as_fn_set_status $ac_retval
2833 } # ac_fn_objc_try_compile
2835 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2836 # ----------------------------------------------------------
2837 # Tests whether HEADER exists and can be compiled using the include files in
2838 # INCLUDES, setting the cache variable VAR accordingly.
2839 ac_fn_objc_check_header_compile ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2843 printf %s "checking for $2... " >&6; }
2844 if eval test \${$3+y}
2845 then :
2846 printf %s "(cached) " >&6
2847 else $as_nop
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2851 #include <$2>
2852 _ACEOF
2853 if ac_fn_objc_try_compile "$LINENO"
2854 then :
2855 eval "$3=yes"
2856 else $as_nop
2857 eval "$3=no"
2859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2861 eval ac_res=\$$3
2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2863 printf "%s\n" "$ac_res" >&6; }
2864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 } # ac_fn_objc_check_header_compile
2868 # ac_fn_c_check_func LINENO FUNC VAR
2869 # ----------------------------------
2870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2871 ac_fn_c_check_func ()
2873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2875 printf %s "checking for $2... " >&6; }
2876 if eval test \${$3+y}
2877 then :
2878 printf %s "(cached) " >&6
2879 else $as_nop
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2882 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2884 #define $2 innocuous_$2
2886 /* System header to define __stub macros and hopefully few prototypes,
2887 which can conflict with char $2 (); below. */
2889 #include <limits.h>
2890 #undef $2
2892 /* Override any GCC internal prototype to avoid an error.
2893 Use char because int might match the return type of a GCC
2894 builtin and then its argument prototype would still apply. */
2895 #ifdef __cplusplus
2896 extern "C"
2897 #endif
2898 char $2 ();
2899 /* The GNU C library defines this for functions which it implements
2900 to always fail with ENOSYS. Some functions are actually named
2901 something starting with __ and the normal name is an alias. */
2902 #if defined __stub_$2 || defined __stub___$2
2903 choke me
2904 #endif
2907 main (void)
2909 return $2 ();
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_link "$LINENO"
2915 then :
2916 eval "$3=yes"
2917 else $as_nop
2918 eval "$3=no"
2920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2921 conftest$ac_exeext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 printf "%s\n" "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_func
2930 # ac_fn_c_try_cpp LINENO
2931 # ----------------------
2932 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_cpp ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 if { { ac_try="$ac_cpp conftest.$ac_ext"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 printf "%s\n" "$ac_try_echo"; } >&5
2943 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2944 ac_status=$?
2945 if test -s conftest.err; then
2946 grep -v '^ *+' conftest.err >conftest.er1
2947 cat conftest.er1 >&5
2948 mv -f conftest.er1 conftest.err
2950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951 test $ac_status = 0; } > conftest.i && {
2952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2955 then :
2956 ac_retval=0
2957 else $as_nop
2958 printf "%s\n" "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2961 ac_retval=1
2963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 as_fn_set_status $ac_retval
2966 } # ac_fn_c_try_cpp
2968 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2969 # ----------------------------------------------------
2970 # Tries to find if the field MEMBER exists in type AGGR, after including
2971 # INCLUDES, setting cache variable VAR accordingly.
2972 ac_fn_c_check_member ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2976 printf %s "checking for $2.$3... " >&6; }
2977 if eval test \${$4+y}
2978 then :
2979 printf %s "(cached) " >&6
2980 else $as_nop
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2985 main (void)
2987 static $2 ac_aggr;
2988 if (ac_aggr.$3)
2989 return 0;
2991 return 0;
2993 _ACEOF
2994 if ac_fn_c_try_compile "$LINENO"
2995 then :
2996 eval "$4=yes"
2997 else $as_nop
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3002 main (void)
3004 static $2 ac_aggr;
3005 if (sizeof ac_aggr.$3)
3006 return 0;
3008 return 0;
3010 _ACEOF
3011 if ac_fn_c_try_compile "$LINENO"
3012 then :
3013 eval "$4=yes"
3014 else $as_nop
3015 eval "$4=no"
3017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3021 eval ac_res=\$$4
3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 printf "%s\n" "$ac_res" >&6; }
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 } # ac_fn_c_check_member
3028 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3029 # -------------------------------------------
3030 # Tests whether TYPE exists after having included INCLUDES, setting cache
3031 # variable VAR accordingly.
3032 ac_fn_c_check_type ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3036 printf %s "checking for $2... " >&6; }
3037 if eval test \${$3+y}
3038 then :
3039 printf %s "(cached) " >&6
3040 else $as_nop
3041 eval "$3=no"
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3046 main (void)
3048 if (sizeof ($2))
3049 return 0;
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"
3055 then :
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3060 main (void)
3062 if (sizeof (($2)))
3063 return 0;
3065 return 0;
3067 _ACEOF
3068 if ac_fn_c_try_compile "$LINENO"
3069 then :
3071 else $as_nop
3072 eval "$3=yes"
3074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 eval ac_res=\$$3
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3080 printf "%s\n" "$ac_res" >&6; }
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 } # ac_fn_c_check_type
3084 ac_configure_args_raw=
3085 for ac_arg
3087 case $ac_arg in
3088 *\'*)
3089 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3090 esac
3091 as_fn_append ac_configure_args_raw " '$ac_arg'"
3092 done
3094 case $ac_configure_args_raw in
3095 *$as_nl*)
3096 ac_safe_unquote= ;;
3098 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3099 ac_unsafe_a="$ac_unsafe_z#~"
3100 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3101 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3102 esac
3104 cat >config.log <<_ACEOF
3105 This file contains any messages produced by compilers while
3106 running configure, to aid debugging if configure makes a mistake.
3108 It was created by Wine $as_me 7.4, which was
3109 generated by GNU Autoconf 2.71. Invocation command line was
3111 $ $0$ac_configure_args_raw
3113 _ACEOF
3114 exec 5>>config.log
3116 cat <<_ASUNAME
3117 ## --------- ##
3118 ## Platform. ##
3119 ## --------- ##
3121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3138 _ASUNAME
3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 for as_dir in $PATH
3143 IFS=$as_save_IFS
3144 case $as_dir in #(((
3145 '') as_dir=./ ;;
3146 */) ;;
3147 *) as_dir=$as_dir/ ;;
3148 esac
3149 printf "%s\n" "PATH: $as_dir"
3150 done
3151 IFS=$as_save_IFS
3153 } >&5
3155 cat >&5 <<_ACEOF
3158 ## ----------- ##
3159 ## Core tests. ##
3160 ## ----------- ##
3162 _ACEOF
3165 # Keep a trace of the command line.
3166 # Strip out --no-create and --no-recursion so they do not pile up.
3167 # Strip out --silent because we don't want to record it for future runs.
3168 # Also quote any args containing shell meta-characters.
3169 # Make two passes to allow for proper duplicate-argument suppression.
3170 ac_configure_args=
3171 ac_configure_args0=
3172 ac_configure_args1=
3173 ac_must_keep_next=false
3174 for ac_pass in 1 2
3176 for ac_arg
3178 case $ac_arg in
3179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3181 | -silent | --silent | --silen | --sile | --sil)
3182 continue ;;
3183 *\'*)
3184 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3185 esac
3186 case $ac_pass in
3187 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3189 as_fn_append ac_configure_args1 " '$ac_arg'"
3190 if test $ac_must_keep_next = true; then
3191 ac_must_keep_next=false # Got value, back to normal.
3192 else
3193 case $ac_arg in
3194 *=* | --config-cache | -C | -disable-* | --disable-* \
3195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3197 | -with-* | --with-* | -without-* | --without-* | --x)
3198 case "$ac_configure_args0 " in
3199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3200 esac
3202 -* ) ac_must_keep_next=true ;;
3203 esac
3205 as_fn_append ac_configure_args " '$ac_arg'"
3207 esac
3208 done
3209 done
3210 { ac_configure_args0=; unset ac_configure_args0;}
3211 { ac_configure_args1=; unset ac_configure_args1;}
3213 # When interrupted or exit'd, cleanup temporary files, and complete
3214 # config.log. We remove comments because anyway the quotes in there
3215 # would cause problems or look ugly.
3216 # WARNING: Use '\'' to represent an apostrophe within the trap.
3217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3218 trap 'exit_status=$?
3219 # Sanitize IFS.
3220 IFS=" "" $as_nl"
3221 # Save into config.log some information that might help in debugging.
3223 echo
3225 printf "%s\n" "## ---------------- ##
3226 ## Cache variables. ##
3227 ## ---------------- ##"
3228 echo
3229 # The following way of writing the cache mishandles newlines in values,
3231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3232 eval ac_val=\$$ac_var
3233 case $ac_val in #(
3234 *${as_nl}*)
3235 case $ac_var in #(
3236 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3237 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3238 esac
3239 case $ac_var in #(
3240 _ | IFS | as_nl) ;; #(
3241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3242 *) { eval $ac_var=; unset $ac_var;} ;;
3243 esac ;;
3244 esac
3245 done
3246 (set) 2>&1 |
3247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3248 *${as_nl}ac_space=\ *)
3249 sed -n \
3250 "s/'\''/'\''\\\\'\'''\''/g;
3251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3252 ;; #(
3254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3256 esac |
3257 sort
3259 echo
3261 printf "%s\n" "## ----------------- ##
3262 ## Output variables. ##
3263 ## ----------------- ##"
3264 echo
3265 for ac_var in $ac_subst_vars
3267 eval ac_val=\$$ac_var
3268 case $ac_val in
3269 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3270 esac
3271 printf "%s\n" "$ac_var='\''$ac_val'\''"
3272 done | sort
3273 echo
3275 if test -n "$ac_subst_files"; then
3276 printf "%s\n" "## ------------------- ##
3277 ## File substitutions. ##
3278 ## ------------------- ##"
3279 echo
3280 for ac_var in $ac_subst_files
3282 eval ac_val=\$$ac_var
3283 case $ac_val in
3284 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3285 esac
3286 printf "%s\n" "$ac_var='\''$ac_val'\''"
3287 done | sort
3288 echo
3291 if test -s confdefs.h; then
3292 printf "%s\n" "## ----------- ##
3293 ## confdefs.h. ##
3294 ## ----------- ##"
3295 echo
3296 cat confdefs.h
3297 echo
3299 test "$ac_signal" != 0 &&
3300 printf "%s\n" "$as_me: caught signal $ac_signal"
3301 printf "%s\n" "$as_me: exit $exit_status"
3302 } >&5
3303 rm -f core *.core core.conftest.* &&
3304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3305 exit $exit_status
3307 for ac_signal in 1 2 13 15; do
3308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3309 done
3310 ac_signal=0
3312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3313 rm -f -r conftest* confdefs.h
3315 printf "%s\n" "/* confdefs.h */" > confdefs.h
3317 # Predefined preprocessor variables.
3319 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3321 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3323 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3325 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3332 # Let the site file select an alternate cache file if it wants to.
3333 # Prefer an explicitly selected file to automatically selected ones.
3334 if test -n "$CONFIG_SITE"; then
3335 ac_site_files="$CONFIG_SITE"
3336 elif test "x$prefix" != xNONE; then
3337 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3338 else
3339 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3342 for ac_site_file in $ac_site_files
3344 case $ac_site_file in #(
3345 */*) :
3346 ;; #(
3347 *) :
3348 ac_site_file=./$ac_site_file ;;
3349 esac
3350 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3352 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3353 sed 's/^/| /' "$ac_site_file" >&5
3354 . "$ac_site_file" \
3355 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3357 as_fn_error $? "failed to load site script $ac_site_file
3358 See \`config.log' for more details" "$LINENO" 5; }
3360 done
3362 if test -r "$cache_file"; then
3363 # Some versions of bash will fail to source /dev/null (special files
3364 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3365 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3367 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3368 case $cache_file in
3369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3370 *) . "./$cache_file";;
3371 esac
3373 else
3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3375 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3376 >$cache_file
3379 # Test code for whether the C compiler supports C89 (global declarations)
3380 ac_c_conftest_c89_globals='
3381 /* Does the compiler advertise C89 conformance?
3382 Do not test the value of __STDC__, because some compilers set it to 0
3383 while being otherwise adequately conformant. */
3384 #if !defined __STDC__
3385 # error "Compiler does not advertise C89 conformance"
3386 #endif
3388 #include <stddef.h>
3389 #include <stdarg.h>
3390 struct stat;
3391 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3392 struct buf { int x; };
3393 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3394 static char *e (p, i)
3395 char **p;
3396 int i;
3398 return p[i];
3400 static char *f (char * (*g) (char **, int), char **p, ...)
3402 char *s;
3403 va_list v;
3404 va_start (v,p);
3405 s = g (p, va_arg (v,int));
3406 va_end (v);
3407 return s;
3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3411 function prototypes and stuff, but not \xHH hex character constants.
3412 These do not provoke an error unfortunately, instead are silently treated
3413 as an "x". The following induces an error, until -std is added to get
3414 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3415 array size at least. It is necessary to write \x00 == 0 to get something
3416 that is true only with -std. */
3417 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3420 inside strings and character constants. */
3421 #define FOO(x) '\''x'\''
3422 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3424 int test (int i, double x);
3425 struct s1 {int (*f) (int a);};
3426 struct s2 {int (*f) (double a);};
3427 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3428 int, int);'
3430 # Test code for whether the C compiler supports C89 (body of main).
3431 ac_c_conftest_c89_main='
3432 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3435 # Test code for whether the C compiler supports C99 (global declarations)
3436 ac_c_conftest_c99_globals='
3437 // Does the compiler advertise C99 conformance?
3438 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3439 # error "Compiler does not advertise C99 conformance"
3440 #endif
3442 #include <stdbool.h>
3443 extern int puts (const char *);
3444 extern int printf (const char *, ...);
3445 extern int dprintf (int, const char *, ...);
3446 extern void *malloc (size_t);
3448 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3449 // dprintf is used instead of fprintf to avoid needing to declare
3450 // FILE and stderr.
3451 #define debug(...) dprintf (2, __VA_ARGS__)
3452 #define showlist(...) puts (#__VA_ARGS__)
3453 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3454 static void
3455 test_varargs_macros (void)
3457 int x = 1234;
3458 int y = 5678;
3459 debug ("Flag");
3460 debug ("X = %d\n", x);
3461 showlist (The first, second, and third items.);
3462 report (x>y, "x is %d but y is %d", x, y);
3465 // Check long long types.
3466 #define BIG64 18446744073709551615ull
3467 #define BIG32 4294967295ul
3468 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3469 #if !BIG_OK
3470 #error "your preprocessor is broken"
3471 #endif
3472 #if BIG_OK
3473 #else
3474 #error "your preprocessor is broken"
3475 #endif
3476 static long long int bignum = -9223372036854775807LL;
3477 static unsigned long long int ubignum = BIG64;
3479 struct incomplete_array
3481 int datasize;
3482 double data[];
3485 struct named_init {
3486 int number;
3487 const wchar_t *name;
3488 double average;
3491 typedef const char *ccp;
3493 static inline int
3494 test_restrict (ccp restrict text)
3496 // See if C++-style comments work.
3497 // Iterate through items via the restricted pointer.
3498 // Also check for declarations in for loops.
3499 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3500 continue;
3501 return 0;
3504 // Check varargs and va_copy.
3505 static bool
3506 test_varargs (const char *format, ...)
3508 va_list args;
3509 va_start (args, format);
3510 va_list args_copy;
3511 va_copy (args_copy, args);
3513 const char *str = "";
3514 int number = 0;
3515 float fnumber = 0;
3517 while (*format)
3519 switch (*format++)
3521 case '\''s'\'': // string
3522 str = va_arg (args_copy, const char *);
3523 break;
3524 case '\''d'\'': // int
3525 number = va_arg (args_copy, int);
3526 break;
3527 case '\''f'\'': // float
3528 fnumber = va_arg (args_copy, double);
3529 break;
3530 default:
3531 break;
3534 va_end (args_copy);
3535 va_end (args);
3537 return *str && number && fnumber;
3541 # Test code for whether the C compiler supports C99 (body of main).
3542 ac_c_conftest_c99_main='
3543 // Check bool.
3544 _Bool success = false;
3545 success |= (argc != 0);
3547 // Check restrict.
3548 if (test_restrict ("String literal") == 0)
3549 success = true;
3550 char *restrict newvar = "Another string";
3552 // Check varargs.
3553 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3554 test_varargs_macros ();
3556 // Check flexible array members.
3557 struct incomplete_array *ia =
3558 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3559 ia->datasize = 10;
3560 for (int i = 0; i < ia->datasize; ++i)
3561 ia->data[i] = i * 1.234;
3563 // Check named initializers.
3564 struct named_init ni = {
3565 .number = 34,
3566 .name = L"Test wide string",
3567 .average = 543.34343,
3570 ni.number = 58;
3572 int dynamic_array[ni.number];
3573 dynamic_array[0] = argv[0][0];
3574 dynamic_array[ni.number - 1] = 543;
3576 // work around unused variable warnings
3577 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3578 || dynamic_array[ni.number - 1] != 543);
3581 # Test code for whether the C compiler supports C11 (global declarations)
3582 ac_c_conftest_c11_globals='
3583 // Does the compiler advertise C11 conformance?
3584 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3585 # error "Compiler does not advertise C11 conformance"
3586 #endif
3588 // Check _Alignas.
3589 char _Alignas (double) aligned_as_double;
3590 char _Alignas (0) no_special_alignment;
3591 extern char aligned_as_int;
3592 char _Alignas (0) _Alignas (int) aligned_as_int;
3594 // Check _Alignof.
3595 enum
3597 int_alignment = _Alignof (int),
3598 int_array_alignment = _Alignof (int[100]),
3599 char_alignment = _Alignof (char)
3601 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3603 // Check _Noreturn.
3604 int _Noreturn does_not_return (void) { for (;;) continue; }
3606 // Check _Static_assert.
3607 struct test_static_assert
3609 int x;
3610 _Static_assert (sizeof (int) <= sizeof (long int),
3611 "_Static_assert does not work in struct");
3612 long int y;
3615 // Check UTF-8 literals.
3616 #define u8 syntax error!
3617 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3619 // Check duplicate typedefs.
3620 typedef long *long_ptr;
3621 typedef long int *long_ptr;
3622 typedef long_ptr long_ptr;
3624 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3625 struct anonymous
3627 union {
3628 struct { int i; int j; };
3629 struct { int k; long int l; } w;
3631 int m;
3632 } v1;
3635 # Test code for whether the C compiler supports C11 (body of main).
3636 ac_c_conftest_c11_main='
3637 _Static_assert ((offsetof (struct anonymous, i)
3638 == offsetof (struct anonymous, w.k)),
3639 "Anonymous union alignment botch");
3640 v1.i = 2;
3641 v1.w.k = 5;
3642 ok |= v1.i != 5;
3645 # Test code for whether the C compiler supports C11 (complete).
3646 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3647 ${ac_c_conftest_c99_globals}
3648 ${ac_c_conftest_c11_globals}
3651 main (int argc, char **argv)
3653 int ok = 0;
3654 ${ac_c_conftest_c89_main}
3655 ${ac_c_conftest_c99_main}
3656 ${ac_c_conftest_c11_main}
3657 return ok;
3661 # Test code for whether the C compiler supports C99 (complete).
3662 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3663 ${ac_c_conftest_c99_globals}
3666 main (int argc, char **argv)
3668 int ok = 0;
3669 ${ac_c_conftest_c89_main}
3670 ${ac_c_conftest_c99_main}
3671 return ok;
3675 # Test code for whether the C compiler supports C89 (complete).
3676 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3679 main (int argc, char **argv)
3681 int ok = 0;
3682 ${ac_c_conftest_c89_main}
3683 return ok;
3687 # Test code for whether the C++ compiler supports C++98 (global declarations)
3688 ac_cxx_conftest_cxx98_globals='
3689 // Does the compiler advertise C++98 conformance?
3690 #if !defined __cplusplus || __cplusplus < 199711L
3691 # error "Compiler does not advertise C++98 conformance"
3692 #endif
3694 // These inclusions are to reject old compilers that
3695 // lack the unsuffixed header files.
3696 #include <cstdlib>
3697 #include <exception>
3699 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3700 extern void assert (int);
3701 namespace std {
3702 extern int strcmp (const char *, const char *);
3705 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3706 using std::exception;
3707 using std::strcmp;
3709 namespace {
3711 void test_exception_syntax()
3713 try {
3714 throw "test";
3715 } catch (const char *s) {
3716 // Extra parentheses suppress a warning when building autoconf itself,
3717 // due to lint rules shared with more typical C programs.
3718 assert (!(strcmp) (s, "test"));
3722 template <typename T> struct test_template
3724 T const val;
3725 explicit test_template(T t) : val(t) {}
3726 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3729 } // anonymous namespace
3732 # Test code for whether the C++ compiler supports C++98 (body of main)
3733 ac_cxx_conftest_cxx98_main='
3734 assert (argc);
3735 assert (! argv[0]);
3737 test_exception_syntax ();
3738 test_template<double> tt (2.0);
3739 assert (tt.add (4) == 6.0);
3740 assert (true && !false);
3744 # Test code for whether the C++ compiler supports C++11 (global declarations)
3745 ac_cxx_conftest_cxx11_globals='
3746 // Does the compiler advertise C++ 2011 conformance?
3747 #if !defined __cplusplus || __cplusplus < 201103L
3748 # error "Compiler does not advertise C++11 conformance"
3749 #endif
3751 namespace cxx11test
3753 constexpr int get_val() { return 20; }
3755 struct testinit
3757 int i;
3758 double d;
3761 class delegate
3763 public:
3764 delegate(int n) : n(n) {}
3765 delegate(): delegate(2354) {}
3767 virtual int getval() { return this->n; };
3768 protected:
3769 int n;
3772 class overridden : public delegate
3774 public:
3775 overridden(int n): delegate(n) {}
3776 virtual int getval() override final { return this->n * 2; }
3779 class nocopy
3781 public:
3782 nocopy(int i): i(i) {}
3783 nocopy() = default;
3784 nocopy(const nocopy&) = delete;
3785 nocopy & operator=(const nocopy&) = delete;
3786 private:
3787 int i;
3790 // for testing lambda expressions
3791 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3793 return f(v);
3796 // for testing variadic templates and trailing return types
3797 template <typename V> auto sum(V first) -> V
3799 return first;
3801 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3803 return first + sum(rest...);
3808 # Test code for whether the C++ compiler supports C++11 (body of main)
3809 ac_cxx_conftest_cxx11_main='
3811 // Test auto and decltype
3812 auto a1 = 6538;
3813 auto a2 = 48573953.4;
3814 auto a3 = "String literal";
3816 int total = 0;
3817 for (auto i = a3; *i; ++i) { total += *i; }
3819 decltype(a2) a4 = 34895.034;
3822 // Test constexpr
3823 short sa[cxx11test::get_val()] = { 0 };
3826 // Test initializer lists
3827 cxx11test::testinit il = { 4323, 435234.23544 };
3830 // Test range-based for
3831 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3832 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3833 for (auto &x : array) { x += 23; }
3836 // Test lambda expressions
3837 using cxx11test::eval;
3838 assert (eval ([](int x) { return x*2; }, 21) == 42);
3839 double d = 2.0;
3840 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3841 assert (d == 5.0);
3842 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3843 assert (d == 5.0);
3846 // Test use of variadic templates
3847 using cxx11test::sum;
3848 auto a = sum(1);
3849 auto b = sum(1, 2);
3850 auto c = sum(1.0, 2.0, 3.0);
3853 // Test constructor delegation
3854 cxx11test::delegate d1;
3855 cxx11test::delegate d2();
3856 cxx11test::delegate d3(45);
3859 // Test override and final
3860 cxx11test::overridden o1(55464);
3863 // Test nullptr
3864 char *c = nullptr;
3867 // Test template brackets
3868 test_template<::test_template<int>> v(test_template<int>(12));
3871 // Unicode literals
3872 char const *utf8 = u8"UTF-8 string \u2500";
3873 char16_t const *utf16 = u"UTF-8 string \u2500";
3874 char32_t const *utf32 = U"UTF-32 string \u2500";
3878 # Test code for whether the C compiler supports C++11 (complete).
3879 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3880 ${ac_cxx_conftest_cxx11_globals}
3883 main (int argc, char **argv)
3885 int ok = 0;
3886 ${ac_cxx_conftest_cxx98_main}
3887 ${ac_cxx_conftest_cxx11_main}
3888 return ok;
3892 # Test code for whether the C compiler supports C++98 (complete).
3893 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3895 main (int argc, char **argv)
3897 int ok = 0;
3898 ${ac_cxx_conftest_cxx98_main}
3899 return ok;
3903 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3904 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3905 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3906 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3907 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3908 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3909 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3910 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3911 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3913 # Auxiliary files required by this configure script.
3914 ac_aux_files="config.guess config.sub"
3916 # Locations in which to look for auxiliary files.
3917 ac_aux_dir_candidates="${srcdir}/tools"
3919 # Search for a directory containing all of the required auxiliary files,
3920 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3921 # If we don't find one directory that contains all the files we need,
3922 # we report the set of missing files from the *first* directory in
3923 # $ac_aux_dir_candidates and give up.
3924 ac_missing_aux_files=""
3925 ac_first_candidate=:
3926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 as_found=false
3929 for as_dir in $ac_aux_dir_candidates
3931 IFS=$as_save_IFS
3932 case $as_dir in #(((
3933 '') as_dir=./ ;;
3934 */) ;;
3935 *) as_dir=$as_dir/ ;;
3936 esac
3937 as_found=:
3939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3940 ac_aux_dir_found=yes
3941 ac_install_sh=
3942 for ac_aux in $ac_aux_files
3944 # As a special case, if "install-sh" is required, that requirement
3945 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3946 # and $ac_install_sh is set appropriately for whichever one is found.
3947 if test x"$ac_aux" = x"install-sh"
3948 then
3949 if test -f "${as_dir}install-sh"; then
3950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3951 ac_install_sh="${as_dir}install-sh -c"
3952 elif test -f "${as_dir}install.sh"; then
3953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3954 ac_install_sh="${as_dir}install.sh -c"
3955 elif test -f "${as_dir}shtool"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3957 ac_install_sh="${as_dir}shtool install -c"
3958 else
3959 ac_aux_dir_found=no
3960 if $ac_first_candidate; then
3961 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3962 else
3963 break
3966 else
3967 if test -f "${as_dir}${ac_aux}"; then
3968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3969 else
3970 ac_aux_dir_found=no
3971 if $ac_first_candidate; then
3972 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3973 else
3974 break
3978 done
3979 if test "$ac_aux_dir_found" = yes; then
3980 ac_aux_dir="$as_dir"
3981 break
3983 ac_first_candidate=false
3985 as_found=false
3986 done
3987 IFS=$as_save_IFS
3988 if $as_found
3989 then :
3991 else $as_nop
3992 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
3996 # These three variables are undocumented and unsupported,
3997 # and are intended to be withdrawn in a future Autoconf release.
3998 # They can cause serious problems if a builder's source tree is in a directory
3999 # whose full name contains unusual characters.
4000 if test -f "${ac_aux_dir}config.guess"; then
4001 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4003 if test -f "${ac_aux_dir}config.sub"; then
4004 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4006 if test -f "$ac_aux_dir/configure"; then
4007 ac_configure="$SHELL ${ac_aux_dir}configure"
4010 # Check that the precious variables saved in the cache have kept the same
4011 # value.
4012 ac_cache_corrupted=false
4013 for ac_var in $ac_precious_vars; do
4014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4015 eval ac_new_set=\$ac_env_${ac_var}_set
4016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4017 eval ac_new_val=\$ac_env_${ac_var}_value
4018 case $ac_old_set,$ac_new_set in
4019 set,)
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4021 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4022 ac_cache_corrupted=: ;;
4023 ,set)
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4025 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4026 ac_cache_corrupted=: ;;
4027 ,);;
4029 if test "x$ac_old_val" != "x$ac_new_val"; then
4030 # differences in whitespace do not lead to failure.
4031 ac_old_val_w=`echo x $ac_old_val`
4032 ac_new_val_w=`echo x $ac_new_val`
4033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4035 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4036 ac_cache_corrupted=:
4037 else
4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4039 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4040 eval $ac_var=\$ac_old_val
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4043 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4045 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4046 fi;;
4047 esac
4048 # Pass precious variables to config.status.
4049 if test "$ac_new_set" = set; then
4050 case $ac_new_val in
4051 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4052 *) ac_arg=$ac_var=$ac_new_val ;;
4053 esac
4054 case " $ac_configure_args " in
4055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4057 esac
4059 done
4060 if $ac_cache_corrupted; then
4061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4062 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4064 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4065 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4066 and start over" "$LINENO" 5
4068 ## -------------------- ##
4069 ## Main body of script. ##
4070 ## -------------------- ##
4072 ac_ext=c
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4080 ac_config_headers="$ac_config_headers include/config.h"
4084 libwine_version="1.0"
4087 # Check whether --enable-win16 was given.
4088 if test ${enable_win16+y}
4089 then :
4090 enableval=$enable_win16;
4093 # Check whether --enable-win64 was given.
4094 if test ${enable_win64+y}
4095 then :
4096 enableval=$enable_win64;
4099 # Check whether --enable-tests was given.
4100 if test ${enable_tests+y}
4101 then :
4102 enableval=$enable_tests;
4105 # Check whether --enable-build-id was given.
4106 if test ${enable_build_id+y}
4107 then :
4108 enableval=$enable_build_id;
4111 # Check whether --enable-maintainer-mode was given.
4112 if test ${enable_maintainer_mode+y}
4113 then :
4114 enableval=$enable_maintainer_mode;
4117 # Check whether --enable-silent-rules was given.
4118 if test ${enable_silent_rules+y}
4119 then :
4120 enableval=$enable_silent_rules;
4123 # Check whether --enable-werror was given.
4124 if test ${enable_werror+y}
4125 then :
4126 enableval=$enable_werror;
4131 # Check whether --with-alsa was given.
4132 if test ${with_alsa+y}
4133 then :
4134 withval=$with_alsa;
4138 # Check whether --with-capi was given.
4139 if test ${with_capi+y}
4140 then :
4141 withval=$with_capi;
4145 # Check whether --with-coreaudio was given.
4146 if test ${with_coreaudio+y}
4147 then :
4148 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4152 # Check whether --with-cups was given.
4153 if test ${with_cups+y}
4154 then :
4155 withval=$with_cups;
4159 # Check whether --with-dbus was given.
4160 if test ${with_dbus+y}
4161 then :
4162 withval=$with_dbus;
4166 # Check whether --with-float-abi was given.
4167 if test ${with_float_abi+y}
4168 then :
4169 withval=$with_float_abi;
4173 # Check whether --with-fontconfig was given.
4174 if test ${with_fontconfig+y}
4175 then :
4176 withval=$with_fontconfig;
4180 # Check whether --with-freetype was given.
4181 if test ${with_freetype+y}
4182 then :
4183 withval=$with_freetype;
4187 # Check whether --with-gettext was given.
4188 if test ${with_gettext+y}
4189 then :
4190 withval=$with_gettext;
4194 # Check whether --with-gettextpo was given.
4195 if test ${with_gettextpo+y}
4196 then :
4197 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4201 # Check whether --with-gphoto was given.
4202 if test ${with_gphoto+y}
4203 then :
4204 withval=$with_gphoto;
4208 # Check whether --with-gnutls was given.
4209 if test ${with_gnutls+y}
4210 then :
4211 withval=$with_gnutls;
4215 # Check whether --with-gssapi was given.
4216 if test ${with_gssapi+y}
4217 then :
4218 withval=$with_gssapi;
4222 # Check whether --with-gstreamer was given.
4223 if test ${with_gstreamer+y}
4224 then :
4225 withval=$with_gstreamer;
4229 # Check whether --with-inotify was given.
4230 if test ${with_inotify+y}
4231 then :
4232 withval=$with_inotify;
4236 # Check whether --with-krb5 was given.
4237 if test ${with_krb5+y}
4238 then :
4239 withval=$with_krb5;
4243 # Check whether --with-ldap was given.
4244 if test ${with_ldap+y}
4245 then :
4246 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4250 # Check whether --with-mingw was given.
4251 if test ${with_mingw+y}
4252 then :
4253 withval=$with_mingw;
4257 # Check whether --with-netapi was given.
4258 if test ${with_netapi+y}
4259 then :
4260 withval=$with_netapi;
4264 # Check whether --with-openal was given.
4265 if test ${with_openal+y}
4266 then :
4267 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4271 # Check whether --with-opencl was given.
4272 if test ${with_opencl+y}
4273 then :
4274 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4278 # Check whether --with-opengl was given.
4279 if test ${with_opengl+y}
4280 then :
4281 withval=$with_opengl;
4285 # Check whether --with-osmesa was given.
4286 if test ${with_osmesa+y}
4287 then :
4288 withval=$with_osmesa;
4292 # Check whether --with-oss was given.
4293 if test ${with_oss+y}
4294 then :
4295 withval=$with_oss;
4299 # Check whether --with-pcap was given.
4300 if test ${with_pcap+y}
4301 then :
4302 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4306 # Check whether --with-pthread was given.
4307 if test ${with_pthread+y}
4308 then :
4309 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4313 # Check whether --with-pulse was given.
4314 if test ${with_pulse+y}
4315 then :
4316 withval=$with_pulse;
4320 # Check whether --with-sane was given.
4321 if test ${with_sane+y}
4322 then :
4323 withval=$with_sane;
4327 # Check whether --with-sdl was given.
4328 if test ${with_sdl+y}
4329 then :
4330 withval=$with_sdl;
4334 # Check whether --with-udev was given.
4335 if test ${with_udev+y}
4336 then :
4337 withval=$with_udev;
4341 # Check whether --with-unwind was given.
4342 if test ${with_unwind+y}
4343 then :
4344 withval=$with_unwind;
4348 # Check whether --with-usb was given.
4349 if test ${with_usb+y}
4350 then :
4351 withval=$with_usb;
4355 # Check whether --with-v4l2 was given.
4356 if test ${with_v4l2+y}
4357 then :
4358 withval=$with_v4l2;
4362 # Check whether --with-vulkan was given.
4363 if test ${with_vulkan+y}
4364 then :
4365 withval=$with_vulkan;
4369 # Check whether --with-xcomposite was given.
4370 if test ${with_xcomposite+y}
4371 then :
4372 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4376 # Check whether --with-xcursor was given.
4377 if test ${with_xcursor+y}
4378 then :
4379 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4383 # Check whether --with-xfixes was given.
4384 if test ${with_xfixes+y}
4385 then :
4386 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4390 # Check whether --with-xinerama was given.
4391 if test ${with_xinerama+y}
4392 then :
4393 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4397 # Check whether --with-xinput was given.
4398 if test ${with_xinput+y}
4399 then :
4400 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4404 # Check whether --with-xinput2 was given.
4405 if test ${with_xinput2+y}
4406 then :
4407 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4411 # Check whether --with-xrandr was given.
4412 if test ${with_xrandr+y}
4413 then :
4414 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4418 # Check whether --with-xrender was given.
4419 if test ${with_xrender+y}
4420 then :
4421 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4425 # Check whether --with-xshape was given.
4426 if test ${with_xshape+y}
4427 then :
4428 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4432 # Check whether --with-xshm was given.
4433 if test ${with_xshm+y}
4434 then :
4435 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4439 # Check whether --with-xxf86vm was given.
4440 if test ${with_xxf86vm+y}
4441 then :
4442 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
4447 # Check whether --with-system-dllpath was given.
4448 if test ${with_system_dllpath+y}
4449 then :
4450 withval=$with_system_dllpath; system_dllpath=$withval
4455 # Check whether --with-wine-tools was given.
4456 if test ${with_wine_tools+y}
4457 then :
4458 withval=$with_wine_tools;
4462 # Check whether --with-wine64 was given.
4463 if test ${with_wine64+y}
4464 then :
4465 withval=$with_wine64;
4472 # Make sure we can run config.sub.
4473 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4474 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4477 printf %s "checking build system type... " >&6; }
4478 if test ${ac_cv_build+y}
4479 then :
4480 printf %s "(cached) " >&6
4481 else $as_nop
4482 ac_build_alias=$build_alias
4483 test "x$ac_build_alias" = x &&
4484 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4485 test "x$ac_build_alias" = x &&
4486 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4487 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4488 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4492 printf "%s\n" "$ac_cv_build" >&6; }
4493 case $ac_cv_build in
4494 *-*-*) ;;
4495 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4496 esac
4497 build=$ac_cv_build
4498 ac_save_IFS=$IFS; IFS='-'
4499 set x $ac_cv_build
4500 shift
4501 build_cpu=$1
4502 build_vendor=$2
4503 shift; shift
4504 # Remember, the first character of IFS is used to create $*,
4505 # except with old shells:
4506 build_os=$*
4507 IFS=$ac_save_IFS
4508 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4512 printf %s "checking host system type... " >&6; }
4513 if test ${ac_cv_host+y}
4514 then :
4515 printf %s "(cached) " >&6
4516 else $as_nop
4517 if test "x$host_alias" = x; then
4518 ac_cv_host=$ac_cv_build
4519 else
4520 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4521 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4526 printf "%s\n" "$ac_cv_host" >&6; }
4527 case $ac_cv_host in
4528 *-*-*) ;;
4529 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4530 esac
4531 host=$ac_cv_host
4532 ac_save_IFS=$IFS; IFS='-'
4533 set x $ac_cv_host
4534 shift
4535 host_cpu=$1
4536 host_vendor=$2
4537 shift; shift
4538 # Remember, the first character of IFS is used to create $*,
4539 # except with old shells:
4540 host_os=$*
4541 IFS=$ac_save_IFS
4542 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4546 dlldir=\${libdir}/wine
4548 fontdir=\${datadir}/wine/fonts
4550 nlsdir=\${datadir}/wine/nls
4555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4556 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4557 set x ${MAKE-make}
4558 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4559 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4560 then :
4561 printf %s "(cached) " >&6
4562 else $as_nop
4563 cat >conftest.make <<\_ACEOF
4564 SHELL = /bin/sh
4565 all:
4566 @echo '@@@%%%=$(MAKE)=@@@%%%'
4567 _ACEOF
4568 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4569 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4570 *@@@%%%=?*=@@@%%%*)
4571 eval ac_cv_prog_make_${ac_make}_set=yes;;
4573 eval ac_cv_prog_make_${ac_make}_set=no;;
4574 esac
4575 rm -f conftest.make
4577 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579 printf "%s\n" "yes" >&6; }
4580 SET_MAKE=
4581 else
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4583 printf "%s\n" "no" >&6; }
4584 SET_MAKE="MAKE=${MAKE-make}"
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601 if test -n "$ac_tool_prefix"; then
4602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 printf %s "checking for $ac_word... " >&6; }
4606 if test ${ac_cv_prog_CC+y}
4607 then :
4608 printf %s "(cached) " >&6
4609 else $as_nop
4610 if test -n "$CC"; then
4611 ac_cv_prog_CC="$CC" # Let the user override the test.
4612 else
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4614 for as_dir in $PATH
4616 IFS=$as_save_IFS
4617 case $as_dir in #(((
4618 '') as_dir=./ ;;
4619 */) ;;
4620 *) as_dir=$as_dir/ ;;
4621 esac
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4626 break 2
4628 done
4629 done
4630 IFS=$as_save_IFS
4634 CC=$ac_cv_prog_CC
4635 if test -n "$CC"; then
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4637 printf "%s\n" "$CC" >&6; }
4638 else
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 printf "%s\n" "no" >&6; }
4645 if test -z "$ac_cv_prog_CC"; then
4646 ac_ct_CC=$CC
4647 # Extract the first word of "gcc", so it can be a program name with args.
4648 set dummy gcc; ac_word=$2
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 printf %s "checking for $ac_word... " >&6; }
4651 if test ${ac_cv_prog_ac_ct_CC+y}
4652 then :
4653 printf %s "(cached) " >&6
4654 else $as_nop
4655 if test -n "$ac_ct_CC"; then
4656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4657 else
4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659 for as_dir in $PATH
4661 IFS=$as_save_IFS
4662 case $as_dir in #(((
4663 '') as_dir=./ ;;
4664 */) ;;
4665 *) as_dir=$as_dir/ ;;
4666 esac
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_ac_ct_CC="gcc"
4670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4680 if test -n "$ac_ct_CC"; then
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4682 printf "%s\n" "$ac_ct_CC" >&6; }
4683 else
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 printf "%s\n" "no" >&6; }
4688 if test "x$ac_ct_CC" = x; then
4689 CC=""
4690 else
4691 case $cross_compiling:$ac_tool_warned in
4692 yes:)
4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695 ac_tool_warned=yes ;;
4696 esac
4697 CC=$ac_ct_CC
4699 else
4700 CC="$ac_cv_prog_CC"
4703 if test -z "$CC"; then
4704 if test -n "$ac_tool_prefix"; then
4705 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4706 set dummy ${ac_tool_prefix}cc; ac_word=$2
4707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 printf %s "checking for $ac_word... " >&6; }
4709 if test ${ac_cv_prog_CC+y}
4710 then :
4711 printf %s "(cached) " >&6
4712 else $as_nop
4713 if test -n "$CC"; then
4714 ac_cv_prog_CC="$CC" # Let the user override the test.
4715 else
4716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4717 for as_dir in $PATH
4719 IFS=$as_save_IFS
4720 case $as_dir in #(((
4721 '') as_dir=./ ;;
4722 */) ;;
4723 *) as_dir=$as_dir/ ;;
4724 esac
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_CC="${ac_tool_prefix}cc"
4728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4729 break 2
4731 done
4732 done
4733 IFS=$as_save_IFS
4737 CC=$ac_cv_prog_CC
4738 if test -n "$CC"; then
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4740 printf "%s\n" "$CC" >&6; }
4741 else
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 printf "%s\n" "no" >&6; }
4749 if test -z "$CC"; then
4750 # Extract the first word of "cc", so it can be a program name with args.
4751 set dummy cc; ac_word=$2
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 printf %s "checking for $ac_word... " >&6; }
4754 if test ${ac_cv_prog_CC+y}
4755 then :
4756 printf %s "(cached) " >&6
4757 else $as_nop
4758 if test -n "$CC"; then
4759 ac_cv_prog_CC="$CC" # Let the user override the test.
4760 else
4761 ac_prog_rejected=no
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4765 IFS=$as_save_IFS
4766 case $as_dir in #(((
4767 '') as_dir=./ ;;
4768 */) ;;
4769 *) as_dir=$as_dir/ ;;
4770 esac
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4773 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4774 ac_prog_rejected=yes
4775 continue
4777 ac_cv_prog_CC="cc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4785 if test $ac_prog_rejected = yes; then
4786 # We found a bogon in the path, so make sure we never use it.
4787 set dummy $ac_cv_prog_CC
4788 shift
4789 if test $# != 0; then
4790 # We chose a different compiler from the bogus one.
4791 # However, it has the same basename, so the bogon will be chosen
4792 # first if we set CC to just the basename; use the full file name.
4793 shift
4794 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4799 CC=$ac_cv_prog_CC
4800 if test -n "$CC"; then
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4802 printf "%s\n" "$CC" >&6; }
4803 else
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 printf "%s\n" "no" >&6; }
4810 if test -z "$CC"; then
4811 if test -n "$ac_tool_prefix"; then
4812 for ac_prog in cl.exe
4814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4817 printf %s "checking for $ac_word... " >&6; }
4818 if test ${ac_cv_prog_CC+y}
4819 then :
4820 printf %s "(cached) " >&6
4821 else $as_nop
4822 if test -n "$CC"; then
4823 ac_cv_prog_CC="$CC" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 case $as_dir in #(((
4830 '') as_dir=./ ;;
4831 */) ;;
4832 *) as_dir=$as_dir/ ;;
4833 esac
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4836 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4838 break 2
4840 done
4841 done
4842 IFS=$as_save_IFS
4846 CC=$ac_cv_prog_CC
4847 if test -n "$CC"; then
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4849 printf "%s\n" "$CC" >&6; }
4850 else
4851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 printf "%s\n" "no" >&6; }
4856 test -n "$CC" && break
4857 done
4859 if test -z "$CC"; then
4860 ac_ct_CC=$CC
4861 for ac_prog in cl.exe
4863 # Extract the first word of "$ac_prog", so it can be a program name with args.
4864 set dummy $ac_prog; ac_word=$2
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 printf %s "checking for $ac_word... " >&6; }
4867 if test ${ac_cv_prog_ac_ct_CC+y}
4868 then :
4869 printf %s "(cached) " >&6
4870 else $as_nop
4871 if test -n "$ac_ct_CC"; then
4872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4873 else
4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 for as_dir in $PATH
4877 IFS=$as_save_IFS
4878 case $as_dir in #(((
4879 '') as_dir=./ ;;
4880 */) ;;
4881 *) as_dir=$as_dir/ ;;
4882 esac
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_ac_ct_CC="$ac_prog"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4896 if test -n "$ac_ct_CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4898 printf "%s\n" "$ac_ct_CC" >&6; }
4899 else
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 printf "%s\n" "no" >&6; }
4905 test -n "$ac_ct_CC" && break
4906 done
4908 if test "x$ac_ct_CC" = x; then
4909 CC=""
4910 else
4911 case $cross_compiling:$ac_tool_warned in
4912 yes:)
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4914 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4915 ac_tool_warned=yes ;;
4916 esac
4917 CC=$ac_ct_CC
4922 if test -z "$CC"; then
4923 if test -n "$ac_tool_prefix"; then
4924 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4925 set dummy ${ac_tool_prefix}clang; ac_word=$2
4926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 printf %s "checking for $ac_word... " >&6; }
4928 if test ${ac_cv_prog_CC+y}
4929 then :
4930 printf %s "(cached) " >&6
4931 else $as_nop
4932 if test -n "$CC"; then
4933 ac_cv_prog_CC="$CC" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 case $as_dir in #(((
4940 '') as_dir=./ ;;
4941 */) ;;
4942 *) as_dir=$as_dir/ ;;
4943 esac
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4946 ac_cv_prog_CC="${ac_tool_prefix}clang"
4947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4948 break 2
4950 done
4951 done
4952 IFS=$as_save_IFS
4956 CC=$ac_cv_prog_CC
4957 if test -n "$CC"; then
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4959 printf "%s\n" "$CC" >&6; }
4960 else
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 printf "%s\n" "no" >&6; }
4967 if test -z "$ac_cv_prog_CC"; then
4968 ac_ct_CC=$CC
4969 # Extract the first word of "clang", so it can be a program name with args.
4970 set dummy clang; ac_word=$2
4971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 printf %s "checking for $ac_word... " >&6; }
4973 if test ${ac_cv_prog_ac_ct_CC+y}
4974 then :
4975 printf %s "(cached) " >&6
4976 else $as_nop
4977 if test -n "$ac_ct_CC"; then
4978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4983 IFS=$as_save_IFS
4984 case $as_dir in #(((
4985 '') as_dir=./ ;;
4986 */) ;;
4987 *) as_dir=$as_dir/ ;;
4988 esac
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_ac_ct_CC="clang"
4992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4993 break 2
4995 done
4996 done
4997 IFS=$as_save_IFS
5001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5002 if test -n "$ac_ct_CC"; then
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5004 printf "%s\n" "$ac_ct_CC" >&6; }
5005 else
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 printf "%s\n" "no" >&6; }
5010 if test "x$ac_ct_CC" = x; then
5011 CC=""
5012 else
5013 case $cross_compiling:$ac_tool_warned in
5014 yes:)
5015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5016 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5017 ac_tool_warned=yes ;;
5018 esac
5019 CC=$ac_ct_CC
5021 else
5022 CC="$ac_cv_prog_CC"
5028 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5029 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5030 as_fn_error $? "no acceptable C compiler found in \$PATH
5031 See \`config.log' for more details" "$LINENO" 5; }
5033 # Provide some information about the compiler.
5034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5035 set X $ac_compile
5036 ac_compiler=$2
5037 for ac_option in --version -v -V -qversion -version; do
5038 { { ac_try="$ac_compiler $ac_option >&5"
5039 case "(($ac_try" in
5040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 *) ac_try_echo=$ac_try;;
5042 esac
5043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5044 printf "%s\n" "$ac_try_echo"; } >&5
5045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5046 ac_status=$?
5047 if test -s conftest.err; then
5048 sed '10a\
5049 ... rest of stderr output deleted ...
5050 10q' conftest.err >conftest.er1
5051 cat conftest.er1 >&5
5053 rm -f conftest.er1 conftest.err
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5055 test $ac_status = 0; }
5056 done
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main (void)
5066 return 0;
5068 _ACEOF
5069 ac_clean_files_save=$ac_clean_files
5070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5071 # Try to create an executable without -o first, disregard a.out.
5072 # It will help us diagnose broken compilers, and finding out an intuition
5073 # of exeext.
5074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5075 printf %s "checking whether the C compiler works... " >&6; }
5076 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5078 # The possible output files:
5079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5081 ac_rmfiles=
5082 for ac_file in $ac_files
5084 case $ac_file in
5085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5087 esac
5088 done
5089 rm -f $ac_rmfiles
5091 if { { ac_try="$ac_link_default"
5092 case "(($ac_try" in
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5095 esac
5096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5097 printf "%s\n" "$ac_try_echo"; } >&5
5098 (eval "$ac_link_default") 2>&5
5099 ac_status=$?
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5101 test $ac_status = 0; }
5102 then :
5103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5106 # so that the user can short-circuit this test for compilers unknown to
5107 # Autoconf.
5108 for ac_file in $ac_files ''
5110 test -f "$ac_file" || continue
5111 case $ac_file in
5112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5114 [ab].out )
5115 # We found the default executable, but exeext='' is most
5116 # certainly right.
5117 break;;
5118 *.* )
5119 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5120 then :; else
5121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5123 # We set ac_cv_exeext here because the later test for it is not
5124 # safe: cross compilers may not add the suffix if given an `-o'
5125 # argument, so we may need to know it at that point already.
5126 # Even if this section looks crufty: it has the advantage of
5127 # actually working.
5128 break;;
5130 break;;
5131 esac
5132 done
5133 test "$ac_cv_exeext" = no && ac_cv_exeext=
5135 else $as_nop
5136 ac_file=''
5138 if test -z "$ac_file"
5139 then :
5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 printf "%s\n" "no" >&6; }
5142 printf "%s\n" "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5146 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5147 as_fn_error 77 "C compiler cannot create executables
5148 See \`config.log' for more details" "$LINENO" 5; }
5149 else $as_nop
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5151 printf "%s\n" "yes" >&6; }
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5154 printf %s "checking for C compiler default output file name... " >&6; }
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5156 printf "%s\n" "$ac_file" >&6; }
5157 ac_exeext=$ac_cv_exeext
5159 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5160 ac_clean_files=$ac_clean_files_save
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5162 printf %s "checking for suffix of executables... " >&6; }
5163 if { { ac_try="$ac_link"
5164 case "(($ac_try" in
5165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5166 *) ac_try_echo=$ac_try;;
5167 esac
5168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5169 printf "%s\n" "$ac_try_echo"; } >&5
5170 (eval "$ac_link") 2>&5
5171 ac_status=$?
5172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5173 test $ac_status = 0; }
5174 then :
5175 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5176 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5177 # work properly (i.e., refer to `conftest.exe'), while it won't with
5178 # `rm'.
5179 for ac_file in conftest.exe conftest conftest.*; do
5180 test -f "$ac_file" || continue
5181 case $ac_file in
5182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5183 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5184 break;;
5185 * ) break;;
5186 esac
5187 done
5188 else $as_nop
5189 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5190 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5191 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5192 See \`config.log' for more details" "$LINENO" 5; }
5194 rm -f conftest conftest$ac_cv_exeext
5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5196 printf "%s\n" "$ac_cv_exeext" >&6; }
5198 rm -f conftest.$ac_ext
5199 EXEEXT=$ac_cv_exeext
5200 ac_exeext=$EXEEXT
5201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5202 /* end confdefs.h. */
5203 #include <stdio.h>
5205 main (void)
5207 FILE *f = fopen ("conftest.out", "w");
5208 return ferror (f) || fclose (f) != 0;
5211 return 0;
5213 _ACEOF
5214 ac_clean_files="$ac_clean_files conftest.out"
5215 # Check that the compiler produces executables we can run. If not, either
5216 # the compiler is broken, or we cross compile.
5217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5218 printf %s "checking whether we are cross compiling... " >&6; }
5219 if test "$cross_compiling" != yes; then
5220 { { ac_try="$ac_link"
5221 case "(($ac_try" in
5222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5223 *) ac_try_echo=$ac_try;;
5224 esac
5225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5226 printf "%s\n" "$ac_try_echo"; } >&5
5227 (eval "$ac_link") 2>&5
5228 ac_status=$?
5229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5230 test $ac_status = 0; }
5231 if { ac_try='./conftest$ac_cv_exeext'
5232 { { case "(($ac_try" in
5233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5235 esac
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 printf "%s\n" "$ac_try_echo"; } >&5
5238 (eval "$ac_try") 2>&5
5239 ac_status=$?
5240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5241 test $ac_status = 0; }; }; then
5242 cross_compiling=no
5243 else
5244 if test "$cross_compiling" = maybe; then
5245 cross_compiling=yes
5246 else
5247 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5248 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5249 as_fn_error 77 "cannot run C compiled programs.
5250 If you meant to cross compile, use \`--host'.
5251 See \`config.log' for more details" "$LINENO" 5; }
5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5256 printf "%s\n" "$cross_compiling" >&6; }
5258 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5259 ac_clean_files=$ac_clean_files_save
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5261 printf %s "checking for suffix of object files... " >&6; }
5262 if test ${ac_cv_objext+y}
5263 then :
5264 printf %s "(cached) " >&6
5265 else $as_nop
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5270 main (void)
5274 return 0;
5276 _ACEOF
5277 rm -f conftest.o conftest.obj
5278 if { { ac_try="$ac_compile"
5279 case "(($ac_try" in
5280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5281 *) ac_try_echo=$ac_try;;
5282 esac
5283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5284 printf "%s\n" "$ac_try_echo"; } >&5
5285 (eval "$ac_compile") 2>&5
5286 ac_status=$?
5287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5288 test $ac_status = 0; }
5289 then :
5290 for ac_file in conftest.o conftest.obj conftest.*; do
5291 test -f "$ac_file" || continue;
5292 case $ac_file in
5293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5294 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5295 break;;
5296 esac
5297 done
5298 else $as_nop
5299 printf "%s\n" "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5304 as_fn_error $? "cannot compute suffix of object files: cannot compile
5305 See \`config.log' for more details" "$LINENO" 5; }
5307 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5310 printf "%s\n" "$ac_cv_objext" >&6; }
5311 OBJEXT=$ac_cv_objext
5312 ac_objext=$OBJEXT
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5314 printf %s "checking whether the compiler supports GNU C... " >&6; }
5315 if test ${ac_cv_c_compiler_gnu+y}
5316 then :
5317 printf %s "(cached) " >&6
5318 else $as_nop
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5323 main (void)
5325 #ifndef __GNUC__
5326 choke me
5327 #endif
5330 return 0;
5332 _ACEOF
5333 if ac_fn_c_try_compile "$LINENO"
5334 then :
5335 ac_compiler_gnu=yes
5336 else $as_nop
5337 ac_compiler_gnu=no
5339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5344 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5347 if test $ac_compiler_gnu = yes; then
5348 GCC=yes
5349 else
5350 GCC=
5352 ac_test_CFLAGS=${CFLAGS+y}
5353 ac_save_CFLAGS=$CFLAGS
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5355 printf %s "checking whether $CC accepts -g... " >&6; }
5356 if test ${ac_cv_prog_cc_g+y}
5357 then :
5358 printf %s "(cached) " >&6
5359 else $as_nop
5360 ac_save_c_werror_flag=$ac_c_werror_flag
5361 ac_c_werror_flag=yes
5362 ac_cv_prog_cc_g=no
5363 CFLAGS="-g"
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5368 main (void)
5372 return 0;
5374 _ACEOF
5375 if ac_fn_c_try_compile "$LINENO"
5376 then :
5377 ac_cv_prog_cc_g=yes
5378 else $as_nop
5379 CFLAGS=""
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main (void)
5388 return 0;
5390 _ACEOF
5391 if ac_fn_c_try_compile "$LINENO"
5392 then :
5394 else $as_nop
5395 ac_c_werror_flag=$ac_save_c_werror_flag
5396 CFLAGS="-g"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main (void)
5405 return 0;
5407 _ACEOF
5408 if ac_fn_c_try_compile "$LINENO"
5409 then :
5410 ac_cv_prog_cc_g=yes
5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5417 ac_c_werror_flag=$ac_save_c_werror_flag
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5420 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5421 if test $ac_test_CFLAGS; then
5422 CFLAGS=$ac_save_CFLAGS
5423 elif test $ac_cv_prog_cc_g = yes; then
5424 if test "$GCC" = yes; then
5425 CFLAGS="-g -O2"
5426 else
5427 CFLAGS="-g"
5429 else
5430 if test "$GCC" = yes; then
5431 CFLAGS="-O2"
5432 else
5433 CFLAGS=
5436 ac_prog_cc_stdc=no
5437 if test x$ac_prog_cc_stdc = xno
5438 then :
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5440 printf %s "checking for $CC option to enable C11 features... " >&6; }
5441 if test ${ac_cv_prog_cc_c11+y}
5442 then :
5443 printf %s "(cached) " >&6
5444 else $as_nop
5445 ac_cv_prog_cc_c11=no
5446 ac_save_CC=$CC
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5449 $ac_c_conftest_c11_program
5450 _ACEOF
5451 for ac_arg in '' -std=gnu11
5453 CC="$ac_save_CC $ac_arg"
5454 if ac_fn_c_try_compile "$LINENO"
5455 then :
5456 ac_cv_prog_cc_c11=$ac_arg
5458 rm -f core conftest.err conftest.$ac_objext conftest.beam
5459 test "x$ac_cv_prog_cc_c11" != "xno" && break
5460 done
5461 rm -f conftest.$ac_ext
5462 CC=$ac_save_CC
5465 if test "x$ac_cv_prog_cc_c11" = xno
5466 then :
5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5468 printf "%s\n" "unsupported" >&6; }
5469 else $as_nop
5470 if test "x$ac_cv_prog_cc_c11" = x
5471 then :
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5473 printf "%s\n" "none needed" >&6; }
5474 else $as_nop
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5476 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5477 CC="$CC $ac_cv_prog_cc_c11"
5479 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5480 ac_prog_cc_stdc=c11
5483 if test x$ac_prog_cc_stdc = xno
5484 then :
5485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5486 printf %s "checking for $CC option to enable C99 features... " >&6; }
5487 if test ${ac_cv_prog_cc_c99+y}
5488 then :
5489 printf %s "(cached) " >&6
5490 else $as_nop
5491 ac_cv_prog_cc_c99=no
5492 ac_save_CC=$CC
5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5495 $ac_c_conftest_c99_program
5496 _ACEOF
5497 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5499 CC="$ac_save_CC $ac_arg"
5500 if ac_fn_c_try_compile "$LINENO"
5501 then :
5502 ac_cv_prog_cc_c99=$ac_arg
5504 rm -f core conftest.err conftest.$ac_objext conftest.beam
5505 test "x$ac_cv_prog_cc_c99" != "xno" && break
5506 done
5507 rm -f conftest.$ac_ext
5508 CC=$ac_save_CC
5511 if test "x$ac_cv_prog_cc_c99" = xno
5512 then :
5513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5514 printf "%s\n" "unsupported" >&6; }
5515 else $as_nop
5516 if test "x$ac_cv_prog_cc_c99" = x
5517 then :
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5519 printf "%s\n" "none needed" >&6; }
5520 else $as_nop
5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5522 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5523 CC="$CC $ac_cv_prog_cc_c99"
5525 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5526 ac_prog_cc_stdc=c99
5529 if test x$ac_prog_cc_stdc = xno
5530 then :
5531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5532 printf %s "checking for $CC option to enable C89 features... " >&6; }
5533 if test ${ac_cv_prog_cc_c89+y}
5534 then :
5535 printf %s "(cached) " >&6
5536 else $as_nop
5537 ac_cv_prog_cc_c89=no
5538 ac_save_CC=$CC
5539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5541 $ac_c_conftest_c89_program
5542 _ACEOF
5543 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5545 CC="$ac_save_CC $ac_arg"
5546 if ac_fn_c_try_compile "$LINENO"
5547 then :
5548 ac_cv_prog_cc_c89=$ac_arg
5550 rm -f core conftest.err conftest.$ac_objext conftest.beam
5551 test "x$ac_cv_prog_cc_c89" != "xno" && break
5552 done
5553 rm -f conftest.$ac_ext
5554 CC=$ac_save_CC
5557 if test "x$ac_cv_prog_cc_c89" = xno
5558 then :
5559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5560 printf "%s\n" "unsupported" >&6; }
5561 else $as_nop
5562 if test "x$ac_cv_prog_cc_c89" = x
5563 then :
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5565 printf "%s\n" "none needed" >&6; }
5566 else $as_nop
5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5568 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5569 CC="$CC $ac_cv_prog_cc_c89"
5571 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5572 ac_prog_cc_stdc=c89
5576 ac_ext=c
5577 ac_cpp='$CPP $CPPFLAGS'
5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5588 ac_ext=cpp
5589 ac_cpp='$CXXCPP $CPPFLAGS'
5590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5593 if test -z "$CXX"; then
5594 if test -n "$CCC"; then
5595 CXX=$CCC
5596 else
5597 if test -n "$ac_tool_prefix"; then
5598 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5600 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 printf %s "checking for $ac_word... " >&6; }
5604 if test ${ac_cv_prog_CXX+y}
5605 then :
5606 printf %s "(cached) " >&6
5607 else $as_nop
5608 if test -n "$CXX"; then
5609 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5610 else
5611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5612 for as_dir in $PATH
5614 IFS=$as_save_IFS
5615 case $as_dir in #(((
5616 '') as_dir=./ ;;
5617 */) ;;
5618 *) as_dir=$as_dir/ ;;
5619 esac
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 CXX=$ac_cv_prog_CXX
5633 if test -n "$CXX"; then
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5635 printf "%s\n" "$CXX" >&6; }
5636 else
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 printf "%s\n" "no" >&6; }
5642 test -n "$CXX" && break
5643 done
5645 if test -z "$CXX"; then
5646 ac_ct_CXX=$CXX
5647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5649 # Extract the first word of "$ac_prog", so it can be a program name with args.
5650 set dummy $ac_prog; ac_word=$2
5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 printf %s "checking for $ac_word... " >&6; }
5653 if test ${ac_cv_prog_ac_ct_CXX+y}
5654 then :
5655 printf %s "(cached) " >&6
5656 else $as_nop
5657 if test -n "$ac_ct_CXX"; then
5658 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 case $as_dir in #(((
5665 '') as_dir=./ ;;
5666 */) ;;
5667 *) as_dir=$as_dir/ ;;
5668 esac
5669 for ac_exec_ext in '' $ac_executable_extensions; do
5670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5671 ac_cv_prog_ac_ct_CXX="$ac_prog"
5672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5673 break 2
5675 done
5676 done
5677 IFS=$as_save_IFS
5681 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5682 if test -n "$ac_ct_CXX"; then
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5684 printf "%s\n" "$ac_ct_CXX" >&6; }
5685 else
5686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687 printf "%s\n" "no" >&6; }
5691 test -n "$ac_ct_CXX" && break
5692 done
5694 if test "x$ac_ct_CXX" = x; then
5695 CXX="g++"
5696 else
5697 case $cross_compiling:$ac_tool_warned in
5698 yes:)
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701 ac_tool_warned=yes ;;
5702 esac
5703 CXX=$ac_ct_CXX
5709 # Provide some information about the compiler.
5710 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5711 set X $ac_compile
5712 ac_compiler=$2
5713 for ac_option in --version -v -V -qversion; do
5714 { { ac_try="$ac_compiler $ac_option >&5"
5715 case "(($ac_try" in
5716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5718 esac
5719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5720 printf "%s\n" "$ac_try_echo"; } >&5
5721 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5722 ac_status=$?
5723 if test -s conftest.err; then
5724 sed '10a\
5725 ... rest of stderr output deleted ...
5726 10q' conftest.err >conftest.er1
5727 cat conftest.er1 >&5
5729 rm -f conftest.er1 conftest.err
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731 test $ac_status = 0; }
5732 done
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5735 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5736 if test ${ac_cv_cxx_compiler_gnu+y}
5737 then :
5738 printf %s "(cached) " >&6
5739 else $as_nop
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5744 main (void)
5746 #ifndef __GNUC__
5747 choke me
5748 #endif
5751 return 0;
5753 _ACEOF
5754 if ac_fn_cxx_try_compile "$LINENO"
5755 then :
5756 ac_compiler_gnu=yes
5757 else $as_nop
5758 ac_compiler_gnu=no
5760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5761 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5765 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5768 if test $ac_compiler_gnu = yes; then
5769 GXX=yes
5770 else
5771 GXX=
5773 ac_test_CXXFLAGS=${CXXFLAGS+y}
5774 ac_save_CXXFLAGS=$CXXFLAGS
5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5776 printf %s "checking whether $CXX accepts -g... " >&6; }
5777 if test ${ac_cv_prog_cxx_g+y}
5778 then :
5779 printf %s "(cached) " >&6
5780 else $as_nop
5781 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5782 ac_cxx_werror_flag=yes
5783 ac_cv_prog_cxx_g=no
5784 CXXFLAGS="-g"
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5789 main (void)
5793 return 0;
5795 _ACEOF
5796 if ac_fn_cxx_try_compile "$LINENO"
5797 then :
5798 ac_cv_prog_cxx_g=yes
5799 else $as_nop
5800 CXXFLAGS=""
5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5805 main (void)
5809 return 0;
5811 _ACEOF
5812 if ac_fn_cxx_try_compile "$LINENO"
5813 then :
5815 else $as_nop
5816 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5817 CXXFLAGS="-g"
5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h. */
5822 main (void)
5826 return 0;
5828 _ACEOF
5829 if ac_fn_cxx_try_compile "$LINENO"
5830 then :
5831 ac_cv_prog_cxx_g=yes
5833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5837 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5838 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5841 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5842 if test $ac_test_CXXFLAGS; then
5843 CXXFLAGS=$ac_save_CXXFLAGS
5844 elif test $ac_cv_prog_cxx_g = yes; then
5845 if test "$GXX" = yes; then
5846 CXXFLAGS="-g -O2"
5847 else
5848 CXXFLAGS="-g"
5850 else
5851 if test "$GXX" = yes; then
5852 CXXFLAGS="-O2"
5853 else
5854 CXXFLAGS=
5857 ac_prog_cxx_stdcxx=no
5858 if test x$ac_prog_cxx_stdcxx = xno
5859 then :
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5861 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5862 if test ${ac_cv_prog_cxx_11+y}
5863 then :
5864 printf %s "(cached) " >&6
5865 else $as_nop
5866 ac_cv_prog_cxx_11=no
5867 ac_save_CXX=$CXX
5868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5870 $ac_cxx_conftest_cxx11_program
5871 _ACEOF
5872 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5874 CXX="$ac_save_CXX $ac_arg"
5875 if ac_fn_cxx_try_compile "$LINENO"
5876 then :
5877 ac_cv_prog_cxx_cxx11=$ac_arg
5879 rm -f core conftest.err conftest.$ac_objext conftest.beam
5880 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5881 done
5882 rm -f conftest.$ac_ext
5883 CXX=$ac_save_CXX
5886 if test "x$ac_cv_prog_cxx_cxx11" = xno
5887 then :
5888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5889 printf "%s\n" "unsupported" >&6; }
5890 else $as_nop
5891 if test "x$ac_cv_prog_cxx_cxx11" = x
5892 then :
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5894 printf "%s\n" "none needed" >&6; }
5895 else $as_nop
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5897 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5898 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5900 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5901 ac_prog_cxx_stdcxx=cxx11
5904 if test x$ac_prog_cxx_stdcxx = xno
5905 then :
5906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5907 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5908 if test ${ac_cv_prog_cxx_98+y}
5909 then :
5910 printf %s "(cached) " >&6
5911 else $as_nop
5912 ac_cv_prog_cxx_98=no
5913 ac_save_CXX=$CXX
5914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5916 $ac_cxx_conftest_cxx98_program
5917 _ACEOF
5918 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5920 CXX="$ac_save_CXX $ac_arg"
5921 if ac_fn_cxx_try_compile "$LINENO"
5922 then :
5923 ac_cv_prog_cxx_cxx98=$ac_arg
5925 rm -f core conftest.err conftest.$ac_objext conftest.beam
5926 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5927 done
5928 rm -f conftest.$ac_ext
5929 CXX=$ac_save_CXX
5932 if test "x$ac_cv_prog_cxx_cxx98" = xno
5933 then :
5934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5935 printf "%s\n" "unsupported" >&6; }
5936 else $as_nop
5937 if test "x$ac_cv_prog_cxx_cxx98" = x
5938 then :
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5940 printf "%s\n" "none needed" >&6; }
5941 else $as_nop
5942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5943 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5944 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5946 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5947 ac_prog_cxx_stdcxx=cxx98
5951 ac_ext=c
5952 ac_cpp='$CPP $CPPFLAGS'
5953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5957 if test -n "$ac_tool_prefix"; then
5958 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5959 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 printf %s "checking for $ac_word... " >&6; }
5962 if test ${ac_cv_prog_CPPBIN+y}
5963 then :
5964 printf %s "(cached) " >&6
5965 else $as_nop
5966 if test -n "$CPPBIN"; then
5967 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 case $as_dir in #(((
5974 '') as_dir=./ ;;
5975 */) ;;
5976 *) as_dir=$as_dir/ ;;
5977 esac
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5980 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5981 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5982 break 2
5984 done
5985 done
5986 IFS=$as_save_IFS
5990 CPPBIN=$ac_cv_prog_CPPBIN
5991 if test -n "$CPPBIN"; then
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5993 printf "%s\n" "$CPPBIN" >&6; }
5994 else
5995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5996 printf "%s\n" "no" >&6; }
6001 if test -z "$ac_cv_prog_CPPBIN"; then
6002 ac_ct_CPPBIN=$CPPBIN
6003 # Extract the first word of "cpp", so it can be a program name with args.
6004 set dummy cpp; ac_word=$2
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 printf %s "checking for $ac_word... " >&6; }
6007 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6008 then :
6009 printf %s "(cached) " >&6
6010 else $as_nop
6011 if test -n "$ac_ct_CPPBIN"; then
6012 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6013 else
6014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6015 for as_dir in $PATH
6017 IFS=$as_save_IFS
6018 case $as_dir in #(((
6019 '') as_dir=./ ;;
6020 */) ;;
6021 *) as_dir=$as_dir/ ;;
6022 esac
6023 for ac_exec_ext in '' $ac_executable_extensions; do
6024 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6025 ac_cv_prog_ac_ct_CPPBIN="cpp"
6026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6027 break 2
6029 done
6030 done
6031 IFS=$as_save_IFS
6035 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6036 if test -n "$ac_ct_CPPBIN"; then
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6038 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6039 else
6040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6041 printf "%s\n" "no" >&6; }
6044 if test "x$ac_ct_CPPBIN" = x; then
6045 CPPBIN="cpp"
6046 else
6047 case $cross_compiling:$ac_tool_warned in
6048 yes:)
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6050 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6051 ac_tool_warned=yes ;;
6052 esac
6053 CPPBIN=$ac_ct_CPPBIN
6055 else
6056 CPPBIN="$ac_cv_prog_CPPBIN"
6060 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6062 if test -n "$ac_tool_prefix"; then
6063 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6064 set dummy ${ac_tool_prefix}ld; ac_word=$2
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 printf %s "checking for $ac_word... " >&6; }
6067 if test ${ac_cv_prog_LD+y}
6068 then :
6069 printf %s "(cached) " >&6
6070 else $as_nop
6071 if test -n "$LD"; then
6072 ac_cv_prog_LD="$LD" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 case $as_dir in #(((
6079 '') as_dir=./ ;;
6080 */) ;;
6081 *) as_dir=$as_dir/ ;;
6082 esac
6083 for ac_exec_ext in '' $ac_executable_extensions; do
6084 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6085 ac_cv_prog_LD="${ac_tool_prefix}ld"
6086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6087 break 2
6089 done
6090 done
6091 IFS=$as_save_IFS
6095 LD=$ac_cv_prog_LD
6096 if test -n "$LD"; then
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6098 printf "%s\n" "$LD" >&6; }
6099 else
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 printf "%s\n" "no" >&6; }
6106 if test -z "$ac_cv_prog_LD"; then
6107 ac_ct_LD=$LD
6108 # Extract the first word of "ld", so it can be a program name with args.
6109 set dummy ld; ac_word=$2
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 printf %s "checking for $ac_word... " >&6; }
6112 if test ${ac_cv_prog_ac_ct_LD+y}
6113 then :
6114 printf %s "(cached) " >&6
6115 else $as_nop
6116 if test -n "$ac_ct_LD"; then
6117 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 case $as_dir in #(((
6124 '') as_dir=./ ;;
6125 */) ;;
6126 *) as_dir=$as_dir/ ;;
6127 esac
6128 for ac_exec_ext in '' $ac_executable_extensions; do
6129 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6130 ac_cv_prog_ac_ct_LD="ld"
6131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6132 break 2
6134 done
6135 done
6136 IFS=$as_save_IFS
6140 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6141 if test -n "$ac_ct_LD"; then
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6143 printf "%s\n" "$ac_ct_LD" >&6; }
6144 else
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 printf "%s\n" "no" >&6; }
6149 if test "x$ac_ct_LD" = x; then
6150 LD=""
6151 else
6152 case $cross_compiling:$ac_tool_warned in
6153 yes:)
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6155 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6156 ac_tool_warned=yes ;;
6157 esac
6158 LD=$ac_ct_LD
6160 else
6161 LD="$ac_cv_prog_LD"
6165 case $host in
6166 *-darwin*)
6167 with_fontconfig=${with_fontconfig:-no}
6169 *-mingw32*|*-cygwin*)
6170 enable_win16=${enable_win16:-no}
6171 with_mingw=${with_mingw:-no}
6173 esac
6176 case $host in
6177 x86_64*|amd64*)
6178 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
6179 then
6180 CC="$CC -m32"
6181 CXX="$CXX -m32"
6183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6184 printf %s "checking whether $CC works... " >&6; }
6185 if test ${wine_cv_cc_m32+y}
6186 then :
6187 printf %s "(cached) " >&6
6188 else $as_nop
6189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h. */
6193 main (void)
6197 return 0;
6199 _ACEOF
6200 if ac_fn_c_try_link "$LINENO"
6201 then :
6202 wine_cv_cc_m32=yes
6203 else $as_nop
6204 wine_cv_cc_m32=no
6206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6207 conftest$ac_exeext conftest.$ac_ext
6209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6210 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6211 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
6212 host_cpu="i386"
6213 notice_platform="32-bit "
6214 TARGETFLAGS="$TARGETFLAGS -m32"
6215 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6216 export PKG_CONFIG_PATH
6217 enable_win16=${enable_win16:-yes}
6218 with_unwind=${with_unwind:-no}
6219 else
6220 if test "x${GCC}" = "xyes"
6221 then
6222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6223 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6224 if test ${wine_cv_builtin_ms_va_list+y}
6225 then :
6226 printf %s "(cached) " >&6
6227 else $as_nop
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <stdarg.h>
6232 main (void)
6234 void func(__builtin_ms_va_list *args);
6236 return 0;
6238 _ACEOF
6239 if ac_fn_c_try_compile "$LINENO"
6240 then :
6241 wine_cv_builtin_ms_va_list=yes
6242 else $as_nop
6243 wine_cv_builtin_ms_va_list=no
6245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6248 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6249 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
6251 CC="$CC -m64"
6252 CXX="$CXX -m64"
6253 host_cpu="x86_64"
6254 notice_platform="64-bit "
6255 TARGETFLAGS="$TARGETFLAGS -m64"
6256 enable_wow64=${enable_wow64:-yes}
6257 enable_wow64win=${enable_wow64win:-yes}
6258 enable_wow64cpu=${enable_wow64cpu:-yes}
6261 arm*)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6263 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6264 if test ${wine_cv_thumb2+y}
6265 then :
6266 printf %s "(cached) " >&6
6267 else $as_nop
6268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6269 /* end confdefs.h. */
6272 main (void)
6274 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6276 return 0;
6278 _ACEOF
6279 if ac_fn_c_try_link "$LINENO"
6280 then :
6281 wine_cv_thumb2=yes
6282 else $as_nop
6283 wine_cv_thumb2=no
6285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6286 conftest$ac_exeext conftest.$ac_ext
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6289 printf "%s\n" "$wine_cv_thumb2" >&6; }
6290 if test x"$wine_cv_thumb2" = xyes
6291 then
6292 CFLAGS="$CFLAGS -mthumb"
6293 TARGETFLAGS="$TARGETFLAGS -mthumb"
6294 else
6295 CFLAGS="$CFLAGS -marm"
6296 TARGETFLAGS="$TARGETFLAGS -marm"
6298 case $with_float_abi in
6299 soft|softfp|hard)
6300 float_abi=$with_float_abi ;;
6302 case $host_os in
6303 *eabihf)
6304 float_abi=hard ;;
6306 float_abi=softfp
6307 saved_CFLAGS=$CFLAGS
6308 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6310 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6311 if test ${wine_cv_float_abi+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6319 main (void)
6321 asm("vmrs r2,fpscr");
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_link "$LINENO"
6327 then :
6328 wine_cv_float_abi=yes
6329 else $as_nop
6330 wine_cv_float_abi=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6333 conftest$ac_exeext conftest.$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6336 printf "%s\n" "$wine_cv_float_abi" >&6; }
6337 if test $wine_cv_float_abi = no
6338 then
6339 float_abi=soft
6340 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6342 CFLAGS=$saved_CFLAGS
6343 esac
6345 esac
6346 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6347 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6349 aarch64*)
6350 enable_wow64=${enable_wow64:-yes}
6351 enable_wow64win=${enable_wow64win:-yes}
6353 i[3456789]86*)
6354 enable_win16=${enable_win16:-yes}
6355 with_unwind=${with_unwind:-no}
6357 esac
6359 enable_win16=${enable_win16:-no}
6360 enable_win64=${enable_win64:-no}
6361 enable_wow64=${enable_wow64:-no}
6362 enable_wow64win=${enable_wow64win:-no}
6363 enable_wow64cpu=${enable_wow64cpu:-no}
6365 enable_winetest=${enable_winetest:-$enable_tests}
6367 if test "x$enable_win64" = "xyes"
6368 then
6369 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6370 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6373 case $build_os in
6374 cygwin*|mingw32*) toolsext=".exe"
6376 *) toolsext=""
6378 esac
6380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6381 printf %s "checking for the directory containing the Wine tools... " >&6; }
6382 if test ${wine_cv_toolsdir+y}
6383 then :
6384 printf %s "(cached) " >&6
6385 else $as_nop
6386 wine_cv_toolsdir="$with_wine_tools"
6387 if test -z "$with_wine_tools"; then
6388 if test "$cross_compiling" = "yes"; then
6389 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6390 elif test -n "$with_wine64"; then
6391 wine_cv_toolsdir="$with_wine64"
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6396 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6397 if test -z "$wine_cv_toolsdir"; then
6398 wine_makedep=tools/makedep$toolsext
6399 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6400 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6401 enable_tools=${enable_tools:-no}
6402 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6403 else
6404 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6406 toolsdir=$wine_cv_toolsdir
6408 MAKEDEP=$wine_makedep
6410 RUNTESTFLAGS="-q -P wine"
6412 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'"
6415 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6416 then
6417 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6420 for ac_prog in flex
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy $ac_prog; ac_word=$2
6424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 printf %s "checking for $ac_word... " >&6; }
6426 if test ${ac_cv_prog_FLEX+y}
6427 then :
6428 printf %s "(cached) " >&6
6429 else $as_nop
6430 if test -n "$FLEX"; then
6431 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 case $as_dir in #(((
6438 '') as_dir=./ ;;
6439 */) ;;
6440 *) as_dir=$as_dir/ ;;
6441 esac
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_FLEX="$ac_prog"
6445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6446 break 2
6448 done
6449 done
6450 IFS=$as_save_IFS
6454 FLEX=$ac_cv_prog_FLEX
6455 if test -n "$FLEX"; then
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6457 printf "%s\n" "$FLEX" >&6; }
6458 else
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 printf "%s\n" "no" >&6; }
6464 test -n "$FLEX" && break
6465 done
6466 test -n "$FLEX" || FLEX="none"
6468 if test "$FLEX" = "none"
6469 then
6470 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6473 printf %s "checking whether flex is recent enough... " >&6; }
6474 if test ${wine_cv_recent_flex+y}
6475 then :
6476 printf %s "(cached) " >&6
6477 else $as_nop
6478 cat >conftest.l <<EOF
6479 %top{
6480 #include "prediluvian.h"
6484 if $FLEX -t conftest.l >/dev/null 2>&5
6485 then
6486 wine_cv_recent_flex=yes
6487 else
6488 wine_cv_recent_flex=no
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6492 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6493 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
6495 for ac_prog in bison
6497 # Extract the first word of "$ac_prog", so it can be a program name with args.
6498 set dummy $ac_prog; ac_word=$2
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 printf %s "checking for $ac_word... " >&6; }
6501 if test ${ac_cv_prog_BISON+y}
6502 then :
6503 printf %s "(cached) " >&6
6504 else $as_nop
6505 if test -n "$BISON"; then
6506 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6511 IFS=$as_save_IFS
6512 case $as_dir in #(((
6513 '') as_dir=./ ;;
6514 */) ;;
6515 *) as_dir=$as_dir/ ;;
6516 esac
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6519 ac_cv_prog_BISON="$ac_prog"
6520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 BISON=$ac_cv_prog_BISON
6530 if test -n "$BISON"; then
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6532 printf "%s\n" "$BISON" >&6; }
6533 else
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 printf "%s\n" "no" >&6; }
6539 test -n "$BISON" && break
6540 done
6541 test -n "$BISON" || BISON="none"
6543 if test "$BISON" = "none"
6544 then
6545 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6548 printf %s "checking whether bison is recent enough... " >&6; }
6549 if test ${wine_cv_recent_bison+y}
6550 then :
6551 printf %s "(cached) " >&6
6552 else $as_nop
6553 cat >conftest.y <<EOF
6554 %define parse.error verbose
6556 empty: ;
6558 if $BISON conftest.y >/dev/null 2>&5
6559 then
6560 wine_cv_recent_bison=yes
6561 else
6562 wine_cv_recent_bison=no
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6566 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6567 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
6569 if test -n "$ac_tool_prefix"; then
6570 for ac_prog in ar gar
6572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6575 printf %s "checking for $ac_word... " >&6; }
6576 if test ${ac_cv_prog_AR+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 if test -n "$AR"; then
6581 ac_cv_prog_AR="$AR" # Let the user override the test.
6582 else
6583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6584 for as_dir in $PATH
6586 IFS=$as_save_IFS
6587 case $as_dir in #(((
6588 '') as_dir=./ ;;
6589 */) ;;
6590 *) as_dir=$as_dir/ ;;
6591 esac
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6594 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 AR=$ac_cv_prog_AR
6605 if test -n "$AR"; then
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6607 printf "%s\n" "$AR" >&6; }
6608 else
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 printf "%s\n" "no" >&6; }
6614 test -n "$AR" && break
6615 done
6617 if test -z "$AR"; then
6618 ac_ct_AR=$AR
6619 for ac_prog in ar gar
6621 # Extract the first word of "$ac_prog", so it can be a program name with args.
6622 set dummy $ac_prog; ac_word=$2
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 printf %s "checking for $ac_word... " >&6; }
6625 if test ${ac_cv_prog_ac_ct_AR+y}
6626 then :
6627 printf %s "(cached) " >&6
6628 else $as_nop
6629 if test -n "$ac_ct_AR"; then
6630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6635 IFS=$as_save_IFS
6636 case $as_dir in #(((
6637 '') as_dir=./ ;;
6638 */) ;;
6639 *) as_dir=$as_dir/ ;;
6640 esac
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_ac_ct_AR="$ac_prog"
6644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6645 break 2
6647 done
6648 done
6649 IFS=$as_save_IFS
6653 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6654 if test -n "$ac_ct_AR"; then
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6656 printf "%s\n" "$ac_ct_AR" >&6; }
6657 else
6658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 printf "%s\n" "no" >&6; }
6663 test -n "$ac_ct_AR" && break
6664 done
6666 if test "x$ac_ct_AR" = x; then
6667 AR="ar"
6668 else
6669 case $cross_compiling:$ac_tool_warned in
6670 yes:)
6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6672 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6673 ac_tool_warned=yes ;;
6674 esac
6675 AR=$ac_ct_AR
6679 if test -n "$ac_tool_prefix"; then
6680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}strip; ac_word=$2
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 printf %s "checking for $ac_word... " >&6; }
6684 if test ${ac_cv_prog_STRIP+y}
6685 then :
6686 printf %s "(cached) " >&6
6687 else $as_nop
6688 if test -n "$STRIP"; then
6689 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 case $as_dir in #(((
6696 '') as_dir=./ ;;
6697 */) ;;
6698 *) as_dir=$as_dir/ ;;
6699 esac
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 STRIP=$ac_cv_prog_STRIP
6713 if test -n "$STRIP"; then
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6715 printf "%s\n" "$STRIP" >&6; }
6716 else
6717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 printf "%s\n" "no" >&6; }
6723 if test -z "$ac_cv_prog_STRIP"; then
6724 ac_ct_STRIP=$STRIP
6725 # Extract the first word of "strip", so it can be a program name with args.
6726 set dummy strip; ac_word=$2
6727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 printf %s "checking for $ac_word... " >&6; }
6729 if test ${ac_cv_prog_ac_ct_STRIP+y}
6730 then :
6731 printf %s "(cached) " >&6
6732 else $as_nop
6733 if test -n "$ac_ct_STRIP"; then
6734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6735 else
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737 for as_dir in $PATH
6739 IFS=$as_save_IFS
6740 case $as_dir in #(((
6741 '') as_dir=./ ;;
6742 */) ;;
6743 *) as_dir=$as_dir/ ;;
6744 esac
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_ac_ct_STRIP="strip"
6748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6749 break 2
6751 done
6752 done
6753 IFS=$as_save_IFS
6757 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6758 if test -n "$ac_ct_STRIP"; then
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6760 printf "%s\n" "$ac_ct_STRIP" >&6; }
6761 else
6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 printf "%s\n" "no" >&6; }
6766 if test "x$ac_ct_STRIP" = x; then
6767 STRIP="strip"
6768 else
6769 case $cross_compiling:$ac_tool_warned in
6770 yes:)
6771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773 ac_tool_warned=yes ;;
6774 esac
6775 STRIP=$ac_ct_STRIP
6777 else
6778 STRIP="$ac_cv_prog_STRIP"
6781 if test -n "$ac_tool_prefix"; then
6782 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6785 printf %s "checking for $ac_word... " >&6; }
6786 if test ${ac_cv_prog_RANLIB+y}
6787 then :
6788 printf %s "(cached) " >&6
6789 else $as_nop
6790 if test -n "$RANLIB"; then
6791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6792 else
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 for as_dir in $PATH
6796 IFS=$as_save_IFS
6797 case $as_dir in #(((
6798 '') as_dir=./ ;;
6799 */) ;;
6800 *) as_dir=$as_dir/ ;;
6801 esac
6802 for ac_exec_ext in '' $ac_executable_extensions; do
6803 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6806 break 2
6808 done
6809 done
6810 IFS=$as_save_IFS
6814 RANLIB=$ac_cv_prog_RANLIB
6815 if test -n "$RANLIB"; then
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6817 printf "%s\n" "$RANLIB" >&6; }
6818 else
6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 printf "%s\n" "no" >&6; }
6825 if test -z "$ac_cv_prog_RANLIB"; then
6826 ac_ct_RANLIB=$RANLIB
6827 # Extract the first word of "ranlib", so it can be a program name with args.
6828 set dummy ranlib; ac_word=$2
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830 printf %s "checking for $ac_word... " >&6; }
6831 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6832 then :
6833 printf %s "(cached) " >&6
6834 else $as_nop
6835 if test -n "$ac_ct_RANLIB"; then
6836 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6837 else
6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6839 for as_dir in $PATH
6841 IFS=$as_save_IFS
6842 case $as_dir in #(((
6843 '') as_dir=./ ;;
6844 */) ;;
6845 *) as_dir=$as_dir/ ;;
6846 esac
6847 for ac_exec_ext in '' $ac_executable_extensions; do
6848 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6849 ac_cv_prog_ac_ct_RANLIB="ranlib"
6850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6851 break 2
6853 done
6854 done
6855 IFS=$as_save_IFS
6859 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6860 if test -n "$ac_ct_RANLIB"; then
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6862 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6863 else
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6865 printf "%s\n" "no" >&6; }
6868 if test "x$ac_ct_RANLIB" = x; then
6869 RANLIB=":"
6870 else
6871 case $cross_compiling:$ac_tool_warned in
6872 yes:)
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6874 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6875 ac_tool_warned=yes ;;
6876 esac
6877 RANLIB=$ac_ct_RANLIB
6879 else
6880 RANLIB="$ac_cv_prog_RANLIB"
6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6884 printf %s "checking whether ln -s works... " >&6; }
6885 LN_S=$as_ln_s
6886 if test "$LN_S" = "ln -s"; then
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6888 printf "%s\n" "yes" >&6; }
6889 else
6890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6891 printf "%s\n" "no, using $LN_S" >&6; }
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6895 printf %s "checking for grep that handles long lines and -e... " >&6; }
6896 if test ${ac_cv_path_GREP+y}
6897 then :
6898 printf %s "(cached) " >&6
6899 else $as_nop
6900 if test -z "$GREP"; then
6901 ac_path_GREP_found=false
6902 # Loop through the user's path and test for each of PROGNAME-LIST
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6906 IFS=$as_save_IFS
6907 case $as_dir in #(((
6908 '') as_dir=./ ;;
6909 */) ;;
6910 *) as_dir=$as_dir/ ;;
6911 esac
6912 for ac_prog in grep ggrep
6914 for ac_exec_ext in '' $ac_executable_extensions; do
6915 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6916 as_fn_executable_p "$ac_path_GREP" || continue
6917 # Check for GNU ac_path_GREP and select it if it is found.
6918 # Check for GNU $ac_path_GREP
6919 case `"$ac_path_GREP" --version 2>&1` in
6920 *GNU*)
6921 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6923 ac_count=0
6924 printf %s 0123456789 >"conftest.in"
6925 while :
6927 cat "conftest.in" "conftest.in" >"conftest.tmp"
6928 mv "conftest.tmp" "conftest.in"
6929 cp "conftest.in" "conftest.nl"
6930 printf "%s\n" 'GREP' >> "conftest.nl"
6931 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6932 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6933 as_fn_arith $ac_count + 1 && ac_count=$as_val
6934 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6935 # Best one so far, save it but keep looking for a better one
6936 ac_cv_path_GREP="$ac_path_GREP"
6937 ac_path_GREP_max=$ac_count
6939 # 10*(2^10) chars as input seems more than enough
6940 test $ac_count -gt 10 && break
6941 done
6942 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6943 esac
6945 $ac_path_GREP_found && break 3
6946 done
6947 done
6948 done
6949 IFS=$as_save_IFS
6950 if test -z "$ac_cv_path_GREP"; then
6951 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6953 else
6954 ac_cv_path_GREP=$GREP
6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6959 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6960 GREP="$ac_cv_path_GREP"
6963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6964 printf %s "checking for egrep... " >&6; }
6965 if test ${ac_cv_path_EGREP+y}
6966 then :
6967 printf %s "(cached) " >&6
6968 else $as_nop
6969 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6970 then ac_cv_path_EGREP="$GREP -E"
6971 else
6972 if test -z "$EGREP"; then
6973 ac_path_EGREP_found=false
6974 # Loop through the user's path and test for each of PROGNAME-LIST
6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6978 IFS=$as_save_IFS
6979 case $as_dir in #(((
6980 '') as_dir=./ ;;
6981 */) ;;
6982 *) as_dir=$as_dir/ ;;
6983 esac
6984 for ac_prog in egrep
6986 for ac_exec_ext in '' $ac_executable_extensions; do
6987 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6988 as_fn_executable_p "$ac_path_EGREP" || continue
6989 # Check for GNU ac_path_EGREP and select it if it is found.
6990 # Check for GNU $ac_path_EGREP
6991 case `"$ac_path_EGREP" --version 2>&1` in
6992 *GNU*)
6993 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6995 ac_count=0
6996 printf %s 0123456789 >"conftest.in"
6997 while :
6999 cat "conftest.in" "conftest.in" >"conftest.tmp"
7000 mv "conftest.tmp" "conftest.in"
7001 cp "conftest.in" "conftest.nl"
7002 printf "%s\n" 'EGREP' >> "conftest.nl"
7003 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7004 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7005 as_fn_arith $ac_count + 1 && ac_count=$as_val
7006 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7007 # Best one so far, save it but keep looking for a better one
7008 ac_cv_path_EGREP="$ac_path_EGREP"
7009 ac_path_EGREP_max=$ac_count
7011 # 10*(2^10) chars as input seems more than enough
7012 test $ac_count -gt 10 && break
7013 done
7014 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7015 esac
7017 $ac_path_EGREP_found && break 3
7018 done
7019 done
7020 done
7021 IFS=$as_save_IFS
7022 if test -z "$ac_cv_path_EGREP"; then
7023 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7025 else
7026 ac_cv_path_EGREP=$EGREP
7031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7032 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7033 EGREP="$ac_cv_path_EGREP"
7036 # Extract the first word of "ldconfig", so it can be a program name with args.
7037 set dummy ldconfig; ac_word=$2
7038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 printf %s "checking for $ac_word... " >&6; }
7040 if test ${ac_cv_path_LDCONFIG+y}
7041 then :
7042 printf %s "(cached) " >&6
7043 else $as_nop
7044 case $LDCONFIG in
7045 [\\/]* | ?:[\\/]*)
7046 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7050 for as_dir in /sbin /usr/sbin $PATH
7052 IFS=$as_save_IFS
7053 case $as_dir in #(((
7054 '') as_dir=./ ;;
7055 */) ;;
7056 *) as_dir=$as_dir/ ;;
7057 esac
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7060 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7062 break 2
7064 done
7065 done
7066 IFS=$as_save_IFS
7068 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7070 esac
7072 LDCONFIG=$ac_cv_path_LDCONFIG
7073 if test -n "$LDCONFIG"; then
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7075 printf "%s\n" "$LDCONFIG" >&6; }
7076 else
7077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 printf "%s\n" "no" >&6; }
7082 for ac_prog in msgfmt
7084 # Extract the first word of "$ac_prog", so it can be a program name with args.
7085 set dummy $ac_prog; ac_word=$2
7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7087 printf %s "checking for $ac_word... " >&6; }
7088 if test ${ac_cv_prog_MSGFMT+y}
7089 then :
7090 printf %s "(cached) " >&6
7091 else $as_nop
7092 if test -n "$MSGFMT"; then
7093 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7094 else
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 for as_dir in $PATH
7098 IFS=$as_save_IFS
7099 case $as_dir in #(((
7100 '') as_dir=./ ;;
7101 */) ;;
7102 *) as_dir=$as_dir/ ;;
7103 esac
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_MSGFMT="$ac_prog"
7107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7108 break 2
7110 done
7111 done
7112 IFS=$as_save_IFS
7116 MSGFMT=$ac_cv_prog_MSGFMT
7117 if test -n "$MSGFMT"; then
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7119 printf "%s\n" "$MSGFMT" >&6; }
7120 else
7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7122 printf "%s\n" "no" >&6; }
7126 test -n "$MSGFMT" && break
7127 done
7128 test -n "$MSGFMT" || MSGFMT="false"
7130 if test ${ac_tool_prefix+y}
7131 then :
7132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 printf %s "checking for $ac_word... " >&6; }
7136 if test ${ac_cv_prog_PKG_CONFIG+y}
7137 then :
7138 printf %s "(cached) " >&6
7139 else $as_nop
7140 if test -n "$PKG_CONFIG"; then
7141 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7146 IFS=$as_save_IFS
7147 case $as_dir in #(((
7148 '') as_dir=./ ;;
7149 */) ;;
7150 *) as_dir=$as_dir/ ;;
7151 esac
7152 for ac_exec_ext in '' $ac_executable_extensions; do
7153 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7154 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7156 break 2
7158 done
7159 done
7160 IFS=$as_save_IFS
7164 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7165 if test -n "$PKG_CONFIG"; then
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7167 printf "%s\n" "$PKG_CONFIG" >&6; }
7168 else
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 printf "%s\n" "no" >&6; }
7175 if ${ac_cv_prog_PKG_CONFIG:+false} :
7176 then :
7177 if test "x$cross_compiling" = xyes
7178 then :
7180 else $as_nop
7181 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7182 # Extract the first word of "pkg-config", so it can be a program name with args.
7183 set dummy pkg-config; ac_word=$2
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 printf %s "checking for $ac_word... " >&6; }
7186 if test ${ac_cv_prog_PKG_CONFIG+y}
7187 then :
7188 printf %s "(cached) " >&6
7189 else $as_nop
7190 if test -n "$PKG_CONFIG"; then
7191 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 case $as_dir in #(((
7198 '') as_dir=./ ;;
7199 */) ;;
7200 *) as_dir=$as_dir/ ;;
7201 esac
7202 for ac_exec_ext in '' $ac_executable_extensions; do
7203 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7204 ac_cv_prog_PKG_CONFIG="pkg-config"
7205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7206 break 2
7208 done
7209 done
7210 IFS=$as_save_IFS
7214 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7215 if test -n "$PKG_CONFIG"; then
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7217 printf "%s\n" "$PKG_CONFIG" >&6; }
7218 else
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7220 printf "%s\n" "no" >&6; }
7225 else $as_nop
7226 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7229 if test "x$enable_maintainer_mode" != "xyes"
7230 then
7231 FONTFORGE=""
7232 RSVG=""
7233 CONVERT=""
7234 ICOTOOL=""
7235 else
7236 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7237 for ac_prog in fontforge
7239 # Extract the first word of "$ac_prog", so it can be a program name with args.
7240 set dummy $ac_prog; ac_word=$2
7241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 printf %s "checking for $ac_word... " >&6; }
7243 if test ${ac_cv_prog_FONTFORGE+y}
7244 then :
7245 printf %s "(cached) " >&6
7246 else $as_nop
7247 if test -n "$FONTFORGE"; then
7248 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7253 IFS=$as_save_IFS
7254 case $as_dir in #(((
7255 '') as_dir=./ ;;
7256 */) ;;
7257 *) as_dir=$as_dir/ ;;
7258 esac
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_FONTFORGE="$ac_prog"
7262 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7263 break 2
7265 done
7266 done
7267 IFS=$as_save_IFS
7271 FONTFORGE=$ac_cv_prog_FONTFORGE
7272 if test -n "$FONTFORGE"; then
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7274 printf "%s\n" "$FONTFORGE" >&6; }
7275 else
7276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 printf "%s\n" "no" >&6; }
7281 test -n "$FONTFORGE" && break
7282 done
7283 test -n "$FONTFORGE" || FONTFORGE="false"
7285 for ac_prog in rsvg-convert rsvg
7287 # Extract the first word of "$ac_prog", so it can be a program name with args.
7288 set dummy $ac_prog; ac_word=$2
7289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 printf %s "checking for $ac_word... " >&6; }
7291 if test ${ac_cv_prog_RSVG+y}
7292 then :
7293 printf %s "(cached) " >&6
7294 else $as_nop
7295 if test -n "$RSVG"; then
7296 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7297 else
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 for as_dir in $PATH
7301 IFS=$as_save_IFS
7302 case $as_dir in #(((
7303 '') as_dir=./ ;;
7304 */) ;;
7305 *) as_dir=$as_dir/ ;;
7306 esac
7307 for ac_exec_ext in '' $ac_executable_extensions; do
7308 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7309 ac_cv_prog_RSVG="$ac_prog"
7310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7311 break 2
7313 done
7314 done
7315 IFS=$as_save_IFS
7319 RSVG=$ac_cv_prog_RSVG
7320 if test -n "$RSVG"; then
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7322 printf "%s\n" "$RSVG" >&6; }
7323 else
7324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 printf "%s\n" "no" >&6; }
7329 test -n "$RSVG" && break
7330 done
7331 test -n "$RSVG" || RSVG="false"
7333 for ac_prog in convert
7335 # Extract the first word of "$ac_prog", so it can be a program name with args.
7336 set dummy $ac_prog; ac_word=$2
7337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 printf %s "checking for $ac_word... " >&6; }
7339 if test ${ac_cv_prog_CONVERT+y}
7340 then :
7341 printf %s "(cached) " >&6
7342 else $as_nop
7343 if test -n "$CONVERT"; then
7344 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 case $as_dir in #(((
7351 '') as_dir=./ ;;
7352 */) ;;
7353 *) as_dir=$as_dir/ ;;
7354 esac
7355 for ac_exec_ext in '' $ac_executable_extensions; do
7356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7357 ac_cv_prog_CONVERT="$ac_prog"
7358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7359 break 2
7361 done
7362 done
7363 IFS=$as_save_IFS
7367 CONVERT=$ac_cv_prog_CONVERT
7368 if test -n "$CONVERT"; then
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7370 printf "%s\n" "$CONVERT" >&6; }
7371 else
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 printf "%s\n" "no" >&6; }
7377 test -n "$CONVERT" && break
7378 done
7379 test -n "$CONVERT" || CONVERT="false"
7381 for ac_prog in icotool
7383 # Extract the first word of "$ac_prog", so it can be a program name with args.
7384 set dummy $ac_prog; ac_word=$2
7385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 printf %s "checking for $ac_word... " >&6; }
7387 if test ${ac_cv_prog_ICOTOOL+y}
7388 then :
7389 printf %s "(cached) " >&6
7390 else $as_nop
7391 if test -n "$ICOTOOL"; then
7392 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7393 else
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 for as_dir in $PATH
7397 IFS=$as_save_IFS
7398 case $as_dir in #(((
7399 '') as_dir=./ ;;
7400 */) ;;
7401 *) as_dir=$as_dir/ ;;
7402 esac
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7405 ac_cv_prog_ICOTOOL="$ac_prog"
7406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7407 break 2
7409 done
7410 done
7411 IFS=$as_save_IFS
7415 ICOTOOL=$ac_cv_prog_ICOTOOL
7416 if test -n "$ICOTOOL"; then
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7418 printf "%s\n" "$ICOTOOL" >&6; }
7419 else
7420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 printf "%s\n" "no" >&6; }
7425 test -n "$ICOTOOL" && break
7426 done
7427 test -n "$ICOTOOL" || ICOTOOL="false"
7429 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7430 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7432 if test "$CONVERT" = false
7433 then
7434 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7435 else
7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7437 printf %s "checking for recent enough imagemagick... " >&6; }
7438 convert_version=`convert --version | head -n1`
7439 if test "x$convert_version" != "x"
7440 then
7441 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7442 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7443 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7444 then
7445 CONVERT=false
7448 if test "$CONVERT" = false
7449 then
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7451 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7452 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7453 else
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7455 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7459 if test "$ICOTOOL" = false
7460 then
7461 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7464 printf %s "checking for recent enough icotool... " >&6; }
7465 icotool_version=`icotool --version | head -n1`
7466 if test "x$icotool_version" != "x"
7467 then
7468 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7471 then
7472 ICOTOOL=false
7473 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7476 if test "$ICOTOOL" = false
7477 then
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7479 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7480 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7481 else
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7483 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7487 with_gettext=yes
7488 with_gettextpo=yes
7490 enable_werror=yes
7493 test "x$with_gettext" != xno || MSGFMT=false
7494 if test "$MSGFMT" != "false"
7495 then
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7497 printf %s "checking whether msgfmt supports contexts... " >&6; }
7498 if test ${wine_cv_msgfmt_contexts+y}
7499 then :
7500 printf %s "(cached) " >&6
7501 else $as_nop
7502 cat >conftest.po <<EOF
7503 # comment
7504 msgctxt "ctxt"
7505 msgid "id"
7506 msgstr "str"
7508 if $MSGFMT -o /dev/null conftest.po 2>&5
7509 then
7510 wine_cv_msgfmt_contexts=yes
7511 else
7512 wine_cv_msgfmt_contexts=no
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7516 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7517 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7519 if test "$MSGFMT" = false
7520 then :
7521 case "x$with_gettext" in
7522 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7523 xno) ;;
7524 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7525 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7526 esac
7527 enable_po=${enable_po:-no}
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7532 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7533 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7534 then :
7535 printf %s "(cached) " >&6
7536 else $as_nop
7537 ac_check_lib_save_LIBS=$LIBS
7538 LIBS="-li386 $LIBS"
7539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7542 /* Override any GCC internal prototype to avoid an error.
7543 Use char because int might match the return type of a GCC
7544 builtin and then its argument prototype would still apply. */
7545 char i386_set_ldt ();
7547 main (void)
7549 return i386_set_ldt ();
7551 return 0;
7553 _ACEOF
7554 if ac_fn_c_try_link "$LINENO"
7555 then :
7556 ac_cv_lib_i386_i386_set_ldt=yes
7557 else $as_nop
7558 ac_cv_lib_i386_i386_set_ldt=no
7560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7561 conftest$ac_exeext conftest.$ac_ext
7562 LIBS=$ac_check_lib_save_LIBS
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7565 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7566 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7567 then :
7568 I386_LIBS="-li386"
7573 OPENGL_LIBS=""
7577 # Check whether --enable-largefile was given.
7578 if test ${enable_largefile+y}
7579 then :
7580 enableval=$enable_largefile;
7583 if test "$enable_largefile" != no; then
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7586 printf %s "checking for special C compiler options needed for large files... " >&6; }
7587 if test ${ac_cv_sys_largefile_CC+y}
7588 then :
7589 printf %s "(cached) " >&6
7590 else $as_nop
7591 ac_cv_sys_largefile_CC=no
7592 if test "$GCC" != yes; then
7593 ac_save_CC=$CC
7594 while :; do
7595 # IRIX 6.2 and later do not support large files by default,
7596 # so use the C compiler's -n32 option if that helps.
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7599 #include <sys/types.h>
7600 /* Check that off_t can represent 2**63 - 1 correctly.
7601 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7602 since some C++ compilers masquerading as C compilers
7603 incorrectly reject 9223372036854775807. */
7604 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7605 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7606 && LARGE_OFF_T % 2147483647 == 1)
7607 ? 1 : -1];
7609 main (void)
7613 return 0;
7615 _ACEOF
7616 if ac_fn_c_try_compile "$LINENO"
7617 then :
7618 break
7620 rm -f core conftest.err conftest.$ac_objext conftest.beam
7621 CC="$CC -n32"
7622 if ac_fn_c_try_compile "$LINENO"
7623 then :
7624 ac_cv_sys_largefile_CC=' -n32'; break
7626 rm -f core conftest.err conftest.$ac_objext conftest.beam
7627 break
7628 done
7629 CC=$ac_save_CC
7630 rm -f conftest.$ac_ext
7633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7634 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7635 if test "$ac_cv_sys_largefile_CC" != no; then
7636 CC=$CC$ac_cv_sys_largefile_CC
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7640 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7641 if test ${ac_cv_sys_file_offset_bits+y}
7642 then :
7643 printf %s "(cached) " >&6
7644 else $as_nop
7645 while :; do
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7648 #include <sys/types.h>
7649 /* Check that off_t can represent 2**63 - 1 correctly.
7650 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7651 since some C++ compilers masquerading as C compilers
7652 incorrectly reject 9223372036854775807. */
7653 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7654 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7655 && LARGE_OFF_T % 2147483647 == 1)
7656 ? 1 : -1];
7658 main (void)
7662 return 0;
7664 _ACEOF
7665 if ac_fn_c_try_compile "$LINENO"
7666 then :
7667 ac_cv_sys_file_offset_bits=no; break
7669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h. */
7672 #define _FILE_OFFSET_BITS 64
7673 #include <sys/types.h>
7674 /* Check that off_t can represent 2**63 - 1 correctly.
7675 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7676 since some C++ compilers masquerading as C compilers
7677 incorrectly reject 9223372036854775807. */
7678 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7679 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7680 && LARGE_OFF_T % 2147483647 == 1)
7681 ? 1 : -1];
7683 main (void)
7687 return 0;
7689 _ACEOF
7690 if ac_fn_c_try_compile "$LINENO"
7691 then :
7692 ac_cv_sys_file_offset_bits=64; break
7694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7695 ac_cv_sys_file_offset_bits=unknown
7696 break
7697 done
7699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7700 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7701 case $ac_cv_sys_file_offset_bits in #(
7702 no | unknown) ;;
7704 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7706 esac
7707 rm -rf conftest*
7708 if test $ac_cv_sys_file_offset_bits = unknown; then
7709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7710 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7711 if test ${ac_cv_sys_large_files+y}
7712 then :
7713 printf %s "(cached) " >&6
7714 else $as_nop
7715 while :; do
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7718 #include <sys/types.h>
7719 /* Check that off_t can represent 2**63 - 1 correctly.
7720 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7721 since some C++ compilers masquerading as C compilers
7722 incorrectly reject 9223372036854775807. */
7723 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7724 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7725 && LARGE_OFF_T % 2147483647 == 1)
7726 ? 1 : -1];
7728 main (void)
7732 return 0;
7734 _ACEOF
7735 if ac_fn_c_try_compile "$LINENO"
7736 then :
7737 ac_cv_sys_large_files=no; break
7739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7742 #define _LARGE_FILES 1
7743 #include <sys/types.h>
7744 /* Check that off_t can represent 2**63 - 1 correctly.
7745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7746 since some C++ compilers masquerading as C compilers
7747 incorrectly reject 9223372036854775807. */
7748 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7750 && LARGE_OFF_T % 2147483647 == 1)
7751 ? 1 : -1];
7753 main (void)
7757 return 0;
7759 _ACEOF
7760 if ac_fn_c_try_compile "$LINENO"
7761 then :
7762 ac_cv_sys_large_files=1; break
7764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7765 ac_cv_sys_large_files=unknown
7766 break
7767 done
7769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7770 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7771 case $ac_cv_sys_large_files in #(
7772 no | unknown) ;;
7774 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7776 esac
7777 rm -rf conftest*
7782 ac_header= ac_cache=
7783 for ac_item in $ac_header_c_list
7785 if test $ac_cache; then
7786 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7787 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7788 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7790 ac_header= ac_cache=
7791 elif test $ac_header; then
7792 ac_cache=$ac_item
7793 else
7794 ac_header=$ac_item
7796 done
7805 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7806 then :
7808 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7811 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7812 if test "x$ac_cv_header_AL_al_h" = xyes
7813 then :
7814 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7817 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7818 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7819 then :
7820 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7823 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7824 if test "x$ac_cv_header_CL_cl_h" = xyes
7825 then :
7826 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7829 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7830 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7831 then :
7832 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7835 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7836 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7837 then :
7838 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7841 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7842 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7843 then :
7844 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7847 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7848 if test "x$ac_cv_header_EGL_egl_h" = xyes
7849 then :
7850 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7853 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7854 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7855 then :
7856 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7859 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7860 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7861 then :
7862 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7865 ac_fn_c_check_header_compile "$LINENO" "OpenAL/al.h" "ac_cv_header_OpenAL_al_h" "$ac_includes_default"
7866 if test "x$ac_cv_header_OpenAL_al_h" = xyes
7867 then :
7868 printf "%s\n" "#define HAVE_OPENAL_AL_H 1" >>confdefs.h
7871 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7872 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7873 then :
7874 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7877 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7878 if test "x$ac_cv_header_Security_Security_h" = xyes
7879 then :
7880 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7883 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7884 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7885 then :
7886 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_arpa_inet_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_asm_types_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_asm_user_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_elf_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_float_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_gettext_po_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_libproc_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_link_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_linux_filter_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_input_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_major_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_param_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_serial_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_types_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_lwp_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_mach_mach_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_machine_cpu_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_mntent_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_netdb_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_netinet_in_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_port_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_pthread_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pwd_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_sasl_sasl_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_SASL_SASL_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_sched_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_sg_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_stdint_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_sys_attr_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_auxv_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_cdio_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_epoll_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_event_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_filio_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_ipc_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_link_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_modem_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_mtio_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_param_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_prctl_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_queue_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_random_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_resource_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_shm_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_signal_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_sockio_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_strtio_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_syscall_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_times_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_uio_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_user_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_utsname_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_vnode_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_syscall_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_utime_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8348 then :
8350 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8354 if test $ac_cv_header_sys_mkdev_h = no; then
8355 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8356 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8357 then :
8359 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8365 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8366 if test ${ac_cv_header_stat_broken+y}
8367 then :
8368 printf %s "(cached) " >&6
8369 else $as_nop
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 #include <sys/types.h>
8373 #include <sys/stat.h>
8375 #if defined S_ISBLK && defined S_IFDIR
8376 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8377 #endif
8379 #if defined S_ISBLK && defined S_IFCHR
8380 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8381 #endif
8383 #if defined S_ISLNK && defined S_IFREG
8384 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8385 #endif
8387 #if defined S_ISSOCK && defined S_IFREG
8388 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8389 #endif
8391 _ACEOF
8392 if ac_fn_c_try_compile "$LINENO"
8393 then :
8394 ac_cv_header_stat_broken=no
8395 else $as_nop
8396 ac_cv_header_stat_broken=yes
8398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8401 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8402 if test $ac_cv_header_stat_broken = yes; then
8404 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_conf_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_mount_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_statfs_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8441 #ifdef HAVE_SYS_PARAM_H
8442 # include <sys/param.h>
8443 #endif
8445 if test "x$ac_cv_header_sys_user_h" = xyes
8446 then :
8447 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8450 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8451 #ifdef HAVE_SYS_PARAM_H
8452 # include <sys/param.h>
8453 #endif
8455 if test "x$ac_cv_header_sys_vfs_h" = xyes
8456 then :
8457 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8462 saved_sysctl_h_CFLAGS=$CFLAGS
8463 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8464 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8465 #ifdef HAVE_SYS_PARAM_H
8466 # include <sys/param.h>
8467 #endif
8469 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8470 then :
8471 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8475 CFLAGS=$saved_sysctl_h_CFLAGS
8477 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8478 #include <sys/socket.h>
8479 #ifdef HAVE_SYS_SOCKETVAR_H
8480 # include <sys/socketvar.h>
8481 #endif
8482 #ifdef HAVE_NET_ROUTE_H
8483 # include <net/route.h>
8484 #endif
8485 #ifdef HAVE_NETINET_IN_H
8486 # include <netinet/in.h>
8487 #endif
8488 #ifdef HAVE_NETINET_IN_SYSTM_H
8489 # include <netinet/in_systm.h>
8490 #endif
8491 #ifdef HAVE_NET_IF_H
8492 # include <net/if.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IP_H
8495 # include <netinet/ip.h>
8496 #endif
8498 if test "x$ac_cv_header_netinet_ip_h" = xyes
8499 then :
8500 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8503 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8504 #include <sys/socket.h>
8505 #ifdef HAVE_SYS_SOCKETVAR_H
8506 # include <sys/socketvar.h>
8507 #endif
8508 #ifdef HAVE_NET_ROUTE_H
8509 # include <net/route.h>
8510 #endif
8511 #ifdef HAVE_NETINET_IN_H
8512 # include <netinet/in.h>
8513 #endif
8514 #ifdef HAVE_NETINET_IN_SYSTM_H
8515 # include <netinet/in_systm.h>
8516 #endif
8517 #ifdef HAVE_NET_IF_H
8518 # include <net/if.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IP_H
8521 # include <netinet/ip.h>
8522 #endif
8524 if test "x$ac_cv_header_net_if_h" = xyes
8525 then :
8526 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8529 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8530 #include <sys/socket.h>
8531 #ifdef HAVE_SYS_SOCKETVAR_H
8532 # include <sys/socketvar.h>
8533 #endif
8534 #ifdef HAVE_NET_ROUTE_H
8535 # include <net/route.h>
8536 #endif
8537 #ifdef HAVE_NETINET_IN_H
8538 # include <netinet/in.h>
8539 #endif
8540 #ifdef HAVE_NETINET_IN_SYSTM_H
8541 # include <netinet/in_systm.h>
8542 #endif
8543 #ifdef HAVE_NET_IF_H
8544 # include <net/if.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IP_H
8547 # include <netinet/ip.h>
8548 #endif
8550 if test "x$ac_cv_header_net_if_arp_h" = xyes
8551 then :
8552 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8555 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8556 #include <sys/socket.h>
8557 #ifdef HAVE_SYS_SOCKETVAR_H
8558 # include <sys/socketvar.h>
8559 #endif
8560 #ifdef HAVE_NET_ROUTE_H
8561 # include <net/route.h>
8562 #endif
8563 #ifdef HAVE_NETINET_IN_H
8564 # include <netinet/in.h>
8565 #endif
8566 #ifdef HAVE_NETINET_IN_SYSTM_H
8567 # include <netinet/in_systm.h>
8568 #endif
8569 #ifdef HAVE_NET_IF_H
8570 # include <net/if.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IP_H
8573 # include <netinet/ip.h>
8574 #endif
8576 if test "x$ac_cv_header_net_if_dl_h" = xyes
8577 then :
8578 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8581 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8582 #include <sys/socket.h>
8583 #ifdef HAVE_SYS_SOCKETVAR_H
8584 # include <sys/socketvar.h>
8585 #endif
8586 #ifdef HAVE_NET_ROUTE_H
8587 # include <net/route.h>
8588 #endif
8589 #ifdef HAVE_NETINET_IN_H
8590 # include <netinet/in.h>
8591 #endif
8592 #ifdef HAVE_NETINET_IN_SYSTM_H
8593 # include <netinet/in_systm.h>
8594 #endif
8595 #ifdef HAVE_NET_IF_H
8596 # include <net/if.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IP_H
8599 # include <netinet/ip.h>
8600 #endif
8602 if test "x$ac_cv_header_net_if_types_h" = xyes
8603 then :
8604 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8607 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8608 #include <sys/socket.h>
8609 #ifdef HAVE_SYS_SOCKETVAR_H
8610 # include <sys/socketvar.h>
8611 #endif
8612 #ifdef HAVE_NET_ROUTE_H
8613 # include <net/route.h>
8614 #endif
8615 #ifdef HAVE_NETINET_IN_H
8616 # include <netinet/in.h>
8617 #endif
8618 #ifdef HAVE_NETINET_IN_SYSTM_H
8619 # include <netinet/in_systm.h>
8620 #endif
8621 #ifdef HAVE_NET_IF_H
8622 # include <net/if.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IP_H
8625 # include <netinet/ip.h>
8626 #endif
8628 if test "x$ac_cv_header_net_route_h" = xyes
8629 then :
8630 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8633 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8634 #include <sys/socket.h>
8635 #ifdef HAVE_SYS_SOCKETVAR_H
8636 # include <sys/socketvar.h>
8637 #endif
8638 #ifdef HAVE_NET_ROUTE_H
8639 # include <net/route.h>
8640 #endif
8641 #ifdef HAVE_NETINET_IN_H
8642 # include <netinet/in.h>
8643 #endif
8644 #ifdef HAVE_NETINET_IN_SYSTM_H
8645 # include <netinet/in_systm.h>
8646 #endif
8647 #ifdef HAVE_NET_IF_H
8648 # include <net/if.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IP_H
8651 # include <netinet/ip.h>
8652 #endif
8654 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8655 then :
8656 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8659 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8660 #include <sys/socket.h>
8661 #ifdef HAVE_SYS_SOCKETVAR_H
8662 # include <sys/socketvar.h>
8663 #endif
8664 #ifdef HAVE_NET_ROUTE_H
8665 # include <net/route.h>
8666 #endif
8667 #ifdef HAVE_NETINET_IN_H
8668 # include <netinet/in.h>
8669 #endif
8670 #ifdef HAVE_NETINET_IN_SYSTM_H
8671 # include <netinet/in_systm.h>
8672 #endif
8673 #ifdef HAVE_NET_IF_H
8674 # include <net/if.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IP_H
8677 # include <netinet/ip.h>
8678 #endif
8680 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8681 then :
8682 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8685 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8686 #include <sys/socket.h>
8687 #ifdef HAVE_SYS_SOCKETVAR_H
8688 # include <sys/socketvar.h>
8689 #endif
8690 #ifdef HAVE_NET_ROUTE_H
8691 # include <net/route.h>
8692 #endif
8693 #ifdef HAVE_NETINET_IN_H
8694 # include <netinet/in.h>
8695 #endif
8696 #ifdef HAVE_NETINET_IN_SYSTM_H
8697 # include <netinet/in_systm.h>
8698 #endif
8699 #ifdef HAVE_NET_IF_H
8700 # include <net/if.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IP_H
8703 # include <netinet/ip.h>
8704 #endif
8706 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8707 then :
8708 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8711 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8712 #include <sys/socket.h>
8713 #ifdef HAVE_SYS_SOCKETVAR_H
8714 # include <sys/socketvar.h>
8715 #endif
8716 #ifdef HAVE_NET_ROUTE_H
8717 # include <net/route.h>
8718 #endif
8719 #ifdef HAVE_NETINET_IN_H
8720 # include <netinet/in.h>
8721 #endif
8722 #ifdef HAVE_NETINET_IN_SYSTM_H
8723 # include <netinet/in_systm.h>
8724 #endif
8725 #ifdef HAVE_NET_IF_H
8726 # include <net/if.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IP_H
8729 # include <netinet/ip.h>
8730 #endif
8732 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8733 then :
8734 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8737 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8738 #include <sys/socket.h>
8739 #ifdef HAVE_SYS_SOCKETVAR_H
8740 # include <sys/socketvar.h>
8741 #endif
8742 #ifdef HAVE_NET_ROUTE_H
8743 # include <net/route.h>
8744 #endif
8745 #ifdef HAVE_NETINET_IN_H
8746 # include <netinet/in.h>
8747 #endif
8748 #ifdef HAVE_NETINET_IN_SYSTM_H
8749 # include <netinet/in_systm.h>
8750 #endif
8751 #ifdef HAVE_NET_IF_H
8752 # include <net/if.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IP_H
8755 # include <netinet/ip.h>
8756 #endif
8758 if test "x$ac_cv_header_netinet_udp_h" = xyes
8759 then :
8760 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8763 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8764 #include <sys/socket.h>
8765 #ifdef HAVE_SYS_SOCKETVAR_H
8766 # include <sys/socketvar.h>
8767 #endif
8768 #ifdef HAVE_NET_ROUTE_H
8769 # include <net/route.h>
8770 #endif
8771 #ifdef HAVE_NETINET_IN_H
8772 # include <netinet/in.h>
8773 #endif
8774 #ifdef HAVE_NETINET_IN_SYSTM_H
8775 # include <netinet/in_systm.h>
8776 #endif
8777 #ifdef HAVE_NET_IF_H
8778 # include <net/if.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IP_H
8781 # include <netinet/ip.h>
8782 #endif
8784 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8785 then :
8786 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8789 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8790 #include <sys/socket.h>
8791 #ifdef HAVE_SYS_SOCKETVAR_H
8792 # include <sys/socketvar.h>
8793 #endif
8794 #ifdef HAVE_NET_ROUTE_H
8795 # include <net/route.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IN_H
8798 # include <netinet/in.h>
8799 #endif
8800 #ifdef HAVE_NETINET_IN_SYSTM_H
8801 # include <netinet/in_systm.h>
8802 #endif
8803 #ifdef HAVE_NET_IF_H
8804 # include <net/if.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IP_H
8807 # include <netinet/ip.h>
8808 #endif
8810 if test "x$ac_cv_header_sys_un_h" = xyes
8811 then :
8812 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8817 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8818 #include <sys/socket.h>
8819 #ifdef HAVE_SYS_SOCKETVAR_H
8820 # include <sys/socketvar.h>
8821 #endif
8822 #ifdef HAVE_NETINET_IN_H
8823 # include <netinet/in.h>
8824 #endif
8825 #ifdef HAVE_NETINET_IN_SYSTM_H
8826 # include <netinet/in_systm.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IP_H
8829 # include <netinet/ip.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IP_VAR_H
8832 # include <netinet/ip_var.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_ICMP_H
8835 # include <netinet/ip_icmp.h>
8836 #endif
8837 #ifdef HAVE_NETINET_UDP_H
8838 # include <netinet/udp.h>
8839 #endif
8840 #ifdef HAVE_NETINET_TCP_H
8841 # include <netinet/tcp.h>
8842 #endif
8844 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8845 then :
8846 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8849 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8850 #include <sys/socket.h>
8851 #ifdef HAVE_SYS_SOCKETVAR_H
8852 # include <sys/socketvar.h>
8853 #endif
8854 #ifdef HAVE_NETINET_IN_H
8855 # include <netinet/in.h>
8856 #endif
8857 #ifdef HAVE_NETINET_IN_SYSTM_H
8858 # include <netinet/in_systm.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IP_H
8861 # include <netinet/ip.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IP_VAR_H
8864 # include <netinet/ip_var.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_ICMP_H
8867 # include <netinet/ip_icmp.h>
8868 #endif
8869 #ifdef HAVE_NETINET_UDP_H
8870 # include <netinet/udp.h>
8871 #endif
8872 #ifdef HAVE_NETINET_TCP_H
8873 # include <netinet/tcp.h>
8874 #endif
8876 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8877 then :
8878 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8881 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8882 #include <sys/socket.h>
8883 #ifdef HAVE_SYS_SOCKETVAR_H
8884 # include <sys/socketvar.h>
8885 #endif
8886 #ifdef HAVE_NETINET_IN_H
8887 # include <netinet/in.h>
8888 #endif
8889 #ifdef HAVE_NETINET_IN_SYSTM_H
8890 # include <netinet/in_systm.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IP_H
8893 # include <netinet/ip.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IP_VAR_H
8896 # include <netinet/ip_var.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_ICMP_H
8899 # include <netinet/ip_icmp.h>
8900 #endif
8901 #ifdef HAVE_NETINET_UDP_H
8902 # include <netinet/udp.h>
8903 #endif
8904 #ifdef HAVE_NETINET_TCP_H
8905 # include <netinet/tcp.h>
8906 #endif
8908 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8909 then :
8910 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8915 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8916 #include <sys/socket.h>
8917 #ifdef HAVE_ASM_TYPES_H
8918 # include <asm/types.h>
8919 #endif
8920 #ifdef HAVE_LINUX_TYPES_H
8921 # include <linux/types.h>
8922 #endif
8924 if test "x$ac_cv_header_linux_ipx_h" = xyes
8925 then :
8926 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8929 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8930 #include <sys/socket.h>
8931 #ifdef HAVE_ASM_TYPES_H
8932 # include <asm/types.h>
8933 #endif
8934 #ifdef HAVE_LINUX_TYPES_H
8935 # include <linux/types.h>
8936 #endif
8938 if test "x$ac_cv_header_linux_irda_h" = xyes
8939 then :
8940 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8943 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8944 #include <sys/socket.h>
8945 #ifdef HAVE_ASM_TYPES_H
8946 # include <asm/types.h>
8947 #endif
8948 #ifdef HAVE_LINUX_TYPES_H
8949 # include <linux/types.h>
8950 #endif
8952 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8953 then :
8954 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8959 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8960 #include <sys/socket.h>
8961 #ifdef HAVE_NETINET_IN_H
8962 # include <netinet/in.h>
8963 #endif
8964 #ifdef HAVE_ARPA_NAMESER_H
8965 # include <arpa/nameser.h>
8966 #endif
8968 if test "x$ac_cv_header_resolv_h" = xyes
8969 then :
8970 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8975 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8977 if test "x$ac_cv_header_ifaddrs_h" = xyes
8978 then :
8979 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8984 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8986 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8994 #ifdef HAVE_SYS_UCONTEXT_H
8995 #include <sys/ucontext.h>
8996 #endif
8998 if test "x$ac_cv_header_sys_thr_h" = xyes
8999 then :
9000 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9006 #include <pthread.h>
9007 #endif
9009 if test "x$ac_cv_header_pthread_np_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9016 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9017 #include <sys/types.h>
9018 #ifdef HAVE_ASM_TYPES_H
9019 #include <asm/types.h>
9020 #endif
9022 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9030 #include <sys/param.h>
9031 #endif
9032 #include <sys/socket.h>
9033 #ifdef HAVE_SYS_QUEUE_H
9034 #include <sys/queue.h>
9035 #endif
9037 if test "x$ac_cv_header_libprocstat_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9045 DLLFLAGS=""
9047 LDDLLFLAGS=""
9049 LDEXECFLAGS=""
9051 EXTRACFLAGS=""
9053 UNIXDLLFLAGS="-fPIC"
9055 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9057 TOP_INSTALL_LIB=""
9059 TOP_INSTALL_DEV=""
9061 WINELOADER_LDFLAGS=""
9063 WINEPRELOADER_LDFLAGS=""
9065 LIBEXT="so"
9066 # Extract the first word of "ldd", so it can be a program name with args.
9067 set dummy ldd; ac_word=$2
9068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069 printf %s "checking for $ac_word... " >&6; }
9070 if test ${ac_cv_path_LDD+y}
9071 then :
9072 printf %s "(cached) " >&6
9073 else $as_nop
9074 case $LDD in
9075 [\\/]* | ?:[\\/]*)
9076 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9080 as_dummy="/sbin:/usr/sbin:$PATH"
9081 for as_dir in $as_dummy
9083 IFS=$as_save_IFS
9084 case $as_dir in #(((
9085 '') as_dir=./ ;;
9086 */) ;;
9087 *) as_dir=$as_dir/ ;;
9088 esac
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9091 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9093 break 2
9095 done
9096 done
9097 IFS=$as_save_IFS
9099 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9101 esac
9103 LDD=$ac_cv_path_LDD
9104 if test -n "$LDD"; then
9105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9106 printf "%s\n" "$LDD" >&6; }
9107 else
9108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 printf "%s\n" "no" >&6; }
9113 if test -n "$ac_tool_prefix"; then
9114 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9115 set dummy ${ac_tool_prefix}otool; ac_word=$2
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117 printf %s "checking for $ac_word... " >&6; }
9118 if test ${ac_cv_prog_OTOOL+y}
9119 then :
9120 printf %s "(cached) " >&6
9121 else $as_nop
9122 if test -n "$OTOOL"; then
9123 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9124 else
9125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9126 for as_dir in $PATH
9128 IFS=$as_save_IFS
9129 case $as_dir in #(((
9130 '') as_dir=./ ;;
9131 */) ;;
9132 *) as_dir=$as_dir/ ;;
9133 esac
9134 for ac_exec_ext in '' $ac_executable_extensions; do
9135 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9136 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9138 break 2
9140 done
9141 done
9142 IFS=$as_save_IFS
9146 OTOOL=$ac_cv_prog_OTOOL
9147 if test -n "$OTOOL"; then
9148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9149 printf "%s\n" "$OTOOL" >&6; }
9150 else
9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9152 printf "%s\n" "no" >&6; }
9157 if test -z "$ac_cv_prog_OTOOL"; then
9158 ac_ct_OTOOL=$OTOOL
9159 # Extract the first word of "otool", so it can be a program name with args.
9160 set dummy otool; ac_word=$2
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9162 printf %s "checking for $ac_word... " >&6; }
9163 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9164 then :
9165 printf %s "(cached) " >&6
9166 else $as_nop
9167 if test -n "$ac_ct_OTOOL"; then
9168 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9169 else
9170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9171 for as_dir in $PATH
9173 IFS=$as_save_IFS
9174 case $as_dir in #(((
9175 '') as_dir=./ ;;
9176 */) ;;
9177 *) as_dir=$as_dir/ ;;
9178 esac
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9181 ac_cv_prog_ac_ct_OTOOL="otool"
9182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9183 break 2
9185 done
9186 done
9187 IFS=$as_save_IFS
9191 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9192 if test -n "$ac_ct_OTOOL"; then
9193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9194 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9195 else
9196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 printf "%s\n" "no" >&6; }
9200 if test "x$ac_ct_OTOOL" = x; then
9201 OTOOL="otool"
9202 else
9203 case $cross_compiling:$ac_tool_warned in
9204 yes:)
9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9206 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9207 ac_tool_warned=yes ;;
9208 esac
9209 OTOOL=$ac_ct_OTOOL
9211 else
9212 OTOOL="$ac_cv_prog_OTOOL"
9215 if test -n "$ac_tool_prefix"; then
9216 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9217 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9219 printf %s "checking for $ac_word... " >&6; }
9220 if test ${ac_cv_prog_READELF+y}
9221 then :
9222 printf %s "(cached) " >&6
9223 else $as_nop
9224 if test -n "$READELF"; then
9225 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9226 else
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 for as_dir in $PATH
9230 IFS=$as_save_IFS
9231 case $as_dir in #(((
9232 '') as_dir=./ ;;
9233 */) ;;
9234 *) as_dir=$as_dir/ ;;
9235 esac
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9240 break 2
9242 done
9243 done
9244 IFS=$as_save_IFS
9248 READELF=$ac_cv_prog_READELF
9249 if test -n "$READELF"; then
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9251 printf "%s\n" "$READELF" >&6; }
9252 else
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 printf "%s\n" "no" >&6; }
9259 if test -z "$ac_cv_prog_READELF"; then
9260 ac_ct_READELF=$READELF
9261 # Extract the first word of "readelf", so it can be a program name with args.
9262 set dummy readelf; ac_word=$2
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 printf %s "checking for $ac_word... " >&6; }
9265 if test ${ac_cv_prog_ac_ct_READELF+y}
9266 then :
9267 printf %s "(cached) " >&6
9268 else $as_nop
9269 if test -n "$ac_ct_READELF"; then
9270 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 case $as_dir in #(((
9277 '') as_dir=./ ;;
9278 */) ;;
9279 *) as_dir=$as_dir/ ;;
9280 esac
9281 for ac_exec_ext in '' $ac_executable_extensions; do
9282 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9283 ac_cv_prog_ac_ct_READELF="readelf"
9284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9285 break 2
9287 done
9288 done
9289 IFS=$as_save_IFS
9293 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9294 if test -n "$ac_ct_READELF"; then
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9296 printf "%s\n" "$ac_ct_READELF" >&6; }
9297 else
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9299 printf "%s\n" "no" >&6; }
9302 if test "x$ac_ct_READELF" = x; then
9303 READELF="true"
9304 else
9305 case $cross_compiling:$ac_tool_warned in
9306 yes:)
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9308 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9309 ac_tool_warned=yes ;;
9310 esac
9311 READELF=$ac_ct_READELF
9313 else
9314 READELF="$ac_cv_prog_READELF"
9317 wine_rules="all:"
9318 SUBDIRS=""
9320 DISABLED_SUBDIRS=""
9322 CONFIGURE_TARGETS=""
9325 wine_fn_append_file ()
9327 as_fn_append $1 " \\$as_nl $2"
9330 wine_fn_append_rule ()
9332 as_fn_append wine_rules "$as_nl$1"
9335 wine_fn_config_makefile ()
9337 wine_fn_append_file SUBDIRS $1
9338 if eval test \"x\$"$2"\" = x"no"
9339 then :
9340 wine_fn_append_file DISABLED_SUBDIRS $1
9344 wine_fn_config_symlink ()
9346 ac_links=$@
9347 wine_fn_append_rule \
9348 "$ac_links:
9349 @./config.status \$@"
9350 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
9353 wine_binary="wine"
9354 test "x$enable_win64" != "xyes" || wine_binary="wine64"
9355 WINELOADER_PROGRAMS="$wine_binary"
9357 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9359 case $host_os in
9360 cygwin*|mingw32*)
9361 if test -n "$ac_tool_prefix"; then
9362 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9363 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9365 printf %s "checking for $ac_word... " >&6; }
9366 if test ${ac_cv_prog_DLLTOOL+y}
9367 then :
9368 printf %s "(cached) " >&6
9369 else $as_nop
9370 if test -n "$DLLTOOL"; then
9371 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9372 else
9373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9374 for as_dir in $PATH
9376 IFS=$as_save_IFS
9377 case $as_dir in #(((
9378 '') as_dir=./ ;;
9379 */) ;;
9380 *) as_dir=$as_dir/ ;;
9381 esac
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9384 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9386 break 2
9388 done
9389 done
9390 IFS=$as_save_IFS
9394 DLLTOOL=$ac_cv_prog_DLLTOOL
9395 if test -n "$DLLTOOL"; then
9396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9397 printf "%s\n" "$DLLTOOL" >&6; }
9398 else
9399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9400 printf "%s\n" "no" >&6; }
9405 if test -z "$ac_cv_prog_DLLTOOL"; then
9406 ac_ct_DLLTOOL=$DLLTOOL
9407 # Extract the first word of "dlltool", so it can be a program name with args.
9408 set dummy dlltool; ac_word=$2
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9410 printf %s "checking for $ac_word... " >&6; }
9411 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9412 then :
9413 printf %s "(cached) " >&6
9414 else $as_nop
9415 if test -n "$ac_ct_DLLTOOL"; then
9416 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9417 else
9418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9419 for as_dir in $PATH
9421 IFS=$as_save_IFS
9422 case $as_dir in #(((
9423 '') as_dir=./ ;;
9424 */) ;;
9425 *) as_dir=$as_dir/ ;;
9426 esac
9427 for ac_exec_ext in '' $ac_executable_extensions; do
9428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9429 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9431 break 2
9433 done
9434 done
9435 IFS=$as_save_IFS
9439 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9440 if test -n "$ac_ct_DLLTOOL"; then
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9442 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
9443 else
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9445 printf "%s\n" "no" >&6; }
9448 if test "x$ac_ct_DLLTOOL" = x; then
9449 DLLTOOL="false"
9450 else
9451 case $cross_compiling:$ac_tool_warned in
9452 yes:)
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9455 ac_tool_warned=yes ;;
9456 esac
9457 DLLTOOL=$ac_ct_DLLTOOL
9459 else
9460 DLLTOOL="$ac_cv_prog_DLLTOOL"
9463 LIBEXT="dll"
9464 EXTRACFLAGS="-D__WINE_PE_BUILD"
9465 case $host_cpu in
9466 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9467 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9468 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9469 then :
9470 printf %s "(cached) " >&6
9471 else $as_nop
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475 /* end confdefs.h. */
9476 int main(int argc, char **argv) { return 0; }
9477 _ACEOF
9478 if ac_fn_c_try_link "$LINENO"
9479 then :
9480 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9481 else $as_nop
9482 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9485 conftest$ac_exeext conftest.$ac_ext
9486 CFLAGS=$ac_wine_try_cflags_saved
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9489 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9490 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9491 then :
9492 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9493 fi ;;
9494 esac
9495 enable_loader=${enable_loader:-no}
9496 enable_server=${enable_server:-no}
9497 with_x=${with_x:-no}
9498 with_pthread=${with_pthread:-no}
9501 darwin*|macosx*)
9502 ac_ext=m
9503 ac_cpp='$OBJCPP $CPPFLAGS'
9504 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9505 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9506 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9508 ac_ext=m
9509 ac_cpp='$OBJCPP $CPPFLAGS'
9510 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9511 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9512 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9513 if test -n "$ac_tool_prefix"; then
9514 for ac_prog in gcc objcc objc cc CC clang
9516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 printf %s "checking for $ac_word... " >&6; }
9520 if test ${ac_cv_prog_OBJC+y}
9521 then :
9522 printf %s "(cached) " >&6
9523 else $as_nop
9524 if test -n "$OBJC"; then
9525 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9526 else
9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9528 for as_dir in $PATH
9530 IFS=$as_save_IFS
9531 case $as_dir in #(((
9532 '') as_dir=./ ;;
9533 */) ;;
9534 *) as_dir=$as_dir/ ;;
9535 esac
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9538 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9540 break 2
9542 done
9543 done
9544 IFS=$as_save_IFS
9548 OBJC=$ac_cv_prog_OBJC
9549 if test -n "$OBJC"; then
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9551 printf "%s\n" "$OBJC" >&6; }
9552 else
9553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9554 printf "%s\n" "no" >&6; }
9558 test -n "$OBJC" && break
9559 done
9561 if test -z "$OBJC"; then
9562 ac_ct_OBJC=$OBJC
9563 for ac_prog in gcc objcc objc cc CC clang
9565 # Extract the first word of "$ac_prog", so it can be a program name with args.
9566 set dummy $ac_prog; ac_word=$2
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9568 printf %s "checking for $ac_word... " >&6; }
9569 if test ${ac_cv_prog_ac_ct_OBJC+y}
9570 then :
9571 printf %s "(cached) " >&6
9572 else $as_nop
9573 if test -n "$ac_ct_OBJC"; then
9574 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9575 else
9576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9577 for as_dir in $PATH
9579 IFS=$as_save_IFS
9580 case $as_dir in #(((
9581 '') as_dir=./ ;;
9582 */) ;;
9583 *) as_dir=$as_dir/ ;;
9584 esac
9585 for ac_exec_ext in '' $ac_executable_extensions; do
9586 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9587 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9589 break 2
9591 done
9592 done
9593 IFS=$as_save_IFS
9597 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9598 if test -n "$ac_ct_OBJC"; then
9599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9600 printf "%s\n" "$ac_ct_OBJC" >&6; }
9601 else
9602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9603 printf "%s\n" "no" >&6; }
9607 test -n "$ac_ct_OBJC" && break
9608 done
9610 if test "x$ac_ct_OBJC" = x; then
9611 OBJC="gcc"
9612 else
9613 case $cross_compiling:$ac_tool_warned in
9614 yes:)
9615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9616 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9617 ac_tool_warned=yes ;;
9618 esac
9619 OBJC=$ac_ct_OBJC
9623 # Provide some information about the compiler.
9624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9625 set X $ac_compile
9626 ac_compiler=$2
9627 for ac_option in --version -v -V -qversion; do
9628 { { ac_try="$ac_compiler $ac_option >&5"
9629 case "(($ac_try" in
9630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9631 *) ac_try_echo=$ac_try;;
9632 esac
9633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9634 printf "%s\n" "$ac_try_echo"; } >&5
9635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9636 ac_status=$?
9637 if test -s conftest.err; then
9638 sed '10a\
9639 ... rest of stderr output deleted ...
9640 10q' conftest.err >conftest.er1
9641 cat conftest.er1 >&5
9643 rm -f conftest.er1 conftest.err
9644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9645 test $ac_status = 0; }
9646 done
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9649 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9650 if test ${ac_cv_objc_compiler_gnu+y}
9651 then :
9652 printf %s "(cached) " >&6
9653 else $as_nop
9654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9655 /* end confdefs.h. */
9658 main (void)
9660 #ifndef __GNUC__
9661 choke me
9662 #endif
9665 return 0;
9667 _ACEOF
9668 if ac_fn_objc_try_compile "$LINENO"
9669 then :
9670 ac_compiler_gnu=yes
9671 else $as_nop
9672 ac_compiler_gnu=no
9674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9675 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9679 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9680 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9682 if test $ac_compiler_gnu = yes; then
9683 GOBJC=yes
9684 else
9685 GOBJC=
9687 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9688 ac_save_OBJCFLAGS=$OBJCFLAGS
9689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9690 printf %s "checking whether $OBJC accepts -g... " >&6; }
9691 if test ${ac_cv_prog_objc_g+y}
9692 then :
9693 printf %s "(cached) " >&6
9694 else $as_nop
9695 ac_save_objc_werror_flag=$ac_objc_werror_flag
9696 ac_objc_werror_flag=yes
9697 ac_cv_prog_objc_g=no
9698 OBJCFLAGS="-g"
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9703 main (void)
9707 return 0;
9709 _ACEOF
9710 if ac_fn_objc_try_compile "$LINENO"
9711 then :
9712 ac_cv_prog_objc_g=yes
9713 else $as_nop
9714 OBJCFLAGS=""
9715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9716 /* end confdefs.h. */
9719 main (void)
9723 return 0;
9725 _ACEOF
9726 if ac_fn_objc_try_compile "$LINENO"
9727 then :
9729 else $as_nop
9730 ac_objc_werror_flag=$ac_save_objc_werror_flag
9731 OBJCFLAGS="-g"
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9740 return 0;
9742 _ACEOF
9743 if ac_fn_objc_try_compile "$LINENO"
9744 then :
9745 ac_cv_prog_objc_g=yes
9747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9752 ac_objc_werror_flag=$ac_save_objc_werror_flag
9754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9755 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9756 if test $ac_test_OBJCFLAGS; then
9757 OBJCFLAGS=$ac_save_OBJCFLAGS
9758 elif test $ac_cv_prog_objc_g = yes; then
9759 if test "$GOBJC" = yes; then
9760 OBJCFLAGS="-g -O2"
9761 else
9762 OBJCFLAGS="-g"
9764 else
9765 if test "$GOBJC" = yes; then
9766 OBJCFLAGS="-O2"
9767 else
9768 OBJCFLAGS=
9771 ac_ext=m
9772 ac_cpp='$OBJCPP $CPPFLAGS'
9773 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9774 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9778 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9779 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9780 then :
9781 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9785 ac_ext=c
9786 ac_cpp='$CPP $CPPFLAGS'
9787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9791 LIBEXT="dylib"
9792 DLLFLAGS="$DLLFLAGS -fPIC"
9793 LDDLLFLAGS="-fPIC"
9794 COREFOUNDATION_LIBS="-framework CoreFoundation"
9796 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9798 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9800 CORESERVICES_LIBS="-framework CoreServices"
9802 APPKIT_LIBS="-framework AppKit"
9804 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9807 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9809 wine_can_build_preloader=yes
9810 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"
9811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9812 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9813 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9814 then :
9815 printf %s "(cached) " >&6
9816 else $as_nop
9817 ac_wine_try_cflags_saved=$CFLAGS
9818 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9821 int main(int argc, char **argv) { return 0; }
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"
9824 then :
9825 ac_cv_cflags__Wl__no_new_main__e__main=yes
9826 else $as_nop
9827 ac_cv_cflags__Wl__no_new_main__e__main=no
9829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9830 conftest$ac_exeext conftest.$ac_ext
9831 CFLAGS=$ac_wine_try_cflags_saved
9833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9834 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9835 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9836 then :
9837 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9838 { 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
9839 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9840 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9841 then :
9842 printf %s "(cached) " >&6
9843 else $as_nop
9844 ac_wine_try_cflags_saved=$CFLAGS
9845 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int main(int argc, char **argv) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"
9851 then :
9852 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9853 else $as_nop
9854 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9857 conftest$ac_exeext conftest.$ac_ext
9858 CFLAGS=$ac_wine_try_cflags_saved
9860 { 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
9861 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9862 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9863 then :
9864 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9865 else $as_nop
9866 wine_can_build_preloader=no
9868 else $as_nop
9869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9870 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9871 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9872 then :
9873 printf %s "(cached) " >&6
9874 else $as_nop
9875 ac_wine_try_cflags_saved=$CFLAGS
9876 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int main(int argc, char **argv) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"
9882 then :
9883 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9884 else $as_nop
9885 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9888 conftest$ac_exeext conftest.$ac_ext
9889 CFLAGS=$ac_wine_try_cflags_saved
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9892 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9893 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9894 then :
9895 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9896 else $as_nop
9897 wine_can_build_preloader=no
9900 if test "$wine_can_build_preloader" = "yes"
9901 then
9902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9903 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9904 if test ${ac_cv_cflags__Wl__no_pie+y}
9905 then :
9906 printf %s "(cached) " >&6
9907 else $as_nop
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 CFLAGS="$CFLAGS -Wl,-no_pie"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int main(int argc, char **argv) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"
9915 then :
9916 ac_cv_cflags__Wl__no_pie=yes
9917 else $as_nop
9918 ac_cv_cflags__Wl__no_pie=no
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9921 conftest$ac_exeext conftest.$ac_ext
9922 CFLAGS=$ac_wine_try_cflags_saved
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9925 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9926 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9927 then :
9928 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9930 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
9931 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9932 else
9933 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9936 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9937 then
9938 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9941 if test "$ac_cv_header_Security_Security_h" = "yes"
9942 then
9943 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9946 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9947 then
9948 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9950 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9952 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9953 then
9954 OPENAL_LIBS="-framework OpenAL"
9957 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
9959 ac_cv_lib_openal=yes
9961 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9962 then
9963 OPENCL_LIBS="-framework OpenCL"
9965 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9967 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9968 then
9969 ac_save_LIBS="$LIBS"
9970 LIBS="$LIBS $IOKIT_LIBS"
9971 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9972 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9973 then :
9974 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9978 LIBS="$ac_save_LIBS"
9981 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9982 then
9983 CARBON_LIBS="-framework Carbon"
9986 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9987 then
9988 METAL_LIBS="-framework Metal"
9992 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9993 then
9994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9995 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9996 ac_ext=m
9997 ac_cpp='$OBJCPP $CPPFLAGS'
9998 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9999 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10000 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 #include <Metal/Metal.h>
10006 main (void)
10008 id<MTLDevice> device; device.registryID;
10010 return 0;
10012 _ACEOF
10013 if ac_fn_objc_try_compile "$LINENO"
10014 then :
10015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10016 printf "%s\n" "yes" >&6; }
10018 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10020 else $as_nop
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10022 printf "%s\n" "no" >&6; }
10024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10025 ac_ext=c
10026 ac_cpp='$CPP $CPPFLAGS'
10027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10033 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10034 then
10035 ac_save_LIBS="$LIBS"
10036 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10037 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10038 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10039 then :
10040 enable_winemac_drv=${enable_winemac_drv:-yes}
10043 LIBS="$ac_save_LIBS"
10046 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10047 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10049 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10051 WINELOADER_DEPENDS="wine_info.plist"
10053 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10056 linux-android*)
10058 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10060 DLLFLAGS="$DLLFLAGS -fPIC"
10061 LDDLLFLAGS="-fPIC"
10062 LDEXECFLAGS="-Wl,-pie"
10063 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10065 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10066 if test ${ac_cv_cflags__Wl__z_defs+y}
10067 then :
10068 printf %s "(cached) " >&6
10069 else $as_nop
10070 ac_wine_try_cflags_saved=$CFLAGS
10071 CFLAGS="$CFLAGS -Wl,-z,defs"
10072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10073 /* end confdefs.h. */
10074 int main(int argc, char **argv) { return 0; }
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"
10077 then :
10078 ac_cv_cflags__Wl__z_defs=yes
10079 else $as_nop
10080 ac_cv_cflags__Wl__z_defs=no
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10083 conftest$ac_exeext conftest.$ac_ext
10084 CFLAGS=$ac_wine_try_cflags_saved
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10087 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10088 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10089 then :
10090 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10093 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10094 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10095 then :
10096 printf %s "(cached) " >&6
10097 else $as_nop
10098 ac_wine_try_cflags_saved=$CFLAGS
10099 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 int main(int argc, char **argv) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"
10105 then :
10106 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10107 else $as_nop
10108 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10111 conftest$ac_exeext conftest.$ac_ext
10112 CFLAGS=$ac_wine_try_cflags_saved
10114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10115 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10116 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10117 then :
10118 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10120 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10123 printf %s "checking for -lEGL... " >&6; }
10124 if test ${ac_cv_lib_soname_EGL+y}
10125 then :
10126 printf %s "(cached) " >&6
10127 else $as_nop
10128 ac_check_soname_save_LIBS=$LIBS
10129 LIBS="-lEGL $LIBS"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10136 char eglGetProcAddress ();
10138 main (void)
10140 return eglGetProcAddress ();
10142 return 0;
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"
10146 then :
10147 case "$LIBEXT" in
10148 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_EGL:+false} :
10152 then :
10153 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10154 fi ;;
10155 esac
10156 else $as_nop
10157 ac_cv_lib_soname_EGL=
10159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_soname_save_LIBS
10163 if ${ac_cv_lib_soname_EGL:+false} :
10164 then :
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10166 printf "%s\n" "not found" >&6; }
10168 else $as_nop
10169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10170 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10172 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10177 printf %s "checking for -lGLESv2... " >&6; }
10178 if test ${ac_cv_lib_soname_GLESv2+y}
10179 then :
10180 printf %s "(cached) " >&6
10181 else $as_nop
10182 ac_check_soname_save_LIBS=$LIBS
10183 LIBS="-lGLESv2 $LIBS"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10187 /* Override any GCC internal prototype to avoid an error.
10188 Use char because int might match the return type of a GCC
10189 builtin and then its argument prototype would still apply. */
10190 char glFlush ();
10192 main (void)
10194 return glFlush ();
10196 return 0;
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"
10200 then :
10201 case "$LIBEXT" in
10202 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10203 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'` ;;
10204 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10205 if ${ac_cv_lib_soname_GLESv2:+false} :
10206 then :
10207 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10208 fi ;;
10209 esac
10210 else $as_nop
10211 ac_cv_lib_soname_GLESv2=
10213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10214 conftest$ac_exeext conftest.$ac_ext
10215 LIBS=$ac_check_soname_save_LIBS
10217 if ${ac_cv_lib_soname_GLESv2:+false} :
10218 then :
10219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10220 printf "%s\n" "not found" >&6; }
10222 else $as_nop
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10224 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10226 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10231 if test "x$exec_prefix" = xNONE
10232 then
10233 case $host_cpu in
10234 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10235 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10236 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10237 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10238 esac
10244 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10246 test "$ac_cv_sys_file_offset_bits" = 64 &&
10247 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10249 case $host_cpu in
10250 *i[3456789]86*)
10251 DLLFLAGS="$DLLFLAGS -fno-PIC"
10252 LDDLLFLAGS="-fno-PIC"
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10254 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10255 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10256 then :
10257 printf %s "(cached) " >&6
10258 else $as_nop
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10263 int main(int argc, char **argv) { return 0; }
10264 _ACEOF
10265 if ac_fn_c_try_link "$LINENO"
10266 then :
10267 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10268 else $as_nop
10269 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10272 conftest$ac_exeext conftest.$ac_ext
10273 CFLAGS=$ac_wine_try_cflags_saved
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10276 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10277 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10278 then :
10279 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10283 DLLFLAGS="$DLLFLAGS -fPIC"
10284 LDDLLFLAGS="-fPIC" ;;
10285 esac
10286 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10288 echo '{ global: *; };' >conftest.map
10289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10290 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10291 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10292 then :
10293 printf %s "(cached) " >&6
10294 else $as_nop
10295 ac_wine_try_cflags_saved=$CFLAGS
10296 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10299 int main(int argc, char **argv) { return 0; }
10300 _ACEOF
10301 if ac_fn_c_try_link "$LINENO"
10302 then :
10303 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10304 else $as_nop
10305 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10308 conftest$ac_exeext conftest.$ac_ext
10309 CFLAGS=$ac_wine_try_cflags_saved
10311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10312 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10313 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10314 then :
10315 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10317 rm -f conftest.map
10319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10320 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10321 if test ${ac_cv_cflags__Wl__z_defs+y}
10322 then :
10323 printf %s "(cached) " >&6
10324 else $as_nop
10325 ac_wine_try_cflags_saved=$CFLAGS
10326 CFLAGS="$CFLAGS -Wl,-z,defs"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10329 int main(int argc, char **argv) { return 0; }
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"
10332 then :
10333 ac_cv_cflags__Wl__z_defs=yes
10334 else $as_nop
10335 ac_cv_cflags__Wl__z_defs=no
10337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10338 conftest$ac_exeext conftest.$ac_ext
10339 CFLAGS=$ac_wine_try_cflags_saved
10341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10342 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10343 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10344 then :
10345 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10348 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10349 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10350 then :
10351 printf %s "(cached) " >&6
10352 else $as_nop
10353 ac_wine_try_cflags_saved=$CFLAGS
10354 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 /* end confdefs.h. */
10357 int main(int argc, char **argv) { return 0; }
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"
10360 then :
10361 ac_cv_cflags__Wl___export_dynamic=yes
10362 else $as_nop
10363 ac_cv_cflags__Wl___export_dynamic=no
10365 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10366 conftest$ac_exeext conftest.$ac_ext
10367 CFLAGS=$ac_wine_try_cflags_saved
10369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10370 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10371 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10372 then :
10373 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10375 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10377 case $host_cpu in
10378 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10380 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10381 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10382 then :
10383 printf %s "(cached) " >&6
10384 else $as_nop
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"
10392 then :
10393 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10394 else $as_nop
10395 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10398 conftest$ac_exeext conftest.$ac_ext
10399 CFLAGS=$ac_wine_try_cflags_saved
10401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10402 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10403 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10404 then :
10405 case $host_os in
10406 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10407 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10408 esac
10409 else $as_nop
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10411 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10412 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10413 then :
10414 printf %s "(cached) " >&6
10415 else $as_nop
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 int main(int argc, char **argv) { return 0; }
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"
10423 then :
10424 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10425 else $as_nop
10426 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10429 conftest$ac_exeext conftest.$ac_ext
10430 CFLAGS=$ac_wine_try_cflags_saved
10432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10433 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10434 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10435 then :
10436 case $host_os in
10437 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10438 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10439 esac
10441 # Extract the first word of "prelink", so it can be a program name with args.
10442 set dummy prelink; ac_word=$2
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10444 printf %s "checking for $ac_word... " >&6; }
10445 if test ${ac_cv_path_PRELINK+y}
10446 then :
10447 printf %s "(cached) " >&6
10448 else $as_nop
10449 case $PRELINK in
10450 [\\/]* | ?:[\\/]*)
10451 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10455 for as_dir in /sbin /usr/sbin $PATH
10457 IFS=$as_save_IFS
10458 case $as_dir in #(((
10459 '') as_dir=./ ;;
10460 */) ;;
10461 *) as_dir=$as_dir/ ;;
10462 esac
10463 for ac_exec_ext in '' $ac_executable_extensions; do
10464 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10465 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10467 break 2
10469 done
10470 done
10471 IFS=$as_save_IFS
10473 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10475 esac
10477 PRELINK=$ac_cv_path_PRELINK
10478 if test -n "$PRELINK"; then
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10480 printf "%s\n" "$PRELINK" >&6; }
10481 else
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10483 printf "%s\n" "no" >&6; }
10487 if test "x$PRELINK" = xfalse
10488 then
10489 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10493 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10494 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10495 then :
10496 printf %s "(cached) " >&6
10497 else $as_nop
10498 ac_wine_try_cflags_saved=$CFLAGS
10499 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int main(int argc, char **argv) { return 0; }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"
10505 then :
10506 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10507 else $as_nop
10508 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10515 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10516 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10517 then :
10518 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10521 esac
10522 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10524 LIBWINE_DEPENDS="wine.map"
10526 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10528 esac
10530 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10531 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10532 enable_winemac_drv=${enable_winemac_drv:-no}
10535 if test "x$with_mingw" != xno
10536 then
10537 case "x$with_mingw" in
10538 x|xyes) case "$host_cpu" in
10539 aarch64*)
10540 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang" ;;
10541 arm*)
10542 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang" ;;
10543 i[3456789]86*)
10544 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
10545 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
10546 mingw32-gcc clang" ;;
10547 x86_64)
10548 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
10549 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang clang" ;;
10551 ac_prefix_list="" ;;
10552 esac
10553 for ac_prog in $ac_prefix_list
10555 # Extract the first word of "$ac_prog", so it can be a program name with args.
10556 set dummy $ac_prog; ac_word=$2
10557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10558 printf %s "checking for $ac_word... " >&6; }
10559 if test ${ac_cv_prog_CROSSCC+y}
10560 then :
10561 printf %s "(cached) " >&6
10562 else $as_nop
10563 if test -n "$CROSSCC"; then
10564 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
10565 else
10566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10567 for as_dir in $PATH
10569 IFS=$as_save_IFS
10570 case $as_dir in #(((
10571 '') as_dir=./ ;;
10572 */) ;;
10573 *) as_dir=$as_dir/ ;;
10574 esac
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10577 ac_cv_prog_CROSSCC="$ac_prog"
10578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10579 break 2
10581 done
10582 done
10583 IFS=$as_save_IFS
10587 CROSSCC=$ac_cv_prog_CROSSCC
10588 if test -n "$CROSSCC"; then
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
10590 printf "%s\n" "$CROSSCC" >&6; }
10591 else
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 printf "%s\n" "no" >&6; }
10597 test -n "$CROSSCC" && break
10598 done
10599 test -n "$CROSSCC" || CROSSCC="false"
10601 *) CROSSCC=$with_mingw ;;
10602 esac
10603 if test "$CROSSCC" != "false"
10604 then
10605 ac_save_CC="$CC"
10606 saved_CFLAGS=$CFLAGS
10607 saved_LDFLAGS=$LDFLAGS
10608 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
10610 EXTRACROSSCFLAGS="-D__WINE_PE_BUILD -Wall"
10614 CC="$CROSSCC"
10615 CFLAGS=$CROSSCFLAGS
10616 LDFLAGS=$CROSSLDFLAGS
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
10618 printf %s "checking whether $CROSSCC works... " >&6; }
10619 if test ${wine_cv_crosscc+y}
10620 then :
10621 printf %s "(cached) " >&6
10622 else $as_nop
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10627 main (void)
10631 return 0;
10633 _ACEOF
10634 if ac_fn_c_try_compile "$LINENO"
10635 then :
10636 wine_cv_crosscc=yes
10637 else $as_nop
10638 wine_cv_crosscc=no
10640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
10643 printf "%s\n" "$wine_cv_crosscc" >&6; }
10644 if test $wine_cv_crosscc = yes
10645 then
10646 set x $CROSSCC
10647 shift
10648 while test $# -ge 1
10650 case "$1" in
10651 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
10652 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
10653 esac
10654 shift
10655 done
10657 llvm_target=$CROSSTARGET
10658 llvm_cflags="-fuse-ld=lld"
10659 if test -z "$llvm_target"
10660 then
10661 case $host_cpu in
10662 *i[3456789]86*) llvm_target=i686-windows ;;
10663 *) llvm_target=$host_cpu-windows ;;
10664 esac
10666 case $llvm_target in
10667 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10668 esac
10669 as_ac_var=`printf "%s\n" "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
10671 printf %s "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
10672 if eval test \${$as_ac_var+y}
10673 then :
10674 printf %s "(cached) " >&6
10675 else $as_nop
10676 ac_wine_try_cflags_saved=$CFLAGS
10677 ac_wine_try_cflags_saved_cc=$CC
10678 ac_wine_try_cflags_saved_exeext=$ac_exeext
10679 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10680 CC="$CROSSCC"
10681 ac_exeext=".exe"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10684 int __cdecl mainCRTStartup(void) { return 0; }
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"
10687 then :
10688 eval "$as_ac_var=yes"
10689 else $as_nop
10690 eval "$as_ac_var=no"
10692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 CC=$ac_wine_try_cflags_saved_cc
10696 ac_exeext=$ac_wine_try_cflags_saved_exeext
10698 eval ac_res=\$$as_ac_var
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10700 printf "%s\n" "$ac_res" >&6; }
10701 if eval test \"x\$"$as_ac_var"\" = x"yes"
10702 then :
10703 CROSSTARGET=$llvm_target
10704 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
10705 DELAYLOADFLAG="-Wl,-delayload,"
10707 CFLAGS="$CFLAGS $llvm_cflags"
10710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
10711 printf %s "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
10712 if test ${ac_cv_crosscflags__fno_strict_aliasing+y}
10713 then :
10714 printf %s "(cached) " >&6
10715 else $as_nop
10716 ac_wine_try_cflags_saved=$CFLAGS
10717 ac_wine_try_cflags_saved_cc=$CC
10718 ac_wine_try_cflags_saved_exeext=$ac_exeext
10719 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10720 CC="$CROSSCC"
10721 ac_exeext=".exe"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10724 int __cdecl mainCRTStartup(void) { return 0; }
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"
10727 then :
10728 ac_cv_crosscflags__fno_strict_aliasing=yes
10729 else $as_nop
10730 ac_cv_crosscflags__fno_strict_aliasing=no
10732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10733 conftest$ac_exeext conftest.$ac_ext
10734 CFLAGS=$ac_wine_try_cflags_saved
10735 CC=$ac_wine_try_cflags_saved_cc
10736 ac_exeext=$ac_wine_try_cflags_saved_exeext
10738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
10739 printf "%s\n" "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
10740 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes
10741 then :
10742 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
10744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
10745 printf %s "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
10746 if test ${ac_cv_crosscflags__Werror_unknown_warning_option+y}
10747 then :
10748 printf %s "(cached) " >&6
10749 else $as_nop
10750 ac_wine_try_cflags_saved=$CFLAGS
10751 ac_wine_try_cflags_saved_cc=$CC
10752 ac_wine_try_cflags_saved_exeext=$ac_exeext
10753 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10754 CC="$CROSSCC"
10755 ac_exeext=".exe"
10756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10758 int __cdecl mainCRTStartup(void) { return 0; }
10759 _ACEOF
10760 if ac_fn_c_try_link "$LINENO"
10761 then :
10762 ac_cv_crosscflags__Werror_unknown_warning_option=yes
10763 else $as_nop
10764 ac_cv_crosscflags__Werror_unknown_warning_option=no
10766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10767 conftest$ac_exeext conftest.$ac_ext
10768 CFLAGS=$ac_wine_try_cflags_saved
10769 CC=$ac_wine_try_cflags_saved_cc
10770 ac_exeext=$ac_wine_try_cflags_saved_exeext
10772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
10773 printf "%s\n" "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
10774 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes
10775 then :
10776 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
10779 printf %s "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
10780 if test ${ac_cv_crosscflags__Werror_ignored_optimization_argument+y}
10781 then :
10782 printf %s "(cached) " >&6
10783 else $as_nop
10784 ac_wine_try_cflags_saved=$CFLAGS
10785 ac_wine_try_cflags_saved_cc=$CC
10786 ac_wine_try_cflags_saved_exeext=$ac_exeext
10787 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
10788 CC="$CROSSCC"
10789 ac_exeext=".exe"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10792 int __cdecl mainCRTStartup(void) { return 0; }
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"
10795 then :
10796 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
10797 else $as_nop
10798 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
10800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10801 conftest$ac_exeext conftest.$ac_ext
10802 CFLAGS=$ac_wine_try_cflags_saved
10803 CC=$ac_wine_try_cflags_saved_cc
10804 ac_exeext=$ac_wine_try_cflags_saved_exeext
10806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
10807 printf "%s\n" "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
10808 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes
10809 then :
10810 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
10813 printf %s "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
10814 if test ${ac_cv_crosscflags__Wdeclaration_after_statement+y}
10815 then :
10816 printf %s "(cached) " >&6
10817 else $as_nop
10818 ac_wine_try_cflags_saved=$CFLAGS
10819 ac_wine_try_cflags_saved_cc=$CC
10820 ac_wine_try_cflags_saved_exeext=$ac_exeext
10821 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
10822 CC="$CROSSCC"
10823 ac_exeext=".exe"
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826 int __cdecl mainCRTStartup(void) { return 0; }
10827 _ACEOF
10828 if ac_fn_c_try_link "$LINENO"
10829 then :
10830 ac_cv_crosscflags__Wdeclaration_after_statement=yes
10831 else $as_nop
10832 ac_cv_crosscflags__Wdeclaration_after_statement=no
10834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10835 conftest$ac_exeext conftest.$ac_ext
10836 CFLAGS=$ac_wine_try_cflags_saved
10837 CC=$ac_wine_try_cflags_saved_cc
10838 ac_exeext=$ac_wine_try_cflags_saved_exeext
10840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
10841 printf "%s\n" "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
10842 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes
10843 then :
10844 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
10847 printf %s "checking whether the cross-compiler supports -Wempty-body... " >&6; }
10848 if test ${ac_cv_crosscflags__Wempty_body+y}
10849 then :
10850 printf %s "(cached) " >&6
10851 else $as_nop
10852 ac_wine_try_cflags_saved=$CFLAGS
10853 ac_wine_try_cflags_saved_cc=$CC
10854 ac_wine_try_cflags_saved_exeext=$ac_exeext
10855 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
10856 CC="$CROSSCC"
10857 ac_exeext=".exe"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 int __cdecl mainCRTStartup(void) { return 0; }
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"
10863 then :
10864 ac_cv_crosscflags__Wempty_body=yes
10865 else $as_nop
10866 ac_cv_crosscflags__Wempty_body=no
10868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10869 conftest$ac_exeext conftest.$ac_ext
10870 CFLAGS=$ac_wine_try_cflags_saved
10871 CC=$ac_wine_try_cflags_saved_cc
10872 ac_exeext=$ac_wine_try_cflags_saved_exeext
10874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
10875 printf "%s\n" "$ac_cv_crosscflags__Wempty_body" >&6; }
10876 if test "x$ac_cv_crosscflags__Wempty_body" = xyes
10877 then :
10878 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
10881 printf %s "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
10882 if test ${ac_cv_crosscflags__Wignored_qualifiers+y}
10883 then :
10884 printf %s "(cached) " >&6
10885 else $as_nop
10886 ac_wine_try_cflags_saved=$CFLAGS
10887 ac_wine_try_cflags_saved_cc=$CC
10888 ac_wine_try_cflags_saved_exeext=$ac_exeext
10889 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
10890 CC="$CROSSCC"
10891 ac_exeext=".exe"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10893 /* end confdefs.h. */
10894 int __cdecl mainCRTStartup(void) { return 0; }
10895 _ACEOF
10896 if ac_fn_c_try_link "$LINENO"
10897 then :
10898 ac_cv_crosscflags__Wignored_qualifiers=yes
10899 else $as_nop
10900 ac_cv_crosscflags__Wignored_qualifiers=no
10902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10903 conftest$ac_exeext conftest.$ac_ext
10904 CFLAGS=$ac_wine_try_cflags_saved
10905 CC=$ac_wine_try_cflags_saved_cc
10906 ac_exeext=$ac_wine_try_cflags_saved_exeext
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10909 printf "%s\n" "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10910 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes
10911 then :
10912 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10915 printf %s "checking whether the cross-compiler supports -Winit-self... " >&6; }
10916 if test ${ac_cv_crosscflags__Winit_self+y}
10917 then :
10918 printf %s "(cached) " >&6
10919 else $as_nop
10920 ac_wine_try_cflags_saved=$CFLAGS
10921 ac_wine_try_cflags_saved_cc=$CC
10922 ac_wine_try_cflags_saved_exeext=$ac_exeext
10923 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10924 CC="$CROSSCC"
10925 ac_exeext=".exe"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 int __cdecl mainCRTStartup(void) { return 0; }
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"
10931 then :
10932 ac_cv_crosscflags__Winit_self=yes
10933 else $as_nop
10934 ac_cv_crosscflags__Winit_self=no
10936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10937 conftest$ac_exeext conftest.$ac_ext
10938 CFLAGS=$ac_wine_try_cflags_saved
10939 CC=$ac_wine_try_cflags_saved_cc
10940 ac_exeext=$ac_wine_try_cflags_saved_exeext
10942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10943 printf "%s\n" "$ac_cv_crosscflags__Winit_self" >&6; }
10944 if test "x$ac_cv_crosscflags__Winit_self" = xyes
10945 then :
10946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10949 printf %s "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10950 if test ${ac_cv_crosscflags__Wpacked_not_aligned+y}
10951 then :
10952 printf %s "(cached) " >&6
10953 else $as_nop
10954 ac_wine_try_cflags_saved=$CFLAGS
10955 ac_wine_try_cflags_saved_cc=$CC
10956 ac_wine_try_cflags_saved_exeext=$ac_exeext
10957 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10958 CC="$CROSSCC"
10959 ac_exeext=".exe"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962 int __cdecl mainCRTStartup(void) { return 0; }
10963 _ACEOF
10964 if ac_fn_c_try_link "$LINENO"
10965 then :
10966 ac_cv_crosscflags__Wpacked_not_aligned=yes
10967 else $as_nop
10968 ac_cv_crosscflags__Wpacked_not_aligned=no
10970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10971 conftest$ac_exeext conftest.$ac_ext
10972 CFLAGS=$ac_wine_try_cflags_saved
10973 CC=$ac_wine_try_cflags_saved_cc
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10977 printf "%s\n" "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10978 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes
10979 then :
10980 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10983 printf %s "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10984 if test ${ac_cv_crosscflags__Wpragma_pack+y}
10985 then :
10986 printf %s "(cached) " >&6
10987 else $as_nop
10988 ac_wine_try_cflags_saved=$CFLAGS
10989 ac_wine_try_cflags_saved_cc=$CC
10990 ac_wine_try_cflags_saved_exeext=$ac_exeext
10991 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10992 CC="$CROSSCC"
10993 ac_exeext=".exe"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 ac_cv_crosscflags__Wpragma_pack=yes
11001 else $as_nop
11002 ac_cv_crosscflags__Wpragma_pack=no
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 CC=$ac_wine_try_cflags_saved_cc
11008 ac_exeext=$ac_wine_try_cflags_saved_exeext
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
11011 printf "%s\n" "$ac_cv_crosscflags__Wpragma_pack" >&6; }
11012 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes
11013 then :
11014 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
11017 printf %s "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
11018 if test ${ac_cv_crosscflags__Wshift_overflow_2+y}
11019 then :
11020 printf %s "(cached) " >&6
11021 else $as_nop
11022 ac_wine_try_cflags_saved=$CFLAGS
11023 ac_wine_try_cflags_saved_cc=$CC
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11026 CC="$CROSSCC"
11027 ac_exeext=".exe"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 int __cdecl mainCRTStartup(void) { return 0; }
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"
11033 then :
11034 ac_cv_crosscflags__Wshift_overflow_2=yes
11035 else $as_nop
11036 ac_cv_crosscflags__Wshift_overflow_2=no
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 CC=$ac_wine_try_cflags_saved_cc
11042 ac_exeext=$ac_wine_try_cflags_saved_exeext
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
11045 printf "%s\n" "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
11046 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes
11047 then :
11048 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
11050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
11051 printf %s "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
11052 if test ${ac_cv_crosscflags__Wstrict_prototypes+y}
11053 then :
11054 printf %s "(cached) " >&6
11055 else $as_nop
11056 ac_wine_try_cflags_saved=$CFLAGS
11057 ac_wine_try_cflags_saved_cc=$CC
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11060 CC="$CROSSCC"
11061 ac_exeext=".exe"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11064 int __cdecl mainCRTStartup(void) { return 0; }
11065 _ACEOF
11066 if ac_fn_c_try_link "$LINENO"
11067 then :
11068 ac_cv_crosscflags__Wstrict_prototypes=yes
11069 else $as_nop
11070 ac_cv_crosscflags__Wstrict_prototypes=no
11072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11073 conftest$ac_exeext conftest.$ac_ext
11074 CFLAGS=$ac_wine_try_cflags_saved
11075 CC=$ac_wine_try_cflags_saved_cc
11076 ac_exeext=$ac_wine_try_cflags_saved_exeext
11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
11079 printf "%s\n" "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
11080 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes
11081 then :
11082 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
11085 printf %s "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
11086 if test ${ac_cv_crosscflags__Wtype_limits+y}
11087 then :
11088 printf %s "(cached) " >&6
11089 else $as_nop
11090 ac_wine_try_cflags_saved=$CFLAGS
11091 ac_wine_try_cflags_saved_cc=$CC
11092 ac_wine_try_cflags_saved_exeext=$ac_exeext
11093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11094 CC="$CROSSCC"
11095 ac_exeext=".exe"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11098 int __cdecl mainCRTStartup(void) { return 0; }
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"
11101 then :
11102 ac_cv_crosscflags__Wtype_limits=yes
11103 else $as_nop
11104 ac_cv_crosscflags__Wtype_limits=no
11106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11107 conftest$ac_exeext conftest.$ac_ext
11108 CFLAGS=$ac_wine_try_cflags_saved
11109 CC=$ac_wine_try_cflags_saved_cc
11110 ac_exeext=$ac_wine_try_cflags_saved_exeext
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
11113 printf "%s\n" "$ac_cv_crosscflags__Wtype_limits" >&6; }
11114 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes
11115 then :
11116 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
11119 printf %s "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
11120 if test ${ac_cv_crosscflags__Wunused_but_set_parameter+y}
11121 then :
11122 printf %s "(cached) " >&6
11123 else $as_nop
11124 ac_wine_try_cflags_saved=$CFLAGS
11125 ac_wine_try_cflags_saved_cc=$CC
11126 ac_wine_try_cflags_saved_exeext=$ac_exeext
11127 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11128 CC="$CROSSCC"
11129 ac_exeext=".exe"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11132 int __cdecl mainCRTStartup(void) { return 0; }
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"
11135 then :
11136 ac_cv_crosscflags__Wunused_but_set_parameter=yes
11137 else $as_nop
11138 ac_cv_crosscflags__Wunused_but_set_parameter=no
11140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11141 conftest$ac_exeext conftest.$ac_ext
11142 CFLAGS=$ac_wine_try_cflags_saved
11143 CC=$ac_wine_try_cflags_saved_cc
11144 ac_exeext=$ac_wine_try_cflags_saved_exeext
11146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
11147 printf "%s\n" "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
11148 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes
11149 then :
11150 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
11152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
11153 printf %s "checking whether the cross-compiler supports -Wvla... " >&6; }
11154 if test ${ac_cv_crosscflags__Wvla+y}
11155 then :
11156 printf %s "(cached) " >&6
11157 else $as_nop
11158 ac_wine_try_cflags_saved=$CFLAGS
11159 ac_wine_try_cflags_saved_cc=$CC
11160 ac_wine_try_cflags_saved_exeext=$ac_exeext
11161 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
11162 CC="$CROSSCC"
11163 ac_exeext=".exe"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11166 int __cdecl mainCRTStartup(void) { return 0; }
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"
11169 then :
11170 ac_cv_crosscflags__Wvla=yes
11171 else $as_nop
11172 ac_cv_crosscflags__Wvla=no
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 CC=$ac_wine_try_cflags_saved_cc
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
11181 printf "%s\n" "$ac_cv_crosscflags__Wvla" >&6; }
11182 if test "x$ac_cv_crosscflags__Wvla" = xyes
11183 then :
11184 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
11186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
11187 printf %s "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
11188 if test ${ac_cv_crosscflags__Wwrite_strings+y}
11189 then :
11190 printf %s "(cached) " >&6
11191 else $as_nop
11192 ac_wine_try_cflags_saved=$CFLAGS
11193 ac_wine_try_cflags_saved_cc=$CC
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11196 CC="$CROSSCC"
11197 ac_exeext=".exe"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 int __cdecl mainCRTStartup(void) { return 0; }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"
11203 then :
11204 ac_cv_crosscflags__Wwrite_strings=yes
11205 else $as_nop
11206 ac_cv_crosscflags__Wwrite_strings=no
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 CC=$ac_wine_try_cflags_saved_cc
11212 ac_exeext=$ac_wine_try_cflags_saved_exeext
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
11215 printf "%s\n" "$ac_cv_crosscflags__Wwrite_strings" >&6; }
11216 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes
11217 then :
11218 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
11221 printf %s "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
11222 if test ${ac_cv_crosscflags__Wpointer_arith+y}
11223 then :
11224 printf %s "(cached) " >&6
11225 else $as_nop
11226 ac_wine_try_cflags_saved=$CFLAGS
11227 ac_wine_try_cflags_saved_cc=$CC
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11230 CC="$CROSSCC"
11231 ac_exeext=".exe"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11234 int __cdecl mainCRTStartup(void) { return 0; }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"
11237 then :
11238 ac_cv_crosscflags__Wpointer_arith=yes
11239 else $as_nop
11240 ac_cv_crosscflags__Wpointer_arith=no
11242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11243 conftest$ac_exeext conftest.$ac_ext
11244 CFLAGS=$ac_wine_try_cflags_saved
11245 CC=$ac_wine_try_cflags_saved_cc
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
11249 printf "%s\n" "$ac_cv_crosscflags__Wpointer_arith" >&6; }
11250 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes
11251 then :
11252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
11255 printf %s "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
11256 if test ${ac_cv_crosscflags__Wlogical_op+y}
11257 then :
11258 printf %s "(cached) " >&6
11259 else $as_nop
11260 ac_wine_try_cflags_saved=$CFLAGS
11261 ac_wine_try_cflags_saved_cc=$CC
11262 ac_wine_try_cflags_saved_exeext=$ac_exeext
11263 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11264 CC="$CROSSCC"
11265 ac_exeext=".exe"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 int __cdecl mainCRTStartup(void) { return 0; }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"
11271 then :
11272 ac_cv_crosscflags__Wlogical_op=yes
11273 else $as_nop
11274 ac_cv_crosscflags__Wlogical_op=no
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 CC=$ac_wine_try_cflags_saved_cc
11280 ac_exeext=$ac_wine_try_cflags_saved_exeext
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
11283 printf "%s\n" "$ac_cv_crosscflags__Wlogical_op" >&6; }
11284 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes
11285 then :
11286 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
11288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
11289 printf %s "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
11290 if test ${ac_cv_crosscflags__Wabsolute_value+y}
11291 then :
11292 printf %s "(cached) " >&6
11293 else $as_nop
11294 ac_wine_try_cflags_saved=$CFLAGS
11295 ac_wine_try_cflags_saved_cc=$CC
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11298 CC="$CROSSCC"
11299 ac_exeext=".exe"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11302 int __cdecl mainCRTStartup(void) { return 0; }
11303 _ACEOF
11304 if ac_fn_c_try_link "$LINENO"
11305 then :
11306 ac_cv_crosscflags__Wabsolute_value=yes
11307 else $as_nop
11308 ac_cv_crosscflags__Wabsolute_value=no
11310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11311 conftest$ac_exeext conftest.$ac_ext
11312 CFLAGS=$ac_wine_try_cflags_saved
11313 CC=$ac_wine_try_cflags_saved_cc
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
11317 printf "%s\n" "$ac_cv_crosscflags__Wabsolute_value" >&6; }
11318 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes
11319 then :
11320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
11323 case $host_cpu in
11324 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
11325 printf %s "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
11326 if test ${ac_cv_crosscflags__fno_omit_frame_pointer+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_cc=$CC
11332 ac_wine_try_cflags_saved_exeext=$ac_exeext
11333 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11334 CC="$CROSSCC"
11335 ac_exeext=".exe"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11338 int __cdecl mainCRTStartup(void) { return 0; }
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"
11341 then :
11342 ac_cv_crosscflags__fno_omit_frame_pointer=yes
11343 else $as_nop
11344 ac_cv_crosscflags__fno_omit_frame_pointer=no
11346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11347 conftest$ac_exeext conftest.$ac_ext
11348 CFLAGS=$ac_wine_try_cflags_saved
11349 CC=$ac_wine_try_cflags_saved_cc
11350 ac_exeext=$ac_wine_try_cflags_saved_exeext
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
11353 printf "%s\n" "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
11354 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes
11355 then :
11356 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
11357 fi ;;
11358 x86_64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11359 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11360 if test ${ac_cv_crosscflags__Wno_format+y}
11361 then :
11362 printf %s "(cached) " >&6
11363 else $as_nop
11364 ac_wine_try_cflags_saved=$CFLAGS
11365 ac_wine_try_cflags_saved_cc=$CC
11366 ac_wine_try_cflags_saved_exeext=$ac_exeext
11367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11368 CC="$CROSSCC"
11369 ac_exeext=".exe"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372 int __cdecl mainCRTStartup(void) { return 0; }
11373 _ACEOF
11374 if ac_fn_c_try_link "$LINENO"
11375 then :
11376 ac_cv_crosscflags__Wno_format=yes
11377 else $as_nop
11378 ac_cv_crosscflags__Wno_format=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11381 conftest$ac_exeext conftest.$ac_ext
11382 CFLAGS=$ac_wine_try_cflags_saved
11383 CC=$ac_wine_try_cflags_saved_cc
11384 ac_exeext=$ac_wine_try_cflags_saved_exeext
11386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11387 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11388 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11389 then :
11390 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
11393 printf %s "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
11394 if test ${ac_cv_crosscflags__Wformat_overflow+y}
11395 then :
11396 printf %s "(cached) " >&6
11397 else $as_nop
11398 ac_wine_try_cflags_saved=$CFLAGS
11399 ac_wine_try_cflags_saved_cc=$CC
11400 ac_wine_try_cflags_saved_exeext=$ac_exeext
11401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11402 CC="$CROSSCC"
11403 ac_exeext=".exe"
11404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 int __cdecl mainCRTStartup(void) { return 0; }
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"
11409 then :
11410 ac_cv_crosscflags__Wformat_overflow=yes
11411 else $as_nop
11412 ac_cv_crosscflags__Wformat_overflow=no
11414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11415 conftest$ac_exeext conftest.$ac_ext
11416 CFLAGS=$ac_wine_try_cflags_saved
11417 CC=$ac_wine_try_cflags_saved_cc
11418 ac_exeext=$ac_wine_try_cflags_saved_exeext
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
11421 printf "%s\n" "$ac_cv_crosscflags__Wformat_overflow" >&6; }
11422 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes
11423 then :
11424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
11426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
11427 printf %s "checking whether the cross-compiler supports -Wnonnull... " >&6; }
11428 if test ${ac_cv_crosscflags__Wnonnull+y}
11429 then :
11430 printf %s "(cached) " >&6
11431 else $as_nop
11432 ac_wine_try_cflags_saved=$CFLAGS
11433 ac_wine_try_cflags_saved_cc=$CC
11434 ac_wine_try_cflags_saved_exeext=$ac_exeext
11435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11436 CC="$CROSSCC"
11437 ac_exeext=".exe"
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440 int __cdecl mainCRTStartup(void) { return 0; }
11441 _ACEOF
11442 if ac_fn_c_try_link "$LINENO"
11443 then :
11444 ac_cv_crosscflags__Wnonnull=yes
11445 else $as_nop
11446 ac_cv_crosscflags__Wnonnull=no
11448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11449 conftest$ac_exeext conftest.$ac_ext
11450 CFLAGS=$ac_wine_try_cflags_saved
11451 CC=$ac_wine_try_cflags_saved_cc
11452 ac_exeext=$ac_wine_try_cflags_saved_exeext
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
11455 printf "%s\n" "$ac_cv_crosscflags__Wnonnull" >&6; }
11456 if test "x$ac_cv_crosscflags__Wnonnull" = xyes
11457 then :
11458 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
11460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
11461 printf %s "checking whether the cross-compiler supports -mcx16... " >&6; }
11462 if test ${ac_cv_crosscflags__mcx16+y}
11463 then :
11464 printf %s "(cached) " >&6
11465 else $as_nop
11466 ac_wine_try_cflags_saved=$CFLAGS
11467 ac_wine_try_cflags_saved_cc=$CC
11468 ac_wine_try_cflags_saved_exeext=$ac_exeext
11469 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
11470 CC="$CROSSCC"
11471 ac_exeext=".exe"
11472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11473 /* end confdefs.h. */
11474 int __cdecl mainCRTStartup(void) { return 0; }
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"
11477 then :
11478 ac_cv_crosscflags__mcx16=yes
11479 else $as_nop
11480 ac_cv_crosscflags__mcx16=no
11482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11483 conftest$ac_exeext conftest.$ac_ext
11484 CFLAGS=$ac_wine_try_cflags_saved
11485 CC=$ac_wine_try_cflags_saved_cc
11486 ac_exeext=$ac_wine_try_cflags_saved_exeext
11488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
11489 printf "%s\n" "$ac_cv_crosscflags__mcx16" >&6; }
11490 if test "x$ac_cv_crosscflags__mcx16" = xyes
11491 then :
11492 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
11493 fi ;;
11494 aarch64) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
11495 printf %s "checking whether the cross-compiler supports -Wno-format... " >&6; }
11496 if test ${ac_cv_crosscflags__Wno_format+y}
11497 then :
11498 printf %s "(cached) " >&6
11499 else $as_nop
11500 ac_wine_try_cflags_saved=$CFLAGS
11501 ac_wine_try_cflags_saved_cc=$CC
11502 ac_wine_try_cflags_saved_exeext=$ac_exeext
11503 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11504 CC="$CROSSCC"
11505 ac_exeext=".exe"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11508 int __cdecl mainCRTStartup(void) { return 0; }
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"
11511 then :
11512 ac_cv_crosscflags__Wno_format=yes
11513 else $as_nop
11514 ac_cv_crosscflags__Wno_format=no
11516 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11517 conftest$ac_exeext conftest.$ac_ext
11518 CFLAGS=$ac_wine_try_cflags_saved
11519 CC=$ac_wine_try_cflags_saved_cc
11520 ac_exeext=$ac_wine_try_cflags_saved_exeext
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
11523 printf "%s\n" "$ac_cv_crosscflags__Wno_format" >&6; }
11524 if test "x$ac_cv_crosscflags__Wno_format" = xyes
11525 then :
11526 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
11527 fi ;;
11528 esac
11531 if test -z "$CROSSDEBUG"
11532 then
11533 for ac_flag in $CROSSCFLAGS; do
11534 case $ac_flag in
11535 -gdwarf*) CROSSDEBUG=dwarf ;;
11536 -gcodeview) CROSSDEBUG=pdb ;;
11537 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
11538 esac
11539 done
11542 ac_debug_format_seen=""
11543 for ac_flag in $CROSSCFLAGS; do
11544 case $ac_flag in
11545 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11546 esac
11547 done
11548 if test "x$ac_debug_format_seen" = x
11549 then
11550 case $CROSSDEBUG in
11551 *dwarf) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-4" >&5
11552 printf %s "checking whether the cross-compiler supports -gdwarf-4... " >&6; }
11553 if test ${ac_cv_crosscflags__gdwarf_4+y}
11554 then :
11555 printf %s "(cached) " >&6
11556 else $as_nop
11557 ac_wine_try_cflags_saved=$CFLAGS
11558 ac_wine_try_cflags_saved_cc=$CC
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11561 CC="$CROSSCC"
11562 ac_exeext=".exe"
11563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11565 int __cdecl mainCRTStartup(void) { return 0; }
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"
11568 then :
11569 ac_cv_crosscflags__gdwarf_4=yes
11570 else $as_nop
11571 ac_cv_crosscflags__gdwarf_4=no
11573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11574 conftest$ac_exeext conftest.$ac_ext
11575 CFLAGS=$ac_wine_try_cflags_saved
11576 CC=$ac_wine_try_cflags_saved_cc
11577 ac_exeext=$ac_wine_try_cflags_saved_exeext
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_4" >&5
11580 printf "%s\n" "$ac_cv_crosscflags__gdwarf_4" >&6; }
11581 if test "x$ac_cv_crosscflags__gdwarf_4" = xyes
11582 then :
11583 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-4"
11584 fi ;;
11585 pdb) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
11586 printf %s "checking whether the cross-compiler supports -gcodeview... " >&6; }
11587 if test ${ac_cv_crosscflags__gcodeview+y}
11588 then :
11589 printf %s "(cached) " >&6
11590 else $as_nop
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_cc=$CC
11593 ac_wine_try_cflags_saved_exeext=$ac_exeext
11594 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11595 CC="$CROSSCC"
11596 ac_exeext=".exe"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11599 int __cdecl mainCRTStartup(void) { return 0; }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"
11602 then :
11603 ac_cv_crosscflags__gcodeview=yes
11604 else $as_nop
11605 ac_cv_crosscflags__gcodeview=no
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11608 conftest$ac_exeext conftest.$ac_ext
11609 CFLAGS=$ac_wine_try_cflags_saved
11610 CC=$ac_wine_try_cflags_saved_cc
11611 ac_exeext=$ac_wine_try_cflags_saved_exeext
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
11614 printf "%s\n" "$ac_cv_crosscflags__gcodeview" >&6; }
11615 if test "x$ac_cv_crosscflags__gcodeview" = xyes
11616 then :
11617 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
11618 fi ;;
11619 esac
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
11623 printf %s "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
11624 if test ${ac_cv_crosscflags__fexcess_precision_standard+y}
11625 then :
11626 printf %s "(cached) " >&6
11627 else $as_nop
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_cc=$CC
11630 ac_wine_try_cflags_saved_exeext=$ac_exeext
11631 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
11632 CC="$CROSSCC"
11633 ac_exeext=".exe"
11634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11635 /* end confdefs.h. */
11636 int __cdecl mainCRTStartup(void) { return 0; }
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"
11639 then :
11640 ac_cv_crosscflags__fexcess_precision_standard=yes
11641 else $as_nop
11642 ac_cv_crosscflags__fexcess_precision_standard=no
11644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11645 conftest$ac_exeext conftest.$ac_ext
11646 CFLAGS=$ac_wine_try_cflags_saved
11647 CC=$ac_wine_try_cflags_saved_cc
11648 ac_exeext=$ac_wine_try_cflags_saved_exeext
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
11651 printf "%s\n" "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
11652 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes
11653 then :
11654 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
11658 if test "x$enable_werror" = "xyes"
11659 then
11660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
11661 printf %s "checking whether the cross-compiler supports -Werror... " >&6; }
11662 if test ${ac_cv_crosscflags__Werror+y}
11663 then :
11664 printf %s "(cached) " >&6
11665 else $as_nop
11666 ac_wine_try_cflags_saved=$CFLAGS
11667 ac_wine_try_cflags_saved_cc=$CC
11668 ac_wine_try_cflags_saved_exeext=$ac_exeext
11669 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
11670 CC="$CROSSCC"
11671 ac_exeext=".exe"
11672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 /* end confdefs.h. */
11674 int __cdecl mainCRTStartup(void) { return 0; }
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"
11677 then :
11678 ac_cv_crosscflags__Werror=yes
11679 else $as_nop
11680 ac_cv_crosscflags__Werror=no
11682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11683 conftest$ac_exeext conftest.$ac_ext
11684 CFLAGS=$ac_wine_try_cflags_saved
11685 CC=$ac_wine_try_cflags_saved_cc
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
11689 printf "%s\n" "$ac_cv_crosscflags__Werror" >&6; }
11690 if test "x$ac_cv_crosscflags__Werror" = xyes
11691 then :
11692 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
11695 if test "x$enable_build_id" = "xyes"
11696 then
11697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
11698 printf %s "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
11699 if test ${ac_cv_crosscflags__Wl___build_id+y}
11700 then :
11701 printf %s "(cached) " >&6
11702 else $as_nop
11703 ac_wine_try_cflags_saved=$CFLAGS
11704 ac_wine_try_cflags_saved_cc=$CC
11705 ac_wine_try_cflags_saved_exeext=$ac_exeext
11706 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11707 CC="$CROSSCC"
11708 ac_exeext=".exe"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 int __cdecl mainCRTStartup(void) { return 0; }
11712 _ACEOF
11713 if ac_fn_c_try_link "$LINENO"
11714 then :
11715 ac_cv_crosscflags__Wl___build_id=yes
11716 else $as_nop
11717 ac_cv_crosscflags__Wl___build_id=no
11719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11720 conftest$ac_exeext conftest.$ac_ext
11721 CFLAGS=$ac_wine_try_cflags_saved
11722 CC=$ac_wine_try_cflags_saved_cc
11723 ac_exeext=$ac_wine_try_cflags_saved_exeext
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
11726 printf "%s\n" "$ac_cv_crosscflags__Wl___build_id" >&6; }
11727 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes
11728 then :
11729 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
11730 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
11734 CFLAGS=$saved_CFLAGS
11735 LDFLAGS=$saved_LDFLAGS
11736 CC="$ac_save_CC"
11739 if test "x$CROSSTARGET" = "x"
11740 then :
11741 case "x$with_mingw" in
11742 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11743 xno) ;;
11744 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11745 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11746 esac
11750 case $host_cpu in
11751 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 ;;
11752 esac
11755 if test "x$with_system_dllpath" != "x" -a "$CROSSCC" != "false"
11756 then
11757 case "$host_cpu" in
11758 i[3456789]86*)
11759 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11761 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11762 esac
11763 for ac_prog in $ac_prefix_list
11765 # Extract the first word of "$ac_prog", so it can be a program name with args.
11766 set dummy $ac_prog; ac_word=$2
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11768 printf %s "checking for $ac_word... " >&6; }
11769 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11770 then :
11771 printf %s "(cached) " >&6
11772 else $as_nop
11773 if test -n "$MINGW_PKG_CONFIG"; then
11774 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11775 else
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $PATH
11779 IFS=$as_save_IFS
11780 case $as_dir in #(((
11781 '') as_dir=./ ;;
11782 */) ;;
11783 *) as_dir=$as_dir/ ;;
11784 esac
11785 for ac_exec_ext in '' $ac_executable_extensions; do
11786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11787 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11789 break 2
11791 done
11792 done
11793 IFS=$as_save_IFS
11797 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11798 if test -n "$MINGW_PKG_CONFIG"; then
11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11800 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11801 else
11802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11803 printf "%s\n" "no" >&6; }
11807 test -n "$MINGW_PKG_CONFIG" && break
11808 done
11809 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11811 if ${FAUDIO_PE_CFLAGS:+false} :
11812 then :
11813 if test ${MINGW_PKG_CONFIG+y}
11814 then :
11815 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11818 if ${FAUDIO_PE_LIBS:+false} :
11819 then :
11820 if test ${MINGW_PKG_CONFIG+y}
11821 then :
11822 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11825 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11826 ac_save_CPPFLAGS=$CPPFLAGS
11827 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11829 printf %s "checking for MinGW FAudio.h... " >&6; }
11830 if test ${ac_cv_mingw_header_FAudio_h+y}
11831 then :
11832 printf %s "(cached) " >&6
11833 else $as_nop
11834 ac_wine_check_headers_saved_cc=$CC
11835 ac_wine_check_headers_saved_exeext=$ac_exeext
11836 CC="$CROSSCC"
11837 ac_exeext=".exe"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 #include <FAudio.h>
11843 main (void)
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_compile "$LINENO"
11851 then :
11852 ac_cv_mingw_header_FAudio_h=yes
11853 else $as_nop
11854 ac_cv_mingw_header_FAudio_h=no
11856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11857 CC=$ac_wine_check_headers_saved_cc
11858 ac_exeext=$ac_wine_check_headers_saved_exeext
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11861 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11862 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11863 then :
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11865 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11866 if test ${ac_cv_mingw_lib_FAudio+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 ac_wine_check_headers_saved_cc=$CC
11871 ac_wine_check_headers_saved_exeext=$ac_exeext
11872 ac_wine_check_headers_saved_libs=$LIBS
11873 CC="$CROSSCC"
11874 ac_exeext=".exe"
11875 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h. */
11879 /* Override any GCC internal prototype to avoid an error.
11880 Use char because int might match the return type of a GCC
11881 builtin and then its argument prototype would still apply. */
11882 char FAudio_CommitOperationSet ();
11884 main (void)
11886 return FAudio_CommitOperationSet ();
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_link "$LINENO"
11892 then :
11893 ac_cv_mingw_lib_FAudio=yes
11894 else $as_nop
11895 ac_cv_mingw_lib_FAudio=no
11897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11898 conftest$ac_exeext conftest.$ac_ext
11899 CC=$ac_wine_check_headers_saved_cc
11900 ac_exeext=$ac_wine_check_headers_saved_exeext
11901 LIBS=$ac_wine_check_headers_saved_libs
11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11904 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11905 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11906 then :
11908 else $as_nop
11909 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11911 else $as_nop
11912 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11914 CPPFLAGS=$ac_save_CPPFLAGS
11916 if test "x$FAUDIO_PE_LIBS" = "x"
11917 then
11918 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11921 if ${JPEG_PE_CFLAGS:+false} :
11922 then :
11923 if test ${MINGW_PKG_CONFIG+y}
11924 then :
11925 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11928 if ${JPEG_PE_LIBS:+false} :
11929 then :
11930 if test ${MINGW_PKG_CONFIG+y}
11931 then :
11932 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11936 ac_save_CPPFLAGS=$CPPFLAGS
11937 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11939 printf %s "checking for MinGW jpeglib.h... " >&6; }
11940 if test ${ac_cv_mingw_header_jpeglib_h+y}
11941 then :
11942 printf %s "(cached) " >&6
11943 else $as_nop
11944 ac_wine_check_headers_saved_cc=$CC
11945 ac_wine_check_headers_saved_exeext=$ac_exeext
11946 CC="$CROSSCC"
11947 ac_exeext=".exe"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #include <stddef.h>
11951 #include <stdio.h>
11952 #include <jpeglib.h>
11954 main (void)
11958 return 0;
11960 _ACEOF
11961 if ac_fn_c_try_compile "$LINENO"
11962 then :
11963 ac_cv_mingw_header_jpeglib_h=yes
11964 else $as_nop
11965 ac_cv_mingw_header_jpeglib_h=no
11967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11968 CC=$ac_wine_check_headers_saved_cc
11969 ac_exeext=$ac_wine_check_headers_saved_exeext
11971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11972 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11973 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11974 then :
11975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11976 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11977 if test ${ac_cv_mingw_lib_jpeg+y}
11978 then :
11979 printf %s "(cached) " >&6
11980 else $as_nop
11981 ac_wine_check_headers_saved_cc=$CC
11982 ac_wine_check_headers_saved_exeext=$ac_exeext
11983 ac_wine_check_headers_saved_libs=$LIBS
11984 CC="$CROSSCC"
11985 ac_exeext=".exe"
11986 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 char jpeg_start_decompress ();
11995 main (void)
11997 return jpeg_start_decompress ();
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_link "$LINENO"
12003 then :
12004 ac_cv_mingw_lib_jpeg=yes
12005 else $as_nop
12006 ac_cv_mingw_lib_jpeg=no
12008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12009 conftest$ac_exeext conftest.$ac_ext
12010 CC=$ac_wine_check_headers_saved_cc
12011 ac_exeext=$ac_wine_check_headers_saved_exeext
12012 LIBS=$ac_wine_check_headers_saved_libs
12014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12015 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12016 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12017 then :
12019 else $as_nop
12020 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12022 else $as_nop
12023 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12025 CPPFLAGS=$ac_save_CPPFLAGS
12027 if test "x$JPEG_PE_LIBS" = "x"
12028 then
12029 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12032 if ${LCMS2_PE_CFLAGS:+false} :
12033 then :
12034 if test ${MINGW_PKG_CONFIG+y}
12035 then :
12036 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12039 if ${LCMS2_PE_LIBS:+false} :
12040 then :
12041 if test ${MINGW_PKG_CONFIG+y}
12042 then :
12043 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12046 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12047 ac_save_CPPFLAGS=$CPPFLAGS
12048 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12050 printf %s "checking for MinGW lcms2.h... " >&6; }
12051 if test ${ac_cv_mingw_header_lcms2_h+y}
12052 then :
12053 printf %s "(cached) " >&6
12054 else $as_nop
12055 ac_wine_check_headers_saved_cc=$CC
12056 ac_wine_check_headers_saved_exeext=$ac_exeext
12057 CC="$CROSSCC"
12058 ac_exeext=".exe"
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12062 #include <lcms2.h>
12064 main (void)
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_compile "$LINENO"
12072 then :
12073 ac_cv_mingw_header_lcms2_h=yes
12074 else $as_nop
12075 ac_cv_mingw_header_lcms2_h=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12078 CC=$ac_wine_check_headers_saved_cc
12079 ac_exeext=$ac_wine_check_headers_saved_exeext
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12082 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12083 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12084 then :
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12086 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12087 if test ${ac_cv_mingw_lib_lcms2+y}
12088 then :
12089 printf %s "(cached) " >&6
12090 else $as_nop
12091 ac_wine_check_headers_saved_cc=$CC
12092 ac_wine_check_headers_saved_exeext=$ac_exeext
12093 ac_wine_check_headers_saved_libs=$LIBS
12094 CC="$CROSSCC"
12095 ac_exeext=".exe"
12096 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 /* Override any GCC internal prototype to avoid an error.
12101 Use char because int might match the return type of a GCC
12102 builtin and then its argument prototype would still apply. */
12103 char cmsOpenProfileFromFile ();
12105 main (void)
12107 return cmsOpenProfileFromFile ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"
12113 then :
12114 ac_cv_mingw_lib_lcms2=yes
12115 else $as_nop
12116 ac_cv_mingw_lib_lcms2=no
12118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12119 conftest$ac_exeext conftest.$ac_ext
12120 CC=$ac_wine_check_headers_saved_cc
12121 ac_exeext=$ac_wine_check_headers_saved_exeext
12122 LIBS=$ac_wine_check_headers_saved_libs
12124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12125 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12126 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12127 then :
12129 else $as_nop
12130 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12132 else $as_nop
12133 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12135 CPPFLAGS=$ac_save_CPPFLAGS
12137 if test "x$LCMS2_PE_LIBS" = "x"
12138 then
12139 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12142 if ${MPG123_PE_CFLAGS:+false} :
12143 then :
12144 if test ${MINGW_PKG_CONFIG+y}
12145 then :
12146 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12149 if ${MPG123_PE_LIBS:+false} :
12150 then :
12151 if test ${MINGW_PKG_CONFIG+y}
12152 then :
12153 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12156 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12160 printf %s "checking for MinGW mpg123.h... " >&6; }
12161 if test ${ac_cv_mingw_header_mpg123_h+y}
12162 then :
12163 printf %s "(cached) " >&6
12164 else $as_nop
12165 ac_wine_check_headers_saved_cc=$CC
12166 ac_wine_check_headers_saved_exeext=$ac_exeext
12167 CC="$CROSSCC"
12168 ac_exeext=".exe"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 #include <mpg123.h>
12174 main (void)
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_compile "$LINENO"
12182 then :
12183 ac_cv_mingw_header_mpg123_h=yes
12184 else $as_nop
12185 ac_cv_mingw_header_mpg123_h=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12188 CC=$ac_wine_check_headers_saved_cc
12189 ac_exeext=$ac_wine_check_headers_saved_exeext
12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12192 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12193 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12194 then :
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12196 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12197 if test ${ac_cv_mingw_lib_mpg123+y}
12198 then :
12199 printf %s "(cached) " >&6
12200 else $as_nop
12201 ac_wine_check_headers_saved_cc=$CC
12202 ac_wine_check_headers_saved_exeext=$ac_exeext
12203 ac_wine_check_headers_saved_libs=$LIBS
12204 CC="$CROSSCC"
12205 ac_exeext=".exe"
12206 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12213 char mpg123_feed ();
12215 main (void)
12217 return mpg123_feed ();
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_link "$LINENO"
12223 then :
12224 ac_cv_mingw_lib_mpg123=yes
12225 else $as_nop
12226 ac_cv_mingw_lib_mpg123=no
12228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12229 conftest$ac_exeext conftest.$ac_ext
12230 CC=$ac_wine_check_headers_saved_cc
12231 ac_exeext=$ac_wine_check_headers_saved_exeext
12232 LIBS=$ac_wine_check_headers_saved_libs
12234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12235 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12236 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12237 then :
12239 else $as_nop
12240 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12242 else $as_nop
12243 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12245 CPPFLAGS=$ac_save_CPPFLAGS
12247 if test "x$MPG123_PE_LIBS" = "x"
12248 then
12249 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12252 if ${PNG_PE_CFLAGS:+false} :
12253 then :
12254 if test ${MINGW_PKG_CONFIG+y}
12255 then :
12256 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12259 if ${PNG_PE_LIBS:+false} :
12260 then :
12261 if test ${MINGW_PKG_CONFIG+y}
12262 then :
12263 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12267 ac_save_CPPFLAGS=$CPPFLAGS
12268 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12270 printf %s "checking for MinGW png.h... " >&6; }
12271 if test ${ac_cv_mingw_header_png_h+y}
12272 then :
12273 printf %s "(cached) " >&6
12274 else $as_nop
12275 ac_wine_check_headers_saved_cc=$CC
12276 ac_wine_check_headers_saved_exeext=$ac_exeext
12277 CC="$CROSSCC"
12278 ac_exeext=".exe"
12279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12280 /* end confdefs.h. */
12282 #include <png.h>
12284 main (void)
12288 return 0;
12290 _ACEOF
12291 if ac_fn_c_try_compile "$LINENO"
12292 then :
12293 ac_cv_mingw_header_png_h=yes
12294 else $as_nop
12295 ac_cv_mingw_header_png_h=no
12297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12298 CC=$ac_wine_check_headers_saved_cc
12299 ac_exeext=$ac_wine_check_headers_saved_exeext
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12302 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12303 if test "x$ac_cv_mingw_header_png_h" = xyes
12304 then :
12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12306 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12307 if test ${ac_cv_mingw_lib_png+y}
12308 then :
12309 printf %s "(cached) " >&6
12310 else $as_nop
12311 ac_wine_check_headers_saved_cc=$CC
12312 ac_wine_check_headers_saved_exeext=$ac_exeext
12313 ac_wine_check_headers_saved_libs=$LIBS
12314 CC="$CROSSCC"
12315 ac_exeext=".exe"
12316 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12323 char png_create_read_struct ();
12325 main (void)
12327 return png_create_read_struct ();
12329 return 0;
12331 _ACEOF
12332 if ac_fn_c_try_link "$LINENO"
12333 then :
12334 ac_cv_mingw_lib_png=yes
12335 else $as_nop
12336 ac_cv_mingw_lib_png=no
12338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12339 conftest$ac_exeext conftest.$ac_ext
12340 CC=$ac_wine_check_headers_saved_cc
12341 ac_exeext=$ac_wine_check_headers_saved_exeext
12342 LIBS=$ac_wine_check_headers_saved_libs
12344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12345 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12346 if test "x$ac_cv_mingw_lib_png" = xyes
12347 then :
12349 else $as_nop
12350 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12352 else $as_nop
12353 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12355 CPPFLAGS=$ac_save_CPPFLAGS
12357 if test "x$PNG_PE_LIBS" = "x"
12358 then
12359 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12362 if ${TIFF_PE_CFLAGS:+false} :
12363 then :
12364 if test ${MINGW_PKG_CONFIG+y}
12365 then :
12366 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12369 if ${TIFF_PE_LIBS:+false} :
12370 then :
12371 if test ${MINGW_PKG_CONFIG+y}
12372 then :
12373 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12377 ac_save_CPPFLAGS=$CPPFLAGS
12378 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12380 printf %s "checking for MinGW tiffio.h... " >&6; }
12381 if test ${ac_cv_mingw_header_tiffio_h+y}
12382 then :
12383 printf %s "(cached) " >&6
12384 else $as_nop
12385 ac_wine_check_headers_saved_cc=$CC
12386 ac_wine_check_headers_saved_exeext=$ac_exeext
12387 CC="$CROSSCC"
12388 ac_exeext=".exe"
12389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12392 #include <tiffio.h>
12394 main (void)
12398 return 0;
12400 _ACEOF
12401 if ac_fn_c_try_compile "$LINENO"
12402 then :
12403 ac_cv_mingw_header_tiffio_h=yes
12404 else $as_nop
12405 ac_cv_mingw_header_tiffio_h=no
12407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12408 CC=$ac_wine_check_headers_saved_cc
12409 ac_exeext=$ac_wine_check_headers_saved_exeext
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12412 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12413 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12414 then :
12415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12416 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12417 if test ${ac_cv_mingw_lib_tiff+y}
12418 then :
12419 printf %s "(cached) " >&6
12420 else $as_nop
12421 ac_wine_check_headers_saved_cc=$CC
12422 ac_wine_check_headers_saved_exeext=$ac_exeext
12423 ac_wine_check_headers_saved_libs=$LIBS
12424 CC="$CROSSCC"
12425 ac_exeext=".exe"
12426 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12428 /* end confdefs.h. */
12430 /* Override any GCC internal prototype to avoid an error.
12431 Use char because int might match the return type of a GCC
12432 builtin and then its argument prototype would still apply. */
12433 char TIFFClientOpen ();
12435 main (void)
12437 return TIFFClientOpen ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"
12443 then :
12444 ac_cv_mingw_lib_tiff=yes
12445 else $as_nop
12446 ac_cv_mingw_lib_tiff=no
12448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12449 conftest$ac_exeext conftest.$ac_ext
12450 CC=$ac_wine_check_headers_saved_cc
12451 ac_exeext=$ac_wine_check_headers_saved_exeext
12452 LIBS=$ac_wine_check_headers_saved_libs
12454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12455 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12456 if test "x$ac_cv_mingw_lib_tiff" = xyes
12457 then :
12459 else $as_nop
12460 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12462 else $as_nop
12463 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12465 CPPFLAGS=$ac_save_CPPFLAGS
12467 if test "x$TIFF_PE_LIBS" = "x"
12468 then
12469 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12472 if ${XML2_PE_CFLAGS:+false} :
12473 then :
12474 if test ${MINGW_PKG_CONFIG+y}
12475 then :
12476 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12479 if ${XML2_PE_LIBS:+false} :
12480 then :
12481 if test ${MINGW_PKG_CONFIG+y}
12482 then :
12483 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12486 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12487 ac_save_CPPFLAGS=$CPPFLAGS
12488 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12490 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12491 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12492 then :
12493 printf %s "(cached) " >&6
12494 else $as_nop
12495 ac_wine_check_headers_saved_cc=$CC
12496 ac_wine_check_headers_saved_exeext=$ac_exeext
12497 CC="$CROSSCC"
12498 ac_exeext=".exe"
12499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 #include <libxml/parser.h>
12504 main (void)
12508 return 0;
12510 _ACEOF
12511 if ac_fn_c_try_compile "$LINENO"
12512 then :
12513 ac_cv_mingw_header_libxml_parser_h=yes
12514 else $as_nop
12515 ac_cv_mingw_header_libxml_parser_h=no
12517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12518 CC=$ac_wine_check_headers_saved_cc
12519 ac_exeext=$ac_wine_check_headers_saved_exeext
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12522 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12523 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12524 then :
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12528 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12529 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12530 then :
12531 printf %s "(cached) " >&6
12532 else $as_nop
12533 ac_wine_check_headers_saved_cc=$CC
12534 ac_wine_check_headers_saved_exeext=$ac_exeext
12535 CC="$CROSSCC"
12536 ac_exeext=".exe"
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 #include <libxml/xmlsave.h>
12542 main (void)
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_compile "$LINENO"
12550 then :
12551 ac_cv_mingw_header_libxml_xmlsave_h=yes
12552 else $as_nop
12553 ac_cv_mingw_header_libxml_xmlsave_h=no
12555 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12556 CC=$ac_wine_check_headers_saved_cc
12557 ac_exeext=$ac_wine_check_headers_saved_exeext
12559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12560 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12561 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12562 then :
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12566 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12567 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12568 then :
12569 printf %s "(cached) " >&6
12570 else $as_nop
12571 ac_wine_check_headers_saved_cc=$CC
12572 ac_wine_check_headers_saved_exeext=$ac_exeext
12573 CC="$CROSSCC"
12574 ac_exeext=".exe"
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 #include <libxml/SAX2.h>
12580 main (void)
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_compile "$LINENO"
12588 then :
12589 ac_cv_mingw_header_libxml_SAX2_h=yes
12590 else $as_nop
12591 ac_cv_mingw_header_libxml_SAX2_h=no
12593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12594 CC=$ac_wine_check_headers_saved_cc
12595 ac_exeext=$ac_wine_check_headers_saved_exeext
12597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12598 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12599 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12600 then :
12603 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"
12604 then
12605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12606 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12607 if test ${ac_cv_mingw_lib_xml2+y}
12608 then :
12609 printf %s "(cached) " >&6
12610 else $as_nop
12611 ac_wine_check_headers_saved_cc=$CC
12612 ac_wine_check_headers_saved_exeext=$ac_exeext
12613 ac_wine_check_headers_saved_libs=$LIBS
12614 CC="$CROSSCC"
12615 ac_exeext=".exe"
12616 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 char xmlFirstElementChild ();
12625 main (void)
12627 return xmlFirstElementChild ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"
12633 then :
12634 ac_cv_mingw_lib_xml2=yes
12635 else $as_nop
12636 ac_cv_mingw_lib_xml2=no
12638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12639 conftest$ac_exeext conftest.$ac_ext
12640 CC=$ac_wine_check_headers_saved_cc
12641 ac_exeext=$ac_wine_check_headers_saved_exeext
12642 LIBS=$ac_wine_check_headers_saved_libs
12644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12645 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12646 if test "x$ac_cv_mingw_lib_xml2" = xyes
12647 then :
12649 else $as_nop
12650 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12652 else
12653 XML2_PE_CFLAGS=""
12654 XML2_PE_LIBS=""
12656 CPPFLAGS=$ac_save_CPPFLAGS
12658 if test "x$XML2_PE_LIBS" = "x"
12659 then
12660 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12663 if ${XSLT_PE_CFLAGS:+false} :
12664 then :
12665 if test ${MINGW_PKG_CONFIG+y}
12666 then :
12667 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12670 if ${XSLT_PE_LIBS:+false} :
12671 then :
12672 if test ${MINGW_PKG_CONFIG+y}
12673 then :
12674 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12677 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12678 ac_save_CPPFLAGS=$CPPFLAGS
12679 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12681 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12682 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12683 then :
12684 printf %s "(cached) " >&6
12685 else $as_nop
12686 ac_wine_check_headers_saved_cc=$CC
12687 ac_wine_check_headers_saved_exeext=$ac_exeext
12688 CC="$CROSSCC"
12689 ac_exeext=".exe"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 #include <libxslt/pattern.h>
12695 main (void)
12699 return 0;
12701 _ACEOF
12702 if ac_fn_c_try_compile "$LINENO"
12703 then :
12704 ac_cv_mingw_header_libxslt_pattern_h=yes
12705 else $as_nop
12706 ac_cv_mingw_header_libxslt_pattern_h=no
12708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12709 CC=$ac_wine_check_headers_saved_cc
12710 ac_exeext=$ac_wine_check_headers_saved_exeext
12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12713 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12714 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12715 then :
12718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12719 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12720 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12721 then :
12722 printf %s "(cached) " >&6
12723 else $as_nop
12724 ac_wine_check_headers_saved_cc=$CC
12725 ac_wine_check_headers_saved_exeext=$ac_exeext
12726 CC="$CROSSCC"
12727 ac_exeext=".exe"
12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12729 /* end confdefs.h. */
12731 #include <libxslt/transform.h>
12733 main (void)
12737 return 0;
12739 _ACEOF
12740 if ac_fn_c_try_compile "$LINENO"
12741 then :
12742 ac_cv_mingw_header_libxslt_transform_h=yes
12743 else $as_nop
12744 ac_cv_mingw_header_libxslt_transform_h=no
12746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12747 CC=$ac_wine_check_headers_saved_cc
12748 ac_exeext=$ac_wine_check_headers_saved_exeext
12750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12751 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12752 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12753 then :
12756 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12757 then
12758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12759 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12760 if test ${ac_cv_mingw_lib_xslt+y}
12761 then :
12762 printf %s "(cached) " >&6
12763 else $as_nop
12764 ac_wine_check_headers_saved_cc=$CC
12765 ac_wine_check_headers_saved_exeext=$ac_exeext
12766 ac_wine_check_headers_saved_libs=$LIBS
12767 CC="$CROSSCC"
12768 ac_exeext=".exe"
12769 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771 /* end confdefs.h. */
12773 /* Override any GCC internal prototype to avoid an error.
12774 Use char because int might match the return type of a GCC
12775 builtin and then its argument prototype would still apply. */
12776 char xsltCompilePattern ();
12778 main (void)
12780 return xsltCompilePattern ();
12782 return 0;
12784 _ACEOF
12785 if ac_fn_c_try_link "$LINENO"
12786 then :
12787 ac_cv_mingw_lib_xslt=yes
12788 else $as_nop
12789 ac_cv_mingw_lib_xslt=no
12791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12792 conftest$ac_exeext conftest.$ac_ext
12793 CC=$ac_wine_check_headers_saved_cc
12794 ac_exeext=$ac_wine_check_headers_saved_exeext
12795 LIBS=$ac_wine_check_headers_saved_libs
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12798 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12799 if test "x$ac_cv_mingw_lib_xslt" = xyes
12800 then :
12802 else $as_nop
12803 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12805 else
12806 XSLT_PE_CFLAGS=""
12807 XSLT_PE_LIBS=""
12809 CPPFLAGS=$ac_save_CPPFLAGS
12811 if test "x$XSLT_PE_LIBS" = "x"
12812 then
12813 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12816 if ${VKD3D_PE_CFLAGS:+false} :
12817 then :
12818 if test ${MINGW_PKG_CONFIG+y}
12819 then :
12820 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12823 if ${VKD3D_PE_LIBS:+false} :
12824 then :
12825 if test ${MINGW_PKG_CONFIG+y}
12826 then :
12827 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12830 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12831 ac_save_CPPFLAGS=$CPPFLAGS
12832 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12834 printf %s "checking for MinGW vkd3d.h... " >&6; }
12835 if test ${ac_cv_mingw_header_vkd3d_h+y}
12836 then :
12837 printf %s "(cached) " >&6
12838 else $as_nop
12839 ac_wine_check_headers_saved_cc=$CC
12840 ac_wine_check_headers_saved_exeext=$ac_exeext
12841 CC="$CROSSCC"
12842 ac_exeext=".exe"
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12846 #include <vkd3d.h>
12848 main (void)
12852 return 0;
12854 _ACEOF
12855 if ac_fn_c_try_compile "$LINENO"
12856 then :
12857 ac_cv_mingw_header_vkd3d_h=yes
12858 else $as_nop
12859 ac_cv_mingw_header_vkd3d_h=no
12861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12862 CC=$ac_wine_check_headers_saved_cc
12863 ac_exeext=$ac_wine_check_headers_saved_exeext
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12866 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12867 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12868 then :
12871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12872 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12873 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12874 then :
12875 printf %s "(cached) " >&6
12876 else $as_nop
12877 ac_wine_check_headers_saved_cc=$CC
12878 ac_wine_check_headers_saved_exeext=$ac_exeext
12879 CC="$CROSSCC"
12880 ac_exeext=".exe"
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 #include <vkd3d_shader.h>
12886 main (void)
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_compile "$LINENO"
12894 then :
12895 ac_cv_mingw_header_vkd3d_shader_h=yes
12896 else $as_nop
12897 ac_cv_mingw_header_vkd3d_shader_h=no
12899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12900 CC=$ac_wine_check_headers_saved_cc
12901 ac_exeext=$ac_wine_check_headers_saved_exeext
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12904 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12905 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12906 then :
12909 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12910 then
12911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d" >&5
12912 printf %s "checking for vkd3d_serialize_versioned_root_signature in MinGW -lvkd3d... " >&6; }
12913 if test ${ac_cv_mingw_lib_vkd3d+y}
12914 then :
12915 printf %s "(cached) " >&6
12916 else $as_nop
12917 ac_wine_check_headers_saved_cc=$CC
12918 ac_wine_check_headers_saved_exeext=$ac_exeext
12919 ac_wine_check_headers_saved_libs=$LIBS
12920 CC="$CROSSCC"
12921 ac_exeext=".exe"
12922 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 /* end confdefs.h. */
12926 /* Override any GCC internal prototype to avoid an error.
12927 Use char because int might match the return type of a GCC
12928 builtin and then its argument prototype would still apply. */
12929 char vkd3d_serialize_versioned_root_signature ();
12931 main (void)
12933 return vkd3d_serialize_versioned_root_signature ();
12935 return 0;
12937 _ACEOF
12938 if ac_fn_c_try_link "$LINENO"
12939 then :
12940 ac_cv_mingw_lib_vkd3d=yes
12941 else $as_nop
12942 ac_cv_mingw_lib_vkd3d=no
12944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12945 conftest$ac_exeext conftest.$ac_ext
12946 CC=$ac_wine_check_headers_saved_cc
12947 ac_exeext=$ac_wine_check_headers_saved_exeext
12948 LIBS=$ac_wine_check_headers_saved_libs
12950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12951 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12952 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12953 then :
12955 else $as_nop
12958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12959 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12960 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12961 then :
12962 printf %s "(cached) " >&6
12963 else $as_nop
12964 ac_wine_check_headers_saved_cc=$CC
12965 ac_wine_check_headers_saved_exeext=$ac_exeext
12966 ac_wine_check_headers_saved_libs=$LIBS
12967 CC="$CROSSCC"
12968 ac_exeext=".exe"
12969 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 char vkd3d_shader_compile ();
12978 main (void)
12980 return vkd3d_shader_compile ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"
12986 then :
12987 ac_cv_mingw_lib_vkd3d_shader=yes
12988 else $as_nop
12989 ac_cv_mingw_lib_vkd3d_shader=no
12991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12992 conftest$ac_exeext conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12995 LIBS=$ac_wine_check_headers_saved_libs
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12998 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12999 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13000 then :
13002 else $as_nop
13005 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13006 then
13007 VKD3D_PE_CFLAGS=""
13008 VKD3D_PE_LIBS=""
13010 else
13011 VKD3D_PE_CFLAGS=""
13012 VKD3D_PE_LIBS=""
13014 CPPFLAGS=$ac_save_CPPFLAGS
13016 if test "x$VKD3D_PE_LIBS" = "x"
13017 then
13018 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found; using bundled version."
13021 if ${ZLIB_PE_CFLAGS:+false} :
13022 then :
13023 if test ${MINGW_PKG_CONFIG+y}
13024 then :
13025 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13028 if ${ZLIB_PE_LIBS:+false} :
13029 then :
13030 if test ${MINGW_PKG_CONFIG+y}
13031 then :
13032 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13035 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13036 ac_save_CPPFLAGS=$CPPFLAGS
13037 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13039 printf %s "checking for MinGW zlib.h... " >&6; }
13040 if test ${ac_cv_mingw_header_zlib_h+y}
13041 then :
13042 printf %s "(cached) " >&6
13043 else $as_nop
13044 ac_wine_check_headers_saved_cc=$CC
13045 ac_wine_check_headers_saved_exeext=$ac_exeext
13046 CC="$CROSSCC"
13047 ac_exeext=".exe"
13048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13051 #include <zlib.h>
13053 main (void)
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_compile "$LINENO"
13061 then :
13062 ac_cv_mingw_header_zlib_h=yes
13063 else $as_nop
13064 ac_cv_mingw_header_zlib_h=no
13066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13067 CC=$ac_wine_check_headers_saved_cc
13068 ac_exeext=$ac_wine_check_headers_saved_exeext
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13071 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13072 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13073 then :
13074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13075 printf %s "checking for inflate in MinGW -lz... " >&6; }
13076 if test ${ac_cv_mingw_lib_z+y}
13077 then :
13078 printf %s "(cached) " >&6
13079 else $as_nop
13080 ac_wine_check_headers_saved_cc=$CC
13081 ac_wine_check_headers_saved_exeext=$ac_exeext
13082 ac_wine_check_headers_saved_libs=$LIBS
13083 CC="$CROSSCC"
13084 ac_exeext=".exe"
13085 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13092 char inflate ();
13094 main (void)
13096 return inflate ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"
13102 then :
13103 ac_cv_mingw_lib_z=yes
13104 else $as_nop
13105 ac_cv_mingw_lib_z=no
13107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13108 conftest$ac_exeext conftest.$ac_ext
13109 CC=$ac_wine_check_headers_saved_cc
13110 ac_exeext=$ac_wine_check_headers_saved_exeext
13111 LIBS=$ac_wine_check_headers_saved_libs
13113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13114 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13115 if test "x$ac_cv_mingw_lib_z" = xyes
13116 then :
13118 else $as_nop
13119 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13121 else $as_nop
13122 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13124 CPPFLAGS=$ac_save_CPPFLAGS
13126 if test "x$ZLIB_PE_LIBS" = "x"
13127 then
13128 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13132 if ${FAUDIO_PE_LIBS:+false} :
13133 then :
13134 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13135 if ${FAUDIO_PE_CFLAGS:+false} :
13136 then :
13137 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13138 else $as_nop
13139 enable_faudio=no
13141 else $as_nop
13142 enable_faudio=no
13144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13147 if ${GSM_PE_LIBS:+false} :
13148 then :
13149 GSM_PE_LIBS=gsm
13150 if ${GSM_PE_CFLAGS:+false} :
13151 then :
13152 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13153 else $as_nop
13154 enable_gsm=no
13156 else $as_nop
13157 enable_gsm=no
13159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13162 if ${JPEG_PE_LIBS:+false} :
13163 then :
13164 JPEG_PE_LIBS=jpeg
13165 if ${JPEG_PE_CFLAGS:+false} :
13166 then :
13167 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13168 else $as_nop
13169 enable_jpeg=no
13171 else $as_nop
13172 enable_jpeg=no
13174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13177 if ${JXR_PE_LIBS:+false} :
13178 then :
13179 JXR_PE_LIBS=jxr
13180 if ${JXR_PE_CFLAGS:+false} :
13181 then :
13182 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13183 else $as_nop
13184 enable_jxr=no
13186 else $as_nop
13187 enable_jxr=no
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13192 if ${LCMS2_PE_LIBS:+false} :
13193 then :
13194 LCMS2_PE_LIBS=lcms2
13195 if ${LCMS2_PE_CFLAGS:+false} :
13196 then :
13197 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13198 else $as_nop
13199 enable_lcms2=no
13201 else $as_nop
13202 enable_lcms2=no
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13205 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13207 if ${MPG123_PE_LIBS:+false} :
13208 then :
13209 MPG123_PE_LIBS=mpg123
13210 if ${MPG123_PE_CFLAGS:+false} :
13211 then :
13212 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13213 else $as_nop
13214 enable_mpg123=no
13216 else $as_nop
13217 enable_mpg123=no
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13222 if ${PNG_PE_LIBS:+false} :
13223 then :
13224 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13225 if ${PNG_PE_CFLAGS:+false} :
13226 then :
13227 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13228 else $as_nop
13229 enable_png=no
13231 else $as_nop
13232 enable_png=no
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13237 if ${TIFF_PE_LIBS:+false} :
13238 then :
13239 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13240 if ${TIFF_PE_CFLAGS:+false} :
13241 then :
13242 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13243 else $as_nop
13244 enable_tiff=no
13246 else $as_nop
13247 enable_tiff=no
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13252 if ${VKD3D_PE_LIBS:+false} :
13253 then :
13254 VKD3D_PE_LIBS=vkd3d
13255 if ${VKD3D_PE_CFLAGS:+false} :
13256 then :
13257 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13258 else $as_nop
13259 enable_vkd3d=no
13261 else $as_nop
13262 enable_vkd3d=no
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13267 if ${XML2_PE_LIBS:+false} :
13268 then :
13269 XML2_PE_LIBS=xml2
13270 if ${XML2_PE_CFLAGS:+false} :
13271 then :
13272 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13273 else $as_nop
13274 enable_xml2=no
13276 else $as_nop
13277 enable_xml2=no
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13282 if ${XSLT_PE_LIBS:+false} :
13283 then :
13284 XSLT_PE_LIBS=xslt
13285 if ${XSLT_PE_CFLAGS:+false} :
13286 then :
13287 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13288 else $as_nop
13289 enable_xslt=no
13291 else $as_nop
13292 enable_xslt=no
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13297 if ${ZLIB_PE_LIBS:+false} :
13298 then :
13299 ZLIB_PE_LIBS=z
13300 if ${ZLIB_PE_CFLAGS:+false} :
13301 then :
13302 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13303 else $as_nop
13304 enable_zlib=no
13306 else $as_nop
13307 enable_zlib=no
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13314 if test "$ac_cv_header_pthread_h" = "yes"
13315 then
13316 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13317 if test "x$ac_cv_func_pthread_create" = xyes
13318 then :
13320 else $as_nop
13321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13322 printf %s "checking for pthread_create in -lpthread... " >&6; }
13323 if test ${ac_cv_lib_pthread_pthread_create+y}
13324 then :
13325 printf %s "(cached) " >&6
13326 else $as_nop
13327 ac_check_lib_save_LIBS=$LIBS
13328 LIBS="-lpthread $LIBS"
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h. */
13332 /* Override any GCC internal prototype to avoid an error.
13333 Use char because int might match the return type of a GCC
13334 builtin and then its argument prototype would still apply. */
13335 char pthread_create ();
13337 main (void)
13339 return pthread_create ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"
13345 then :
13346 ac_cv_lib_pthread_pthread_create=yes
13347 else $as_nop
13348 ac_cv_lib_pthread_pthread_create=no
13350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_lib_save_LIBS
13354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13355 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13356 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13357 then :
13358 PTHREAD_LIBS="-lpthread"
13365 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13366 then :
13367 case "x$with_pthread" in
13368 xno) ;;
13369 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13370 Wine cannot support threads without libpthread.
13371 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13372 esac
13377 ac_ext=c
13378 ac_cpp='$CPP $CPPFLAGS'
13379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13383 printf %s "checking how to run the C preprocessor... " >&6; }
13384 # On Suns, sometimes $CPP names a directory.
13385 if test -n "$CPP" && test -d "$CPP"; then
13386 CPP=
13388 if test -z "$CPP"; then
13389 if test ${ac_cv_prog_CPP+y}
13390 then :
13391 printf %s "(cached) " >&6
13392 else $as_nop
13393 # Double quotes because $CC needs to be expanded
13394 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13396 ac_preproc_ok=false
13397 for ac_c_preproc_warn_flag in '' yes
13399 # Use a header file that comes with gcc, so configuring glibc
13400 # with a fresh cross-compiler works.
13401 # On the NeXT, cc -E runs the code through the compiler's parser,
13402 # not just through cpp. "Syntax error" is here to catch this case.
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13405 #include <limits.h>
13406 Syntax error
13407 _ACEOF
13408 if ac_fn_c_try_cpp "$LINENO"
13409 then :
13411 else $as_nop
13412 # Broken: fails on valid input.
13413 continue
13415 rm -f conftest.err conftest.i conftest.$ac_ext
13417 # OK, works on sane cases. Now check whether nonexistent headers
13418 # can be detected and how.
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13421 #include <ac_nonexistent.h>
13422 _ACEOF
13423 if ac_fn_c_try_cpp "$LINENO"
13424 then :
13425 # Broken: success on invalid input.
13426 continue
13427 else $as_nop
13428 # Passes both tests.
13429 ac_preproc_ok=:
13430 break
13432 rm -f conftest.err conftest.i conftest.$ac_ext
13434 done
13435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13436 rm -f conftest.i conftest.err conftest.$ac_ext
13437 if $ac_preproc_ok
13438 then :
13439 break
13442 done
13443 ac_cv_prog_CPP=$CPP
13446 CPP=$ac_cv_prog_CPP
13447 else
13448 ac_cv_prog_CPP=$CPP
13450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13451 printf "%s\n" "$CPP" >&6; }
13452 ac_preproc_ok=false
13453 for ac_c_preproc_warn_flag in '' yes
13455 # Use a header file that comes with gcc, so configuring glibc
13456 # with a fresh cross-compiler works.
13457 # On the NeXT, cc -E runs the code through the compiler's parser,
13458 # not just through cpp. "Syntax error" is here to catch this case.
13459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13460 /* end confdefs.h. */
13461 #include <limits.h>
13462 Syntax error
13463 _ACEOF
13464 if ac_fn_c_try_cpp "$LINENO"
13465 then :
13467 else $as_nop
13468 # Broken: fails on valid input.
13469 continue
13471 rm -f conftest.err conftest.i conftest.$ac_ext
13473 # OK, works on sane cases. Now check whether nonexistent headers
13474 # can be detected and how.
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 #include <ac_nonexistent.h>
13478 _ACEOF
13479 if ac_fn_c_try_cpp "$LINENO"
13480 then :
13481 # Broken: success on invalid input.
13482 continue
13483 else $as_nop
13484 # Passes both tests.
13485 ac_preproc_ok=:
13486 break
13488 rm -f conftest.err conftest.i conftest.$ac_ext
13490 done
13491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13492 rm -f conftest.i conftest.err conftest.$ac_ext
13493 if $ac_preproc_ok
13494 then :
13496 else $as_nop
13497 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13498 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13499 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13500 See \`config.log' for more details" "$LINENO" 5; }
13503 ac_ext=c
13504 ac_cpp='$CPP $CPPFLAGS'
13505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13511 printf %s "checking for X... " >&6; }
13514 # Check whether --with-x was given.
13515 if test ${with_x+y}
13516 then :
13517 withval=$with_x;
13520 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13521 if test "x$with_x" = xno; then
13522 # The user explicitly disabled X.
13523 have_x=disabled
13524 else
13525 case $x_includes,$x_libraries in #(
13526 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13527 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13528 then :
13529 printf %s "(cached) " >&6
13530 else $as_nop
13531 # One or both of the vars are not set, and there is no cached value.
13532 ac_x_includes=no
13533 ac_x_libraries=no
13534 # Do we need to do anything special at all?
13535 ac_save_LIBS=$LIBS
13536 LIBS="-lX11 $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13539 #include <X11/Xlib.h>
13541 main (void)
13543 XrmInitialize ()
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"
13549 then :
13550 # We can compile and link X programs with no special options.
13551 ac_x_includes=
13552 ac_x_libraries=
13554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13555 conftest$ac_exeext conftest.$ac_ext
13556 LIBS="$ac_save_LIBS"
13557 # If that didn't work, only try xmkmf and file system searches
13558 # for native compilation.
13559 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13560 then :
13561 rm -f -r conftest.dir
13562 if mkdir conftest.dir; then
13563 cd conftest.dir
13564 cat >Imakefile <<'_ACEOF'
13565 incroot:
13566 @echo incroot='${INCROOT}'
13567 usrlibdir:
13568 @echo usrlibdir='${USRLIBDIR}'
13569 libdir:
13570 @echo libdir='${LIBDIR}'
13571 _ACEOF
13572 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13574 for ac_var in incroot usrlibdir libdir; do
13575 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13576 done
13577 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13578 for ac_extension in a so sl dylib la dll; do
13579 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13580 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13581 ac_im_usrlibdir=$ac_im_libdir; break
13583 done
13584 # Screen out bogus values from the imake configuration. They are
13585 # bogus both because they are the default anyway, and because
13586 # using them would break gcc on systems where it needs fixed includes.
13587 case $ac_im_incroot in
13588 /usr/include) ac_x_includes= ;;
13589 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13590 esac
13591 case $ac_im_usrlibdir in
13592 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13593 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13594 esac
13596 cd ..
13597 rm -f -r conftest.dir
13600 # Standard set of common directories for X headers.
13601 # Check X11 before X11Rn because it is often a symlink to the current release.
13602 ac_x_header_dirs='
13603 /usr/X11/include
13604 /usr/X11R7/include
13605 /usr/X11R6/include
13606 /usr/X11R5/include
13607 /usr/X11R4/include
13609 /usr/include/X11
13610 /usr/include/X11R7
13611 /usr/include/X11R6
13612 /usr/include/X11R5
13613 /usr/include/X11R4
13615 /usr/local/X11/include
13616 /usr/local/X11R7/include
13617 /usr/local/X11R6/include
13618 /usr/local/X11R5/include
13619 /usr/local/X11R4/include
13621 /usr/local/include/X11
13622 /usr/local/include/X11R7
13623 /usr/local/include/X11R6
13624 /usr/local/include/X11R5
13625 /usr/local/include/X11R4
13627 /opt/X11/include
13629 /usr/X386/include
13630 /usr/x386/include
13631 /usr/XFree86/include/X11
13633 /usr/include
13634 /usr/local/include
13635 /usr/unsupported/include
13636 /usr/athena/include
13637 /usr/local/x11r5/include
13638 /usr/lpp/Xamples/include
13640 /usr/openwin/include
13641 /usr/openwin/share/include'
13643 if test "$ac_x_includes" = no; then
13644 # Guess where to find include files, by looking for Xlib.h.
13645 # First, try using that file with no special directory specified.
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13647 /* end confdefs.h. */
13648 #include <X11/Xlib.h>
13649 _ACEOF
13650 if ac_fn_c_try_cpp "$LINENO"
13651 then :
13652 # We can compile using X headers with no special include directory.
13653 ac_x_includes=
13654 else $as_nop
13655 for ac_dir in $ac_x_header_dirs; do
13656 if test -r "$ac_dir/X11/Xlib.h"; then
13657 ac_x_includes=$ac_dir
13658 break
13660 done
13662 rm -f conftest.err conftest.i conftest.$ac_ext
13663 fi # $ac_x_includes = no
13665 if test "$ac_x_libraries" = no; then
13666 # Check for the libraries.
13667 # See if we find them without any special options.
13668 # Don't add to $LIBS permanently.
13669 ac_save_LIBS=$LIBS
13670 LIBS="-lX11 $LIBS"
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13673 #include <X11/Xlib.h>
13675 main (void)
13677 XrmInitialize ()
13679 return 0;
13681 _ACEOF
13682 if ac_fn_c_try_link "$LINENO"
13683 then :
13684 LIBS=$ac_save_LIBS
13685 # We can link X programs with no special library path.
13686 ac_x_libraries=
13687 else $as_nop
13688 LIBS=$ac_save_LIBS
13689 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13691 # Don't even attempt the hair of trying to link an X program!
13692 for ac_extension in a so sl dylib la dll; do
13693 if test -r "$ac_dir/libX11.$ac_extension"; then
13694 ac_x_libraries=$ac_dir
13695 break 2
13697 done
13698 done
13700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13701 conftest$ac_exeext conftest.$ac_ext
13702 fi # $ac_x_libraries = no
13705 # Record the results.
13706 case $ac_x_includes,$ac_x_libraries in #(
13707 no,* | *,no | *\'*) :
13708 # Didn't find X, or a directory has "'" in its name.
13709 ac_cv_have_x="have_x=no" ;; #(
13710 *) :
13711 # Record where we found X for the cache.
13712 ac_cv_have_x="have_x=yes\
13713 ac_x_includes='$ac_x_includes'\
13714 ac_x_libraries='$ac_x_libraries'" ;;
13715 esac
13717 ;; #(
13718 *) have_x=yes;;
13719 esac
13720 eval "$ac_cv_have_x"
13721 fi # $with_x != no
13723 if test "$have_x" != yes; then
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13725 printf "%s\n" "$have_x" >&6; }
13726 no_x=yes
13727 else
13728 # If each of the values was on the command line, it overrides each guess.
13729 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13730 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13731 # Update the cache value to reflect the command line values.
13732 ac_cv_have_x="have_x=yes\
13733 ac_x_includes='$x_includes'\
13734 ac_x_libraries='$x_libraries'"
13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13736 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13739 if test "$no_x" = yes; then
13740 # Not all programs may use this symbol, but it does not hurt to define it.
13742 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13744 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13745 else
13746 if test -n "$x_includes"; then
13747 X_CFLAGS="$X_CFLAGS -I$x_includes"
13750 # It would also be nice to do this for all -L options, not just this one.
13751 if test -n "$x_libraries"; then
13752 X_LIBS="$X_LIBS -L$x_libraries"
13753 # For Solaris; some versions of Sun CC require a space after -R and
13754 # others require no space. Words are not sufficient . . . .
13755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13756 printf %s "checking whether -R must be followed by a space... " >&6; }
13757 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13758 ac_xsave_c_werror_flag=$ac_c_werror_flag
13759 ac_c_werror_flag=yes
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13764 main (void)
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"
13772 then :
13773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13774 printf "%s\n" "no" >&6; }
13775 X_LIBS="$X_LIBS -R$x_libraries"
13776 else $as_nop
13777 LIBS="$ac_xsave_LIBS -R $x_libraries"
13778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13779 /* end confdefs.h. */
13782 main (void)
13786 return 0;
13788 _ACEOF
13789 if ac_fn_c_try_link "$LINENO"
13790 then :
13791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13792 printf "%s\n" "yes" >&6; }
13793 X_LIBS="$X_LIBS -R $x_libraries"
13794 else $as_nop
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13796 printf "%s\n" "neither works" >&6; }
13798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13799 conftest$ac_exeext conftest.$ac_ext
13801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13802 conftest$ac_exeext conftest.$ac_ext
13803 ac_c_werror_flag=$ac_xsave_c_werror_flag
13804 LIBS=$ac_xsave_LIBS
13807 # Check for system-dependent libraries X programs must link with.
13808 # Do this before checking for the system-independent R6 libraries
13809 # (-lICE), since we may need -lsocket or whatever for X linking.
13811 if test "$ISC" = yes; then
13812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13813 else
13814 # Martyn Johnson says this is needed for Ultrix, if the X
13815 # libraries were built with DECnet support. And Karl Berry says
13816 # the Alpha needs dnet_stub (dnet does not exist).
13817 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13821 /* Override any GCC internal prototype to avoid an error.
13822 Use char because int might match the return type of a GCC
13823 builtin and then its argument prototype would still apply. */
13824 char XOpenDisplay ();
13826 main (void)
13828 return XOpenDisplay ();
13830 return 0;
13832 _ACEOF
13833 if ac_fn_c_try_link "$LINENO"
13834 then :
13836 else $as_nop
13837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13838 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13839 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13840 then :
13841 printf %s "(cached) " >&6
13842 else $as_nop
13843 ac_check_lib_save_LIBS=$LIBS
13844 LIBS="-ldnet $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 char dnet_ntoa ();
13853 main (void)
13855 return dnet_ntoa ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"
13861 then :
13862 ac_cv_lib_dnet_dnet_ntoa=yes
13863 else $as_nop
13864 ac_cv_lib_dnet_dnet_ntoa=no
13866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_lib_save_LIBS
13870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13871 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13872 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13873 then :
13874 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13877 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13879 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13880 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13881 then :
13882 printf %s "(cached) " >&6
13883 else $as_nop
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-ldnet_stub $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 char dnet_ntoa ();
13894 main (void)
13896 return dnet_ntoa ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"
13902 then :
13903 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13904 else $as_nop
13905 ac_cv_lib_dnet_stub_dnet_ntoa=no
13907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13908 conftest$ac_exeext conftest.$ac_ext
13909 LIBS=$ac_check_lib_save_LIBS
13911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13912 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13913 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13914 then :
13915 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS="$ac_xsave_LIBS"
13924 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13925 # to get the SysV transport functions.
13926 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13927 # needs -lnsl.
13928 # The nsl library prevents programs from opening the X display
13929 # on Irix 5.2, according to T.E. Dickey.
13930 # The functions gethostbyname, getservbyname, and inet_addr are
13931 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13932 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13933 if test "x$ac_cv_func_gethostbyname" = xyes
13934 then :
13938 if test $ac_cv_func_gethostbyname = no; then
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13940 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13941 if test ${ac_cv_lib_nsl_gethostbyname+y}
13942 then :
13943 printf %s "(cached) " >&6
13944 else $as_nop
13945 ac_check_lib_save_LIBS=$LIBS
13946 LIBS="-lnsl $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 char gethostbyname ();
13955 main (void)
13957 return gethostbyname ();
13959 return 0;
13961 _ACEOF
13962 if ac_fn_c_try_link "$LINENO"
13963 then :
13964 ac_cv_lib_nsl_gethostbyname=yes
13965 else $as_nop
13966 ac_cv_lib_nsl_gethostbyname=no
13968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13969 conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13973 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13974 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13975 then :
13976 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13979 if test $ac_cv_lib_nsl_gethostbyname = no; then
13980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13981 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13982 if test ${ac_cv_lib_bsd_gethostbyname+y}
13983 then :
13984 printf %s "(cached) " >&6
13985 else $as_nop
13986 ac_check_lib_save_LIBS=$LIBS
13987 LIBS="-lbsd $LIBS"
13988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13989 /* end confdefs.h. */
13991 /* Override any GCC internal prototype to avoid an error.
13992 Use char because int might match the return type of a GCC
13993 builtin and then its argument prototype would still apply. */
13994 char gethostbyname ();
13996 main (void)
13998 return gethostbyname ();
14000 return 0;
14002 _ACEOF
14003 if ac_fn_c_try_link "$LINENO"
14004 then :
14005 ac_cv_lib_bsd_gethostbyname=yes
14006 else $as_nop
14007 ac_cv_lib_bsd_gethostbyname=no
14009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_lib_save_LIBS
14013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14014 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14015 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14016 then :
14017 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14023 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14024 # socket/setsockopt and other routines are undefined under SCO ODT
14025 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14026 # on later versions), says Simon Leinen: it contains gethostby*
14027 # variants that don't use the name server (or something). -lsocket
14028 # must be given before -lnsl if both are needed. We assume that
14029 # if connect needs -lnsl, so does gethostbyname.
14030 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14031 if test "x$ac_cv_func_connect" = xyes
14032 then :
14036 if test $ac_cv_func_connect = no; then
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14038 printf %s "checking for connect in -lsocket... " >&6; }
14039 if test ${ac_cv_lib_socket_connect+y}
14040 then :
14041 printf %s "(cached) " >&6
14042 else $as_nop
14043 ac_check_lib_save_LIBS=$LIBS
14044 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 char connect ();
14053 main (void)
14055 return connect ();
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"
14061 then :
14062 ac_cv_lib_socket_connect=yes
14063 else $as_nop
14064 ac_cv_lib_socket_connect=no
14066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14067 conftest$ac_exeext conftest.$ac_ext
14068 LIBS=$ac_check_lib_save_LIBS
14070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14071 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14072 if test "x$ac_cv_lib_socket_connect" = xyes
14073 then :
14074 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14079 # Guillermo Gomez says -lposix is necessary on A/UX.
14080 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14081 if test "x$ac_cv_func_remove" = xyes
14082 then :
14086 if test $ac_cv_func_remove = no; then
14087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14088 printf %s "checking for remove in -lposix... " >&6; }
14089 if test ${ac_cv_lib_posix_remove+y}
14090 then :
14091 printf %s "(cached) " >&6
14092 else $as_nop
14093 ac_check_lib_save_LIBS=$LIBS
14094 LIBS="-lposix $LIBS"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14098 /* Override any GCC internal prototype to avoid an error.
14099 Use char because int might match the return type of a GCC
14100 builtin and then its argument prototype would still apply. */
14101 char remove ();
14103 main (void)
14105 return remove ();
14107 return 0;
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"
14111 then :
14112 ac_cv_lib_posix_remove=yes
14113 else $as_nop
14114 ac_cv_lib_posix_remove=no
14116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14117 conftest$ac_exeext conftest.$ac_ext
14118 LIBS=$ac_check_lib_save_LIBS
14120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14121 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14122 if test "x$ac_cv_lib_posix_remove" = xyes
14123 then :
14124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14130 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14131 if test "x$ac_cv_func_shmat" = xyes
14132 then :
14136 if test $ac_cv_func_shmat = no; then
14137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14138 printf %s "checking for shmat in -lipc... " >&6; }
14139 if test ${ac_cv_lib_ipc_shmat+y}
14140 then :
14141 printf %s "(cached) " >&6
14142 else $as_nop
14143 ac_check_lib_save_LIBS=$LIBS
14144 LIBS="-lipc $LIBS"
14145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14148 /* Override any GCC internal prototype to avoid an error.
14149 Use char because int might match the return type of a GCC
14150 builtin and then its argument prototype would still apply. */
14151 char shmat ();
14153 main (void)
14155 return shmat ();
14157 return 0;
14159 _ACEOF
14160 if ac_fn_c_try_link "$LINENO"
14161 then :
14162 ac_cv_lib_ipc_shmat=yes
14163 else $as_nop
14164 ac_cv_lib_ipc_shmat=no
14166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS=$ac_check_lib_save_LIBS
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14171 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14172 if test "x$ac_cv_lib_ipc_shmat" = xyes
14173 then :
14174 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14180 # Check for libraries that X11R6 Xt/Xaw programs need.
14181 ac_save_LDFLAGS=$LDFLAGS
14182 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14183 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14184 # check for ICE first), but we must link in the order -lSM -lICE or
14185 # we get undefined symbols. So assume we have SM if we have ICE.
14186 # These have to be linked with before -lX11, unlike the other
14187 # libraries we check for below, so use a different variable.
14188 # John Interrante, Karl Berry
14189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14190 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14191 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14192 then :
14193 printf %s "(cached) " >&6
14194 else $as_nop
14195 ac_check_lib_save_LIBS=$LIBS
14196 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14203 char IceConnectionNumber ();
14205 main (void)
14207 return IceConnectionNumber ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"
14213 then :
14214 ac_cv_lib_ICE_IceConnectionNumber=yes
14215 else $as_nop
14216 ac_cv_lib_ICE_IceConnectionNumber=no
14218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14223 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14224 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14225 then :
14226 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14229 LDFLAGS=$ac_save_LDFLAGS
14234 if test "$have_x" = "yes"
14235 then
14236 ac_save_CPPFLAGS="$CPPFLAGS"
14237 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14240 printf %s "checking for -lX11... " >&6; }
14241 if test ${ac_cv_lib_soname_X11+y}
14242 then :
14243 printf %s "(cached) " >&6
14244 else $as_nop
14245 ac_check_soname_save_LIBS=$LIBS
14246 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14250 /* Override any GCC internal prototype to avoid an error.
14251 Use char because int might match the return type of a GCC
14252 builtin and then its argument prototype would still apply. */
14253 char XCreateWindow ();
14255 main (void)
14257 return XCreateWindow ();
14259 return 0;
14261 _ACEOF
14262 if ac_fn_c_try_link "$LINENO"
14263 then :
14264 case "$LIBEXT" in
14265 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14266 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'` ;;
14267 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14268 if ${ac_cv_lib_soname_X11:+false} :
14269 then :
14270 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14271 fi ;;
14272 esac
14273 else $as_nop
14274 ac_cv_lib_soname_X11=
14276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14277 conftest$ac_exeext conftest.$ac_ext
14278 LIBS=$ac_check_soname_save_LIBS
14280 if ${ac_cv_lib_soname_X11:+false} :
14281 then :
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14283 printf "%s\n" "not found" >&6; }
14285 else $as_nop
14286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14287 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14289 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14294 printf %s "checking for -lXext... " >&6; }
14295 if test ${ac_cv_lib_soname_Xext+y}
14296 then :
14297 printf %s "(cached) " >&6
14298 else $as_nop
14299 ac_check_soname_save_LIBS=$LIBS
14300 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14304 /* Override any GCC internal prototype to avoid an error.
14305 Use char because int might match the return type of a GCC
14306 builtin and then its argument prototype would still apply. */
14307 char XextCreateExtension ();
14309 main (void)
14311 return XextCreateExtension ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"
14317 then :
14318 case "$LIBEXT" in
14319 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14320 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'` ;;
14321 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14322 if ${ac_cv_lib_soname_Xext:+false} :
14323 then :
14324 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14325 fi ;;
14326 esac
14327 else $as_nop
14328 ac_cv_lib_soname_Xext=
14330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_soname_save_LIBS
14334 if ${ac_cv_lib_soname_Xext:+false} :
14335 then :
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14337 printf "%s\n" "not found" >&6; }
14339 else $as_nop
14340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14341 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14343 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14345 X_LIBS="$X_LIBS -lXext"
14347 X_LIBS="$X_LIBS -lX11"
14349 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14350 # include <X11/Xlib.h>
14351 #endif
14352 #ifdef HAVE_X11_XUTIL_H
14353 # include <X11/Xutil.h>
14354 #endif
14356 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14357 then :
14358 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14361 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14362 # include <X11/Xlib.h>
14363 #endif
14364 #ifdef HAVE_X11_XUTIL_H
14365 # include <X11/Xutil.h>
14366 #endif
14368 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14369 then :
14370 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14373 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14374 # include <X11/Xlib.h>
14375 #endif
14376 #ifdef HAVE_X11_XUTIL_H
14377 # include <X11/Xutil.h>
14378 #endif
14380 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14381 then :
14382 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14385 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14386 # include <X11/Xlib.h>
14387 #endif
14388 #ifdef HAVE_X11_XUTIL_H
14389 # include <X11/Xutil.h>
14390 #endif
14392 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14393 then :
14394 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14397 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14398 # include <X11/Xlib.h>
14399 #endif
14400 #ifdef HAVE_X11_XUTIL_H
14401 # include <X11/Xutil.h>
14402 #endif
14404 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14405 then :
14406 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14409 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14410 # include <X11/Xlib.h>
14411 #endif
14412 #ifdef HAVE_X11_XUTIL_H
14413 # include <X11/Xutil.h>
14414 #endif
14416 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14417 then :
14418 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14421 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14422 # include <X11/Xlib.h>
14423 #endif
14424 #ifdef HAVE_X11_XUTIL_H
14425 # include <X11/Xutil.h>
14426 #endif
14428 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14429 then :
14430 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14433 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14434 # include <X11/Xlib.h>
14435 #endif
14436 #ifdef HAVE_X11_XUTIL_H
14437 # include <X11/Xutil.h>
14438 #endif
14440 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14441 then :
14442 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14445 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14446 # include <X11/Xlib.h>
14447 #endif
14448 #ifdef HAVE_X11_XUTIL_H
14449 # include <X11/Xutil.h>
14450 #endif
14452 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14453 then :
14454 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14457 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14458 # include <X11/Xlib.h>
14459 #endif
14460 #ifdef HAVE_X11_XUTIL_H
14461 # include <X11/Xutil.h>
14462 #endif
14464 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14465 then :
14466 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14469 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14470 # include <X11/Xlib.h>
14471 #endif
14472 #ifdef HAVE_X11_XUTIL_H
14473 # include <X11/Xutil.h>
14474 #endif
14476 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14477 then :
14478 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14481 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14482 # include <X11/Xlib.h>
14483 #endif
14484 #ifdef HAVE_X11_XUTIL_H
14485 # include <X11/Xutil.h>
14486 #endif
14488 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14489 then :
14490 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14493 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14494 # include <X11/Xlib.h>
14495 #endif
14496 #ifdef HAVE_X11_XUTIL_H
14497 # include <X11/Xutil.h>
14498 #endif
14500 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14501 then :
14502 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14505 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14506 # include <X11/Xlib.h>
14507 #endif
14508 #ifdef HAVE_X11_XUTIL_H
14509 # include <X11/Xutil.h>
14510 #endif
14512 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14513 then :
14514 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14517 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14518 # include <X11/Xlib.h>
14519 #endif
14520 #ifdef HAVE_X11_XUTIL_H
14521 # include <X11/Xutil.h>
14522 #endif
14524 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14525 then :
14526 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14531 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14532 then
14533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14534 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14535 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14536 then :
14537 printf %s "(cached) " >&6
14538 else $as_nop
14539 ac_check_lib_save_LIBS=$LIBS
14540 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14544 /* Override any GCC internal prototype to avoid an error.
14545 Use char because int might match the return type of a GCC
14546 builtin and then its argument prototype would still apply. */
14547 char XkbQueryExtension ();
14549 main (void)
14551 return XkbQueryExtension ();
14553 return 0;
14555 _ACEOF
14556 if ac_fn_c_try_link "$LINENO"
14557 then :
14558 ac_cv_lib_X11_XkbQueryExtension=yes
14559 else $as_nop
14560 ac_cv_lib_X11_XkbQueryExtension=no
14562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS
14566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14567 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14568 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14569 then :
14571 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14577 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14578 then
14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14580 printf %s "checking for -lXcursor... " >&6; }
14581 if test ${ac_cv_lib_soname_Xcursor+y}
14582 then :
14583 printf %s "(cached) " >&6
14584 else $as_nop
14585 ac_check_soname_save_LIBS=$LIBS
14586 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14590 /* Override any GCC internal prototype to avoid an error.
14591 Use char because int might match the return type of a GCC
14592 builtin and then its argument prototype would still apply. */
14593 char XcursorImageLoadCursor ();
14595 main (void)
14597 return XcursorImageLoadCursor ();
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"
14603 then :
14604 case "$LIBEXT" in
14605 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14606 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'` ;;
14607 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14608 if ${ac_cv_lib_soname_Xcursor:+false} :
14609 then :
14610 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14611 fi ;;
14612 esac
14613 else $as_nop
14614 ac_cv_lib_soname_Xcursor=
14616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_Xcursor:+false} :
14621 then :
14622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14623 printf "%s\n" "not found" >&6; }
14625 else $as_nop
14626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14627 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14629 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14634 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14635 then :
14636 case "x$with_xcursor" in
14637 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14638 xno) ;;
14639 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14640 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14641 esac
14645 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14646 then
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14648 printf %s "checking for -lXi... " >&6; }
14649 if test ${ac_cv_lib_soname_Xi+y}
14650 then :
14651 printf %s "(cached) " >&6
14652 else $as_nop
14653 ac_check_soname_save_LIBS=$LIBS
14654 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14656 /* end confdefs.h. */
14658 /* Override any GCC internal prototype to avoid an error.
14659 Use char because int might match the return type of a GCC
14660 builtin and then its argument prototype would still apply. */
14661 char XOpenDevice ();
14663 main (void)
14665 return XOpenDevice ();
14667 return 0;
14669 _ACEOF
14670 if ac_fn_c_try_link "$LINENO"
14671 then :
14672 case "$LIBEXT" in
14673 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14674 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'` ;;
14675 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14676 if ${ac_cv_lib_soname_Xi:+false} :
14677 then :
14678 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14679 fi ;;
14680 esac
14681 else $as_nop
14682 ac_cv_lib_soname_Xi=
14684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_soname_save_LIBS
14688 if ${ac_cv_lib_soname_Xi:+false} :
14689 then :
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14691 printf "%s\n" "not found" >&6; }
14693 else $as_nop
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14695 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14697 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14702 if test "x$ac_cv_lib_soname_Xi" = "x"
14703 then :
14704 case "x$with_xinput" in
14705 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14706 xno) ;;
14707 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14708 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14709 esac
14713 if test "x$ac_cv_lib_soname_Xi" != x
14714 then
14715 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14716 then :
14717 case "x$with_xinput2" in
14718 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14719 xno) ;;
14720 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14721 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14722 esac
14727 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14728 then
14729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14730 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14731 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14732 then :
14733 printf %s "(cached) " >&6
14734 else $as_nop
14735 ac_check_lib_save_LIBS=$LIBS
14736 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14740 /* Override any GCC internal prototype to avoid an error.
14741 Use char because int might match the return type of a GCC
14742 builtin and then its argument prototype would still apply. */
14743 char XShmQueryExtension ();
14745 main (void)
14747 return XShmQueryExtension ();
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_link "$LINENO"
14753 then :
14754 ac_cv_lib_Xext_XShmQueryExtension=yes
14755 else $as_nop
14756 ac_cv_lib_Xext_XShmQueryExtension=no
14758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14759 conftest$ac_exeext conftest.$ac_ext
14760 LIBS=$ac_check_lib_save_LIBS
14762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14763 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14764 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14765 then :
14767 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14772 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14773 then :
14774 case "x$with_xshm" in
14775 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14776 xno) ;;
14777 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14778 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14779 esac
14783 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14784 then
14785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14786 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14787 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14788 then :
14789 printf %s "(cached) " >&6
14790 else $as_nop
14791 ac_check_lib_save_LIBS=$LIBS
14792 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14796 /* Override any GCC internal prototype to avoid an error.
14797 Use char because int might match the return type of a GCC
14798 builtin and then its argument prototype would still apply. */
14799 char XShapeQueryExtension ();
14801 main (void)
14803 return XShapeQueryExtension ();
14805 return 0;
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"
14809 then :
14810 ac_cv_lib_Xext_XShapeQueryExtension=yes
14811 else $as_nop
14812 ac_cv_lib_Xext_XShapeQueryExtension=no
14814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14819 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14820 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14821 then :
14823 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14828 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14829 then :
14830 case "x$with_xshape" in
14831 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14832 xno) ;;
14833 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14834 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14835 esac
14839 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14840 then
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14842 printf %s "checking for -lXxf86vm... " >&6; }
14843 if test ${ac_cv_lib_soname_Xxf86vm+y}
14844 then :
14845 printf %s "(cached) " >&6
14846 else $as_nop
14847 ac_check_soname_save_LIBS=$LIBS
14848 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14852 /* Override any GCC internal prototype to avoid an error.
14853 Use char because int might match the return type of a GCC
14854 builtin and then its argument prototype would still apply. */
14855 char XF86VidModeQueryExtension ();
14857 main (void)
14859 return XF86VidModeQueryExtension ();
14861 return 0;
14863 _ACEOF
14864 if ac_fn_c_try_link "$LINENO"
14865 then :
14866 case "$LIBEXT" in
14867 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14868 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'` ;;
14869 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14870 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14871 then :
14872 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14873 fi ;;
14874 esac
14875 else $as_nop
14876 ac_cv_lib_soname_Xxf86vm=
14878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14879 conftest$ac_exeext conftest.$ac_ext
14880 LIBS=$ac_check_soname_save_LIBS
14882 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14883 then :
14884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14885 printf "%s\n" "not found" >&6; }
14887 else $as_nop
14888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14889 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14891 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14896 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14897 then :
14898 case "x$with_xxf86vm" in
14899 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14900 xno) ;;
14901 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14902 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14903 esac
14907 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14908 then
14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14910 printf %s "checking for -lXrender... " >&6; }
14911 if test ${ac_cv_lib_soname_Xrender+y}
14912 then :
14913 printf %s "(cached) " >&6
14914 else $as_nop
14915 ac_check_soname_save_LIBS=$LIBS
14916 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14920 /* Override any GCC internal prototype to avoid an error.
14921 Use char because int might match the return type of a GCC
14922 builtin and then its argument prototype would still apply. */
14923 char XRenderQueryExtension ();
14925 main (void)
14927 return XRenderQueryExtension ();
14929 return 0;
14931 _ACEOF
14932 if ac_fn_c_try_link "$LINENO"
14933 then :
14934 case "$LIBEXT" in
14935 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14936 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'` ;;
14937 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14938 if ${ac_cv_lib_soname_Xrender:+false} :
14939 then :
14940 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14941 fi ;;
14942 esac
14943 else $as_nop
14944 ac_cv_lib_soname_Xrender=
14946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14947 conftest$ac_exeext conftest.$ac_ext
14948 LIBS=$ac_check_soname_save_LIBS
14950 if ${ac_cv_lib_soname_Xrender:+false} :
14951 then :
14952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14953 printf "%s\n" "not found" >&6; }
14955 else $as_nop
14956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14957 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14959 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14962 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14963 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14964 then :
14965 printf %s "(cached) " >&6
14966 else $as_nop
14967 ac_check_lib_save_LIBS=$LIBS
14968 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14972 /* Override any GCC internal prototype to avoid an error.
14973 Use char because int might match the return type of a GCC
14974 builtin and then its argument prototype would still apply. */
14975 char XRenderSetPictureTransform ();
14977 main (void)
14979 return XRenderSetPictureTransform ();
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"
14985 then :
14986 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14987 else $as_nop
14988 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14991 conftest$ac_exeext conftest.$ac_ext
14992 LIBS=$ac_check_lib_save_LIBS
14994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14995 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14996 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14997 then :
14999 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15004 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15005 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15006 then :
15007 printf %s "(cached) " >&6
15008 else $as_nop
15009 ac_check_lib_save_LIBS=$LIBS
15010 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15014 /* Override any GCC internal prototype to avoid an error.
15015 Use char because int might match the return type of a GCC
15016 builtin and then its argument prototype would still apply. */
15017 char XRenderCreateLinearGradient ();
15019 main (void)
15021 return XRenderCreateLinearGradient ();
15023 return 0;
15025 _ACEOF
15026 if ac_fn_c_try_link "$LINENO"
15027 then :
15028 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15029 else $as_nop
15030 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15033 conftest$ac_exeext conftest.$ac_ext
15034 LIBS=$ac_check_lib_save_LIBS
15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15037 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15038 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15039 then :
15041 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15048 if test "x$ac_cv_lib_soname_Xrender" = "x"
15049 then :
15050 case "x$with_xrender" in
15051 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15052 xno) ;;
15053 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15054 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15055 esac
15059 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15060 then
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 #include <X11/Xlib.h>
15064 #include <X11/extensions/Xrandr.h>
15066 main (void)
15068 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15070 return 0;
15072 _ACEOF
15073 if ac_fn_c_try_compile "$LINENO"
15074 then :
15075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15076 printf %s "checking for -lXrandr... " >&6; }
15077 if test ${ac_cv_lib_soname_Xrandr+y}
15078 then :
15079 printf %s "(cached) " >&6
15080 else $as_nop
15081 ac_check_soname_save_LIBS=$LIBS
15082 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15084 /* end confdefs.h. */
15086 /* Override any GCC internal prototype to avoid an error.
15087 Use char because int might match the return type of a GCC
15088 builtin and then its argument prototype would still apply. */
15089 char XRRQueryExtension ();
15091 main (void)
15093 return XRRQueryExtension ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"
15099 then :
15100 case "$LIBEXT" in
15101 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15102 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'` ;;
15103 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15104 if ${ac_cv_lib_soname_Xrandr:+false} :
15105 then :
15106 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15107 fi ;;
15108 esac
15109 else $as_nop
15110 ac_cv_lib_soname_Xrandr=
15112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15113 conftest$ac_exeext conftest.$ac_ext
15114 LIBS=$ac_check_soname_save_LIBS
15116 if ${ac_cv_lib_soname_Xrandr:+false} :
15117 then :
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15119 printf "%s\n" "not found" >&6; }
15121 else $as_nop
15122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15123 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15125 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129 #include <X11/Xlib.h>
15130 #include <X11/extensions/Xrandr.h>
15132 main (void)
15134 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15136 return 0;
15138 _ACEOF
15139 if ac_fn_c_try_compile "$LINENO"
15140 then :
15142 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15144 else $as_nop
15145 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15152 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15153 then :
15154 case "x$with_xrandr" in
15155 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15156 xno) ;;
15157 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15158 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15159 esac
15163 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15164 then
15165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 /* end confdefs.h. */
15167 #include <X11/Xlib.h>
15168 #include <X11/extensions/Xfixes.h>
15170 main (void)
15172 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_compile "$LINENO"
15178 then :
15179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15180 printf %s "checking for -lXfixes... " >&6; }
15181 if test ${ac_cv_lib_soname_Xfixes+y}
15182 then :
15183 printf %s "(cached) " >&6
15184 else $as_nop
15185 ac_check_soname_save_LIBS=$LIBS
15186 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15190 /* Override any GCC internal prototype to avoid an error.
15191 Use char because int might match the return type of a GCC
15192 builtin and then its argument prototype would still apply. */
15193 char XFixesQueryVersion ();
15195 main (void)
15197 return XFixesQueryVersion ();
15199 return 0;
15201 _ACEOF
15202 if ac_fn_c_try_link "$LINENO"
15203 then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 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'` ;;
15207 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_Xfixes:+false} :
15209 then :
15210 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15211 fi ;;
15212 esac
15213 else $as_nop
15214 ac_cv_lib_soname_Xfixes=
15216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15217 conftest$ac_exeext conftest.$ac_ext
15218 LIBS=$ac_check_soname_save_LIBS
15220 if ${ac_cv_lib_soname_Xfixes:+false} :
15221 then :
15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15223 printf "%s\n" "not found" >&6; }
15225 else $as_nop
15226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15227 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15229 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15236 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15237 then :
15238 case "x$with_xfixes" in
15239 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15240 xno) ;;
15241 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15242 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15243 esac
15247 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15248 then
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15251 #include <X11/Xlib.h>
15252 #include <X11/extensions/Xinerama.h>
15254 main (void)
15256 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15258 return 0;
15260 _ACEOF
15261 if ac_fn_c_try_compile "$LINENO"
15262 then :
15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15264 printf %s "checking for -lXinerama... " >&6; }
15265 if test ${ac_cv_lib_soname_Xinerama+y}
15266 then :
15267 printf %s "(cached) " >&6
15268 else $as_nop
15269 ac_check_soname_save_LIBS=$LIBS
15270 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15272 /* end confdefs.h. */
15274 /* Override any GCC internal prototype to avoid an error.
15275 Use char because int might match the return type of a GCC
15276 builtin and then its argument prototype would still apply. */
15277 char XineramaQueryScreens ();
15279 main (void)
15281 return XineramaQueryScreens ();
15283 return 0;
15285 _ACEOF
15286 if ac_fn_c_try_link "$LINENO"
15287 then :
15288 case "$LIBEXT" in
15289 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15290 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'` ;;
15291 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15292 if ${ac_cv_lib_soname_Xinerama:+false} :
15293 then :
15294 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 fi ;;
15296 esac
15297 else $as_nop
15298 ac_cv_lib_soname_Xinerama=
15300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15301 conftest$ac_exeext conftest.$ac_ext
15302 LIBS=$ac_check_soname_save_LIBS
15304 if ${ac_cv_lib_soname_Xinerama:+false} :
15305 then :
15306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15307 printf "%s\n" "not found" >&6; }
15309 else $as_nop
15310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15311 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15313 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15320 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15321 then :
15322 case "x$with_xinerama" in
15323 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15324 xno) ;;
15325 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15326 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15327 esac
15331 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15332 then
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15334 printf %s "checking for -lXcomposite... " >&6; }
15335 if test ${ac_cv_lib_soname_Xcomposite+y}
15336 then :
15337 printf %s "(cached) " >&6
15338 else $as_nop
15339 ac_check_soname_save_LIBS=$LIBS
15340 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15347 char XCompositeRedirectWindow ();
15349 main (void)
15351 return XCompositeRedirectWindow ();
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_link "$LINENO"
15357 then :
15358 case "$LIBEXT" in
15359 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15360 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'` ;;
15361 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15362 if ${ac_cv_lib_soname_Xcomposite:+false} :
15363 then :
15364 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15365 fi ;;
15366 esac
15367 else $as_nop
15368 ac_cv_lib_soname_Xcomposite=
15370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15371 conftest$ac_exeext conftest.$ac_ext
15372 LIBS=$ac_check_soname_save_LIBS
15374 if ${ac_cv_lib_soname_Xcomposite:+false} :
15375 then :
15376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15377 printf "%s\n" "not found" >&6; }
15379 else $as_nop
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15381 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15383 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15388 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15389 then :
15390 case "x$with_xcomposite" in
15391 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15392 xno) ;;
15393 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15394 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15395 esac
15399 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15400 #include <X11/Xlib.h>
15401 #endif
15403 if test "x$ac_cv_member_XICCallback_callback" = xyes
15404 then :
15406 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15410 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15411 #include <X11/Xlib.h>
15412 #endif
15414 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15415 then :
15417 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15424 opengl_msg=""
15425 if test "x$with_opengl" != "xno"
15426 then
15427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15428 printf %s "checking for -lGL... " >&6; }
15429 if test ${ac_cv_lib_soname_GL+y}
15430 then :
15431 printf %s "(cached) " >&6
15432 else $as_nop
15433 ac_check_soname_save_LIBS=$LIBS
15434 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 char glXCreateContext ();
15443 main (void)
15445 return glXCreateContext ();
15447 return 0;
15449 _ACEOF
15450 if ac_fn_c_try_link "$LINENO"
15451 then :
15452 case "$LIBEXT" in
15453 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15454 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'` ;;
15455 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15456 if ${ac_cv_lib_soname_GL:+false} :
15457 then :
15458 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15459 fi ;;
15460 esac
15461 else $as_nop
15462 ac_cv_lib_soname_GL=
15464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15465 conftest$ac_exeext conftest.$ac_ext
15466 LIBS=$ac_check_soname_save_LIBS
15468 if ${ac_cv_lib_soname_GL:+false} :
15469 then :
15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15471 printf "%s\n" "not found" >&6; }
15472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15473 printf %s "checking for -lGL... " >&6; }
15474 if test ${ac_cv_lib_soname_GL+y}
15475 then :
15476 printf %s "(cached) " >&6
15477 else $as_nop
15478 ac_check_soname_save_LIBS=$LIBS
15479 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"
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 char glXCreateContext ();
15488 main (void)
15490 return glXCreateContext ();
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"
15496 then :
15497 case "$LIBEXT" in
15498 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15499 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'` ;;
15500 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15501 if ${ac_cv_lib_soname_GL:+false} :
15502 then :
15503 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15504 fi ;;
15505 esac
15506 else $as_nop
15507 ac_cv_lib_soname_GL=
15509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15510 conftest$ac_exeext conftest.$ac_ext
15511 LIBS=$ac_check_soname_save_LIBS
15513 if ${ac_cv_lib_soname_GL:+false} :
15514 then :
15515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15516 printf "%s\n" "not found" >&6; }
15517 if test -f /usr/X11R6/lib/libGL.a
15518 then
15519 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15520 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15521 else
15522 opengl_msg="No OpenGL library found on this system."
15524 else $as_nop
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15528 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15530 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"
15532 else $as_nop
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15534 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15536 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15538 OPENGL_LIBS="-lGL"
15540 if test "x$with_osmesa" != "xno"
15541 then
15542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15543 printf %s "checking for -lOSMesa... " >&6; }
15544 if test ${ac_cv_lib_soname_OSMesa+y}
15545 then :
15546 printf %s "(cached) " >&6
15547 else $as_nop
15548 ac_check_soname_save_LIBS=$LIBS
15549 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 char OSMesaGetProcAddress ();
15558 main (void)
15560 return OSMesaGetProcAddress ();
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"
15566 then :
15567 case "$LIBEXT" in
15568 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15569 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'` ;;
15570 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15571 if ${ac_cv_lib_soname_OSMesa:+false} :
15572 then :
15573 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15574 fi ;;
15575 esac
15576 else $as_nop
15577 ac_cv_lib_soname_OSMesa=
15579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15580 conftest$ac_exeext conftest.$ac_ext
15581 LIBS=$ac_check_soname_save_LIBS
15583 if ${ac_cv_lib_soname_OSMesa:+false} :
15584 then :
15585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15586 printf "%s\n" "not found" >&6; }
15588 else $as_nop
15589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15590 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15592 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15596 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15597 then :
15598 case "x$with_osmesa" in
15599 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15600 xno) ;;
15601 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15602 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15603 esac
15608 if test -n "$opengl_msg"
15609 then :
15610 case "x$with_opengl" in
15611 x) as_fn_append wine_warnings "|$opengl_msg
15612 OpenGL and Direct3D won't be supported." ;;
15613 xno) ;;
15614 *) as_fn_error $? "$opengl_msg
15615 OpenGL and Direct3D won't be supported.
15616 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15617 esac
15621 CPPFLAGS="$ac_save_CPPFLAGS"
15622 else
15623 X_CFLAGS=""
15624 X_LIBS=""
15627 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15628 then
15629 if test "x$X_LIBS" = "x"
15630 then :
15631 case "x$with_x" in
15632 xno) ;;
15633 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15634 without X support, which probably isn't what you want. You will need
15635 to install ${notice_platform}development packages of Xlib at the very least.
15636 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15637 esac
15638 enable_winex11_drv=${enable_winex11_drv:-no}
15640 else
15641 if test "x$X_LIBS" = "x"
15642 then :
15643 case "x$with_x" in
15644 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15645 xno) ;;
15646 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15647 This is an error since --with-x was requested." "$LINENO" 5 ;;
15648 esac
15649 enable_winex11_drv=${enable_winex11_drv:-no}
15653 if test "$ac_cv_header_CL_cl_h" = "yes"
15654 then
15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15656 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15657 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15658 then :
15659 printf %s "(cached) " >&6
15660 else $as_nop
15661 ac_check_lib_save_LIBS=$LIBS
15662 LIBS="-lOpenCL $LIBS"
15663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15664 /* end confdefs.h. */
15666 /* Override any GCC internal prototype to avoid an error.
15667 Use char because int might match the return type of a GCC
15668 builtin and then its argument prototype would still apply. */
15669 char clGetPlatformInfo ();
15671 main (void)
15673 return clGetPlatformInfo ();
15675 return 0;
15677 _ACEOF
15678 if ac_fn_c_try_link "$LINENO"
15679 then :
15680 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15681 else $as_nop
15682 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15685 conftest$ac_exeext conftest.$ac_ext
15686 LIBS=$ac_check_lib_save_LIBS
15688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15689 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15690 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15691 then :
15692 OPENCL_LIBS="-lOpenCL"
15697 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15698 then :
15699 case "x$with_opencl" in
15700 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15701 xno) ;;
15702 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15703 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15704 esac
15705 enable_opencl=${enable_opencl:-no}
15708 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15709 then
15710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15711 printf %s "checking for pcap_create in -lpcap... " >&6; }
15712 if test ${ac_cv_lib_pcap_pcap_create+y}
15713 then :
15714 printf %s "(cached) " >&6
15715 else $as_nop
15716 ac_check_lib_save_LIBS=$LIBS
15717 LIBS="-lpcap $LIBS"
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h. */
15721 /* Override any GCC internal prototype to avoid an error.
15722 Use char because int might match the return type of a GCC
15723 builtin and then its argument prototype would still apply. */
15724 char pcap_create ();
15726 main (void)
15728 return pcap_create ();
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_link "$LINENO"
15734 then :
15735 ac_cv_lib_pcap_pcap_create=yes
15736 else $as_nop
15737 ac_cv_lib_pcap_pcap_create=no
15739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15740 conftest$ac_exeext conftest.$ac_ext
15741 LIBS=$ac_check_lib_save_LIBS
15743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15744 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15745 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15746 then :
15747 PCAP_LIBS="-lpcap"
15752 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15753 then :
15754 case "x$with_pcap" in
15755 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15756 xno) ;;
15757 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15758 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15759 esac
15760 enable_wpcap=${enable_wpcap:-no}
15763 if test "x$with_inotify" != "xno"
15764 then
15765 if ${INOTIFY_CFLAGS:+false} :
15766 then :
15767 if test ${PKG_CONFIG+y}
15768 then :
15769 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15773 if ${INOTIFY_LIBS:+false} :
15774 then :
15775 if test ${PKG_CONFIG+y}
15776 then :
15777 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15783 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15784 ac_save_CPPFLAGS=$CPPFLAGS
15785 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15786 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15787 if test "x$ac_cv_header_sys_inotify_h" = xyes
15788 then :
15789 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15794 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15795 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15796 then :
15797 printf %s "(cached) " >&6
15798 else $as_nop
15799 ac_check_lib_save_LIBS=$LIBS
15800 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 char inotify_add_watch ();
15809 main (void)
15811 return inotify_add_watch ();
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"
15817 then :
15818 ac_cv_lib_inotify_inotify_add_watch=yes
15819 else $as_nop
15820 ac_cv_lib_inotify_inotify_add_watch=no
15822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_lib_save_LIBS
15826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15827 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15828 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15829 then :
15831 else $as_nop
15832 INOTIFY_LIBS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "$ac_cv_header_sys_inotify_h" != "yes"
15839 then :
15840 case "x$with_inotify" in
15841 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15844 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15845 esac
15849 if test "x$with_dbus" != "xno"
15850 then
15851 if ${DBUS_CFLAGS:+false} :
15852 then :
15853 if test ${PKG_CONFIG+y}
15854 then :
15855 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
15859 if ${DBUS_LIBS:+false} :
15860 then :
15861 if test ${PKG_CONFIG+y}
15862 then :
15863 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15870 ac_save_CPPFLAGS=$CPPFLAGS
15871 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15872 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15873 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15874 then :
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15876 printf %s "checking for -ldbus-1... " >&6; }
15877 if test ${ac_cv_lib_soname_dbus_1+y}
15878 then :
15879 printf %s "(cached) " >&6
15880 else $as_nop
15881 ac_check_soname_save_LIBS=$LIBS
15882 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15886 /* Override any GCC internal prototype to avoid an error.
15887 Use char because int might match the return type of a GCC
15888 builtin and then its argument prototype would still apply. */
15889 char dbus_connection_close ();
15891 main (void)
15893 return dbus_connection_close ();
15895 return 0;
15897 _ACEOF
15898 if ac_fn_c_try_link "$LINENO"
15899 then :
15900 case "$LIBEXT" in
15901 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15902 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'` ;;
15903 *) 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'`
15904 if ${ac_cv_lib_soname_dbus_1:+false} :
15905 then :
15906 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15907 fi ;;
15908 esac
15909 else $as_nop
15910 ac_cv_lib_soname_dbus_1=
15912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_soname_save_LIBS
15916 if ${ac_cv_lib_soname_dbus_1:+false} :
15917 then :
15918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15919 printf "%s\n" "not found" >&6; }
15920 DBUS_CFLAGS=""
15921 else $as_nop
15922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15923 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15925 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15929 else $as_nop
15930 DBUS_CFLAGS=""
15933 CPPFLAGS=$ac_save_CPPFLAGS
15936 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
15937 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
15938 then :
15939 case "x$with_dbus" in
15940 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15941 xno) ;;
15942 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15943 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15944 esac
15948 if test "x$with_gnutls" != "xno"
15949 then
15950 if ${GNUTLS_CFLAGS:+false} :
15951 then :
15952 if test ${PKG_CONFIG+y}
15953 then :
15954 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
15958 if ${GNUTLS_LIBS:+false} :
15959 then :
15960 if test ${PKG_CONFIG+y}
15961 then :
15962 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15966 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15969 ac_save_CPPFLAGS=$CPPFLAGS
15970 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15971 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15972 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15973 then :
15974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15975 /* end confdefs.h. */
15976 #include <gnutls/gnutls.h>
15977 #include <gnutls/crypto.h>
15979 main (void)
15981 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15983 return 0;
15985 _ACEOF
15986 if ac_fn_c_try_compile "$LINENO"
15987 then :
15988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15989 printf %s "checking for -lgnutls... " >&6; }
15990 if test ${ac_cv_lib_soname_gnutls+y}
15991 then :
15992 printf %s "(cached) " >&6
15993 else $as_nop
15994 ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 char gnutls_global_init ();
16004 main (void)
16006 return gnutls_global_init ();
16008 return 0;
16010 _ACEOF
16011 if ac_fn_c_try_link "$LINENO"
16012 then :
16013 case "$LIBEXT" in
16014 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16015 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'` ;;
16016 *) 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'`
16017 if ${ac_cv_lib_soname_gnutls:+false} :
16018 then :
16019 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'`
16020 fi ;;
16021 esac
16022 else $as_nop
16023 ac_cv_lib_soname_gnutls=
16025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS=$ac_check_soname_save_LIBS
16029 if ${ac_cv_lib_soname_gnutls:+false} :
16030 then :
16031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16032 printf "%s\n" "not found" >&6; }
16033 GNUTLS_CFLAGS=""
16034 else $as_nop
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16036 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16038 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16042 ac_wine_check_funcs_save_LIBS="$LIBS"
16043 LIBS="$LIBS $GNUTLS_LIBS"
16045 for ac_func in gnutls_cipher_init
16046 do :
16047 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16048 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16049 then :
16050 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16052 else $as_nop
16053 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16056 done
16057 LIBS="$ac_wine_check_funcs_save_LIBS"
16059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16060 else $as_nop
16061 GNUTLS_CFLAGS=""
16064 CPPFLAGS=$ac_save_CPPFLAGS
16067 if test "x$ac_cv_lib_soname_gnutls" = "x"
16068 then :
16069 case "x$with_gnutls" in
16070 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16071 xno) ;;
16072 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16073 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16074 esac
16078 if test "x$with_sane" != "xno"
16079 then
16080 if ${SANE_CFLAGS:+false} :
16081 then :
16082 if test ${PKG_CONFIG+y}
16083 then :
16084 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16087 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16088 if ${SANE_LIBS:+false} :
16089 then :
16090 if test ${PKG_CONFIG+y}
16091 then :
16092 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16095 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16099 ac_save_CPPFLAGS=$CPPFLAGS
16100 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16101 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16102 if test "x$ac_cv_header_sane_sane_h" = xyes
16103 then :
16104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16105 printf %s "checking for sane_init in -lsane... " >&6; }
16106 if test ${ac_cv_lib_sane_sane_init+y}
16107 then :
16108 printf %s "(cached) " >&6
16109 else $as_nop
16110 ac_check_lib_save_LIBS=$LIBS
16111 LIBS="-lsane $SANE_LIBS $LIBS"
16112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16113 /* end confdefs.h. */
16115 /* Override any GCC internal prototype to avoid an error.
16116 Use char because int might match the return type of a GCC
16117 builtin and then its argument prototype would still apply. */
16118 char sane_init ();
16120 main (void)
16122 return sane_init ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"
16128 then :
16129 ac_cv_lib_sane_sane_init=yes
16130 else $as_nop
16131 ac_cv_lib_sane_sane_init=no
16133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16134 conftest$ac_exeext conftest.$ac_ext
16135 LIBS=$ac_check_lib_save_LIBS
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16138 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16139 if test "x$ac_cv_lib_sane_sane_init" = xyes
16140 then :
16146 CPPFLAGS=$ac_save_CPPFLAGS
16149 if test "$ac_cv_lib_sane_sane_init" != "yes"
16150 then :
16151 case "x$with_sane" in
16152 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16153 xno) ;;
16154 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16155 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16156 esac
16157 enable_sane_ds=${enable_sane_ds:-no}
16160 if test "x$with_usb" != "xno"
16161 then
16162 if ${USB_CFLAGS:+false} :
16163 then :
16164 if test ${PKG_CONFIG+y}
16165 then :
16166 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16170 if ${USB_LIBS:+false} :
16171 then :
16172 if test ${PKG_CONFIG+y}
16173 then :
16174 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16178 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16181 ac_save_CPPFLAGS=$CPPFLAGS
16182 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16183 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16184 if test "x$ac_cv_header_libusb_h" = xyes
16185 then :
16186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16187 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16188 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16189 then :
16190 printf %s "(cached) " >&6
16191 else $as_nop
16192 ac_check_lib_save_LIBS=$LIBS
16193 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16197 /* Override any GCC internal prototype to avoid an error.
16198 Use char because int might match the return type of a GCC
16199 builtin and then its argument prototype would still apply. */
16200 char libusb_interrupt_event_handler ();
16202 main (void)
16204 return libusb_interrupt_event_handler ();
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"
16210 then :
16211 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16212 else $as_nop
16213 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16216 conftest$ac_exeext conftest.$ac_ext
16217 LIBS=$ac_check_lib_save_LIBS
16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16220 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16221 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16222 then :
16224 else $as_nop
16225 USB_LIBS=""
16228 else $as_nop
16229 USB_LIBS=""
16232 CPPFLAGS=$ac_save_CPPFLAGS
16235 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16236 then :
16237 case "x$with_usb" in
16238 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16239 xno) ;;
16240 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16241 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16242 esac
16243 enable_wineusb_sys=${enable_wineusb_sys:-no}
16246 if test "x$with_v4l2" != "xno"
16247 then
16248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16249 printf %s "checking for -lv4l2... " >&6; }
16250 if test ${ac_cv_lib_soname_v4l2+y}
16251 then :
16252 printf %s "(cached) " >&6
16253 else $as_nop
16254 ac_check_soname_save_LIBS=$LIBS
16255 LIBS="-lv4l2 $LIBS"
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16257 /* end confdefs.h. */
16259 /* Override any GCC internal prototype to avoid an error.
16260 Use char because int might match the return type of a GCC
16261 builtin and then its argument prototype would still apply. */
16262 char v4l2_open ();
16264 main (void)
16266 return v4l2_open ();
16268 return 0;
16270 _ACEOF
16271 if ac_fn_c_try_link "$LINENO"
16272 then :
16273 case "$LIBEXT" in
16274 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16275 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'` ;;
16276 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16277 if ${ac_cv_lib_soname_v4l2:+false} :
16278 then :
16279 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16280 fi ;;
16281 esac
16282 else $as_nop
16283 ac_cv_lib_soname_v4l2=
16285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16286 conftest$ac_exeext conftest.$ac_ext
16287 LIBS=$ac_check_soname_save_LIBS
16289 if ${ac_cv_lib_soname_v4l2:+false} :
16290 then :
16291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16292 printf "%s\n" "not found" >&6; }
16294 else $as_nop
16295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16296 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16298 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16303 if test "x$ac_cv_lib_soname_v4l2" = "x"
16304 then :
16305 case "x$with_v4l2" in
16306 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16307 xno) ;;
16308 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16309 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16310 esac
16314 if test "x$with_gphoto" != "xno"
16315 then
16316 if ${GPHOTO2_CFLAGS:+false} :
16317 then :
16318 if test ${PKG_CONFIG+y}
16319 then :
16320 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16323 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16324 if ${GPHOTO2_LIBS:+false} :
16325 then :
16326 if test ${PKG_CONFIG+y}
16327 then :
16328 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16331 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16332 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16335 ac_save_CPPFLAGS=$CPPFLAGS
16336 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16337 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16338 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16339 then :
16340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16341 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16342 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16343 then :
16344 printf %s "(cached) " >&6
16345 else $as_nop
16346 ac_check_lib_save_LIBS=$LIBS
16347 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16349 /* end confdefs.h. */
16351 /* Override any GCC internal prototype to avoid an error.
16352 Use char because int might match the return type of a GCC
16353 builtin and then its argument prototype would still apply. */
16354 char gp_camera_new ();
16356 main (void)
16358 return gp_camera_new ();
16360 return 0;
16362 _ACEOF
16363 if ac_fn_c_try_link "$LINENO"
16364 then :
16365 ac_cv_lib_gphoto2_gp_camera_new=yes
16366 else $as_nop
16367 ac_cv_lib_gphoto2_gp_camera_new=no
16369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16370 conftest$ac_exeext conftest.$ac_ext
16371 LIBS=$ac_check_lib_save_LIBS
16373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16374 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16375 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16376 then :
16382 CPPFLAGS=$ac_save_CPPFLAGS
16384 if ${GPHOTO2_PORT_CFLAGS:+false} :
16385 then :
16386 if test ${PKG_CONFIG+y}
16387 then :
16388 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16391 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16392 if ${GPHOTO2_PORT_LIBS:+false} :
16393 then :
16394 if test ${PKG_CONFIG+y}
16395 then :
16396 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16399 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16400 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16403 ac_save_CPPFLAGS=$CPPFLAGS
16404 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16405 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16406 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16407 then :
16408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16409 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16410 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16411 then :
16412 printf %s "(cached) " >&6
16413 else $as_nop
16414 ac_check_lib_save_LIBS=$LIBS
16415 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16419 /* Override any GCC internal prototype to avoid an error.
16420 Use char because int might match the return type of a GCC
16421 builtin and then its argument prototype would still apply. */
16422 char gp_port_info_list_new ();
16424 main (void)
16426 return gp_port_info_list_new ();
16428 return 0;
16430 _ACEOF
16431 if ac_fn_c_try_link "$LINENO"
16432 then :
16433 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16434 else $as_nop
16435 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16438 conftest$ac_exeext conftest.$ac_ext
16439 LIBS=$ac_check_lib_save_LIBS
16441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16442 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16443 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16444 then :
16446 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16448 else $as_nop
16449 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16452 else $as_nop
16453 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16456 CPPFLAGS=$ac_save_CPPFLAGS
16459 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16460 then :
16461 case "x$with_gphoto" in
16462 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16463 xno) ;;
16464 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16465 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16466 esac
16467 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16469 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16470 then :
16471 case "x$with_gphoto" in
16472 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16473 xno) ;;
16474 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16475 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16476 esac
16481 if test "$ac_cv_header_resolv_h" = "yes"
16482 then
16483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16484 printf %s "checking for resolver library... " >&6; }
16485 if test ${ac_cv_have_resolv+y}
16486 then :
16487 printf %s "(cached) " >&6
16488 else $as_nop
16489 ac_save_LIBS="$LIBS"
16490 for lib in '' -lresolv
16492 LIBS="$lib $ac_save_LIBS"
16493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 /* end confdefs.h. */
16495 #ifdef HAVE_NETINET_IN_H
16496 #include <netinet/in.h>
16497 #endif
16498 #include <resolv.h>
16500 main (void)
16502 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16504 return 0;
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"
16508 then :
16509 ac_cv_have_resolv=${lib:-"none required"}
16510 else $as_nop
16511 ac_cv_have_resolv="not found"
16513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16514 conftest$ac_exeext conftest.$ac_ext
16515 test "x$ac_cv_have_resolv" = "xnot found" || break
16516 done
16517 LIBS="$ac_save_LIBS"
16519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16520 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16522 case "$ac_cv_have_resolv" in
16523 "not found") ;;
16524 "none required")
16526 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16529 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16531 RESOLV_LIBS=$ac_cv_have_resolv
16533 esac
16535 if test "x$ac_cv_have_resolv" != "xnot found"
16536 then
16537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16538 printf %s "checking for res_getservers... " >&6; }
16539 if test ${ac_cv_have_res_getservers+y}
16540 then :
16541 printf %s "(cached) " >&6
16542 else $as_nop
16543 ac_save_LIBS="$LIBS"
16544 LIBS="$RESOLV_LIBS $LIBS"
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #include <resolv.h>
16549 main (void)
16551 res_getservers(NULL, NULL, 0);
16553 return 0;
16555 _ACEOF
16556 if ac_fn_c_try_link "$LINENO"
16557 then :
16558 ac_cv_have_res_getservers=yes
16559 else $as_nop
16560 ac_cv_have_res_getservers=no
16562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16563 conftest$ac_exeext conftest.$ac_ext
16564 LIBS="$ac_save_LIBS"
16566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16567 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16568 if test "$ac_cv_have_res_getservers" = "yes"
16569 then
16571 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16577 if test "x$with_freetype" != "xno"
16578 then
16579 if ${FREETYPE_CFLAGS:+false} :
16580 then :
16581 if test ${PKG_CONFIG+y}
16582 then :
16583 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16586 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16587 if ${FREETYPE_LIBS:+false} :
16588 then :
16589 if test ${PKG_CONFIG+y}
16590 then :
16591 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16594 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16595 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16598 ac_save_CPPFLAGS=$CPPFLAGS
16599 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16600 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16601 if test "x$ac_cv_header_ft2build_h" = xyes
16602 then :
16603 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16607 if test "$ac_cv_header_ft2build_h" = "yes"
16608 then
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16610 printf %s "checking for -lfreetype... " >&6; }
16611 if test ${ac_cv_lib_soname_freetype+y}
16612 then :
16613 printf %s "(cached) " >&6
16614 else $as_nop
16615 ac_check_soname_save_LIBS=$LIBS
16616 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16618 /* end confdefs.h. */
16620 /* Override any GCC internal prototype to avoid an error.
16621 Use char because int might match the return type of a GCC
16622 builtin and then its argument prototype would still apply. */
16623 char FT_Init_FreeType ();
16625 main (void)
16627 return FT_Init_FreeType ();
16629 return 0;
16631 _ACEOF
16632 if ac_fn_c_try_link "$LINENO"
16633 then :
16634 case "$LIBEXT" in
16635 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16636 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'` ;;
16637 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16638 if ${ac_cv_lib_soname_freetype:+false} :
16639 then :
16640 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16641 fi ;;
16642 esac
16643 else $as_nop
16644 ac_cv_lib_soname_freetype=
16646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16647 conftest$ac_exeext conftest.$ac_ext
16648 LIBS=$ac_check_soname_save_LIBS
16650 if ${ac_cv_lib_soname_freetype:+false} :
16651 then :
16652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16653 printf "%s\n" "not found" >&6; }
16654 FREETYPE_LIBS=""
16655 else $as_nop
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16657 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16659 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16662 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16664 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16665 #include FT_MODULE_H
16667 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16668 then :
16670 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16676 else
16677 FREETYPE_CFLAGS=""
16678 FREETYPE_LIBS=""
16680 CPPFLAGS=$ac_save_CPPFLAGS
16683 if test "x$ac_cv_lib_soname_freetype" = x
16684 then :
16685 case "x$with_freetype" in
16686 xno) ;;
16687 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16688 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16689 esac
16690 enable_fonts=${enable_fonts:-no}
16693 ac_wine_check_funcs_save_LIBS="$LIBS"
16694 LIBS="$LIBS $PTHREAD_LIBS"
16695 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16696 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16697 then :
16698 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16702 LIBS="$ac_wine_check_funcs_save_LIBS"
16704 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16705 then
16706 if test "$ac_cv_header_gettext_po_h" = "yes"
16707 then
16708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16709 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16710 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16711 then :
16712 printf %s "(cached) " >&6
16713 else $as_nop
16714 ac_check_lib_save_LIBS=$LIBS
16715 LIBS="-lgettextpo $LIBS"
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 char po_message_msgctxt ();
16724 main (void)
16726 return po_message_msgctxt ();
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"
16732 then :
16733 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16734 else $as_nop
16735 ac_cv_lib_gettextpo_po_message_msgctxt=no
16737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16738 conftest$ac_exeext conftest.$ac_ext
16739 LIBS=$ac_check_lib_save_LIBS
16741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16742 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16743 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16744 then :
16746 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16748 GETTEXTPO_LIBS="-lgettextpo"
16753 if test "x$GETTEXTPO_LIBS" = "x"
16754 then :
16755 case "x$with_gettextpo" in
16756 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16757 xno) ;;
16758 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16759 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16760 esac
16763 if test "$srcdir" != .
16764 then :
16765 case "x$with_gettextpo" in
16766 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16767 xno) ;;
16768 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16769 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16770 esac
16775 if test "x$with_pulse" != "xno";
16776 then
16777 if ${PULSE_CFLAGS:+false} :
16778 then :
16779 if test ${PKG_CONFIG+y}
16780 then :
16781 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
16785 if ${PULSE_LIBS:+false} :
16786 then :
16787 if test ${PKG_CONFIG+y}
16788 then :
16789 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16796 ac_save_CPPFLAGS=$CPPFLAGS
16797 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16798 for ac_header in pulse/pulseaudio.h
16799 do :
16800 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16801 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16802 then :
16803 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16805 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16806 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16807 then :
16808 printf %s "(cached) " >&6
16809 else $as_nop
16810 ac_check_lib_save_LIBS=$LIBS
16811 LIBS="-lpulse $PULSE_LIBS $LIBS"
16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16813 /* end confdefs.h. */
16815 /* Override any GCC internal prototype to avoid an error.
16816 Use char because int might match the return type of a GCC
16817 builtin and then its argument prototype would still apply. */
16818 char pa_stream_is_corked ();
16820 main (void)
16822 return pa_stream_is_corked ();
16824 return 0;
16826 _ACEOF
16827 if ac_fn_c_try_link "$LINENO"
16828 then :
16829 ac_cv_lib_pulse_pa_stream_is_corked=yes
16830 else $as_nop
16831 ac_cv_lib_pulse_pa_stream_is_corked=no
16833 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16834 conftest$ac_exeext conftest.$ac_ext
16835 LIBS=$ac_check_lib_save_LIBS
16837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16838 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16839 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16840 then :
16842 else $as_nop
16843 PULSE_LIBS=""
16846 else $as_nop
16847 PULSE_LIBS=""
16850 done
16851 CPPFLAGS=$ac_save_CPPFLAGS
16854 if test -z "$PULSE_LIBS"
16855 then :
16856 case "x$with_pulse" in
16857 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16858 xno) ;;
16859 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16860 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16861 esac
16862 enable_winepulse_drv=${enable_winepulse_drv:-no}
16865 if test "x$with_gstreamer" != "xno"
16866 then
16867 if ${GSTREAMER_CFLAGS:+false} :
16868 then :
16869 if test ${PKG_CONFIG+y}
16870 then :
16871 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16875 if ${GSTREAMER_LIBS:+false} :
16876 then :
16877 if test ${PKG_CONFIG+y}
16878 then :
16879 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16886 ac_save_CPPFLAGS=$CPPFLAGS
16887 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16888 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16889 if test "x$ac_cv_header_gst_gst_h" = xyes
16890 then :
16891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16892 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16894 /* end confdefs.h. */
16895 #include <gst/gst.h>
16897 main (void)
16899 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16901 return 0;
16903 _ACEOF
16904 if ac_fn_c_try_compile "$LINENO"
16905 then :
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16907 printf "%s\n" "yes" >&6; }
16908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16909 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16910 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16911 then :
16912 printf %s "(cached) " >&6
16913 else $as_nop
16914 ac_check_lib_save_LIBS=$LIBS
16915 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16919 /* Override any GCC internal prototype to avoid an error.
16920 Use char because int might match the return type of a GCC
16921 builtin and then its argument prototype would still apply. */
16922 char gst_pad_new ();
16924 main (void)
16926 return gst_pad_new ();
16928 return 0;
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"
16932 then :
16933 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16934 else $as_nop
16935 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16938 conftest$ac_exeext conftest.$ac_ext
16939 LIBS=$ac_check_lib_save_LIBS
16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16942 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16943 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16944 then :
16948 else $as_nop
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16950 printf "%s\n" "no" >&6; }
16951 ac_glib2_broken=yes
16952 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16957 CPPFLAGS=$ac_save_CPPFLAGS
16960 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16961 then :
16962 case "x$with_gstreamer" in
16963 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16964 xno) ;;
16965 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16966 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16967 esac
16968 enable_winegstreamer=${enable_winegstreamer:-no}
16971 ALSA_LIBS=""
16973 if test "x$with_alsa" != "xno"
16974 then
16975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16976 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16977 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16978 then :
16979 printf %s "(cached) " >&6
16980 else $as_nop
16981 ac_check_lib_save_LIBS=$LIBS
16982 LIBS="-lasound $LIBS"
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16986 /* Override any GCC internal prototype to avoid an error.
16987 Use char because int might match the return type of a GCC
16988 builtin and then its argument prototype would still apply. */
16989 char snd_pcm_hw_params_get_access_mask ();
16991 main (void)
16993 return snd_pcm_hw_params_get_access_mask ();
16995 return 0;
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"
16999 then :
17000 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17001 else $as_nop
17002 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17005 conftest$ac_exeext conftest.$ac_ext
17006 LIBS=$ac_check_lib_save_LIBS
17008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17009 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17010 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17011 then :
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 #include <alsa/asoundlib.h>
17016 main (void)
17018 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17020 return 0;
17022 _ACEOF
17023 if ac_fn_c_try_compile "$LINENO"
17024 then :
17025 ALSA_LIBS="-lasound"
17027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17031 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17033 if test "x$with_oss" != xno
17034 then
17035 ac_save_CPPFLAGS="$CPPFLAGS"
17036 if test -f /etc/oss.conf
17037 then
17038 . /etc/oss.conf
17040 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17041 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17042 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17043 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17044 then :
17045 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17047 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17048 then :
17050 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17052 OSS4_CFLAGS="$ac_oss_incl"
17054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17055 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17056 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17057 then :
17058 printf %s "(cached) " >&6
17059 else $as_nop
17060 ac_check_lib_save_LIBS=$LIBS
17061 LIBS="-lossaudio $LIBS"
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17065 /* Override any GCC internal prototype to avoid an error.
17066 Use char because int might match the return type of a GCC
17067 builtin and then its argument prototype would still apply. */
17068 char _oss_ioctl ();
17070 main (void)
17072 return _oss_ioctl ();
17074 return 0;
17076 _ACEOF
17077 if ac_fn_c_try_link "$LINENO"
17078 then :
17079 ac_cv_lib_ossaudio__oss_ioctl=yes
17080 else $as_nop
17081 ac_cv_lib_ossaudio__oss_ioctl=no
17083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17084 conftest$ac_exeext conftest.$ac_ext
17085 LIBS=$ac_check_lib_save_LIBS
17087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17088 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17089 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17090 then :
17091 OSS4_LIBS="-lossaudio"
17099 CPPFLAGS="$ac_save_CPPFLAGS"
17101 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17102 then :
17103 case "x$with_oss" in
17104 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17105 xno) ;;
17106 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17107 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17108 esac
17109 enable_wineoss_drv=${enable_wineoss_drv:-no}
17112 if test "x$with_udev" != "xno"
17113 then
17114 if ${UDEV_CFLAGS:+false} :
17115 then :
17116 if test ${PKG_CONFIG+y}
17117 then :
17118 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17122 if ${UDEV_LIBS:+false} :
17123 then :
17124 if test ${PKG_CONFIG+y}
17125 then :
17126 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17130 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17133 ac_save_CPPFLAGS=$CPPFLAGS
17134 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17135 for ac_header in libudev.h
17136 do :
17137 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17138 if test "x$ac_cv_header_libudev_h" = xyes
17139 then :
17140 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17142 printf %s "checking for udev_new in -ludev... " >&6; }
17143 if test ${ac_cv_lib_udev_udev_new+y}
17144 then :
17145 printf %s "(cached) " >&6
17146 else $as_nop
17147 ac_check_lib_save_LIBS=$LIBS
17148 LIBS="-ludev $UDEV_LIBS $LIBS"
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17152 /* Override any GCC internal prototype to avoid an error.
17153 Use char because int might match the return type of a GCC
17154 builtin and then its argument prototype would still apply. */
17155 char udev_new ();
17157 main (void)
17159 return udev_new ();
17161 return 0;
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"
17165 then :
17166 ac_cv_lib_udev_udev_new=yes
17167 else $as_nop
17168 ac_cv_lib_udev_udev_new=no
17170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17171 conftest$ac_exeext conftest.$ac_ext
17172 LIBS=$ac_check_lib_save_LIBS
17174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17175 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17176 if test "x$ac_cv_lib_udev_udev_new" = xyes
17177 then :
17179 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17181 else $as_nop
17182 UDEV_LIBS=""
17185 else $as_nop
17186 UDEV_LIBS=""
17189 done
17190 CPPFLAGS=$ac_save_CPPFLAGS
17193 if test "x$UDEV_LIBS" = "x"
17194 then :
17195 case "x$with_udev" in
17196 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17197 xno) ;;
17198 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17199 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17200 esac
17204 if test "x$with_unwind" != xno
17205 then
17206 if ${UNWIND_CFLAGS:+false} :
17207 then :
17208 if test ${PKG_CONFIG+y}
17209 then :
17210 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17214 if ${UNWIND_LIBS:+false} :
17215 then :
17216 if test ${PKG_CONFIG+y}
17217 then :
17218 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17222 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17225 ac_save_CPPFLAGS=$CPPFLAGS
17226 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17228 printf %s "checking for unw_step... " >&6; }
17229 if test ${wine_cv_have_unw_step+y}
17230 then :
17231 printf %s "(cached) " >&6
17232 else $as_nop
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 #define UNW_LOCAL_ONLY
17236 #include <libunwind.h>
17238 main (void)
17240 unw_cursor_t cursor; unw_step( &cursor );
17242 return 0;
17244 _ACEOF
17245 if ac_fn_c_try_link "$LINENO"
17246 then :
17247 wine_cv_have_unw_step="yes"
17248 else $as_nop
17249 wine_cv_have_unw_step="no"
17251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17252 conftest$ac_exeext conftest.$ac_ext
17254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17255 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17256 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17257 then
17258 save_libs=$LIBS
17259 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17260 LIBS="$UNWIND_LIBS $LIBS"
17261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17262 printf %s "checking for unw_step in libunwind... " >&6; }
17263 if test ${wine_cv_have_libunwind_unw_step+y}
17264 then :
17265 printf %s "(cached) " >&6
17266 else $as_nop
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269 #define UNW_LOCAL_ONLY
17270 #include <libunwind.h>
17272 main (void)
17274 unw_cursor_t cursor; unw_step( &cursor );
17276 return 0;
17278 _ACEOF
17279 if ac_fn_c_try_link "$LINENO"
17280 then :
17281 wine_cv_have_libunwind_unw_step="yes"
17282 else $as_nop
17283 wine_cv_have_libunwind_unw_step="no"
17285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17286 conftest$ac_exeext conftest.$ac_ext
17288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17289 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17290 LIBS=$save_libs
17292 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17293 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17294 then
17296 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17299 CPPFLAGS=$ac_save_CPPFLAGS
17302 case $host in
17303 aarch64*|*-darwin*)
17304 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17305 then :
17306 case "x$with_unwind" in
17307 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17308 xno) ;;
17309 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17310 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17311 esac
17313 fi ;;
17314 esac
17316 if test "x$with_sdl" != "xno"
17317 then
17318 if ${SDL2_CFLAGS:+false} :
17319 then :
17320 if test ${PKG_CONFIG+y}
17321 then :
17322 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17326 if ${SDL2_LIBS:+false} :
17327 then :
17328 if test ${PKG_CONFIG+y}
17329 then :
17330 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17334 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17337 ac_save_CPPFLAGS=$CPPFLAGS
17338 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17339 for ac_header in SDL.h
17340 do :
17341 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17342 if test "x$ac_cv_header_SDL_h" = xyes
17343 then :
17344 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17346 printf %s "checking for -lSDL2... " >&6; }
17347 if test ${ac_cv_lib_soname_SDL2+y}
17348 then :
17349 printf %s "(cached) " >&6
17350 else $as_nop
17351 ac_check_soname_save_LIBS=$LIBS
17352 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17354 /* end confdefs.h. */
17356 /* Override any GCC internal prototype to avoid an error.
17357 Use char because int might match the return type of a GCC
17358 builtin and then its argument prototype would still apply. */
17359 char SDL_Init ();
17361 main (void)
17363 return SDL_Init ();
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"
17369 then :
17370 case "$LIBEXT" in
17371 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17372 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'` ;;
17373 *) 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'`
17374 if ${ac_cv_lib_soname_SDL2:+false} :
17375 then :
17376 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17377 fi ;;
17378 esac
17379 else $as_nop
17380 ac_cv_lib_soname_SDL2=
17382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17383 conftest$ac_exeext conftest.$ac_ext
17384 LIBS=$ac_check_soname_save_LIBS
17386 if ${ac_cv_lib_soname_SDL2:+false} :
17387 then :
17388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17389 printf "%s\n" "not found" >&6; }
17391 else $as_nop
17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17393 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17395 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17401 done
17402 CPPFLAGS=$ac_save_CPPFLAGS
17405 if test "x$ac_cv_lib_soname_SDL2" = "x"
17406 then :
17407 case "x$with_sdl" in
17408 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17409 xno) ;;
17410 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17411 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17412 esac
17416 if test "x$with_capi" != "xno"
17417 then
17418 if ${CAPI20_CFLAGS:+false} :
17419 then :
17420 if test ${PKG_CONFIG+y}
17421 then :
17422 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17426 if ${CAPI20_LIBS:+false} :
17427 then :
17428 if test ${PKG_CONFIG+y}
17429 then :
17430 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17437 ac_save_CPPFLAGS=$CPPFLAGS
17438 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17439 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17441 if test "x$ac_cv_header_capi20_h" = xyes
17442 then :
17443 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17446 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17448 if test "x$ac_cv_header_linux_capi_h" = xyes
17449 then :
17450 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17454 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17455 then
17456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17457 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17458 if test ${ac_cv_lib_capi20_capi20_register+y}
17459 then :
17460 printf %s "(cached) " >&6
17461 else $as_nop
17462 ac_check_lib_save_LIBS=$LIBS
17463 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17467 /* Override any GCC internal prototype to avoid an error.
17468 Use char because int might match the return type of a GCC
17469 builtin and then its argument prototype would still apply. */
17470 char capi20_register ();
17472 main (void)
17474 return capi20_register ();
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_link "$LINENO"
17480 then :
17481 ac_cv_lib_capi20_capi20_register=yes
17482 else $as_nop
17483 ac_cv_lib_capi20_capi20_register=no
17485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17486 conftest$ac_exeext conftest.$ac_ext
17487 LIBS=$ac_check_lib_save_LIBS
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17490 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17491 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17492 then :
17494 else $as_nop
17495 CAPI20_LIBS=""
17499 CPPFLAGS=$ac_save_CPPFLAGS
17502 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17503 then :
17504 case "x$with_capi" in
17505 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17506 xno) ;;
17507 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17508 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17509 esac
17510 enable_capi2032=${enable_capi2032:-no}
17513 if test "x$with_cups" != "xno"
17514 then
17515 if ${CUPS_CFLAGS:+false} :
17516 then :
17517 if test ${PKG_CONFIG+y}
17518 then :
17519 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17522 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17523 if ${CUPS_LIBS:+false} :
17524 then :
17525 if test ${PKG_CONFIG+y}
17526 then :
17527 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17530 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17531 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17534 ac_save_CPPFLAGS=$CPPFLAGS
17535 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17536 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17537 if test "x$ac_cv_header_cups_cups_h" = xyes
17538 then :
17539 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17542 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17543 if test "x$ac_cv_header_cups_ppd_h" = xyes
17544 then :
17545 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17549 if test "$ac_cv_header_cups_cups_h" = "yes"
17550 then
17551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17552 printf %s "checking for -lcups... " >&6; }
17553 if test ${ac_cv_lib_soname_cups+y}
17554 then :
17555 printf %s "(cached) " >&6
17556 else $as_nop
17557 ac_check_soname_save_LIBS=$LIBS
17558 LIBS="-lcups $CUPS_LIBS $LIBS"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17562 /* Override any GCC internal prototype to avoid an error.
17563 Use char because int might match the return type of a GCC
17564 builtin and then its argument prototype would still apply. */
17565 char cupsGetDefault ();
17567 main (void)
17569 return cupsGetDefault ();
17571 return 0;
17573 _ACEOF
17574 if ac_fn_c_try_link "$LINENO"
17575 then :
17576 case "$LIBEXT" in
17577 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17578 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'` ;;
17579 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17580 if ${ac_cv_lib_soname_cups:+false} :
17581 then :
17582 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17583 fi ;;
17584 esac
17585 else $as_nop
17586 ac_cv_lib_soname_cups=
17588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17589 conftest$ac_exeext conftest.$ac_ext
17590 LIBS=$ac_check_soname_save_LIBS
17592 if ${ac_cv_lib_soname_cups:+false} :
17593 then :
17594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17595 printf "%s\n" "not found" >&6; }
17596 CUPS_LIBS=""
17597 else $as_nop
17598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17599 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17601 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17605 else
17606 CUPS_CFLAGS=""
17607 CUPS_LIBS=""
17609 CPPFLAGS=$ac_save_CPPFLAGS
17612 if test "x$ac_cv_lib_soname_cups" = "x"
17613 then :
17614 case "x$with_cups" in
17615 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17616 xno) ;;
17617 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17618 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17619 esac
17623 if test "x$with_fontconfig" != "xno"
17624 then
17625 if ${FONTCONFIG_CFLAGS:+false} :
17626 then :
17627 if test ${PKG_CONFIG+y}
17628 then :
17629 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17632 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17633 if ${FONTCONFIG_LIBS:+false} :
17634 then :
17635 if test ${PKG_CONFIG+y}
17636 then :
17637 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17640 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17644 ac_save_CPPFLAGS=$CPPFLAGS
17645 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17646 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17647 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17648 then :
17649 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17653 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17654 then
17655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17656 printf %s "checking for -lfontconfig... " >&6; }
17657 if test ${ac_cv_lib_soname_fontconfig+y}
17658 then :
17659 printf %s "(cached) " >&6
17660 else $as_nop
17661 ac_check_soname_save_LIBS=$LIBS
17662 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17666 /* Override any GCC internal prototype to avoid an error.
17667 Use char because int might match the return type of a GCC
17668 builtin and then its argument prototype would still apply. */
17669 char FcInit ();
17671 main (void)
17673 return FcInit ();
17675 return 0;
17677 _ACEOF
17678 if ac_fn_c_try_link "$LINENO"
17679 then :
17680 case "$LIBEXT" in
17681 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17682 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'` ;;
17683 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17684 if ${ac_cv_lib_soname_fontconfig:+false} :
17685 then :
17686 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17687 fi ;;
17688 esac
17689 else $as_nop
17690 ac_cv_lib_soname_fontconfig=
17692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17693 conftest$ac_exeext conftest.$ac_ext
17694 LIBS=$ac_check_soname_save_LIBS
17696 if ${ac_cv_lib_soname_fontconfig:+false} :
17697 then :
17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17699 printf "%s\n" "not found" >&6; }
17700 FONTCONFIG_CFLAGS=""
17701 else $as_nop
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17703 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17705 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17709 else
17710 FONTCONFIG_CFLAGS=""
17712 CPPFLAGS=$ac_save_CPPFLAGS
17715 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17716 then :
17717 case "x$with_fontconfig" in
17718 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17719 xno) ;;
17720 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17721 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17722 esac
17726 if test "x$with_krb5" != "xno"
17727 then
17728 if ${KRB5_CFLAGS:+false} :
17729 then :
17730 if test ${PKG_CONFIG+y}
17731 then :
17732 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17735 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17736 if ${KRB5_LIBS:+false} :
17737 then :
17738 if test ${PKG_CONFIG+y}
17739 then :
17740 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17743 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17747 ac_save_CPPFLAGS=$CPPFLAGS
17748 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17749 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17750 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17751 then :
17752 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17756 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17757 then
17758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17759 printf %s "checking for -lkrb5... " >&6; }
17760 if test ${ac_cv_lib_soname_krb5+y}
17761 then :
17762 printf %s "(cached) " >&6
17763 else $as_nop
17764 ac_check_soname_save_LIBS=$LIBS
17765 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17769 /* Override any GCC internal prototype to avoid an error.
17770 Use char because int might match the return type of a GCC
17771 builtin and then its argument prototype would still apply. */
17772 char krb5_is_config_principal ();
17774 main (void)
17776 return krb5_is_config_principal ();
17778 return 0;
17780 _ACEOF
17781 if ac_fn_c_try_link "$LINENO"
17782 then :
17783 case "$LIBEXT" in
17784 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17785 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'` ;;
17786 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17787 if ${ac_cv_lib_soname_krb5:+false} :
17788 then :
17789 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17790 fi ;;
17791 esac
17792 else $as_nop
17793 ac_cv_lib_soname_krb5=
17795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17796 conftest$ac_exeext conftest.$ac_ext
17797 LIBS=$ac_check_soname_save_LIBS
17799 if ${ac_cv_lib_soname_krb5:+false} :
17800 then :
17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17802 printf "%s\n" "not found" >&6; }
17803 KRB5_CFLAGS=""
17804 else $as_nop
17805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17806 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17808 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17812 else
17813 KRB5_CFLAGS=""
17815 CPPFLAGS=$ac_save_CPPFLAGS
17818 if test "x$ac_cv_lib_soname_krb5" = "x"
17819 then :
17820 case "x$with_krb5" in
17821 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17822 xno) ;;
17823 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17824 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17825 esac
17828 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17830 if test "x$with_gssapi" != "xno"
17831 then
17832 if ${GSSAPI_CFLAGS:+false} :
17833 then :
17834 if test ${PKG_CONFIG+y}
17835 then :
17836 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
17839 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17840 if ${GSSAPI_LIBS:+false} :
17841 then :
17842 if test ${PKG_CONFIG+y}
17843 then :
17844 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17847 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17851 ac_save_CPPFLAGS=$CPPFLAGS
17852 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17853 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17854 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17855 then :
17856 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17859 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17860 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17861 then :
17862 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17866 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17867 then
17868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17869 printf %s "checking for -lgssapi_krb5... " >&6; }
17870 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17871 then :
17872 printf %s "(cached) " >&6
17873 else $as_nop
17874 ac_check_soname_save_LIBS=$LIBS
17875 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17879 /* Override any GCC internal prototype to avoid an error.
17880 Use char because int might match the return type of a GCC
17881 builtin and then its argument prototype would still apply. */
17882 char gss_init_sec_context ();
17884 main (void)
17886 return gss_init_sec_context ();
17888 return 0;
17890 _ACEOF
17891 if ac_fn_c_try_link "$LINENO"
17892 then :
17893 case "$LIBEXT" in
17894 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17895 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'` ;;
17896 *) 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'`
17897 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17898 then :
17899 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17900 fi ;;
17901 esac
17902 else $as_nop
17903 ac_cv_lib_soname_gssapi_krb5=
17905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17906 conftest$ac_exeext conftest.$ac_ext
17907 LIBS=$ac_check_soname_save_LIBS
17909 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17910 then :
17911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17912 printf "%s\n" "not found" >&6; }
17913 GSSAPI_CFLAGS=""
17914 else $as_nop
17915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17916 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17918 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17922 else
17923 GSSAPI_CFLAGS=""
17925 CPPFLAGS=$ac_save_CPPFLAGS
17928 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17929 then :
17930 case "x$with_gssapi" in
17931 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17932 xno) ;;
17933 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17934 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17935 esac
17939 if test "$ac_cv_header_AL_al_h" = "yes"
17940 then
17941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
17942 printf %s "checking for -lopenal... " >&6; }
17943 if test ${ac_cv_lib_soname_openal+y}
17944 then :
17945 printf %s "(cached) " >&6
17946 else $as_nop
17947 ac_check_soname_save_LIBS=$LIBS
17948 LIBS="-lopenal $LIBS"
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950 /* end confdefs.h. */
17952 /* Override any GCC internal prototype to avoid an error.
17953 Use char because int might match the return type of a GCC
17954 builtin and then its argument prototype would still apply. */
17955 char alGetSource3i ();
17957 main (void)
17959 return alGetSource3i ();
17961 return 0;
17963 _ACEOF
17964 if ac_fn_c_try_link "$LINENO"
17965 then :
17966 case "$LIBEXT" in
17967 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17968 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'` ;;
17969 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17970 if ${ac_cv_lib_soname_openal:+false} :
17971 then :
17972 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17973 fi ;;
17974 esac
17975 else $as_nop
17976 ac_cv_lib_soname_openal=
17978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17979 conftest$ac_exeext conftest.$ac_ext
17980 LIBS=$ac_check_soname_save_LIBS
17982 if ${ac_cv_lib_soname_openal:+false} :
17983 then :
17984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17985 printf "%s\n" "not found" >&6; }
17987 else $as_nop
17988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
17989 printf "%s\n" "$ac_cv_lib_soname_openal" >&6; }
17991 printf "%s\n" "#define SONAME_LIBOPENAL \"$ac_cv_lib_soname_openal\"" >>confdefs.h
17993 OPENAL_LIBS="-lopenal"
17995 ac_cv_lib_openal=yes
17997 printf "%s\n" "#define HAVE_OPENAL 1" >>confdefs.h
18001 if test "x$ac_cv_lib_openal" != xyes
18002 then :
18003 case "x$with_openal" in
18004 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
18005 xno) ;;
18006 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
18007 This is an error since --with-openal was requested." "$LINENO" 5 ;;
18008 esac
18009 enable_openal32=${enable_openal32:-no}
18012 if test "$ac_cv_header_libprocstat_h" = "yes"
18013 then
18014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18015 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18016 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18017 then :
18018 printf %s "(cached) " >&6
18019 else $as_nop
18020 ac_check_lib_save_LIBS=$LIBS
18021 LIBS="-lprocstat $LIBS"
18022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18023 /* end confdefs.h. */
18025 /* Override any GCC internal prototype to avoid an error.
18026 Use char because int might match the return type of a GCC
18027 builtin and then its argument prototype would still apply. */
18028 char procstat_open_sysctl ();
18030 main (void)
18032 return procstat_open_sysctl ();
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_link "$LINENO"
18038 then :
18039 ac_cv_lib_procstat_procstat_open_sysctl=yes
18040 else $as_nop
18041 ac_cv_lib_procstat_procstat_open_sysctl=no
18043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18044 conftest$ac_exeext conftest.$ac_ext
18045 LIBS=$ac_check_lib_save_LIBS
18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18048 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18049 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18050 then :
18052 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18054 PROCSTAT_LIBS="-lprocstat"
18060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18061 printf %s "checking for -lodbc... " >&6; }
18062 if test ${ac_cv_lib_soname_odbc+y}
18063 then :
18064 printf %s "(cached) " >&6
18065 else $as_nop
18066 ac_check_soname_save_LIBS=$LIBS
18067 LIBS="-lodbc $LIBS"
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18074 char SQLConnect ();
18076 main (void)
18078 return SQLConnect ();
18080 return 0;
18082 _ACEOF
18083 if ac_fn_c_try_link "$LINENO"
18084 then :
18085 case "$LIBEXT" in
18086 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18087 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'` ;;
18088 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18089 if ${ac_cv_lib_soname_odbc:+false} :
18090 then :
18091 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18092 fi ;;
18093 esac
18094 else $as_nop
18095 ac_cv_lib_soname_odbc=
18097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18098 conftest$ac_exeext conftest.$ac_ext
18099 LIBS=$ac_check_soname_save_LIBS
18101 if ${ac_cv_lib_soname_odbc:+false} :
18102 then :
18103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18104 printf "%s\n" "not found" >&6; }
18105 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18107 else $as_nop
18108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18109 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18111 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18116 if test "x$with_netapi" != "xno"
18117 then
18118 if ${NETAPI_CFLAGS:+false} :
18119 then :
18120 if test ${PKG_CONFIG+y}
18121 then :
18122 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18126 if ${NETAPI_LIBS:+false} :
18127 then :
18128 if test ${PKG_CONFIG+y}
18129 then :
18130 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18137 ac_save_CPPFLAGS=$CPPFLAGS
18138 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18140 printf %s "checking for -lnetapi... " >&6; }
18141 if test ${ac_cv_lib_soname_netapi+y}
18142 then :
18143 printf %s "(cached) " >&6
18144 else $as_nop
18145 ac_check_soname_save_LIBS=$LIBS
18146 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18153 char libnetapi_init ();
18155 main (void)
18157 return libnetapi_init ();
18159 return 0;
18161 _ACEOF
18162 if ac_fn_c_try_link "$LINENO"
18163 then :
18164 case "$LIBEXT" in
18165 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18166 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'` ;;
18167 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18168 if ${ac_cv_lib_soname_netapi:+false} :
18169 then :
18170 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18171 fi ;;
18172 esac
18173 else $as_nop
18174 ac_cv_lib_soname_netapi=
18176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_soname_save_LIBS
18180 if ${ac_cv_lib_soname_netapi:+false} :
18181 then :
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18183 printf "%s\n" "not found" >&6; }
18184 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18186 else $as_nop
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18188 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18190 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18194 CPPFLAGS=$ac_save_CPPFLAGS
18197 if test "x$ac_cv_lib_soname_netapi" = "x"
18198 then :
18199 case "x$with_netapi" in
18200 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18201 xno) ;;
18202 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18203 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18204 esac
18205 enable_netapi=${enable_netapi:-no}
18209 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18210 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18211 then
18212 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18215 if test "x$with_vulkan" != "xno"
18216 then
18217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18218 printf %s "checking for -lvulkan... " >&6; }
18219 if test ${ac_cv_lib_soname_vulkan+y}
18220 then :
18221 printf %s "(cached) " >&6
18222 else $as_nop
18223 ac_check_soname_save_LIBS=$LIBS
18224 LIBS="-lvulkan $LIBS"
18225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18226 /* end confdefs.h. */
18228 /* Override any GCC internal prototype to avoid an error.
18229 Use char because int might match the return type of a GCC
18230 builtin and then its argument prototype would still apply. */
18231 char vkGetInstanceProcAddr ();
18233 main (void)
18235 return vkGetInstanceProcAddr ();
18237 return 0;
18239 _ACEOF
18240 if ac_fn_c_try_link "$LINENO"
18241 then :
18242 case "$LIBEXT" in
18243 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18244 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'` ;;
18245 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18246 if ${ac_cv_lib_soname_vulkan:+false} :
18247 then :
18248 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18249 fi ;;
18250 esac
18251 else $as_nop
18252 ac_cv_lib_soname_vulkan=
18254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18255 conftest$ac_exeext conftest.$ac_ext
18256 LIBS=$ac_check_soname_save_LIBS
18258 if ${ac_cv_lib_soname_vulkan:+false} :
18259 then :
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18261 printf "%s\n" "not found" >&6; }
18263 else $as_nop
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18265 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18267 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18271 if test "x$ac_cv_lib_soname_vulkan" = "x"
18272 then
18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18274 printf %s "checking for -lMoltenVK... " >&6; }
18275 if test ${ac_cv_lib_soname_MoltenVK+y}
18276 then :
18277 printf %s "(cached) " >&6
18278 else $as_nop
18279 ac_check_soname_save_LIBS=$LIBS
18280 LIBS="-lMoltenVK $LIBS"
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 /* end confdefs.h. */
18284 /* Override any GCC internal prototype to avoid an error.
18285 Use char because int might match the return type of a GCC
18286 builtin and then its argument prototype would still apply. */
18287 char vkGetInstanceProcAddr ();
18289 main (void)
18291 return vkGetInstanceProcAddr ();
18293 return 0;
18295 _ACEOF
18296 if ac_fn_c_try_link "$LINENO"
18297 then :
18298 case "$LIBEXT" in
18299 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18300 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'` ;;
18301 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18302 if ${ac_cv_lib_soname_MoltenVK:+false} :
18303 then :
18304 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18305 fi ;;
18306 esac
18307 else $as_nop
18308 ac_cv_lib_soname_MoltenVK=
18310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18311 conftest$ac_exeext conftest.$ac_ext
18312 LIBS=$ac_check_soname_save_LIBS
18314 if ${ac_cv_lib_soname_MoltenVK:+false} :
18315 then :
18316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18317 printf "%s\n" "not found" >&6; }
18319 else $as_nop
18320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18321 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18323 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18329 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18330 then :
18331 case "x$with_vulkan" in
18332 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18333 xno) ;;
18334 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18335 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18336 esac
18341 if test "x${GCC}" = "xyes"
18342 then
18343 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18345 saved_CFLAGS=$CFLAGS
18346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18347 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18348 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18349 then :
18350 printf %s "(cached) " >&6
18351 else $as_nop
18352 ac_wine_try_cflags_saved=$CFLAGS
18353 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18355 /* end confdefs.h. */
18356 int main(int argc, char **argv) { return 0; }
18357 _ACEOF
18358 if ac_fn_c_try_link "$LINENO"
18359 then :
18360 ac_cv_cflags__Werror_unknown_warning_option=yes
18361 else $as_nop
18362 ac_cv_cflags__Werror_unknown_warning_option=no
18364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18365 conftest$ac_exeext conftest.$ac_ext
18366 CFLAGS=$ac_wine_try_cflags_saved
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18369 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18370 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18371 then :
18372 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18375 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18376 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18377 then :
18378 printf %s "(cached) " >&6
18379 else $as_nop
18380 ac_wine_try_cflags_saved=$CFLAGS
18381 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18384 int main(int argc, char **argv) { return 0; }
18385 _ACEOF
18386 if ac_fn_c_try_link "$LINENO"
18387 then :
18388 ac_cv_cflags__Werror_unused_command_line_argument=yes
18389 else $as_nop
18390 ac_cv_cflags__Werror_unused_command_line_argument=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18393 conftest$ac_exeext conftest.$ac_ext
18394 CFLAGS=$ac_wine_try_cflags_saved
18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18397 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18398 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18399 then :
18400 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18403 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18404 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18405 then :
18406 printf %s "(cached) " >&6
18407 else $as_nop
18408 ac_wine_try_cflags_saved=$CFLAGS
18409 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18412 int main(int argc, char **argv) { return 0; }
18413 _ACEOF
18414 if ac_fn_c_try_link "$LINENO"
18415 then :
18416 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18417 else $as_nop
18418 ac_cv_cflags__Werror_ignored_optimization_argument=no
18420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18421 conftest$ac_exeext conftest.$ac_ext
18422 CFLAGS=$ac_wine_try_cflags_saved
18424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18425 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18426 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18427 then :
18428 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18431 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18432 if test ${ac_cv_cflags__fcf_protection_none+y}
18433 then :
18434 printf %s "(cached) " >&6
18435 else $as_nop
18436 ac_wine_try_cflags_saved=$CFLAGS
18437 CFLAGS="$CFLAGS -fcf-protection=none"
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 int main(int argc, char **argv) { return 0; }
18441 _ACEOF
18442 if ac_fn_c_try_link "$LINENO"
18443 then :
18444 ac_cv_cflags__fcf_protection_none=yes
18445 else $as_nop
18446 ac_cv_cflags__fcf_protection_none=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18449 conftest$ac_exeext conftest.$ac_ext
18450 CFLAGS=$ac_wine_try_cflags_saved
18452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18453 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18454 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18455 then :
18456 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18459 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18460 if test ${ac_cv_cflags__fno_stack_protector+y}
18461 then :
18462 printf %s "(cached) " >&6
18463 else $as_nop
18464 ac_wine_try_cflags_saved=$CFLAGS
18465 CFLAGS="$CFLAGS -fno-stack-protector"
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18468 int main(int argc, char **argv) { return 0; }
18469 _ACEOF
18470 if ac_fn_c_try_link "$LINENO"
18471 then :
18472 ac_cv_cflags__fno_stack_protector=yes
18473 else $as_nop
18474 ac_cv_cflags__fno_stack_protector=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18477 conftest$ac_exeext conftest.$ac_ext
18478 CFLAGS=$ac_wine_try_cflags_saved
18480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18481 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18482 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18483 then :
18484 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18487 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18488 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18489 then :
18490 printf %s "(cached) " >&6
18491 else $as_nop
18492 ac_wine_try_cflags_saved=$CFLAGS
18493 CFLAGS="$CFLAGS -fno-strict-aliasing"
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 int main(int argc, char **argv) { return 0; }
18497 _ACEOF
18498 if ac_fn_c_try_link "$LINENO"
18499 then :
18500 ac_cv_cflags__fno_strict_aliasing=yes
18501 else $as_nop
18502 ac_cv_cflags__fno_strict_aliasing=no
18504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18505 conftest$ac_exeext conftest.$ac_ext
18506 CFLAGS=$ac_wine_try_cflags_saved
18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18509 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18510 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18511 then :
18512 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18515 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18516 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18517 then :
18518 printf %s "(cached) " >&6
18519 else $as_nop
18520 ac_wine_try_cflags_saved=$CFLAGS
18521 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 int main(int argc, char **argv) { return 0; }
18525 _ACEOF
18526 if ac_fn_c_try_link "$LINENO"
18527 then :
18528 ac_cv_cflags__Wdeclaration_after_statement=yes
18529 else $as_nop
18530 ac_cv_cflags__Wdeclaration_after_statement=no
18532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18533 conftest$ac_exeext conftest.$ac_ext
18534 CFLAGS=$ac_wine_try_cflags_saved
18536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18537 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18538 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18539 then :
18540 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18543 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18544 if test ${ac_cv_cflags__Wempty_body+y}
18545 then :
18546 printf %s "(cached) " >&6
18547 else $as_nop
18548 ac_wine_try_cflags_saved=$CFLAGS
18549 CFLAGS="$CFLAGS -Wempty-body"
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552 int main(int argc, char **argv) { return 0; }
18553 _ACEOF
18554 if ac_fn_c_try_link "$LINENO"
18555 then :
18556 ac_cv_cflags__Wempty_body=yes
18557 else $as_nop
18558 ac_cv_cflags__Wempty_body=no
18560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18561 conftest$ac_exeext conftest.$ac_ext
18562 CFLAGS=$ac_wine_try_cflags_saved
18564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18565 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18566 if test "x$ac_cv_cflags__Wempty_body" = xyes
18567 then :
18568 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18571 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18572 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18573 then :
18574 printf %s "(cached) " >&6
18575 else $as_nop
18576 ac_wine_try_cflags_saved=$CFLAGS
18577 CFLAGS="$CFLAGS -Wignored-qualifiers"
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h. */
18580 int main(int argc, char **argv) { return 0; }
18581 _ACEOF
18582 if ac_fn_c_try_link "$LINENO"
18583 then :
18584 ac_cv_cflags__Wignored_qualifiers=yes
18585 else $as_nop
18586 ac_cv_cflags__Wignored_qualifiers=no
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18589 conftest$ac_exeext conftest.$ac_ext
18590 CFLAGS=$ac_wine_try_cflags_saved
18592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18593 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18594 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18595 then :
18596 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18599 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18600 if test ${ac_cv_cflags__Winit_self+y}
18601 then :
18602 printf %s "(cached) " >&6
18603 else $as_nop
18604 ac_wine_try_cflags_saved=$CFLAGS
18605 CFLAGS="$CFLAGS -Winit-self"
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 int main(int argc, char **argv) { return 0; }
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"
18611 then :
18612 ac_cv_cflags__Winit_self=yes
18613 else $as_nop
18614 ac_cv_cflags__Winit_self=no
18616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18617 conftest$ac_exeext conftest.$ac_ext
18618 CFLAGS=$ac_wine_try_cflags_saved
18620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18621 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18622 if test "x$ac_cv_cflags__Winit_self" = xyes
18623 then :
18624 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18627 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18628 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18629 then :
18630 printf %s "(cached) " >&6
18631 else $as_nop
18632 ac_wine_try_cflags_saved=$CFLAGS
18633 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 int main(int argc, char **argv) { return 0; }
18637 _ACEOF
18638 if ac_fn_c_try_link "$LINENO"
18639 then :
18640 ac_cv_cflags__Wpacked_not_aligned=yes
18641 else $as_nop
18642 ac_cv_cflags__Wpacked_not_aligned=no
18644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18645 conftest$ac_exeext conftest.$ac_ext
18646 CFLAGS=$ac_wine_try_cflags_saved
18648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18649 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18650 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18651 then :
18652 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18655 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18656 if test ${ac_cv_cflags__Wpragma_pack+y}
18657 then :
18658 printf %s "(cached) " >&6
18659 else $as_nop
18660 ac_wine_try_cflags_saved=$CFLAGS
18661 CFLAGS="$CFLAGS -Wpragma-pack"
18662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18663 /* end confdefs.h. */
18664 int main(int argc, char **argv) { return 0; }
18665 _ACEOF
18666 if ac_fn_c_try_link "$LINENO"
18667 then :
18668 ac_cv_cflags__Wpragma_pack=yes
18669 else $as_nop
18670 ac_cv_cflags__Wpragma_pack=no
18672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18673 conftest$ac_exeext conftest.$ac_ext
18674 CFLAGS=$ac_wine_try_cflags_saved
18676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18677 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18678 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18679 then :
18680 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18683 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18684 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18685 then :
18686 printf %s "(cached) " >&6
18687 else $as_nop
18688 ac_wine_try_cflags_saved=$CFLAGS
18689 CFLAGS="$CFLAGS -Wshift-overflow=2"
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h. */
18692 int main(int argc, char **argv) { return 0; }
18693 _ACEOF
18694 if ac_fn_c_try_link "$LINENO"
18695 then :
18696 ac_cv_cflags__Wshift_overflow_2=yes
18697 else $as_nop
18698 ac_cv_cflags__Wshift_overflow_2=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18701 conftest$ac_exeext conftest.$ac_ext
18702 CFLAGS=$ac_wine_try_cflags_saved
18704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18705 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18706 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18707 then :
18708 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18711 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18712 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18713 then :
18714 printf %s "(cached) " >&6
18715 else $as_nop
18716 ac_wine_try_cflags_saved=$CFLAGS
18717 CFLAGS="$CFLAGS -Wstrict-prototypes"
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h. */
18720 int main(int argc, char **argv) { return 0; }
18721 _ACEOF
18722 if ac_fn_c_try_link "$LINENO"
18723 then :
18724 ac_cv_cflags__Wstrict_prototypes=yes
18725 else $as_nop
18726 ac_cv_cflags__Wstrict_prototypes=no
18728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18729 conftest$ac_exeext conftest.$ac_ext
18730 CFLAGS=$ac_wine_try_cflags_saved
18732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18733 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18734 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18735 then :
18736 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18739 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18740 if test ${ac_cv_cflags__Wtype_limits+y}
18741 then :
18742 printf %s "(cached) " >&6
18743 else $as_nop
18744 ac_wine_try_cflags_saved=$CFLAGS
18745 CFLAGS="$CFLAGS -Wtype-limits"
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 int main(int argc, char **argv) { return 0; }
18749 _ACEOF
18750 if ac_fn_c_try_link "$LINENO"
18751 then :
18752 ac_cv_cflags__Wtype_limits=yes
18753 else $as_nop
18754 ac_cv_cflags__Wtype_limits=no
18756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18757 conftest$ac_exeext conftest.$ac_ext
18758 CFLAGS=$ac_wine_try_cflags_saved
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18761 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18762 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18763 then :
18764 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18767 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18768 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18769 then :
18770 printf %s "(cached) " >&6
18771 else $as_nop
18772 ac_wine_try_cflags_saved=$CFLAGS
18773 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18776 int main(int argc, char **argv) { return 0; }
18777 _ACEOF
18778 if ac_fn_c_try_link "$LINENO"
18779 then :
18780 ac_cv_cflags__Wunused_but_set_parameter=yes
18781 else $as_nop
18782 ac_cv_cflags__Wunused_but_set_parameter=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18785 conftest$ac_exeext conftest.$ac_ext
18786 CFLAGS=$ac_wine_try_cflags_saved
18788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18789 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18790 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18791 then :
18792 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18795 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18796 if test ${ac_cv_cflags__Wvla+y}
18797 then :
18798 printf %s "(cached) " >&6
18799 else $as_nop
18800 ac_wine_try_cflags_saved=$CFLAGS
18801 CFLAGS="$CFLAGS -Wvla"
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 int main(int argc, char **argv) { return 0; }
18805 _ACEOF
18806 if ac_fn_c_try_link "$LINENO"
18807 then :
18808 ac_cv_cflags__Wvla=yes
18809 else $as_nop
18810 ac_cv_cflags__Wvla=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18813 conftest$ac_exeext conftest.$ac_ext
18814 CFLAGS=$ac_wine_try_cflags_saved
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18817 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18818 if test "x$ac_cv_cflags__Wvla" = xyes
18819 then :
18820 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18823 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18824 if test ${ac_cv_cflags__Wwrite_strings+y}
18825 then :
18826 printf %s "(cached) " >&6
18827 else $as_nop
18828 ac_wine_try_cflags_saved=$CFLAGS
18829 CFLAGS="$CFLAGS -Wwrite-strings"
18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18831 /* end confdefs.h. */
18832 int main(int argc, char **argv) { return 0; }
18833 _ACEOF
18834 if ac_fn_c_try_link "$LINENO"
18835 then :
18836 ac_cv_cflags__Wwrite_strings=yes
18837 else $as_nop
18838 ac_cv_cflags__Wwrite_strings=no
18840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18841 conftest$ac_exeext conftest.$ac_ext
18842 CFLAGS=$ac_wine_try_cflags_saved
18844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18845 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18846 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18847 then :
18848 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18851 if test -z "$CROSSTARGET"
18852 then
18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
18854 printf %s "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
18855 if test ${ac_cv_cflags__fexcess_precision_standard+y}
18856 then :
18857 printf %s "(cached) " >&6
18858 else $as_nop
18859 ac_wine_try_cflags_saved=$CFLAGS
18860 CFLAGS="$CFLAGS -fexcess-precision=standard"
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 int main(int argc, char **argv) { return 0; }
18864 _ACEOF
18865 if ac_fn_c_try_link "$LINENO"
18866 then :
18867 ac_cv_cflags__fexcess_precision_standard=yes
18868 else $as_nop
18869 ac_cv_cflags__fexcess_precision_standard=no
18871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18872 conftest$ac_exeext conftest.$ac_ext
18873 CFLAGS=$ac_wine_try_cflags_saved
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
18876 printf "%s\n" "$ac_cv_cflags__fexcess_precision_standard" >&6; }
18877 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes
18878 then :
18879 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
18884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18885 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18886 if test ${ac_cv_cflags__Wpointer_arith+y}
18887 then :
18888 printf %s "(cached) " >&6
18889 else $as_nop
18890 ac_wine_try_cflags_saved=$CFLAGS
18891 CFLAGS="$CFLAGS -Wpointer-arith"
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h. */
18894 int main(int argc, char **argv) { return 0; }
18895 _ACEOF
18896 if ac_fn_c_try_link "$LINENO"
18897 then :
18898 ac_cv_cflags__Wpointer_arith=yes
18899 else $as_nop
18900 ac_cv_cflags__Wpointer_arith=no
18902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18903 conftest$ac_exeext conftest.$ac_ext
18904 CFLAGS=$ac_wine_try_cflags_saved
18906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18907 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18908 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18909 then :
18910 saved_string_h_CFLAGS=$CFLAGS
18911 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18913 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18914 if test ${ac_cv_c_string_h_warnings+y}
18915 then :
18916 printf %s "(cached) " >&6
18917 else $as_nop
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920 #include <string.h>
18922 main (void)
18926 return 0;
18928 _ACEOF
18929 if ac_fn_c_try_compile "$LINENO"
18930 then :
18931 ac_cv_c_string_h_warnings=no
18932 else $as_nop
18933 ac_cv_c_string_h_warnings=yes
18935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18938 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18939 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18940 CFLAGS=$saved_string_h_CFLAGS
18943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18944 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18945 if test ${ac_cv_cflags__Wlogical_op+y}
18946 then :
18947 printf %s "(cached) " >&6
18948 else $as_nop
18949 ac_wine_try_cflags_saved=$CFLAGS
18950 CFLAGS="$CFLAGS -Wlogical-op"
18951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18952 /* end confdefs.h. */
18953 int main(int argc, char **argv) { return 0; }
18954 _ACEOF
18955 if ac_fn_c_try_link "$LINENO"
18956 then :
18957 ac_cv_cflags__Wlogical_op=yes
18958 else $as_nop
18959 ac_cv_cflags__Wlogical_op=no
18961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18962 conftest$ac_exeext conftest.$ac_ext
18963 CFLAGS=$ac_wine_try_cflags_saved
18965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18966 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18967 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18968 then :
18969 saved_string_h_CFLAGS=$CFLAGS
18970 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18972 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18973 if test ${ac_cv_c_logicalop_noisy+y}
18974 then :
18975 printf %s "(cached) " >&6
18976 else $as_nop
18977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18978 /* end confdefs.h. */
18979 #include <string.h>
18980 char*f(const char *h,char n) {return strchr(h,n);}
18982 main (void)
18986 return 0;
18988 _ACEOF
18989 if ac_fn_c_try_compile "$LINENO"
18990 then :
18991 ac_cv_c_logicalop_noisy=no
18992 else $as_nop
18993 ac_cv_c_logicalop_noisy=yes
18995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18998 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18999 CFLAGS=$saved_string_h_CFLAGS
19000 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19004 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19005 if test ${wine_cv_64bit_compare_swap+y}
19006 then :
19007 printf %s "(cached) " >&6
19008 else $as_nop
19009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19011 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19012 #error no
19013 #endif
19015 main (void)
19019 return 0;
19021 _ACEOF
19022 if ac_fn_c_try_compile "$LINENO"
19023 then :
19024 wine_cv_64bit_compare_swap="none needed"
19025 else $as_nop
19026 case $host_cpu in
19027 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19028 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19029 *) wine_cv_64bit_compare_swap="unknown" ;;
19030 esac
19031 if test "x$wine_cv_64bit_compare_swap" != xunknown
19032 then
19033 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 /* end confdefs.h. */
19036 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19037 #error no
19038 #endif
19040 main (void)
19044 return 0;
19046 _ACEOF
19047 if ac_fn_c_try_compile "$LINENO"
19048 then :
19050 else $as_nop
19051 wine_cv_64bit_compare_swap="unknown"
19053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19054 CFLAGS=$saved_CFLAGS
19057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19060 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19061 case "$wine_cv_64bit_compare_swap" in
19062 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19063 "none needed") ;;
19064 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19065 esac
19067 ac_debug_format_seen=""
19068 for ac_flag in $CFLAGS; do
19069 case $ac_flag in
19070 -gdwarf*) ac_debug_format_seen=yes ;;
19071 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19072 esac
19073 done
19074 if test "x$ac_debug_format_seen" = xdefault
19075 then
19076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19077 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19078 if test ${ac_cv_cflags__gdwarf_4+y}
19079 then :
19080 printf %s "(cached) " >&6
19081 else $as_nop
19082 ac_wine_try_cflags_saved=$CFLAGS
19083 CFLAGS="$CFLAGS -gdwarf-4"
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19086 int main(int argc, char **argv) { return 0; }
19087 _ACEOF
19088 if ac_fn_c_try_link "$LINENO"
19089 then :
19090 ac_cv_cflags__gdwarf_4=yes
19091 else $as_nop
19092 ac_cv_cflags__gdwarf_4=no
19094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19095 conftest$ac_exeext conftest.$ac_ext
19096 CFLAGS=$ac_wine_try_cflags_saved
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19099 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19100 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19101 then :
19102 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19106 MSVCRTFLAGS=""
19108 case $host_os in
19109 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19110 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19111 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19112 then :
19113 printf %s "(cached) " >&6
19114 else $as_nop
19115 ac_wine_try_cflags_saved=$CFLAGS
19116 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19118 /* end confdefs.h. */
19119 int main(int argc, char **argv) { return 0; }
19120 _ACEOF
19121 if ac_fn_c_try_link "$LINENO"
19122 then :
19123 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19124 else $as_nop
19125 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19128 conftest$ac_exeext conftest.$ac_ext
19129 CFLAGS=$ac_wine_try_cflags_saved
19131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19132 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19133 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19134 then :
19135 DELAYLOADFLAG="-Wl,-delayload,"
19137 fi ;;
19138 *) MSVCRTFLAGS="-D_WIN32"
19139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19140 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19141 if test ${ac_cv_cflags__fno_builtin+y}
19142 then :
19143 printf %s "(cached) " >&6
19144 else $as_nop
19145 ac_wine_try_cflags_saved=$CFLAGS
19146 CFLAGS="$CFLAGS -fno-builtin"
19147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19148 /* end confdefs.h. */
19149 int main(int argc, char **argv) { return 0; }
19150 _ACEOF
19151 if ac_fn_c_try_link "$LINENO"
19152 then :
19153 ac_cv_cflags__fno_builtin=yes
19154 else $as_nop
19155 ac_cv_cflags__fno_builtin=no
19157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19158 conftest$ac_exeext conftest.$ac_ext
19159 CFLAGS=$ac_wine_try_cflags_saved
19161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19162 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19163 if test "x$ac_cv_cflags__fno_builtin" = xyes
19164 then :
19165 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19168 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19169 if test ${ac_cv_cflags__fshort_wchar+y}
19170 then :
19171 printf %s "(cached) " >&6
19172 else $as_nop
19173 ac_wine_try_cflags_saved=$CFLAGS
19174 CFLAGS="$CFLAGS -fshort-wchar"
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 int main(int argc, char **argv) { return 0; }
19178 _ACEOF
19179 if ac_fn_c_try_link "$LINENO"
19180 then :
19181 ac_cv_cflags__fshort_wchar=yes
19182 else $as_nop
19183 ac_cv_cflags__fshort_wchar=no
19185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19186 conftest$ac_exeext conftest.$ac_ext
19187 CFLAGS=$ac_wine_try_cflags_saved
19189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19190 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19191 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19192 then :
19193 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19196 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19197 if test ${ac_cv_cflags__Wno_format+y}
19198 then :
19199 printf %s "(cached) " >&6
19200 else $as_nop
19201 ac_wine_try_cflags_saved=$CFLAGS
19202 CFLAGS="$CFLAGS -Wno-format"
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 int main(int argc, char **argv) { return 0; }
19206 _ACEOF
19207 if ac_fn_c_try_link "$LINENO"
19208 then :
19209 ac_cv_cflags__Wno_format=yes
19210 else $as_nop
19211 ac_cv_cflags__Wno_format=no
19213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19214 conftest$ac_exeext conftest.$ac_ext
19215 CFLAGS=$ac_wine_try_cflags_saved
19217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19218 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19219 if test "x$ac_cv_cflags__Wno_format" = xyes
19220 then :
19221 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19222 fi ;;
19223 esac
19225 case $host_cpu in
19226 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19227 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19228 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19229 then :
19230 printf %s "(cached) " >&6
19231 else $as_nop
19232 ac_wine_try_cflags_saved=$CFLAGS
19233 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19236 int main(int argc, char **argv) { return 0; }
19237 _ACEOF
19238 if ac_fn_c_try_link "$LINENO"
19239 then :
19240 ac_cv_cflags__fno_omit_frame_pointer=yes
19241 else $as_nop
19242 ac_cv_cflags__fno_omit_frame_pointer=no
19244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19245 conftest$ac_exeext conftest.$ac_ext
19246 CFLAGS=$ac_wine_try_cflags_saved
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19249 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19250 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19251 then :
19252 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19253 fi ;;
19254 *x86_64*)
19255 case $host_os in
19256 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19257 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19258 if test ${ac_cv_cflags__Wno_format+y}
19259 then :
19260 printf %s "(cached) " >&6
19261 else $as_nop
19262 ac_wine_try_cflags_saved=$CFLAGS
19263 CFLAGS="$CFLAGS -Wno-format"
19264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19266 int main(int argc, char **argv) { return 0; }
19267 _ACEOF
19268 if ac_fn_c_try_link "$LINENO"
19269 then :
19270 ac_cv_cflags__Wno_format=yes
19271 else $as_nop
19272 ac_cv_cflags__Wno_format=no
19274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19275 conftest$ac_exeext conftest.$ac_ext
19276 CFLAGS=$ac_wine_try_cflags_saved
19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19279 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19280 if test "x$ac_cv_cflags__Wno_format" = xyes
19281 then :
19282 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19283 fi ;;
19284 *) if test -z "$CROSSTARGET"
19285 then
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19287 printf %s "checking for working -mabi=ms... " >&6; }
19288 if test ${ac_cv_mabi_ms+y}
19289 then :
19290 printf %s "(cached) " >&6
19291 else $as_nop
19292 CFLAGS="$CFLAGS -mabi=ms"
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <stdarg.h>
19296 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19298 main (void)
19302 return 0;
19304 _ACEOF
19305 if ac_fn_c_try_compile "$LINENO"
19306 then :
19307 ac_cv_mabi_ms=yes
19308 else $as_nop
19309 ac_cv_mabi_ms=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19312 CFLAGS=$saved_CFLAGS
19314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19315 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19316 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
19318 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19319 esac ;;
19320 esac
19322 CFLAGS=$saved_CFLAGS
19324 if test "x$enable_werror" = "xyes"
19325 then
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19327 printf %s "checking whether the compiler supports -Werror... " >&6; }
19328 if test ${ac_cv_cflags__Werror+y}
19329 then :
19330 printf %s "(cached) " >&6
19331 else $as_nop
19332 ac_wine_try_cflags_saved=$CFLAGS
19333 CFLAGS="$CFLAGS -Werror"
19334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 /* end confdefs.h. */
19336 int main(int argc, char **argv) { return 0; }
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"
19339 then :
19340 ac_cv_cflags__Werror=yes
19341 else $as_nop
19342 ac_cv_cflags__Werror=no
19344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19345 conftest$ac_exeext conftest.$ac_ext
19346 CFLAGS=$ac_wine_try_cflags_saved
19348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19349 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19350 if test "x$ac_cv_cflags__Werror" = xyes
19351 then :
19352 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19355 if test "x$enable_build_id" = "xyes"
19356 then
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19358 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19359 if test ${ac_cv_cflags__Wl___build_id+y}
19360 then :
19361 printf %s "(cached) " >&6
19362 else $as_nop
19363 ac_wine_try_cflags_saved=$CFLAGS
19364 CFLAGS="$CFLAGS -Wl,--build-id"
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h. */
19367 int main(int argc, char **argv) { return 0; }
19368 _ACEOF
19369 if ac_fn_c_try_link "$LINENO"
19370 then :
19371 ac_cv_cflags__Wl___build_id=yes
19372 else $as_nop
19373 ac_cv_cflags__Wl___build_id=no
19375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19376 conftest$ac_exeext conftest.$ac_ext
19377 CFLAGS=$ac_wine_try_cflags_saved
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19380 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19381 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19382 then :
19383 CFLAGS="$CFLAGS -Wl,--build-id"
19384 LDFLAGS="$LDFLAGS -Wl,--build-id"
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19391 printf %s "checking for the need to disable Fortify... " >&6; }
19392 if test ${ac_cv_c_fortify_enabled+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19398 #include <string.h>
19400 main (void)
19402 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19403 #error Fortify enabled
19404 #endif
19406 return 0;
19408 _ACEOF
19409 if ac_fn_c_try_compile "$LINENO"
19410 then :
19411 ac_cv_c_fortify_enabled=no
19412 else $as_nop
19413 ac_cv_c_fortify_enabled=yes
19415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19418 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19419 if test "$ac_cv_c_fortify_enabled" = yes
19420 then
19421 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19426 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19427 if test ${ac_cv_c_cfi_support+y}
19428 then :
19429 printf %s "(cached) " >&6
19430 else $as_nop
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19435 main (void)
19439 return 0;
19441 _ACEOF
19442 if ac_fn_c_try_compile "$LINENO"
19443 then :
19444 ac_cv_c_cfi_support="yes"
19445 else $as_nop
19446 ac_cv_c_cfi_support="no"
19448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19451 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19452 if test "$ac_cv_c_cfi_support" = "yes"
19453 then
19454 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19455 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19456 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19457 else
19458 if test "x$enable_win64" = "xyes"
19459 then
19460 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19465 case $host_os in
19466 linux*)
19467 case $host_cpu in
19468 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19469 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
19470 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19472 esac
19474 esac
19477 ac_save_CFLAGS="$CFLAGS"
19478 CFLAGS="$CFLAGS $BUILTINFLAG"
19479 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19480 if test "x$ac_cv_func_epoll_create" = xyes
19481 then :
19482 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19485 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19486 if test "x$ac_cv_func_fstatfs" = xyes
19487 then :
19488 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19491 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19492 if test "x$ac_cv_func_futimens" = xyes
19493 then :
19494 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19497 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19498 if test "x$ac_cv_func_futimes" = xyes
19499 then :
19500 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19503 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19504 if test "x$ac_cv_func_futimesat" = xyes
19505 then :
19506 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19509 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19510 if test "x$ac_cv_func_getattrlist" = xyes
19511 then :
19512 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19515 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19516 if test "x$ac_cv_func_getauxval" = xyes
19517 then :
19518 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19521 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19522 if test "x$ac_cv_func_getifaddrs" = xyes
19523 then :
19524 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19527 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19528 if test "x$ac_cv_func_getrandom" = xyes
19529 then :
19530 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19533 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19534 if test "x$ac_cv_func_kqueue" = xyes
19535 then :
19536 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19539 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19540 if test "x$ac_cv_func_mach_continuous_time" = xyes
19541 then :
19542 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19545 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19546 if test "x$ac_cv_func_pipe2" = xyes
19547 then :
19548 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19551 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19552 if test "x$ac_cv_func_port_create" = xyes
19553 then :
19554 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19557 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19558 if test "x$ac_cv_func_posix_fadvise" = xyes
19559 then :
19560 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19563 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19564 if test "x$ac_cv_func_posix_fallocate" = xyes
19565 then :
19566 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19569 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19570 if test "x$ac_cv_func_prctl" = xyes
19571 then :
19572 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19575 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19576 if test "x$ac_cv_func_proc_pidinfo" = xyes
19577 then :
19578 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19581 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19582 if test "x$ac_cv_func_sched_yield" = xyes
19583 then :
19584 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19587 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19588 if test "x$ac_cv_func_setproctitle" = xyes
19589 then :
19590 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19593 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19594 if test "x$ac_cv_func_setprogname" = xyes
19595 then :
19596 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19599 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19600 if test "x$ac_cv_func_sigprocmask" = xyes
19601 then :
19602 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19605 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19606 if test "x$ac_cv_func_sysinfo" = xyes
19607 then :
19608 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19611 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19612 if test "x$ac_cv_func_tcdrain" = xyes
19613 then :
19614 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19617 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19618 if test "x$ac_cv_func_thr_kill2" = xyes
19619 then :
19620 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19624 CFLAGS="$ac_save_CFLAGS"
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19627 printf %s "checking for library containing dlopen... " >&6; }
19628 if test ${ac_cv_search_dlopen+y}
19629 then :
19630 printf %s "(cached) " >&6
19631 else $as_nop
19632 ac_func_search_save_LIBS=$LIBS
19633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19636 /* Override any GCC internal prototype to avoid an error.
19637 Use char because int might match the return type of a GCC
19638 builtin and then its argument prototype would still apply. */
19639 char dlopen ();
19641 main (void)
19643 return dlopen ();
19645 return 0;
19647 _ACEOF
19648 for ac_lib in '' dl
19650 if test -z "$ac_lib"; then
19651 ac_res="none required"
19652 else
19653 ac_res=-l$ac_lib
19654 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19656 if ac_fn_c_try_link "$LINENO"
19657 then :
19658 ac_cv_search_dlopen=$ac_res
19660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19661 conftest$ac_exeext
19662 if test ${ac_cv_search_dlopen+y}
19663 then :
19664 break
19666 done
19667 if test ${ac_cv_search_dlopen+y}
19668 then :
19670 else $as_nop
19671 ac_cv_search_dlopen=no
19673 rm conftest.$ac_ext
19674 LIBS=$ac_func_search_save_LIBS
19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19677 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19678 ac_res=$ac_cv_search_dlopen
19679 if test "$ac_res" != no
19680 then :
19681 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19685 ac_wine_check_funcs_save_LIBS="$LIBS"
19686 LIBS="$LIBS $DL_LIBS"
19687 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19688 if test "x$ac_cv_func_dlinfo" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19694 LIBS="$ac_wine_check_funcs_save_LIBS"
19696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19697 printf %s "checking for library containing gethostbyname... " >&6; }
19698 if test ${ac_cv_search_gethostbyname+y}
19699 then :
19700 printf %s "(cached) " >&6
19701 else $as_nop
19702 ac_func_search_save_LIBS=$LIBS
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19706 /* Override any GCC internal prototype to avoid an error.
19707 Use char because int might match the return type of a GCC
19708 builtin and then its argument prototype would still apply. */
19709 char gethostbyname ();
19711 main (void)
19713 return gethostbyname ();
19715 return 0;
19717 _ACEOF
19718 for ac_lib in '' nsl
19720 if test -z "$ac_lib"; then
19721 ac_res="none required"
19722 else
19723 ac_res=-l$ac_lib
19724 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19726 if ac_fn_c_try_link "$LINENO"
19727 then :
19728 ac_cv_search_gethostbyname=$ac_res
19730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19731 conftest$ac_exeext
19732 if test ${ac_cv_search_gethostbyname+y}
19733 then :
19734 break
19736 done
19737 if test ${ac_cv_search_gethostbyname+y}
19738 then :
19740 else $as_nop
19741 ac_cv_search_gethostbyname=no
19743 rm conftest.$ac_ext
19744 LIBS=$ac_func_search_save_LIBS
19746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19747 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19748 ac_res=$ac_cv_search_gethostbyname
19749 if test "$ac_res" != no
19750 then :
19751 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19757 printf %s "checking for library containing connect... " >&6; }
19758 if test ${ac_cv_search_connect+y}
19759 then :
19760 printf %s "(cached) " >&6
19761 else $as_nop
19762 ac_func_search_save_LIBS=$LIBS
19763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19764 /* end confdefs.h. */
19766 /* Override any GCC internal prototype to avoid an error.
19767 Use char because int might match the return type of a GCC
19768 builtin and then its argument prototype would still apply. */
19769 char connect ();
19771 main (void)
19773 return connect ();
19775 return 0;
19777 _ACEOF
19778 for ac_lib in '' socket
19780 if test -z "$ac_lib"; then
19781 ac_res="none required"
19782 else
19783 ac_res=-l$ac_lib
19784 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19786 if ac_fn_c_try_link "$LINENO"
19787 then :
19788 ac_cv_search_connect=$ac_res
19790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19791 conftest$ac_exeext
19792 if test ${ac_cv_search_connect+y}
19793 then :
19794 break
19796 done
19797 if test ${ac_cv_search_connect+y}
19798 then :
19800 else $as_nop
19801 ac_cv_search_connect=no
19803 rm conftest.$ac_ext
19804 LIBS=$ac_func_search_save_LIBS
19806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19807 printf "%s\n" "$ac_cv_search_connect" >&6; }
19808 ac_res=$ac_cv_search_connect
19809 if test "$ac_res" != no
19810 then :
19811 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19817 printf %s "checking for library containing inet_aton... " >&6; }
19818 if test ${ac_cv_search_inet_aton+y}
19819 then :
19820 printf %s "(cached) " >&6
19821 else $as_nop
19822 ac_func_search_save_LIBS=$LIBS
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19826 /* Override any GCC internal prototype to avoid an error.
19827 Use char because int might match the return type of a GCC
19828 builtin and then its argument prototype would still apply. */
19829 char inet_aton ();
19831 main (void)
19833 return inet_aton ();
19835 return 0;
19837 _ACEOF
19838 for ac_lib in '' resolv
19840 if test -z "$ac_lib"; then
19841 ac_res="none required"
19842 else
19843 ac_res=-l$ac_lib
19844 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19846 if ac_fn_c_try_link "$LINENO"
19847 then :
19848 ac_cv_search_inet_aton=$ac_res
19850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19851 conftest$ac_exeext
19852 if test ${ac_cv_search_inet_aton+y}
19853 then :
19854 break
19856 done
19857 if test ${ac_cv_search_inet_aton+y}
19858 then :
19860 else $as_nop
19861 ac_cv_search_inet_aton=no
19863 rm conftest.$ac_ext
19864 LIBS=$ac_func_search_save_LIBS
19866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19867 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19868 ac_res=$ac_cv_search_inet_aton
19869 if test "$ac_res" != no
19870 then :
19871 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19876 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19877 if test "x$ac_cv_func_getaddrinfo" = xyes
19878 then :
19879 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19884 case $host_os in
19885 darwin*|macosx*) ;;
19886 *) ac_save_LIBS=$LIBS
19887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19888 printf %s "checking for library containing clock_gettime... " >&6; }
19889 if test ${ac_cv_search_clock_gettime+y}
19890 then :
19891 printf %s "(cached) " >&6
19892 else $as_nop
19893 ac_func_search_save_LIBS=$LIBS
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19897 /* Override any GCC internal prototype to avoid an error.
19898 Use char because int might match the return type of a GCC
19899 builtin and then its argument prototype would still apply. */
19900 char clock_gettime ();
19902 main (void)
19904 return clock_gettime ();
19906 return 0;
19908 _ACEOF
19909 for ac_lib in '' rt
19911 if test -z "$ac_lib"; then
19912 ac_res="none required"
19913 else
19914 ac_res=-l$ac_lib
19915 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19917 if ac_fn_c_try_link "$LINENO"
19918 then :
19919 ac_cv_search_clock_gettime=$ac_res
19921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19922 conftest$ac_exeext
19923 if test ${ac_cv_search_clock_gettime+y}
19924 then :
19925 break
19927 done
19928 if test ${ac_cv_search_clock_gettime+y}
19929 then :
19931 else $as_nop
19932 ac_cv_search_clock_gettime=no
19934 rm conftest.$ac_ext
19935 LIBS=$ac_func_search_save_LIBS
19937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19938 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19939 ac_res=$ac_cv_search_clock_gettime
19940 if test "$ac_res" != no
19941 then :
19942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19944 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19946 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19950 LIBS=$ac_save_LIBS
19952 esac
19954 if test "x$with_ldap" != "xno"
19955 then
19956 if ${LDAP_CFLAGS:+false} :
19957 then :
19958 if test ${PKG_CONFIG+y}
19959 then :
19960 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
19964 if ${LDAP_LIBS:+false} :
19965 then :
19966 if test ${PKG_CONFIG+y}
19967 then :
19968 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
19972 LDAP_LIBS=${LDAP_LIBS:-"-lldap -llber"}
19973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
19974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
19975 ac_save_CPPFLAGS=$CPPFLAGS
19976 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
19977 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
19978 if test "x$ac_cv_header_ldap_h" = xyes
19979 then :
19980 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
19983 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
19984 if test "x$ac_cv_header_lber_h" = xyes
19985 then :
19986 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
19990 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
19991 then
19992 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
19994 if test "x$ac_cv_type_LDAPSortKey" = xyes
19995 then :
19996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5
19997 printf %s "checking for ldap_initialize in -lldap... " >&6; }
19998 if test ${ac_cv_lib_ldap_ldap_initialize+y}
19999 then :
20000 printf %s "(cached) " >&6
20001 else $as_nop
20002 ac_check_lib_save_LIBS=$LIBS
20003 LIBS="-lldap $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20007 /* Override any GCC internal prototype to avoid an error.
20008 Use char because int might match the return type of a GCC
20009 builtin and then its argument prototype would still apply. */
20010 char ldap_initialize ();
20012 main (void)
20014 return ldap_initialize ();
20016 return 0;
20018 _ACEOF
20019 if ac_fn_c_try_link "$LINENO"
20020 then :
20021 ac_cv_lib_ldap_ldap_initialize=yes
20022 else $as_nop
20023 ac_cv_lib_ldap_ldap_initialize=no
20025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20026 conftest$ac_exeext conftest.$ac_ext
20027 LIBS=$ac_check_lib_save_LIBS
20029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5
20030 printf "%s\n" "$ac_cv_lib_ldap_ldap_initialize" >&6; }
20031 if test "x$ac_cv_lib_ldap_ldap_initialize" = xyes
20032 then :
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
20034 printf %s "checking for ber_init in -llber... " >&6; }
20035 if test ${ac_cv_lib_lber_ber_init+y}
20036 then :
20037 printf %s "(cached) " >&6
20038 else $as_nop
20039 ac_check_lib_save_LIBS=$LIBS
20040 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
20041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20042 /* end confdefs.h. */
20044 /* Override any GCC internal prototype to avoid an error.
20045 Use char because int might match the return type of a GCC
20046 builtin and then its argument prototype would still apply. */
20047 char ber_init ();
20049 main (void)
20051 return ber_init ();
20053 return 0;
20055 _ACEOF
20056 if ac_fn_c_try_link "$LINENO"
20057 then :
20058 ac_cv_lib_lber_ber_init=yes
20059 else $as_nop
20060 ac_cv_lib_lber_ber_init=no
20062 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20063 conftest$ac_exeext conftest.$ac_ext
20064 LIBS=$ac_check_lib_save_LIBS
20066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
20067 printf "%s\n" "$ac_cv_lib_lber_ber_init" >&6; }
20068 if test "x$ac_cv_lib_lber_ber_init" = xyes
20069 then :
20071 printf "%s\n" "#define HAVE_LDAP 1" >>confdefs.h
20073 else $as_nop
20074 LDAP_LIBS=""
20077 else $as_nop
20078 LDAP_LIBS=""
20081 else $as_nop
20082 LDAP_LIBS=""
20085 else
20086 LDAP_LIBS=""
20088 CPPFLAGS=$ac_save_CPPFLAGS
20091 if test "x$LDAP_LIBS" = "x"
20092 then :
20093 case "x$with_ldap" in
20094 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
20095 xno) ;;
20096 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
20097 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
20098 esac
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20103 printf %s "checking for sched_setaffinity... " >&6; }
20104 if test ${wine_cv_have_sched_setaffinity+y}
20105 then :
20106 printf %s "(cached) " >&6
20107 else $as_nop
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20110 #include <sched.h>
20112 main (void)
20114 sched_setaffinity(0, 0, 0);
20116 return 0;
20118 _ACEOF
20119 if ac_fn_c_try_link "$LINENO"
20120 then :
20121 wine_cv_have_sched_setaffinity=yes
20122 else $as_nop
20123 wine_cv_have_sched_setaffinity=no
20125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20126 conftest$ac_exeext conftest.$ac_ext
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20129 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20130 if test "$wine_cv_have_sched_setaffinity" = "yes"
20131 then
20133 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20139 printf %s "checking for inline... " >&6; }
20140 if test ${ac_cv_c_inline+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 ac_cv_c_inline=no
20145 for ac_kw in inline __inline__ __inline; do
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 #ifndef __cplusplus
20149 typedef int foo_t;
20150 static $ac_kw foo_t static_foo (void) {return 0; }
20151 $ac_kw foo_t foo (void) {return 0; }
20152 #endif
20154 _ACEOF
20155 if ac_fn_c_try_compile "$LINENO"
20156 then :
20157 ac_cv_c_inline=$ac_kw
20159 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20160 test "$ac_cv_c_inline" != no && break
20161 done
20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20165 printf "%s\n" "$ac_cv_c_inline" >&6; }
20167 case $ac_cv_c_inline in
20168 inline | yes) ;;
20170 case $ac_cv_c_inline in
20171 no) ac_val=;;
20172 *) ac_val=$ac_cv_c_inline;;
20173 esac
20174 cat >>confdefs.h <<_ACEOF
20175 #ifndef __cplusplus
20176 #define inline $ac_val
20177 #endif
20178 _ACEOF
20180 esac
20182 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20183 #include <signal.h>
20185 if test "x$ac_cv_type_sigset_t" = xyes
20186 then :
20188 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20193 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20195 if test "x$ac_cv_type_request_sense" = xyes
20196 then :
20198 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20204 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20205 #include <sys/socket.h>
20206 #ifdef HAVE_SYS_SOCKETVAR_H
20207 #include <sys/socketvar.h>
20208 #endif
20209 #ifdef HAVE_NET_ROUTE_H
20210 #include <net/route.h>
20211 #endif
20212 #ifdef HAVE_NETINET_IN_H
20213 #include <netinet/in.h>
20214 #endif
20215 #ifdef HAVE_NETINET_IN_SYSTM_H
20216 #include <netinet/in_systm.h>
20217 #endif
20218 #ifdef HAVE_NETINET_IP_H
20219 #include <netinet/ip.h>
20220 #endif
20221 #ifdef HAVE_NETINET_IN_PCB_H
20222 #include <netinet/in_pcb.h>
20223 #endif
20225 if test "x$ac_cv_type_struct_xinpgen" = xyes
20226 then :
20228 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20235 printf %s "checking for sigaddset... " >&6; }
20236 if test ${wine_cv_have_sigaddset+y}
20237 then :
20238 printf %s "(cached) " >&6
20239 else $as_nop
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20242 #include <signal.h>
20244 main (void)
20246 sigset_t set; sigaddset(&set,SIGTERM);
20248 return 0;
20250 _ACEOF
20251 if ac_fn_c_try_link "$LINENO"
20252 then :
20253 wine_cv_have_sigaddset=yes
20254 else $as_nop
20255 wine_cv_have_sigaddset=no
20257 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20258 conftest$ac_exeext conftest.$ac_ext
20260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20261 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20262 if test "$wine_cv_have_sigaddset" = "yes"
20263 then
20265 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20271 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20272 if test ${wine_cv_linux_gethostbyname_r_6+y}
20273 then :
20274 printf %s "(cached) " >&6
20275 else $as_nop
20276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20277 /* end confdefs.h. */
20278 #include <netdb.h>
20280 main (void)
20283 char *name=0;
20284 struct hostent he;
20285 struct hostent *result;
20286 char *buf=0;
20287 int bufsize=0;
20288 int errnr;
20289 char *addr=0;
20290 int addrlen=0;
20291 int addrtype=0;
20292 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20293 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20296 return 0;
20298 _ACEOF
20299 if ac_fn_c_try_link "$LINENO"
20300 then :
20301 wine_cv_linux_gethostbyname_r_6=yes
20302 else $as_nop
20303 wine_cv_linux_gethostbyname_r_6=no
20306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20307 conftest$ac_exeext conftest.$ac_ext
20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20311 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20312 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20313 then
20315 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20320 #include <sys/socket.h>
20321 #ifdef HAVE_SYS_UN_H
20322 # include <sys/un.h>
20323 #endif
20325 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20326 then :
20328 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20332 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20333 #include <sys/socket.h>
20334 #ifdef HAVE_SYS_UN_H
20335 # include <sys/un.h>
20336 #endif
20338 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20339 then :
20341 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20347 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20350 #endif
20352 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20359 ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
20360 #ifdef HAVE_SCSI_SG_H
20361 #include <scsi/sg.h>
20362 #endif
20364 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20365 then :
20367 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20373 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20375 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20376 then :
20378 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20387 #endif
20389 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20396 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20399 #endif
20401 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20409 #ifdef HAVE_SYS_MTIO_H
20410 #include <sys/mtio.h>
20411 #endif
20413 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20414 then :
20416 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20422 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20423 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20424 then :
20426 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20430 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20431 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20438 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20439 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20440 then :
20442 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20446 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20447 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20448 then :
20450 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20455 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20456 then :
20458 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20462 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20463 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20464 then :
20466 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20470 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20471 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20472 then :
20474 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20478 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20479 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20480 then :
20482 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20486 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20487 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20488 then :
20490 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20494 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20495 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20496 then :
20498 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20502 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20503 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20504 then :
20506 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20512 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#include <sys/types.h>
20513 #ifdef HAVE_NETINET_IN_H
20514 #include <netinet/in.h>
20515 #endif
20517 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20518 then :
20520 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20526 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
20527 #include <resolv.h>
20528 #endif
20530 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20531 then :
20533 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20540 #include <netinet/in.h>
20541 #endif
20543 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20552 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20553 #ifdef HAVE_SYS_SOCKETVAR_H
20554 #include <sys/socketvar.h>
20555 #endif
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20558 #endif
20559 #ifdef HAVE_NETINET_IP_VAR_H
20560 #include <netinet/ip_var.h>
20561 #endif
20563 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20572 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
20573 #include <netinet/ip_var.h>
20574 #endif
20576 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20577 then :
20579 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20585 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20586 #ifdef HAVE_SYS_SOCKETVAR_H
20587 #include <sys/socketvar.h>
20588 #endif
20589 #ifdef HAVE_NETINET_IN_H
20590 #include <netinet/in.h>
20591 #endif
20592 #ifdef HAVE_NETINET_TCP_H
20593 #include <netinet/tcp.h>
20594 #endif
20595 #ifdef HAVE_NETINET_TCP_VAR_H
20596 #include <netinet/tcp_var.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20608 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
20609 #include <netinet/tcp_var.h>
20610 #endif
20612 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20613 then :
20615 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20621 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20622 #ifdef HAVE_NETINET_IN_H
20623 #include <netinet/in.h>
20624 #endif
20625 #ifdef HAVE_NETINET_IP_VAR_H
20626 #include <netinet/ip_var.h>
20627 #endif
20628 #ifdef HAVE_NETINET_UDP_H
20629 #include <netinet/udp.h>
20630 #endif
20631 #ifdef HAVE_NETINET_UDP_VAR_H
20632 #include <netinet/udp_var.h>
20633 #endif
20635 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20636 then :
20638 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20644 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20645 #ifdef HAVE_NET_IF_H
20646 # include <net/if.h>
20647 #endif
20649 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20650 then :
20652 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20659 # include <sys/sysinfo.h>
20660 #endif
20662 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20669 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20670 # include <sys/sysinfo.h>
20671 #endif
20673 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20674 then :
20676 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20682 LIBS="$ac_save_LIBS"
20684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20685 printf %s "checking for __builtin_popcount... " >&6; }
20686 if test ${ac_cv_have___builtin_popcount+y}
20687 then :
20688 printf %s "(cached) " >&6
20689 else $as_nop
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20694 main (void)
20696 return __builtin_popcount(1)
20698 return 0;
20700 _ACEOF
20701 if ac_fn_c_try_link "$LINENO"
20702 then :
20703 ac_cv_have___builtin_popcount="yes"
20704 else $as_nop
20705 ac_cv_have___builtin_popcount="no"
20707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20708 conftest$ac_exeext conftest.$ac_ext
20710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20711 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20712 if test "$ac_cv_have___builtin_popcount" = "yes"
20713 then
20715 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20720 printf %s "checking for __clear_cache... " >&6; }
20721 if test ${ac_cv_have___clear_cache+y}
20722 then :
20723 printf %s "(cached) " >&6
20724 else $as_nop
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20729 main (void)
20731 __clear_cache((void*)0, (void*)0); return 0;
20733 return 0;
20735 _ACEOF
20736 if ac_fn_c_try_link "$LINENO"
20737 then :
20738 ac_cv_have___clear_cache="yes"
20739 else $as_nop
20740 ac_cv_have___clear_cache="no"
20742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20743 conftest$ac_exeext conftest.$ac_ext
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20746 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20747 if test "$ac_cv_have___clear_cache" = "yes"
20748 then
20750 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20755 case $host_cpu in
20756 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20757 printf %s "checking whether we need to define __i386__... " >&6; }
20758 if test ${ac_cv_cpp_def___i386__+y}
20759 then :
20760 printf %s "(cached) " >&6
20761 else $as_nop
20762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20763 /* end confdefs.h. */
20764 #ifndef __i386__
20766 #endif
20767 _ACEOF
20768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20769 $EGREP "yes" >/dev/null 2>&1
20770 then :
20771 ac_cv_cpp_def___i386__=yes
20772 else $as_nop
20773 ac_cv_cpp_def___i386__=no
20775 rm -rf conftest*
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20779 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20780 if test "x$ac_cv_cpp_def___i386__" = xyes
20781 then :
20782 CFLAGS="$CFLAGS -D__i386__"
20783 LINTFLAGS="$LINTFLAGS -D__i386__"
20784 fi ;;
20785 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20786 printf %s "checking whether we need to define __x86_64__... " >&6; }
20787 if test ${ac_cv_cpp_def___x86_64__+y}
20788 then :
20789 printf %s "(cached) " >&6
20790 else $as_nop
20791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20793 #ifndef __x86_64__
20795 #endif
20796 _ACEOF
20797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20798 $EGREP "yes" >/dev/null 2>&1
20799 then :
20800 ac_cv_cpp_def___x86_64__=yes
20801 else $as_nop
20802 ac_cv_cpp_def___x86_64__=no
20804 rm -rf conftest*
20807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20808 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20809 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20810 then :
20811 CFLAGS="$CFLAGS -D__x86_64__"
20812 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20813 fi ;;
20814 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20815 printf %s "checking whether we need to define __sparc64__... " >&6; }
20816 if test ${ac_cv_cpp_def___sparc64__+y}
20817 then :
20818 printf %s "(cached) " >&6
20819 else $as_nop
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20822 #ifndef __sparc64__
20824 #endif
20825 _ACEOF
20826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20827 $EGREP "yes" >/dev/null 2>&1
20828 then :
20829 ac_cv_cpp_def___sparc64__=yes
20830 else $as_nop
20831 ac_cv_cpp_def___sparc64__=no
20833 rm -rf conftest*
20836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20837 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20838 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20839 then :
20840 CFLAGS="$CFLAGS -D__sparc64__"
20841 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20842 fi ;;
20843 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20844 printf %s "checking whether we need to define __sparc__... " >&6; }
20845 if test ${ac_cv_cpp_def___sparc__+y}
20846 then :
20847 printf %s "(cached) " >&6
20848 else $as_nop
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20851 #ifndef __sparc__
20853 #endif
20854 _ACEOF
20855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20856 $EGREP "yes" >/dev/null 2>&1
20857 then :
20858 ac_cv_cpp_def___sparc__=yes
20859 else $as_nop
20860 ac_cv_cpp_def___sparc__=no
20862 rm -rf conftest*
20865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20866 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20867 if test "x$ac_cv_cpp_def___sparc__" = xyes
20868 then :
20869 CFLAGS="$CFLAGS -D__sparc__"
20870 LINTFLAGS="$LINTFLAGS -D__sparc__"
20871 fi ;;
20872 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20873 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20874 if test ${ac_cv_cpp_def___powerpc64__+y}
20875 then :
20876 printf %s "(cached) " >&6
20877 else $as_nop
20878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h. */
20880 #ifndef __powerpc64__
20882 #endif
20883 _ACEOF
20884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20885 $EGREP "yes" >/dev/null 2>&1
20886 then :
20887 ac_cv_cpp_def___powerpc64__=yes
20888 else $as_nop
20889 ac_cv_cpp_def___powerpc64__=no
20891 rm -rf conftest*
20894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20895 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20896 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20897 then :
20898 CFLAGS="$CFLAGS -D__powerpc64__"
20899 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20900 fi ;;
20901 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20902 printf %s "checking whether we need to define __powerpc__... " >&6; }
20903 if test ${ac_cv_cpp_def___powerpc__+y}
20904 then :
20905 printf %s "(cached) " >&6
20906 else $as_nop
20907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h. */
20909 #ifndef __powerpc__
20911 #endif
20912 _ACEOF
20913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20914 $EGREP "yes" >/dev/null 2>&1
20915 then :
20916 ac_cv_cpp_def___powerpc__=yes
20917 else $as_nop
20918 ac_cv_cpp_def___powerpc__=no
20920 rm -rf conftest*
20923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20924 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20925 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20926 then :
20927 CFLAGS="$CFLAGS -D__powerpc__"
20928 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20929 fi ;;
20930 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20931 printf %s "checking whether we need to define __aarch64__... " >&6; }
20932 if test ${ac_cv_cpp_def___aarch64__+y}
20933 then :
20934 printf %s "(cached) " >&6
20935 else $as_nop
20936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20938 #ifndef __aarch64__
20940 #endif
20941 _ACEOF
20942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20943 $EGREP "yes" >/dev/null 2>&1
20944 then :
20945 ac_cv_cpp_def___aarch64__=yes
20946 else $as_nop
20947 ac_cv_cpp_def___aarch64__=no
20949 rm -rf conftest*
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20953 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20954 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20955 then :
20956 CFLAGS="$CFLAGS -D__aarch64__"
20957 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20958 fi ;;
20959 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20960 printf %s "checking whether we need to define __arm__... " >&6; }
20961 if test ${ac_cv_cpp_def___arm__+y}
20962 then :
20963 printf %s "(cached) " >&6
20964 else $as_nop
20965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #ifndef __arm__
20969 #endif
20970 _ACEOF
20971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20972 $EGREP "yes" >/dev/null 2>&1
20973 then :
20974 ac_cv_cpp_def___arm__=yes
20975 else $as_nop
20976 ac_cv_cpp_def___arm__=no
20978 rm -rf conftest*
20981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20982 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20983 if test "x$ac_cv_cpp_def___arm__" = xyes
20984 then :
20985 CFLAGS="$CFLAGS -D__arm__"
20986 LINTFLAGS="$LINTFLAGS -D__arm__"
20987 fi ;;
20988 esac
20990 case $host_vendor in
20991 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20992 printf %s "checking whether we need to define __sun__... " >&6; }
20993 if test ${ac_cv_cpp_def___sun__+y}
20994 then :
20995 printf %s "(cached) " >&6
20996 else $as_nop
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
20999 #ifndef __sun__
21001 #endif
21002 _ACEOF
21003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21004 $EGREP "yes" >/dev/null 2>&1
21005 then :
21006 ac_cv_cpp_def___sun__=yes
21007 else $as_nop
21008 ac_cv_cpp_def___sun__=no
21010 rm -rf conftest*
21013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21014 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21015 if test "x$ac_cv_cpp_def___sun__" = xyes
21016 then :
21017 CFLAGS="$CFLAGS -D__sun__"
21018 LINTFLAGS="$LINTFLAGS -D__sun__"
21019 fi ;;
21020 esac
21026 ac_config_commands="$ac_config_commands include/stamp-h"
21028 printf %s "creating Makefile rules..." >&6
21030 makedep_flags=""
21031 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21033 wine_srcdir=
21034 test "$srcdir" = . || wine_srcdir="$srcdir/"
21036 ac_config_links="$ac_config_links wine:tools/winewrapper"
21037 wine_fn_config_symlink wine
21038 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
21039 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21040 wine_fn_config_symlink wine64
21043 wine_fn_config_makefile dlls/acledit enable_acledit
21044 wine_fn_config_makefile dlls/aclui enable_aclui
21045 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21046 wine_fn_config_makefile dlls/activeds enable_activeds
21047 wine_fn_config_makefile dlls/activeds/tests enable_tests
21048 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21049 wine_fn_config_makefile dlls/adsldp enable_adsldp
21050 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21051 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21052 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21053 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21054 wine_fn_config_makefile dlls/advpack enable_advpack
21055 wine_fn_config_makefile dlls/advpack/tests enable_tests
21056 wine_fn_config_makefile dlls/amsi enable_amsi
21057 wine_fn_config_makefile dlls/amstream enable_amstream
21058 wine_fn_config_makefile dlls/amstream/tests enable_tests
21059 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21060 wine_fn_config_makefile dlls/apphelp enable_apphelp
21061 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21062 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21063 wine_fn_config_makefile dlls/atl enable_atl
21064 wine_fn_config_makefile dlls/atl/tests enable_tests
21065 wine_fn_config_makefile dlls/atl100 enable_atl100
21066 wine_fn_config_makefile dlls/atl100/tests enable_tests
21067 wine_fn_config_makefile dlls/atl110 enable_atl110
21068 wine_fn_config_makefile dlls/atl80 enable_atl80
21069 wine_fn_config_makefile dlls/atl80/tests enable_tests
21070 wine_fn_config_makefile dlls/atl90 enable_atl90
21071 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21072 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21073 wine_fn_config_makefile dlls/atmlib enable_atmlib
21074 wine_fn_config_makefile dlls/authz enable_authz
21075 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21076 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21077 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21078 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21079 wine_fn_config_makefile dlls/avrt enable_avrt
21080 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21081 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21082 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21083 wine_fn_config_makefile dlls/browseui enable_browseui
21084 wine_fn_config_makefile dlls/browseui/tests enable_tests
21085 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21086 wine_fn_config_makefile dlls/cabinet enable_cabinet
21087 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21088 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21089 wine_fn_config_makefile dlls/cards enable_cards
21090 wine_fn_config_makefile dlls/cdosys enable_cdosys
21091 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21092 wine_fn_config_makefile dlls/clusapi enable_clusapi
21093 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21094 wine_fn_config_makefile dlls/combase enable_combase
21095 wine_fn_config_makefile dlls/combase/tests enable_tests
21096 wine_fn_config_makefile dlls/comcat enable_comcat
21097 wine_fn_config_makefile dlls/comcat/tests enable_tests
21098 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21099 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21100 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21101 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21102 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21103 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21104 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21105 wine_fn_config_makefile dlls/compstui enable_compstui
21106 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21107 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21108 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21109 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21110 wine_fn_config_makefile dlls/connect enable_connect
21111 wine_fn_config_makefile dlls/credui enable_credui
21112 wine_fn_config_makefile dlls/credui/tests enable_tests
21113 wine_fn_config_makefile dlls/crtdll enable_crtdll
21114 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21115 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21116 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21117 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21118 wine_fn_config_makefile dlls/cryptext enable_cryptext
21119 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21120 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21121 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21122 wine_fn_config_makefile dlls/cryptui enable_cryptui
21123 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21124 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21125 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21126 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21127 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21128 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21129 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21130 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21131 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21132 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21133 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21134 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21135 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21136 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21137 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21138 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21139 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21140 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21141 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21142 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21143 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21144 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21145 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21146 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21147 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21148 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21149 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21150 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21151 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21152 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21153 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21154 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21155 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21156 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21157 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21158 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21159 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21160 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21161 wine_fn_config_makefile dlls/d3dim enable_d3dim
21162 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21163 wine_fn_config_makefile dlls/d3drm enable_d3drm
21164 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21165 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21166 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21167 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21168 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21169 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21170 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21171 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21172 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21173 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21174 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21175 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21176 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21177 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21178 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21179 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21180 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21181 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21182 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21183 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21184 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21185 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21186 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21187 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21188 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21189 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21190 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21191 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21192 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21193 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21194 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21195 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21196 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21197 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21198 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21199 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21200 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21201 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21202 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21203 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21204 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21205 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21206 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21207 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21208 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21209 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21210 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21211 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21212 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21213 wine_fn_config_makefile dlls/davclnt enable_davclnt
21214 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21215 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21216 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21217 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21218 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21219 wine_fn_config_makefile dlls/dcomp enable_dcomp
21220 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21221 wine_fn_config_makefile dlls/ddraw enable_ddraw
21222 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21223 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21224 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21225 wine_fn_config_makefile dlls/devenum enable_devenum
21226 wine_fn_config_makefile dlls/devenum/tests enable_tests
21227 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21228 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21229 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21230 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21231 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21232 wine_fn_config_makefile dlls/difxapi enable_difxapi
21233 wine_fn_config_makefile dlls/dinput enable_dinput
21234 wine_fn_config_makefile dlls/dinput/tests enable_tests
21235 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21236 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21237 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21238 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21239 wine_fn_config_makefile dlls/dispex enable_dispex
21240 wine_fn_config_makefile dlls/dispex/tests enable_tests
21241 wine_fn_config_makefile dlls/display.drv16 enable_win16
21242 wine_fn_config_makefile dlls/dmband enable_dmband
21243 wine_fn_config_makefile dlls/dmband/tests enable_tests
21244 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21245 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21246 wine_fn_config_makefile dlls/dmime enable_dmime
21247 wine_fn_config_makefile dlls/dmime/tests enable_tests
21248 wine_fn_config_makefile dlls/dmloader enable_dmloader
21249 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21250 wine_fn_config_makefile dlls/dmscript enable_dmscript
21251 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21252 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21253 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21254 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21255 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21256 wine_fn_config_makefile dlls/dmusic enable_dmusic
21257 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21258 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21259 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21260 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21261 wine_fn_config_makefile dlls/dplay enable_dplay
21262 wine_fn_config_makefile dlls/dplayx enable_dplayx
21263 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21264 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21265 wine_fn_config_makefile dlls/dpnet enable_dpnet
21266 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21267 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21268 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21269 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21270 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21271 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21272 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21273 wine_fn_config_makefile dlls/drmclien enable_drmclien
21274 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21275 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21276 wine_fn_config_makefile dlls/dsound enable_dsound
21277 wine_fn_config_makefile dlls/dsound/tests enable_tests
21278 wine_fn_config_makefile dlls/dsquery enable_dsquery
21279 wine_fn_config_makefile dlls/dssenh enable_dssenh
21280 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21281 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21282 wine_fn_config_makefile dlls/dswave enable_dswave
21283 wine_fn_config_makefile dlls/dswave/tests enable_tests
21284 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21285 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21286 wine_fn_config_makefile dlls/dwrite enable_dwrite
21287 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21288 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21289 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21290 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21291 wine_fn_config_makefile dlls/dxgi enable_dxgi
21292 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21293 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21294 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21295 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21296 wine_fn_config_makefile dlls/esent enable_esent
21297 wine_fn_config_makefile dlls/evr enable_evr
21298 wine_fn_config_makefile dlls/evr/tests enable_tests
21299 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21300 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21301 wine_fn_config_makefile dlls/faultrep enable_faultrep
21302 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21303 wine_fn_config_makefile dlls/feclient enable_feclient
21304 wine_fn_config_makefile dlls/fltlib enable_fltlib
21305 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21306 wine_fn_config_makefile dlls/fntcache enable_fntcache
21307 wine_fn_config_makefile dlls/fontsub enable_fontsub
21308 wine_fn_config_makefile dlls/fusion enable_fusion
21309 wine_fn_config_makefile dlls/fusion/tests enable_tests
21310 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21311 wine_fn_config_makefile dlls/gameux enable_gameux
21312 wine_fn_config_makefile dlls/gameux/tests enable_tests
21313 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21314 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21315 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21316 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21317 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21318 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21319 wine_fn_config_makefile dlls/glu32 enable_glu32
21320 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21321 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21322 wine_fn_config_makefile dlls/hal enable_hal
21323 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21324 wine_fn_config_makefile dlls/hid enable_hid
21325 wine_fn_config_makefile dlls/hid/tests enable_tests
21326 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21327 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21328 wine_fn_config_makefile dlls/hlink enable_hlink
21329 wine_fn_config_makefile dlls/hlink/tests enable_tests
21330 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21331 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21332 wine_fn_config_makefile dlls/http.sys enable_http_sys
21333 wine_fn_config_makefile dlls/httpapi enable_httpapi
21334 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21335 wine_fn_config_makefile dlls/iccvid enable_iccvid
21336 wine_fn_config_makefile dlls/icmp enable_icmp
21337 wine_fn_config_makefile dlls/ieframe enable_ieframe
21338 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21339 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21340 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21341 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21342 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21343 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21344 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21345 wine_fn_config_makefile dlls/imm32 enable_imm32
21346 wine_fn_config_makefile dlls/imm32/tests enable_tests
21347 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21348 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21349 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21350 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21351 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21352 wine_fn_config_makefile dlls/infosoft enable_infosoft
21353 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21354 wine_fn_config_makefile dlls/initpki enable_initpki
21355 wine_fn_config_makefile dlls/inkobj enable_inkobj
21356 wine_fn_config_makefile dlls/inseng enable_inseng
21357 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21358 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21359 wine_fn_config_makefile dlls/iprop enable_iprop
21360 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21361 wine_fn_config_makefile dlls/itircl enable_itircl
21362 wine_fn_config_makefile dlls/itss enable_itss
21363 wine_fn_config_makefile dlls/itss/tests enable_tests
21364 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21365 wine_fn_config_makefile dlls/jscript enable_jscript
21366 wine_fn_config_makefile dlls/jscript/tests enable_tests
21367 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21368 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21369 wine_fn_config_makefile dlls/kerberos enable_kerberos
21370 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21371 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21372 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21373 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21374 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21375 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21376 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21377 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21378 wine_fn_config_makefile dlls/ksuser enable_ksuser
21379 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21380 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21381 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21382 wine_fn_config_makefile dlls/loadperf enable_loadperf
21383 wine_fn_config_makefile dlls/localspl enable_localspl
21384 wine_fn_config_makefile dlls/localspl/tests enable_tests
21385 wine_fn_config_makefile dlls/localui enable_localui
21386 wine_fn_config_makefile dlls/localui/tests enable_tests
21387 wine_fn_config_makefile dlls/lz32 enable_lz32
21388 wine_fn_config_makefile dlls/lz32/tests enable_tests
21389 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21390 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21391 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21392 wine_fn_config_makefile dlls/mapistub enable_mapistub
21393 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21394 wine_fn_config_makefile dlls/mcicda enable_mcicda
21395 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21396 wine_fn_config_makefile dlls/mciseq enable_mciseq
21397 wine_fn_config_makefile dlls/mciwave enable_mciwave
21398 wine_fn_config_makefile dlls/mf enable_mf
21399 wine_fn_config_makefile dlls/mf/tests enable_tests
21400 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21401 wine_fn_config_makefile dlls/mferror enable_mferror
21402 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21403 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21404 wine_fn_config_makefile dlls/mfplat enable_mfplat
21405 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21406 wine_fn_config_makefile dlls/mfplay enable_mfplay
21407 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21408 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21409 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21410 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21411 wine_fn_config_makefile dlls/midimap enable_midimap
21412 wine_fn_config_makefile dlls/mlang enable_mlang
21413 wine_fn_config_makefile dlls/mlang/tests enable_tests
21414 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21415 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21416 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21417 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21418 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21419 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21420 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21421 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21422 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21423 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21424 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21425 wine_fn_config_makefile dlls/mpr enable_mpr
21426 wine_fn_config_makefile dlls/mpr/tests enable_tests
21427 wine_fn_config_makefile dlls/mprapi enable_mprapi
21428 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21429 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21430 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21431 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21432 wine_fn_config_makefile dlls/msado15 enable_msado15
21433 wine_fn_config_makefile dlls/msado15/tests enable_tests
21434 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21435 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21436 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21437 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21438 wine_fn_config_makefile dlls/mscms enable_mscms
21439 wine_fn_config_makefile dlls/mscms/tests enable_tests
21440 wine_fn_config_makefile dlls/mscoree enable_mscoree
21441 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21442 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21443 wine_fn_config_makefile dlls/msctf enable_msctf
21444 wine_fn_config_makefile dlls/msctf/tests enable_tests
21445 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21446 wine_fn_config_makefile dlls/msctfp enable_msctfp
21447 wine_fn_config_makefile dlls/msdaps enable_msdaps
21448 wine_fn_config_makefile dlls/msdasql enable_msdasql
21449 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21450 wine_fn_config_makefile dlls/msdelta enable_msdelta
21451 wine_fn_config_makefile dlls/msdmo enable_msdmo
21452 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21453 wine_fn_config_makefile dlls/msdrm enable_msdrm
21454 wine_fn_config_makefile dlls/msftedit enable_msftedit
21455 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21456 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21457 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21458 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21459 wine_fn_config_makefile dlls/mshtml enable_mshtml
21460 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21461 wine_fn_config_makefile dlls/msi enable_msi
21462 wine_fn_config_makefile dlls/msi/tests enable_tests
21463 wine_fn_config_makefile dlls/msident enable_msident
21464 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21465 wine_fn_config_makefile dlls/msimsg enable_msimsg
21466 wine_fn_config_makefile dlls/msimtf enable_msimtf
21467 wine_fn_config_makefile dlls/msisip enable_msisip
21468 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21469 wine_fn_config_makefile dlls/msls31 enable_msls31
21470 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21471 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21472 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21473 wine_fn_config_makefile dlls/msports enable_msports
21474 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21475 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21476 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21477 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21478 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21479 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21480 wine_fn_config_makefile dlls/mstask enable_mstask
21481 wine_fn_config_makefile dlls/mstask/tests enable_tests
21482 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21483 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21484 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21485 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21486 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21487 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21488 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21489 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21490 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21491 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21492 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21493 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21494 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21495 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21496 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21497 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21498 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21499 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21500 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21501 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21502 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21503 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21504 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21505 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21506 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21507 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21508 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21509 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21510 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21511 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21512 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21513 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21514 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21515 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21516 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21517 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21518 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21519 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21520 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21521 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21522 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21523 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21524 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21525 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21526 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21527 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21528 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21529 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21530 wine_fn_config_makefile dlls/mswsock enable_mswsock
21531 wine_fn_config_makefile dlls/msxml enable_msxml
21532 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21533 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21534 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21535 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21536 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21537 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21538 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21539 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21540 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21541 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21542 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21543 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21544 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21545 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21546 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21547 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21548 wine_fn_config_makefile dlls/netprofm enable_netprofm
21549 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21550 wine_fn_config_makefile dlls/netutils enable_netutils
21551 wine_fn_config_makefile dlls/newdev enable_newdev
21552 wine_fn_config_makefile dlls/ninput enable_ninput
21553 wine_fn_config_makefile dlls/ninput/tests enable_tests
21554 wine_fn_config_makefile dlls/normaliz enable_normaliz
21555 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21556 wine_fn_config_makefile dlls/npptools enable_npptools
21557 wine_fn_config_makefile dlls/nsi enable_nsi
21558 wine_fn_config_makefile dlls/nsi/tests enable_tests
21559 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21560 wine_fn_config_makefile dlls/ntdll enable_ntdll
21561 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21562 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21563 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21564 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21565 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21566 wine_fn_config_makefile dlls/ntprint enable_ntprint
21567 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21568 wine_fn_config_makefile dlls/objsel enable_objsel
21569 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21570 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21571 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21572 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21573 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21574 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21575 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21576 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21577 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21578 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21579 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21580 wine_fn_config_makefile dlls/ole32 enable_ole32
21581 wine_fn_config_makefile dlls/ole32/tests enable_tests
21582 wine_fn_config_makefile dlls/oleacc enable_oleacc
21583 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21584 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21585 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21586 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21587 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21588 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21589 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21590 wine_fn_config_makefile dlls/oledlg enable_oledlg
21591 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21592 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21593 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21594 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21595 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21596 wine_fn_config_makefile dlls/opcservices enable_opcservices
21597 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21598 wine_fn_config_makefile dlls/openal32 enable_openal32
21599 wine_fn_config_makefile dlls/opencl enable_opencl
21600 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21601 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21602 wine_fn_config_makefile dlls/packager enable_packager
21603 wine_fn_config_makefile dlls/packager/tests enable_tests
21604 wine_fn_config_makefile dlls/pdh enable_pdh
21605 wine_fn_config_makefile dlls/pdh/tests enable_tests
21606 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21607 wine_fn_config_makefile dlls/pidgen enable_pidgen
21608 wine_fn_config_makefile dlls/powrprof enable_powrprof
21609 wine_fn_config_makefile dlls/printui enable_printui
21610 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21611 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21612 wine_fn_config_makefile dlls/propsys enable_propsys
21613 wine_fn_config_makefile dlls/propsys/tests enable_tests
21614 wine_fn_config_makefile dlls/psapi enable_psapi
21615 wine_fn_config_makefile dlls/psapi/tests enable_tests
21616 wine_fn_config_makefile dlls/pstorec enable_pstorec
21617 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21618 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21619 wine_fn_config_makefile dlls/qasf enable_qasf
21620 wine_fn_config_makefile dlls/qasf/tests enable_tests
21621 wine_fn_config_makefile dlls/qcap enable_qcap
21622 wine_fn_config_makefile dlls/qcap/tests enable_tests
21623 wine_fn_config_makefile dlls/qdvd enable_qdvd
21624 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21625 wine_fn_config_makefile dlls/qedit enable_qedit
21626 wine_fn_config_makefile dlls/qedit/tests enable_tests
21627 wine_fn_config_makefile dlls/qmgr enable_qmgr
21628 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21629 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21630 wine_fn_config_makefile dlls/quartz enable_quartz
21631 wine_fn_config_makefile dlls/quartz/tests enable_tests
21632 wine_fn_config_makefile dlls/query enable_query
21633 wine_fn_config_makefile dlls/qwave enable_qwave
21634 wine_fn_config_makefile dlls/qwave/tests enable_tests
21635 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21636 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21637 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21638 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21639 wine_fn_config_makefile dlls/regapi enable_regapi
21640 wine_fn_config_makefile dlls/resutils enable_resutils
21641 wine_fn_config_makefile dlls/riched20 enable_riched20
21642 wine_fn_config_makefile dlls/riched20/tests enable_tests
21643 wine_fn_config_makefile dlls/riched32 enable_riched32
21644 wine_fn_config_makefile dlls/riched32/tests enable_tests
21645 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21646 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21647 wine_fn_config_makefile dlls/rsabase enable_rsabase
21648 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21649 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21650 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21651 wine_fn_config_makefile dlls/rtutils enable_rtutils
21652 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21653 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21654 wine_fn_config_makefile dlls/samlib enable_samlib
21655 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21656 wine_fn_config_makefile dlls/sapi enable_sapi
21657 wine_fn_config_makefile dlls/sapi/tests enable_tests
21658 wine_fn_config_makefile dlls/sas enable_sas
21659 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21660 wine_fn_config_makefile dlls/sccbase enable_sccbase
21661 wine_fn_config_makefile dlls/schannel enable_schannel
21662 wine_fn_config_makefile dlls/schannel/tests enable_tests
21663 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21664 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21665 wine_fn_config_makefile dlls/scrobj enable_scrobj
21666 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21667 wine_fn_config_makefile dlls/scrrun enable_scrrun
21668 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21669 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21670 wine_fn_config_makefile dlls/sechost enable_sechost
21671 wine_fn_config_makefile dlls/secur32 enable_secur32
21672 wine_fn_config_makefile dlls/secur32/tests enable_tests
21673 wine_fn_config_makefile dlls/security enable_security
21674 wine_fn_config_makefile dlls/sensapi enable_sensapi
21675 wine_fn_config_makefile dlls/serialui enable_serialui
21676 wine_fn_config_makefile dlls/serialui/tests enable_tests
21677 wine_fn_config_makefile dlls/setupapi enable_setupapi
21678 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21679 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21680 wine_fn_config_makefile dlls/sfc enable_sfc
21681 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21682 wine_fn_config_makefile dlls/shcore enable_shcore
21683 wine_fn_config_makefile dlls/shcore/tests enable_tests
21684 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21685 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21686 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21687 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21688 wine_fn_config_makefile dlls/shell32 enable_shell32
21689 wine_fn_config_makefile dlls/shell32/tests enable_tests
21690 wine_fn_config_makefile dlls/shfolder enable_shfolder
21691 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21692 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21693 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21694 wine_fn_config_makefile dlls/slc enable_slc
21695 wine_fn_config_makefile dlls/slc/tests enable_tests
21696 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21697 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21698 wine_fn_config_makefile dlls/softpub enable_softpub
21699 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21700 wine_fn_config_makefile dlls/spoolss enable_spoolss
21701 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21702 wine_fn_config_makefile dlls/sppc enable_sppc
21703 wine_fn_config_makefile dlls/srclient enable_srclient
21704 wine_fn_config_makefile dlls/srvcli enable_srvcli
21705 wine_fn_config_makefile dlls/sspicli enable_sspicli
21706 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21707 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21708 wine_fn_config_makefile dlls/sti enable_sti
21709 wine_fn_config_makefile dlls/sti/tests enable_tests
21710 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21711 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21712 wine_fn_config_makefile dlls/strmdll enable_strmdll
21713 wine_fn_config_makefile dlls/svrapi enable_svrapi
21714 wine_fn_config_makefile dlls/sxs enable_sxs
21715 wine_fn_config_makefile dlls/sxs/tests enable_tests
21716 wine_fn_config_makefile dlls/system.drv16 enable_win16
21717 wine_fn_config_makefile dlls/t2embed enable_t2embed
21718 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21719 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21720 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21721 wine_fn_config_makefile dlls/taskschd enable_taskschd
21722 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21723 wine_fn_config_makefile dlls/tbs enable_tbs
21724 wine_fn_config_makefile dlls/tdh enable_tdh
21725 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21726 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21727 wine_fn_config_makefile dlls/traffic enable_traffic
21728 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21729 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21730 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21731 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21732 wine_fn_config_makefile dlls/tzres enable_tzres
21733 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21734 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21735 wine_fn_config_makefile dlls/uianimation enable_uianimation
21736 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21737 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21738 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21739 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21740 wine_fn_config_makefile dlls/unicows enable_unicows
21741 wine_fn_config_makefile dlls/updspapi enable_updspapi
21742 wine_fn_config_makefile dlls/url enable_url
21743 wine_fn_config_makefile dlls/urlmon enable_urlmon
21744 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21745 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21746 wine_fn_config_makefile dlls/user.exe16 enable_win16
21747 wine_fn_config_makefile dlls/user32 enable_user32
21748 wine_fn_config_makefile dlls/user32/tests enable_tests
21749 wine_fn_config_makefile dlls/userenv enable_userenv
21750 wine_fn_config_makefile dlls/userenv/tests enable_tests
21751 wine_fn_config_makefile dlls/usp10 enable_usp10
21752 wine_fn_config_makefile dlls/usp10/tests enable_tests
21753 wine_fn_config_makefile dlls/utildll enable_utildll
21754 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21755 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21756 wine_fn_config_makefile dlls/vbscript enable_vbscript
21757 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21758 wine_fn_config_makefile dlls/vcomp enable_vcomp
21759 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21760 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21761 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21762 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21763 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21764 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21765 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21766 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21767 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21768 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21769 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21770 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21771 wine_fn_config_makefile dlls/version enable_version
21772 wine_fn_config_makefile dlls/version/tests enable_tests
21773 wine_fn_config_makefile dlls/vga enable_vga
21774 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21775 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21776 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21777 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21778 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21779 wine_fn_config_makefile dlls/vssapi enable_vssapi
21780 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21781 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21782 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21783 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21784 wine_fn_config_makefile dlls/w32skrnl enable_win16
21785 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21786 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21787 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21788 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21789 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21790 wine_fn_config_makefile dlls/wdscore enable_wdscore
21791 wine_fn_config_makefile dlls/webservices enable_webservices
21792 wine_fn_config_makefile dlls/webservices/tests enable_tests
21793 wine_fn_config_makefile dlls/websocket enable_websocket
21794 wine_fn_config_makefile dlls/wer enable_wer
21795 wine_fn_config_makefile dlls/wer/tests enable_tests
21796 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21797 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21798 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21799 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21800 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21801 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21802 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21803 wine_fn_config_makefile dlls/win32u enable_win32u
21804 wine_fn_config_makefile dlls/win32u/tests enable_tests
21805 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21806 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21807 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21808 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21809 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21810 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21811 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21812 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21813 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21814 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21815 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21816 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21817 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21818 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21819 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21820 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21821 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21822 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21823 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21824 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21825 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21826 wine_fn_config_makefile dlls/wined3d enable_wined3d
21827 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21828 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21829 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21830 wine_fn_config_makefile dlls/winemapi enable_winemapi
21831 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21832 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21833 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21834 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21835 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21836 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21837 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21838 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21839 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21840 wine_fn_config_makefile dlls/wing32 enable_wing32
21841 wine_fn_config_makefile dlls/winhttp enable_winhttp
21842 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21843 wine_fn_config_makefile dlls/wininet enable_wininet
21844 wine_fn_config_makefile dlls/wininet/tests enable_tests
21845 wine_fn_config_makefile dlls/winmm enable_winmm
21846 wine_fn_config_makefile dlls/winmm/tests enable_tests
21847 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21848 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21849 wine_fn_config_makefile dlls/winscard enable_winscard
21850 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21851 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21852 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21853 wine_fn_config_makefile dlls/winsta enable_winsta
21854 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21855 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21856 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21857 wine_fn_config_makefile dlls/wintrust enable_wintrust
21858 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21859 wine_fn_config_makefile dlls/winusb enable_winusb
21860 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21861 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21862 wine_fn_config_makefile dlls/wlanui enable_wlanui
21863 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21864 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21865 wine_fn_config_makefile dlls/wmadmod enable_wmadmod
21866 wine_fn_config_makefile dlls/wmadmod/tests enable_tests
21867 wine_fn_config_makefile dlls/wmasf enable_wmasf
21868 wine_fn_config_makefile dlls/wmi enable_wmi
21869 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21870 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21871 wine_fn_config_makefile dlls/wmp enable_wmp
21872 wine_fn_config_makefile dlls/wmp/tests enable_tests
21873 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21874 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21875 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21876 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21877 wine_fn_config_makefile dlls/wow32 enable_win16
21878 wine_fn_config_makefile dlls/wow64 enable_wow64
21879 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21880 wine_fn_config_makefile dlls/wow64win enable_wow64win
21881 wine_fn_config_makefile dlls/wpc enable_wpc
21882 wine_fn_config_makefile dlls/wpc/tests enable_tests
21883 wine_fn_config_makefile dlls/wpcap enable_wpcap
21884 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21885 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21886 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21887 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21888 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21889 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21890 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21891 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21892 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21893 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21894 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21895 wine_fn_config_makefile dlls/wuapi enable_wuapi
21896 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21897 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21898 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21899 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21900 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21901 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21902 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21903 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21904 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21905 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21906 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21907 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21908 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21909 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21910 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21911 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21912 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21913 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21914 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21915 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21916 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21917 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21918 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21919 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21920 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21921 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21922 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21923 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21924 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21925 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21926 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21927 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21928 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21929 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21930 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21931 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21932 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21933 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21934 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21935 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21936 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21937 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21938 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21939 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21940 wine_fn_config_makefile dlls/xmllite enable_xmllite
21941 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21942 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21943 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21944 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21945 wine_fn_config_makefile fonts enable_fonts
21946 wine_fn_config_makefile include enable_include
21947 wine_fn_config_makefile libs/adsiid enable_adsiid
21948 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21949 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21950 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21951 wine_fn_config_makefile libs/dxguid enable_dxguid
21952 wine_fn_config_makefile libs/faudio enable_faudio
21953 wine_fn_config_makefile libs/gsm enable_gsm
21954 wine_fn_config_makefile libs/jpeg enable_jpeg
21955 wine_fn_config_makefile libs/jxr enable_jxr
21956 wine_fn_config_makefile libs/lcms2 enable_lcms2
21957 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21958 wine_fn_config_makefile libs/mpg123 enable_mpg123
21959 wine_fn_config_makefile libs/png enable_png
21960 wine_fn_config_makefile libs/strmbase enable_strmbase
21961 wine_fn_config_makefile libs/strmiids enable_strmiids
21962 wine_fn_config_makefile libs/tiff enable_tiff
21963 wine_fn_config_makefile libs/uuid enable_uuid
21964 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21965 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21966 wine_fn_config_makefile libs/wine enable_wine
21967 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21968 wine_fn_config_makefile libs/xml2 enable_xml2
21969 wine_fn_config_makefile libs/xslt enable_xslt
21970 wine_fn_config_makefile libs/zlib enable_zlib
21971 wine_fn_config_makefile loader enable_loader
21972 wine_fn_config_makefile nls enable_nls
21973 wine_fn_config_makefile po enable_po
21974 wine_fn_config_makefile programs/arp enable_arp
21975 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21976 wine_fn_config_makefile programs/attrib enable_attrib
21977 wine_fn_config_makefile programs/cabarc enable_cabarc
21978 wine_fn_config_makefile programs/cacls enable_cacls
21979 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21980 wine_fn_config_makefile programs/clock enable_clock
21981 wine_fn_config_makefile programs/cmd enable_cmd
21982 wine_fn_config_makefile programs/cmd/tests enable_tests
21983 wine_fn_config_makefile programs/conhost enable_conhost
21984 wine_fn_config_makefile programs/conhost/tests enable_tests
21985 wine_fn_config_makefile programs/control enable_control
21986 wine_fn_config_makefile programs/cscript enable_cscript
21987 wine_fn_config_makefile programs/dism enable_dism
21988 wine_fn_config_makefile programs/dllhost enable_dllhost
21989 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21990 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21991 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21992 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21993 wine_fn_config_makefile programs/eject enable_eject
21994 wine_fn_config_makefile programs/expand enable_expand
21995 wine_fn_config_makefile programs/explorer enable_explorer
21996 wine_fn_config_makefile programs/extrac32 enable_extrac32
21997 wine_fn_config_makefile programs/fc enable_fc
21998 wine_fn_config_makefile programs/find enable_find
21999 wine_fn_config_makefile programs/find/tests enable_tests
22000 wine_fn_config_makefile programs/findstr enable_findstr
22001 wine_fn_config_makefile programs/fsutil enable_fsutil
22002 wine_fn_config_makefile programs/fsutil/tests enable_tests
22003 wine_fn_config_makefile programs/hh enable_hh
22004 wine_fn_config_makefile programs/hostname enable_hostname
22005 wine_fn_config_makefile programs/icacls enable_icacls
22006 wine_fn_config_makefile programs/icinfo enable_icinfo
22007 wine_fn_config_makefile programs/iexplore enable_iexplore
22008 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22009 wine_fn_config_makefile programs/lodctr enable_lodctr
22010 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22011 wine_fn_config_makefile programs/mshta enable_mshta
22012 wine_fn_config_makefile programs/msidb enable_msidb
22013 wine_fn_config_makefile programs/msiexec enable_msiexec
22014 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22015 wine_fn_config_makefile programs/net enable_net
22016 wine_fn_config_makefile programs/netsh enable_netsh
22017 wine_fn_config_makefile programs/netstat enable_netstat
22018 wine_fn_config_makefile programs/ngen enable_ngen
22019 wine_fn_config_makefile programs/notepad enable_notepad
22020 wine_fn_config_makefile programs/oleview enable_oleview
22021 wine_fn_config_makefile programs/ping enable_ping
22022 wine_fn_config_makefile programs/plugplay enable_plugplay
22023 wine_fn_config_makefile programs/powershell enable_powershell
22024 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22025 wine_fn_config_makefile programs/progman enable_progman
22026 wine_fn_config_makefile programs/reg enable_reg
22027 wine_fn_config_makefile programs/reg/tests enable_tests
22028 wine_fn_config_makefile programs/regasm enable_regasm
22029 wine_fn_config_makefile programs/regedit enable_regedit
22030 wine_fn_config_makefile programs/regedit/tests enable_tests
22031 wine_fn_config_makefile programs/regini enable_regini
22032 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22033 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22034 wine_fn_config_makefile programs/robocopy enable_robocopy
22035 wine_fn_config_makefile programs/rpcss enable_rpcss
22036 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22037 wine_fn_config_makefile programs/rundll32 enable_rundll32
22038 wine_fn_config_makefile programs/sc enable_sc
22039 wine_fn_config_makefile programs/schtasks enable_schtasks
22040 wine_fn_config_makefile programs/schtasks/tests enable_tests
22041 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22042 wine_fn_config_makefile programs/secedit enable_secedit
22043 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22044 wine_fn_config_makefile programs/services enable_services
22045 wine_fn_config_makefile programs/services/tests enable_tests
22046 wine_fn_config_makefile programs/shutdown enable_shutdown
22047 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22048 wine_fn_config_makefile programs/start enable_start
22049 wine_fn_config_makefile programs/subst enable_subst
22050 wine_fn_config_makefile programs/svchost enable_svchost
22051 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22052 wine_fn_config_makefile programs/taskkill enable_taskkill
22053 wine_fn_config_makefile programs/tasklist enable_tasklist
22054 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22055 wine_fn_config_makefile programs/termsv enable_termsv
22056 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22057 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22058 wine_fn_config_makefile programs/view enable_view
22059 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22060 wine_fn_config_makefile programs/where enable_where
22061 wine_fn_config_makefile programs/whoami enable_whoami
22062 wine_fn_config_makefile programs/wineboot enable_wineboot
22063 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22064 wine_fn_config_makefile programs/winecfg enable_winecfg
22065 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22066 wine_fn_config_makefile programs/winedbg enable_winedbg
22067 wine_fn_config_makefile programs/winedevice enable_winedevice
22068 wine_fn_config_makefile programs/winefile enable_winefile
22069 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22070 wine_fn_config_makefile programs/winemine enable_winemine
22071 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22072 wine_fn_config_makefile programs/winepath enable_winepath
22073 wine_fn_config_makefile programs/winetest enable_winetest
22074 wine_fn_config_makefile programs/winevdm enable_win16
22075 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22076 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22077 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22078 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22079 wine_fn_config_makefile programs/winver enable_winver
22080 wine_fn_config_makefile programs/wmic enable_wmic
22081 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22082 wine_fn_config_makefile programs/wordpad enable_wordpad
22083 wine_fn_config_makefile programs/write enable_write
22084 wine_fn_config_makefile programs/wscript enable_wscript
22085 wine_fn_config_makefile programs/wscript/tests enable_tests
22086 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22087 wine_fn_config_makefile programs/wusa enable_wusa
22088 wine_fn_config_makefile programs/xcopy enable_xcopy
22089 wine_fn_config_makefile programs/xcopy/tests enable_tests
22090 wine_fn_config_makefile server enable_server
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22099 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22102 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
22103 wine_fn_append_file CONFIGURE_TARGETS "tags"
22104 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
22105 wine_fn_append_file CONFIGURE_TARGETS "config.log"
22106 wine_fn_append_file CONFIGURE_TARGETS "config.status"
22107 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
22108 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
22109 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
22111 if test "x$enable_tools" != xno
22112 then
22113 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
22114 ac_config_commands="$ac_config_commands tools/makedep"
22118 ac_config_commands="$ac_config_commands Makefile"
22122 SHELL=/bin/sh
22125 wine_fn_append_rule "all: wine
22126 @echo \"Wine build complete.\"
22127 .INIT: Makefile
22128 .MAKEFILEDEPS:
22129 all: Makefile
22130 Makefile: config.status \$(MAKEDEP)
22131 @./config.status Makefile
22132 depend: \$(MAKEDEP)
22133 \$(MAKEDEP)$makedep_flags"
22136 wine_fn_append_rule "config.status: ${wine_srcdir}configure
22137 @./config.status --recheck
22138 include/config.h: include/stamp-h
22139 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22140 @./config.status include/config.h include/stamp-h"
22142 if test "x$enable_maintainer_mode" = xyes
22143 then
22144 wine_fn_append_rule "configure: configure.ac aclocal.m4
22145 autoconf --warnings=all
22146 include/config.h.in: include/stamp-h.in
22147 include/stamp-h.in: configure.ac aclocal.m4
22148 autoheader --warnings=all
22149 @echo timestamp > \$@"
22152 if test "x$enable_tools" != xno
22153 then
22154 wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22155 @./config.status tools/makedep
22156 Makefile: tools/makedep$ac_exeext"
22157 else
22158 wine_fn_append_rule "\$(MAKEDEP):
22159 @echo \"You need to run make in $toolsdir first\" && false"
22163 if test -n "$with_wine64"
22164 then
22165 case "$with_wine64" in
22166 /*) reldir="" ;;
22167 *) reldir="../" ;;
22168 esac
22169 rm -f fonts server 2>/dev/null
22170 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22171 loader/wine64 loader/wine64-preloader:
22172 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22173 $with_wine64/loader/wine:
22174 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22175 $with_wine64/loader/wine-preloader:
22176 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22177 clean::
22178 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22179 else
22180 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22181 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22182 fonts \
22183 loader/wine.inf \
22184 nls \
22185 programs/msidb/msidb \
22186 programs/msiexec/msiexec \
22187 programs/notepad/notepad \
22188 programs/regedit/regedit \
22189 programs/regsvr32/regsvr32 \
22190 programs/wineboot/wineboot \
22191 programs/winecfg/winecfg \
22192 programs/wineconsole/wineconsole \
22193 programs/winedbg/winedbg \
22194 programs/winefile/winefile \
22195 programs/winemine/winemine \
22196 programs/winepath/winepath \
22197 server/wineserver"
22199 case $host_os in
22200 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22201 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22202 esac
22206 wine_fn_append_rule "distclean:: clean
22207 rm -rf autom4te.cache
22208 maintainer-clean::
22209 rm -f configure include/config.h.in"
22212 wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
22213 @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)
22214 programs/winetest/build.rc: dummy
22215 @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)
22216 programs/winetest/build.nfo:
22217 @-\$(CC) -v 2>\$@
22218 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
22219 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22220 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22223 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22225 wine_fn_append_rule "TAGS etags:
22226 rm -f TAGS
22227 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22228 tags ctags:
22229 rm -f tags
22230 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22231 dummy:
22232 .PHONY: depend dummy install-manpages"
22234 printf "%s\n" " done" >&6
22235 cat >confcache <<\_ACEOF
22236 # This file is a shell script that caches the results of configure
22237 # tests run on this system so they can be shared between configure
22238 # scripts and configure runs, see configure's option --config-cache.
22239 # It is not useful on other systems. If it contains results you don't
22240 # want to keep, you may remove or edit it.
22242 # config.status only pays attention to the cache file if you give it
22243 # the --recheck option to rerun configure.
22245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22247 # following values.
22249 _ACEOF
22251 # The following way of writing the cache mishandles newlines in values,
22252 # but we know of no workaround that is simple, portable, and efficient.
22253 # So, we kill variables containing newlines.
22254 # Ultrix sh set writes to stderr and can't be redirected directly,
22255 # and sets the high bit in the cache file unless we assign to the vars.
22257 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22258 eval ac_val=\$$ac_var
22259 case $ac_val in #(
22260 *${as_nl}*)
22261 case $ac_var in #(
22262 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22263 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22264 esac
22265 case $ac_var in #(
22266 _ | IFS | as_nl) ;; #(
22267 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22268 *) { eval $ac_var=; unset $ac_var;} ;;
22269 esac ;;
22270 esac
22271 done
22273 (set) 2>&1 |
22274 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22275 *${as_nl}ac_space=\ *)
22276 # `set' does not quote correctly, so add quotes: double-quote
22277 # substitution turns \\\\ into \\, and sed turns \\ into \.
22278 sed -n \
22279 "s/'/'\\\\''/g;
22280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22281 ;; #(
22283 # `set' quotes correctly as required by POSIX, so do not add quotes.
22284 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22286 esac |
22287 sort
22289 sed '
22290 /^ac_cv_env_/b end
22291 t clear
22292 :clear
22293 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22294 t end
22295 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22296 :end' >>confcache
22297 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22298 if test -w "$cache_file"; then
22299 if test "x$cache_file" != "x/dev/null"; then
22300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22301 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22302 if test ! -f "$cache_file" || test -h "$cache_file"; then
22303 cat confcache >"$cache_file"
22304 else
22305 case $cache_file in #(
22306 */* | ?:*)
22307 mv -f confcache "$cache_file"$$ &&
22308 mv -f "$cache_file"$$ "$cache_file" ;; #(
22310 mv -f confcache "$cache_file" ;;
22311 esac
22314 else
22315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22316 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22319 rm -f confcache
22321 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22322 # Let make expand exec_prefix.
22323 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22325 DEFS=-DHAVE_CONFIG_H
22327 ac_libobjs=
22328 ac_ltlibobjs=
22330 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22331 # 1. Remove the extension, and $U if already installed.
22332 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22333 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22334 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22335 # will be set to the directory where LIBOBJS objects are built.
22336 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22337 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22338 done
22339 LIBOBJS=$ac_libobjs
22341 LTLIBOBJS=$ac_ltlibobjs
22345 : "${CONFIG_STATUS=./config.status}"
22346 ac_write_fail=0
22347 ac_clean_files_save=$ac_clean_files
22348 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22350 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22351 as_write_fail=0
22352 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22353 #! $SHELL
22354 # Generated by $as_me.
22355 # Run this file to recreate the current configuration.
22356 # Compiler output produced by configure, useful for debugging
22357 # configure, is in config.log if it exists.
22359 debug=false
22360 ac_cs_recheck=false
22361 ac_cs_silent=false
22363 SHELL=\${CONFIG_SHELL-$SHELL}
22364 export SHELL
22365 _ASEOF
22366 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22367 ## -------------------- ##
22368 ## M4sh Initialization. ##
22369 ## -------------------- ##
22371 # Be more Bourne compatible
22372 DUALCASE=1; export DUALCASE # for MKS sh
22373 as_nop=:
22374 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22375 then :
22376 emulate sh
22377 NULLCMD=:
22378 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22379 # is contrary to our usage. Disable this feature.
22380 alias -g '${1+"$@"}'='"$@"'
22381 setopt NO_GLOB_SUBST
22382 else $as_nop
22383 case `(set -o) 2>/dev/null` in #(
22384 *posix*) :
22385 set -o posix ;; #(
22386 *) :
22388 esac
22393 # Reset variables that may have inherited troublesome values from
22394 # the environment.
22396 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22397 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22398 # side effect of setting IFS to empty, thus disabling word splitting.)
22399 # Quoting is to prevent editors from complaining about space-tab.
22400 as_nl='
22402 export as_nl
22403 IFS=" "" $as_nl"
22405 PS1='$ '
22406 PS2='> '
22407 PS4='+ '
22409 # Ensure predictable behavior from utilities with locale-dependent output.
22410 LC_ALL=C
22411 export LC_ALL
22412 LANGUAGE=C
22413 export LANGUAGE
22415 # We cannot yet rely on "unset" to work, but we need these variables
22416 # to be unset--not just set to an empty or harmless value--now, to
22417 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22418 # also avoids known problems related to "unset" and subshell syntax
22419 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22420 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22421 do eval test \${$as_var+y} \
22422 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22423 done
22425 # Ensure that fds 0, 1, and 2 are open.
22426 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22427 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22428 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22430 # The user is always right.
22431 if ${PATH_SEPARATOR+false} :; then
22432 PATH_SEPARATOR=:
22433 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22434 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22435 PATH_SEPARATOR=';'
22440 # Find who we are. Look in the path if we contain no directory separator.
22441 as_myself=
22442 case $0 in #((
22443 *[\\/]* ) as_myself=$0 ;;
22444 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22445 for as_dir in $PATH
22447 IFS=$as_save_IFS
22448 case $as_dir in #(((
22449 '') as_dir=./ ;;
22450 */) ;;
22451 *) as_dir=$as_dir/ ;;
22452 esac
22453 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22454 done
22455 IFS=$as_save_IFS
22458 esac
22459 # We did not find ourselves, most probably we were run as `sh COMMAND'
22460 # in which case we are not to be found in the path.
22461 if test "x$as_myself" = x; then
22462 as_myself=$0
22464 if test ! -f "$as_myself"; then
22465 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22466 exit 1
22471 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22472 # ----------------------------------------
22473 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22474 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22475 # script with STATUS, using 1 if that was 0.
22476 as_fn_error ()
22478 as_status=$1; test $as_status -eq 0 && as_status=1
22479 if test "$4"; then
22480 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22483 printf "%s\n" "$as_me: error: $2" >&2
22484 as_fn_exit $as_status
22485 } # as_fn_error
22489 # as_fn_set_status STATUS
22490 # -----------------------
22491 # Set $? to STATUS, without forking.
22492 as_fn_set_status ()
22494 return $1
22495 } # as_fn_set_status
22497 # as_fn_exit STATUS
22498 # -----------------
22499 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22500 as_fn_exit ()
22502 set +e
22503 as_fn_set_status $1
22504 exit $1
22505 } # as_fn_exit
22507 # as_fn_unset VAR
22508 # ---------------
22509 # Portably unset VAR.
22510 as_fn_unset ()
22512 { eval $1=; unset $1;}
22514 as_unset=as_fn_unset
22516 # as_fn_append VAR VALUE
22517 # ----------------------
22518 # Append the text in VALUE to the end of the definition contained in VAR. Take
22519 # advantage of any shell optimizations that allow amortized linear growth over
22520 # repeated appends, instead of the typical quadratic growth present in naive
22521 # implementations.
22522 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22523 then :
22524 eval 'as_fn_append ()
22526 eval $1+=\$2
22528 else $as_nop
22529 as_fn_append ()
22531 eval $1=\$$1\$2
22533 fi # as_fn_append
22535 # as_fn_arith ARG...
22536 # ------------------
22537 # Perform arithmetic evaluation on the ARGs, and store the result in the
22538 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22539 # must be portable across $(()) and expr.
22540 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22541 then :
22542 eval 'as_fn_arith ()
22544 as_val=$(( $* ))
22546 else $as_nop
22547 as_fn_arith ()
22549 as_val=`expr "$@" || test $? -eq 1`
22551 fi # as_fn_arith
22554 if expr a : '\(a\)' >/dev/null 2>&1 &&
22555 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22556 as_expr=expr
22557 else
22558 as_expr=false
22561 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22562 as_basename=basename
22563 else
22564 as_basename=false
22567 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22568 as_dirname=dirname
22569 else
22570 as_dirname=false
22573 as_me=`$as_basename -- "$0" ||
22574 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22575 X"$0" : 'X\(//\)$' \| \
22576 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22577 printf "%s\n" X/"$0" |
22578 sed '/^.*\/\([^/][^/]*\)\/*$/{
22579 s//\1/
22582 /^X\/\(\/\/\)$/{
22583 s//\1/
22586 /^X\/\(\/\).*/{
22587 s//\1/
22590 s/.*/./; q'`
22592 # Avoid depending upon Character Ranges.
22593 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22594 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22595 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22596 as_cr_digits='0123456789'
22597 as_cr_alnum=$as_cr_Letters$as_cr_digits
22600 # Determine whether it's possible to make 'echo' print without a newline.
22601 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22602 # for compatibility with existing Makefiles.
22603 ECHO_C= ECHO_N= ECHO_T=
22604 case `echo -n x` in #(((((
22605 -n*)
22606 case `echo 'xy\c'` in
22607 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22608 xy) ECHO_C='\c';;
22609 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22610 ECHO_T=' ';;
22611 esac;;
22613 ECHO_N='-n';;
22614 esac
22616 # For backward compatibility with old third-party macros, we provide
22617 # the shell variables $as_echo and $as_echo_n. New code should use
22618 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22619 as_echo='printf %s\n'
22620 as_echo_n='printf %s'
22622 rm -f conf$$ conf$$.exe conf$$.file
22623 if test -d conf$$.dir; then
22624 rm -f conf$$.dir/conf$$.file
22625 else
22626 rm -f conf$$.dir
22627 mkdir conf$$.dir 2>/dev/null
22629 if (echo >conf$$.file) 2>/dev/null; then
22630 if ln -s conf$$.file conf$$ 2>/dev/null; then
22631 as_ln_s='ln -s'
22632 # ... but there are two gotchas:
22633 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22634 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22635 # In both cases, we have to default to `cp -pR'.
22636 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22637 as_ln_s='cp -pR'
22638 elif ln conf$$.file conf$$ 2>/dev/null; then
22639 as_ln_s=ln
22640 else
22641 as_ln_s='cp -pR'
22643 else
22644 as_ln_s='cp -pR'
22646 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22647 rmdir conf$$.dir 2>/dev/null
22650 # as_fn_mkdir_p
22651 # -------------
22652 # Create "$as_dir" as a directory, including parents if necessary.
22653 as_fn_mkdir_p ()
22656 case $as_dir in #(
22657 -*) as_dir=./$as_dir;;
22658 esac
22659 test -d "$as_dir" || eval $as_mkdir_p || {
22660 as_dirs=
22661 while :; do
22662 case $as_dir in #(
22663 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22664 *) as_qdir=$as_dir;;
22665 esac
22666 as_dirs="'$as_qdir' $as_dirs"
22667 as_dir=`$as_dirname -- "$as_dir" ||
22668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22669 X"$as_dir" : 'X\(//\)[^/]' \| \
22670 X"$as_dir" : 'X\(//\)$' \| \
22671 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22672 printf "%s\n" X"$as_dir" |
22673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22674 s//\1/
22677 /^X\(\/\/\)[^/].*/{
22678 s//\1/
22681 /^X\(\/\/\)$/{
22682 s//\1/
22685 /^X\(\/\).*/{
22686 s//\1/
22689 s/.*/./; q'`
22690 test -d "$as_dir" && break
22691 done
22692 test -z "$as_dirs" || eval "mkdir $as_dirs"
22693 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22696 } # as_fn_mkdir_p
22697 if mkdir -p . 2>/dev/null; then
22698 as_mkdir_p='mkdir -p "$as_dir"'
22699 else
22700 test -d ./-p && rmdir ./-p
22701 as_mkdir_p=false
22705 # as_fn_executable_p FILE
22706 # -----------------------
22707 # Test if FILE is an executable regular file.
22708 as_fn_executable_p ()
22710 test -f "$1" && test -x "$1"
22711 } # as_fn_executable_p
22712 as_test_x='test -x'
22713 as_executable_p=as_fn_executable_p
22715 # Sed expression to map a string onto a valid CPP name.
22716 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22718 # Sed expression to map a string onto a valid variable name.
22719 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22722 exec 6>&1
22723 ## ----------------------------------- ##
22724 ## Main body of $CONFIG_STATUS script. ##
22725 ## ----------------------------------- ##
22726 _ASEOF
22727 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22730 # Save the log message, to keep $0 and so on meaningful, and to
22731 # report actual input values of CONFIG_FILES etc. instead of their
22732 # values after options handling.
22733 ac_log="
22734 This file was extended by Wine $as_me 7.4, which was
22735 generated by GNU Autoconf 2.71. Invocation command line was
22737 CONFIG_FILES = $CONFIG_FILES
22738 CONFIG_HEADERS = $CONFIG_HEADERS
22739 CONFIG_LINKS = $CONFIG_LINKS
22740 CONFIG_COMMANDS = $CONFIG_COMMANDS
22741 $ $0 $@
22743 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22746 _ACEOF
22749 case $ac_config_headers in *"
22750 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22751 esac
22754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22755 # Files that config.status was made for.
22756 config_headers="$ac_config_headers"
22757 config_links="$ac_config_links"
22758 config_commands="$ac_config_commands"
22760 _ACEOF
22762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22763 ac_cs_usage="\
22764 \`$as_me' instantiates files and other configuration actions
22765 from templates according to the current configuration. Unless the files
22766 and actions are specified as TAGs, all are instantiated by default.
22768 Usage: $0 [OPTION]... [TAG]...
22770 -h, --help print this help, then exit
22771 -V, --version print version number and configuration settings, then exit
22772 --config print configuration, then exit
22773 -q, --quiet, --silent
22774 do not print progress messages
22775 -d, --debug don't remove temporary files
22776 --recheck update $as_me by reconfiguring in the same conditions
22777 --header=FILE[:TEMPLATE]
22778 instantiate the configuration header FILE
22780 Configuration headers:
22781 $config_headers
22783 Configuration links:
22784 $config_links
22786 Configuration commands:
22787 $config_commands
22789 Report bugs to <wine-devel@winehq.org>.
22790 Wine home page: <https://www.winehq.org>."
22792 _ACEOF
22793 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22794 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22796 ac_cs_config='$ac_cs_config_escaped'
22797 ac_cs_version="\\
22798 Wine config.status 7.4
22799 configured by $0, generated by GNU Autoconf 2.71,
22800 with options \\"\$ac_cs_config\\"
22802 Copyright (C) 2021 Free Software Foundation, Inc.
22803 This config.status script is free software; the Free Software Foundation
22804 gives unlimited permission to copy, distribute and modify it."
22806 ac_pwd='$ac_pwd'
22807 srcdir='$srcdir'
22808 test -n "\$AWK" || AWK=awk
22809 _ACEOF
22811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22812 # The default lists apply if the user does not specify any file.
22813 ac_need_defaults=:
22814 while test $# != 0
22816 case $1 in
22817 --*=?*)
22818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22819 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22820 ac_shift=:
22822 --*=)
22823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22824 ac_optarg=
22825 ac_shift=:
22828 ac_option=$1
22829 ac_optarg=$2
22830 ac_shift=shift
22832 esac
22834 case $ac_option in
22835 # Handling of the options.
22836 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22837 ac_cs_recheck=: ;;
22838 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22839 printf "%s\n" "$ac_cs_version"; exit ;;
22840 --config | --confi | --conf | --con | --co | --c )
22841 printf "%s\n" "$ac_cs_config"; exit ;;
22842 --debug | --debu | --deb | --de | --d | -d )
22843 debug=: ;;
22844 --header | --heade | --head | --hea )
22845 $ac_shift
22846 case $ac_optarg in
22847 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22848 esac
22849 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22850 ac_need_defaults=false;;
22851 --he | --h)
22852 # Conflict between --help and --header
22853 as_fn_error $? "ambiguous option: \`$1'
22854 Try \`$0 --help' for more information.";;
22855 --help | --hel | -h )
22856 printf "%s\n" "$ac_cs_usage"; exit ;;
22857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22859 ac_cs_silent=: ;;
22861 # This is an error.
22862 -*) as_fn_error $? "unrecognized option: \`$1'
22863 Try \`$0 --help' for more information." ;;
22865 *) as_fn_append ac_config_targets " $1"
22866 ac_need_defaults=false ;;
22868 esac
22869 shift
22870 done
22872 ac_configure_extra_args=
22874 if $ac_cs_silent; then
22875 exec 6>/dev/null
22876 ac_configure_extra_args="$ac_configure_extra_args --silent"
22879 _ACEOF
22880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22881 if \$ac_cs_recheck; then
22882 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22883 shift
22884 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22885 CONFIG_SHELL='$SHELL'
22886 export CONFIG_SHELL
22887 exec "\$@"
22890 _ACEOF
22891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22892 exec 5>>config.log
22894 echo
22895 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22896 ## Running $as_me. ##
22897 _ASBOX
22898 printf "%s\n" "$ac_log"
22899 } >&5
22901 _ACEOF
22902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22904 # INIT-COMMANDS
22906 wine_fn_output_makedep ()
22908 as_dir=tools; as_fn_mkdir_p
22909 $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
22911 wine_fn_output_makefile ()
22913 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22914 # This Makefile understands the following targets:
22916 # all (default): build wine
22917 # clean: remove all intermediate files
22918 # distclean: also remove all files created by configure
22919 # test: run tests
22920 # testclean: clean test results to force running all tests again
22921 # install-lib: install libraries needed to run applications
22922 # install-dev: install development environment
22923 # install: install everything
22924 # uninstall: uninstall everything
22925 # ctags: create a tags file for vim and others.
22926 # etags: create a TAGS file for Emacs.
22928 SHELL = $SHELL
22929 PATH_SEPARATOR = $PATH_SEPARATOR
22930 PACKAGE_NAME = $PACKAGE_NAME
22931 PACKAGE_TARNAME = $PACKAGE_TARNAME
22932 PACKAGE_VERSION = $PACKAGE_VERSION
22933 PACKAGE_STRING = $PACKAGE_STRING
22934 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22935 PACKAGE_URL = $PACKAGE_URL
22936 exec_prefix = $exec_prefix
22937 prefix = $prefix
22938 program_transform_name = $program_transform_name
22939 bindir = $bindir
22940 sbindir = $sbindir
22941 libexecdir = $libexecdir
22942 datarootdir = $datarootdir
22943 datadir = $datadir
22944 sysconfdir = $sysconfdir
22945 sharedstatedir = $sharedstatedir
22946 localstatedir = $localstatedir
22947 runstatedir = $runstatedir
22948 includedir = $includedir
22949 oldincludedir = $oldincludedir
22950 docdir = $docdir
22951 infodir = $infodir
22952 htmldir = $htmldir
22953 dvidir = $dvidir
22954 pdfdir = $pdfdir
22955 psdir = $psdir
22956 libdir = $libdir
22957 localedir = $localedir
22958 mandir = $mandir
22959 DEFS = $DEFS
22960 ECHO_C = $ECHO_C
22961 ECHO_N = $ECHO_N
22962 ECHO_T = $ECHO_T
22963 LIBS = $LIBS
22964 build_alias = $build_alias
22965 host_alias = $host_alias
22966 target_alias = $target_alias
22967 system_dllpath = $system_dllpath
22968 build = $build
22969 build_cpu = $build_cpu
22970 build_vendor = $build_vendor
22971 build_os = $build_os
22972 host = $host
22973 host_cpu = $host_cpu
22974 host_vendor = $host_vendor
22975 host_os = $host_os
22976 dlldir = $dlldir
22977 fontdir = $fontdir
22978 nlsdir = $nlsdir
22979 srcdir = $srcdir
22980 SET_MAKE = $SET_MAKE
22981 CC = $CC
22982 CFLAGS = $CFLAGS
22983 LDFLAGS = $LDFLAGS
22984 CPPFLAGS = $CPPFLAGS
22985 ac_ct_CC = $ac_ct_CC
22986 EXEEXT = $EXEEXT
22987 OBJEXT = $OBJEXT
22988 CXX = $CXX
22989 CXXFLAGS = $CXXFLAGS
22990 ac_ct_CXX = $ac_ct_CXX
22991 CPPBIN = $CPPBIN
22992 LD = $LD
22993 TARGETFLAGS = $TARGETFLAGS
22994 toolsext = $toolsext
22995 toolsdir = $toolsdir
22996 MAKEDEP = $MAKEDEP
22997 RUNTESTFLAGS = $RUNTESTFLAGS
22998 SED_CMD = $SED_CMD
22999 FLEX = $FLEX
23000 BISON = $BISON
23001 AR = $AR
23002 ac_ct_AR = $ac_ct_AR
23003 STRIP = $STRIP
23004 RANLIB = $RANLIB
23005 LN_S = $LN_S
23006 GREP = $GREP
23007 EGREP = $EGREP
23008 LDCONFIG = $LDCONFIG
23009 MSGFMT = $MSGFMT
23010 PKG_CONFIG = $PKG_CONFIG
23011 FONTFORGE = $FONTFORGE
23012 RSVG = $RSVG
23013 CONVERT = $CONVERT
23014 ICOTOOL = $ICOTOOL
23015 I386_LIBS = $I386_LIBS
23016 OPENGL_LIBS = $OPENGL_LIBS
23017 DLLFLAGS = $DLLFLAGS
23018 LDDLLFLAGS = $LDDLLFLAGS
23019 LDEXECFLAGS = $LDEXECFLAGS
23020 EXTRACFLAGS = $EXTRACFLAGS
23021 UNIXDLLFLAGS = $UNIXDLLFLAGS
23022 UNIXLDFLAGS = $UNIXLDFLAGS
23023 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23024 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23025 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23026 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23027 LDD = $LDD
23028 OTOOL = $OTOOL
23029 READELF = $READELF
23030 SUBDIRS = $SUBDIRS
23031 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23032 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23033 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23034 DLLTOOL = $DLLTOOL
23035 OBJC = $OBJC
23036 OBJCFLAGS = $OBJCFLAGS
23037 ac_ct_OBJC = $ac_ct_OBJC
23038 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23039 IOKIT_LIBS = $IOKIT_LIBS
23040 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23041 CORESERVICES_LIBS = $CORESERVICES_LIBS
23042 APPKIT_LIBS = $APPKIT_LIBS
23043 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23044 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23045 SECURITY_LIBS = $SECURITY_LIBS
23046 COREAUDIO_LIBS = $COREAUDIO_LIBS
23047 OPENAL_LIBS = $OPENAL_LIBS
23048 OPENCL_LIBS = $OPENCL_LIBS
23049 CARBON_LIBS = $CARBON_LIBS
23050 METAL_LIBS = $METAL_LIBS
23051 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23052 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23053 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23054 PRELINK = $PRELINK
23055 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23056 CROSSTARGET = $CROSSTARGET
23057 CROSSCC = $CROSSCC
23058 CROSSCFLAGS = $CROSSCFLAGS
23059 EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
23060 CROSSLDFLAGS = $CROSSLDFLAGS
23061 DELAYLOADFLAG = $DELAYLOADFLAG
23062 CROSSDEBUG = $CROSSDEBUG
23063 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
23064 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23065 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23066 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23067 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23068 GSM_PE_LIBS = $GSM_PE_LIBS
23069 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23070 JPEG_PE_LIBS = $JPEG_PE_LIBS
23071 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23072 JXR_PE_LIBS = $JXR_PE_LIBS
23073 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23074 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23075 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23076 MPG123_PE_LIBS = $MPG123_PE_LIBS
23077 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23078 PNG_PE_LIBS = $PNG_PE_LIBS
23079 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23080 TIFF_PE_LIBS = $TIFF_PE_LIBS
23081 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23082 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23083 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23084 XML2_PE_LIBS = $XML2_PE_LIBS
23085 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23086 XSLT_PE_LIBS = $XSLT_PE_LIBS
23087 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23088 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23089 PTHREAD_LIBS = $PTHREAD_LIBS
23090 XMKMF = $XMKMF
23091 CPP = $CPP
23092 X_CFLAGS = $X_CFLAGS
23093 X_PRE_LIBS = $X_PRE_LIBS
23094 X_LIBS = $X_LIBS
23095 X_EXTRA_LIBS = $X_EXTRA_LIBS
23096 PCAP_LIBS = $PCAP_LIBS
23097 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23098 INOTIFY_LIBS = $INOTIFY_LIBS
23099 DBUS_CFLAGS = $DBUS_CFLAGS
23100 DBUS_LIBS = $DBUS_LIBS
23101 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23102 GNUTLS_LIBS = $GNUTLS_LIBS
23103 SANE_CFLAGS = $SANE_CFLAGS
23104 SANE_LIBS = $SANE_LIBS
23105 USB_CFLAGS = $USB_CFLAGS
23106 USB_LIBS = $USB_LIBS
23107 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23108 GPHOTO2_LIBS = $GPHOTO2_LIBS
23109 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23110 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23111 RESOLV_LIBS = $RESOLV_LIBS
23112 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23113 FREETYPE_LIBS = $FREETYPE_LIBS
23114 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23115 PULSE_CFLAGS = $PULSE_CFLAGS
23116 PULSE_LIBS = $PULSE_LIBS
23117 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23118 GSTREAMER_LIBS = $GSTREAMER_LIBS
23119 ALSA_LIBS = $ALSA_LIBS
23120 OSS4_CFLAGS = $OSS4_CFLAGS
23121 OSS4_LIBS = $OSS4_LIBS
23122 UDEV_CFLAGS = $UDEV_CFLAGS
23123 UDEV_LIBS = $UDEV_LIBS
23124 UNWIND_CFLAGS = $UNWIND_CFLAGS
23125 UNWIND_LIBS = $UNWIND_LIBS
23126 SDL2_CFLAGS = $SDL2_CFLAGS
23127 SDL2_LIBS = $SDL2_LIBS
23128 CAPI20_CFLAGS = $CAPI20_CFLAGS
23129 CAPI20_LIBS = $CAPI20_LIBS
23130 CUPS_CFLAGS = $CUPS_CFLAGS
23131 CUPS_LIBS = $CUPS_LIBS
23132 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23133 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23134 KRB5_CFLAGS = $KRB5_CFLAGS
23135 KRB5_LIBS = $KRB5_LIBS
23136 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23137 GSSAPI_LIBS = $GSSAPI_LIBS
23138 PROCSTAT_LIBS = $PROCSTAT_LIBS
23139 NETAPI_CFLAGS = $NETAPI_CFLAGS
23140 NETAPI_LIBS = $NETAPI_LIBS
23141 MSVCRTFLAGS = $MSVCRTFLAGS
23142 RT_LIBS = $RT_LIBS
23143 LDAP_CFLAGS = $LDAP_CFLAGS
23144 LDAP_LIBS = $LDAP_LIBS
23145 TAGSFLAGS = $TAGSFLAGS
23146 LIBOBJS = $LIBOBJS
23147 LTLIBOBJS = $LTLIBOBJS
23148 $SET_MAKE
23149 $wine_rules
23150 _WINE_EOF
23151 as_fn_error $? "could not create Makefile" "$LINENO" 5
23154 _ACEOF
23156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23158 # Handling of arguments.
23159 for ac_config_target in $ac_config_targets
23161 case $ac_config_target in
23162 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23163 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23164 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23165 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23166 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23167 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23169 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23170 esac
23171 done
23174 # If the user did not use the arguments to specify the items to instantiate,
23175 # then the envvar interface is used. Set only those that are not.
23176 # We use the long form for the default assignment because of an extremely
23177 # bizarre bug on SunOS 4.1.3.
23178 if $ac_need_defaults; then
23179 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23180 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23181 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23184 # Have a temporary directory for convenience. Make it in the build tree
23185 # simply because there is no reason against having it here, and in addition,
23186 # creating and moving files from /tmp can sometimes cause problems.
23187 # Hook for its removal unless debugging.
23188 # Note that there is a small window in which the directory will not be cleaned:
23189 # after its creation but before its name has been assigned to `$tmp'.
23190 $debug ||
23192 tmp= ac_tmp=
23193 trap 'exit_status=$?
23194 : "${ac_tmp:=$tmp}"
23195 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23197 trap 'as_fn_exit 1' 1 2 13 15
23199 # Create a (secure) tmp directory for tmp files.
23202 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23203 test -d "$tmp"
23204 } ||
23206 tmp=./conf$$-$RANDOM
23207 (umask 077 && mkdir "$tmp")
23208 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23209 ac_tmp=$tmp
23211 # Set up the scripts for CONFIG_HEADERS section.
23212 # No need to generate them if there are no CONFIG_HEADERS.
23213 # This happens for instance with `./config.status Makefile'.
23214 if test -n "$CONFIG_HEADERS"; then
23215 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23216 BEGIN {
23217 _ACEOF
23219 # Transform confdefs.h into an awk script `defines.awk', embedded as
23220 # here-document in config.status, that substitutes the proper values into
23221 # config.h.in to produce config.h.
23223 # Create a delimiter string that does not exist in confdefs.h, to ease
23224 # handling of long lines.
23225 ac_delim='%!_!# '
23226 for ac_last_try in false false :; do
23227 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23228 if test -z "$ac_tt"; then
23229 break
23230 elif $ac_last_try; then
23231 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23232 else
23233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23235 done
23237 # For the awk script, D is an array of macro values keyed by name,
23238 # likewise P contains macro parameters if any. Preserve backslash
23239 # newline sequences.
23241 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23242 sed -n '
23243 s/.\{148\}/&'"$ac_delim"'/g
23244 t rset
23245 :rset
23246 s/^[ ]*#[ ]*define[ ][ ]*/ /
23247 t def
23249 :def
23250 s/\\$//
23251 t bsnl
23252 s/["\\]/\\&/g
23253 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23254 D["\1"]=" \3"/p
23255 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23257 :bsnl
23258 s/["\\]/\\&/g
23259 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23260 D["\1"]=" \3\\\\\\n"\\/p
23261 t cont
23262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23263 t cont
23265 :cont
23267 s/.\{148\}/&'"$ac_delim"'/g
23268 t clear
23269 :clear
23270 s/\\$//
23271 t bsnlc
23272 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23274 :bsnlc
23275 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23276 b cont
23277 ' <confdefs.h | sed '
23278 s/'"$ac_delim"'/"\\\
23279 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23282 for (key in D) D_is_set[key] = 1
23283 FS = "\a"
23285 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23286 line = \$ 0
23287 split(line, arg, " ")
23288 if (arg[1] == "#") {
23289 defundef = arg[2]
23290 mac1 = arg[3]
23291 } else {
23292 defundef = substr(arg[1], 2)
23293 mac1 = arg[2]
23295 split(mac1, mac2, "(") #)
23296 macro = mac2[1]
23297 prefix = substr(line, 1, index(line, defundef) - 1)
23298 if (D_is_set[macro]) {
23299 # Preserve the white space surrounding the "#".
23300 print prefix "define", macro P[macro] D[macro]
23301 next
23302 } else {
23303 # Replace #undef with comments. This is necessary, for example,
23304 # in the case of _POSIX_SOURCE, which is predefined and required
23305 # on some systems where configure will not decide to define it.
23306 if (defundef == "undef") {
23307 print "/*", prefix defundef, macro, "*/"
23308 next
23312 { print }
23313 _ACAWK
23314 _ACEOF
23315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23316 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23317 fi # test -n "$CONFIG_HEADERS"
23320 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23321 shift
23322 for ac_tag
23324 case $ac_tag in
23325 :[FHLC]) ac_mode=$ac_tag; continue;;
23326 esac
23327 case $ac_mode$ac_tag in
23328 :[FHL]*:*);;
23329 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23330 :[FH]-) ac_tag=-:-;;
23331 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23332 esac
23333 ac_save_IFS=$IFS
23334 IFS=:
23335 set x $ac_tag
23336 IFS=$ac_save_IFS
23337 shift
23338 ac_file=$1
23339 shift
23341 case $ac_mode in
23342 :L) ac_source=$1;;
23343 :[FH])
23344 ac_file_inputs=
23345 for ac_f
23347 case $ac_f in
23348 -) ac_f="$ac_tmp/stdin";;
23349 *) # Look for the file first in the build tree, then in the source tree
23350 # (if the path is not absolute). The absolute path cannot be DOS-style,
23351 # because $ac_f cannot contain `:'.
23352 test -f "$ac_f" ||
23353 case $ac_f in
23354 [\\/$]*) false;;
23355 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23356 esac ||
23357 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23358 esac
23359 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23360 as_fn_append ac_file_inputs " '$ac_f'"
23361 done
23363 # Let's still pretend it is `configure' which instantiates (i.e., don't
23364 # use $as_me), people would be surprised to read:
23365 # /* config.h. Generated by config.status. */
23366 configure_input='Generated from '`
23367 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23368 `' by configure.'
23369 if test x"$ac_file" != x-; then
23370 configure_input="$ac_file. $configure_input"
23371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23372 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23374 # Neutralize special characters interpreted by sed in replacement strings.
23375 case $configure_input in #(
23376 *\&* | *\|* | *\\* )
23377 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23378 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23379 *) ac_sed_conf_input=$configure_input;;
23380 esac
23382 case $ac_tag in
23383 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23384 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23385 esac
23387 esac
23389 ac_dir=`$as_dirname -- "$ac_file" ||
23390 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23391 X"$ac_file" : 'X\(//\)[^/]' \| \
23392 X"$ac_file" : 'X\(//\)$' \| \
23393 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23394 printf "%s\n" X"$ac_file" |
23395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23396 s//\1/
23399 /^X\(\/\/\)[^/].*/{
23400 s//\1/
23403 /^X\(\/\/\)$/{
23404 s//\1/
23407 /^X\(\/\).*/{
23408 s//\1/
23411 s/.*/./; q'`
23412 as_dir="$ac_dir"; as_fn_mkdir_p
23413 ac_builddir=.
23415 case "$ac_dir" in
23416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23418 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23419 # A ".." for each directory in $ac_dir_suffix.
23420 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23421 case $ac_top_builddir_sub in
23422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23424 esac ;;
23425 esac
23426 ac_abs_top_builddir=$ac_pwd
23427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23428 # for backward compatibility:
23429 ac_top_builddir=$ac_top_build_prefix
23431 case $srcdir in
23432 .) # We are building in place.
23433 ac_srcdir=.
23434 ac_top_srcdir=$ac_top_builddir_sub
23435 ac_abs_top_srcdir=$ac_pwd ;;
23436 [\\/]* | ?:[\\/]* ) # Absolute name.
23437 ac_srcdir=$srcdir$ac_dir_suffix;
23438 ac_top_srcdir=$srcdir
23439 ac_abs_top_srcdir=$srcdir ;;
23440 *) # Relative name.
23441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23442 ac_top_srcdir=$ac_top_build_prefix$srcdir
23443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23444 esac
23445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23448 case $ac_mode in
23452 # CONFIG_HEADER
23454 if test x"$ac_file" != x-; then
23456 printf "%s\n" "/* $configure_input */" >&1 \
23457 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23458 } >"$ac_tmp/config.h" \
23459 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23460 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23462 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23463 else
23464 rm -f "$ac_file"
23465 mv "$ac_tmp/config.h" "$ac_file" \
23466 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23468 else
23469 printf "%s\n" "/* $configure_input */" >&1 \
23470 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23471 || as_fn_error $? "could not create -" "$LINENO" 5
23476 # CONFIG_LINK
23479 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23481 else
23482 # Prefer the file from the source tree if names are identical.
23483 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23484 ac_source=$srcdir/$ac_source
23487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23488 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23490 if test ! -r "$ac_source"; then
23491 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23493 rm -f "$ac_file"
23495 # Try a relative symlink, then a hard link, then a copy.
23496 case $ac_source in
23497 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23498 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23499 esac
23500 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23501 ln "$ac_source" "$ac_file" 2>/dev/null ||
23502 cp -p "$ac_source" "$ac_file" ||
23503 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23506 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23507 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23509 esac
23512 case $ac_file$ac_mode in
23513 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23514 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23515 "Makefile":C) wine_fn_output_makefile Makefile ;;
23517 esac
23518 done # for ac_tag
23521 as_fn_exit 0
23522 _ACEOF
23523 ac_clean_files=$ac_clean_files_save
23525 test $ac_write_fail = 0 ||
23526 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23529 # configure is writing to config.log, and then calls config.status.
23530 # config.status does its own redirection, appending to config.log.
23531 # Unfortunately, on DOS this fails, as config.log is still kept open
23532 # by configure, so config.status won't be able to write to it; its
23533 # output is simply discarded. So we exec the FD to /dev/null,
23534 # effectively closing config.log, so it can be properly (re)opened and
23535 # appended to by config.status. When coming back to configure, we
23536 # need to make the FD available again.
23537 if test "$no_create" != yes; then
23538 ac_cs_success=:
23539 ac_config_status_args=
23540 test "$silent" = yes &&
23541 ac_config_status_args="$ac_config_status_args --quiet"
23542 exec 5>/dev/null
23543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23544 exec 5>>config.log
23545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23546 # would make configure fail if this is the last instruction.
23547 $ac_cs_success || as_fn_exit 1
23549 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23551 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23555 if test "$no_create" = "yes"
23556 then
23557 exit 0
23560 ac_save_IFS="$IFS"
23561 if test "x$wine_notices" != x; then
23562 echo >&6
23563 IFS="|"
23564 for msg in $wine_notices; do
23565 IFS="$ac_save_IFS"
23566 if ${msg:+false} :
23567 then :
23569 else $as_nop
23570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23571 printf "%s\n" "$as_me: $msg" >&6;}
23573 done
23575 IFS="|"
23576 for msg in $wine_warnings; do
23577 IFS="$ac_save_IFS"
23578 if ${msg:+false} :
23579 then :
23581 else $as_nop
23582 echo >&2
23583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23584 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23586 done
23587 IFS="$ac_save_IFS"
23589 printf "%s\n" "
23590 $as_me: Finished. Do '${ac_make}' to compile Wine.
23591 " >&6