user32: Fix some spec file entries.
[wine.git] / configure
blobf7530b07488fec2cfd92fbe997abb81060c67789
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.0-rc4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; 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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.0-rc4'
584 PACKAGE_STRING='Wine 5.0-rc4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_samlib
1543 enable_sane_ds
1544 enable_sapi
1545 enable_sas
1546 enable_scarddlg
1547 enable_sccbase
1548 enable_schannel
1549 enable_schedsvc
1550 enable_scrobj
1551 enable_scrrun
1552 enable_scsiport_sys
1553 enable_secur32
1554 enable_security
1555 enable_sensapi
1556 enable_serialui
1557 enable_setupapi
1558 enable_sfc
1559 enable_sfc_os
1560 enable_shcore
1561 enable_shdoclc
1562 enable_shdocvw
1563 enable_shell32
1564 enable_shfolder
1565 enable_shlwapi
1566 enable_slbcsp
1567 enable_slc
1568 enable_snmpapi
1569 enable_softpub
1570 enable_spoolss
1571 enable_srclient
1572 enable_sspicli
1573 enable_stdole2_tlb
1574 enable_stdole32_tlb
1575 enable_sti
1576 enable_strmbase
1577 enable_strmdll
1578 enable_strmiids
1579 enable_svrapi
1580 enable_sxs
1581 enable_t2embed
1582 enable_tapi32
1583 enable_taskschd
1584 enable_tdh
1585 enable_tdi_sys
1586 enable_traffic
1587 enable_twain_32
1588 enable_tzres
1589 enable_ucrtbase
1590 enable_uianimation
1591 enable_uiautomationcore
1592 enable_uiribbon
1593 enable_unicows
1594 enable_updspapi
1595 enable_url
1596 enable_urlmon
1597 enable_usbd_sys
1598 enable_user32
1599 enable_userenv
1600 enable_usp10
1601 enable_utildll
1602 enable_uuid
1603 enable_uxtheme
1604 enable_vbscript
1605 enable_vcomp
1606 enable_vcomp100
1607 enable_vcomp110
1608 enable_vcomp120
1609 enable_vcomp140
1610 enable_vcomp90
1611 enable_vcruntime140
1612 enable_vdmdbg
1613 enable_version
1614 enable_virtdisk
1615 enable_vssapi
1616 enable_vulkan_1
1617 enable_wbemdisp
1618 enable_wbemprox
1619 enable_wdscore
1620 enable_webservices
1621 enable_wer
1622 enable_wevtapi
1623 enable_wiaservc
1624 enable_wimgapi
1625 enable_windowscodecs
1626 enable_windowscodecsext
1627 enable_winealsa_drv
1628 enable_wineandroid_drv
1629 enable_winebus_sys
1630 enable_winecoreaudio_drv
1631 enable_winecrt0
1632 enable_wined3d
1633 enable_winegstreamer
1634 enable_winehid_sys
1635 enable_winejoystick_drv
1636 enable_winemac_drv
1637 enable_winemapi
1638 enable_wineoss_drv
1639 enable_wineps_drv
1640 enable_winepulse_drv
1641 enable_wineqtdecoder
1642 enable_winevulkan
1643 enable_winex11_drv
1644 enable_wing32
1645 enable_winhttp
1646 enable_wininet
1647 enable_winmm
1648 enable_winnls32
1649 enable_winscard
1650 enable_winspool_drv
1651 enable_winsta
1652 enable_wintab32
1653 enable_wintrust
1654 enable_winusb
1655 enable_wlanapi
1656 enable_wlanui
1657 enable_wldap32
1658 enable_wmasf
1659 enable_wmcodecdspuuid
1660 enable_wmi
1661 enable_wmiutils
1662 enable_wmp
1663 enable_wmphoto
1664 enable_wmvcore
1665 enable_wnaspi32
1666 enable_wpc
1667 enable_wpcap
1668 enable_ws2_32
1669 enable_wsdapi
1670 enable_wshom_ocx
1671 enable_wsnmp32
1672 enable_wsock32
1673 enable_wtsapi32
1674 enable_wuapi
1675 enable_wuaueng
1676 enable_x3daudio1_0
1677 enable_x3daudio1_1
1678 enable_x3daudio1_2
1679 enable_x3daudio1_3
1680 enable_x3daudio1_4
1681 enable_x3daudio1_5
1682 enable_x3daudio1_6
1683 enable_x3daudio1_7
1684 enable_xapofx1_1
1685 enable_xapofx1_2
1686 enable_xapofx1_3
1687 enable_xapofx1_4
1688 enable_xapofx1_5
1689 enable_xaudio2_0
1690 enable_xaudio2_1
1691 enable_xaudio2_2
1692 enable_xaudio2_3
1693 enable_xaudio2_4
1694 enable_xaudio2_5
1695 enable_xaudio2_6
1696 enable_xaudio2_7
1697 enable_xaudio2_8
1698 enable_xaudio2_9
1699 enable_xinput1_1
1700 enable_xinput1_2
1701 enable_xinput1_3
1702 enable_xinput1_4
1703 enable_xinput9_1_0
1704 enable_xmllite
1705 enable_xolehlp
1706 enable_xpsprint
1707 enable_xpssvcs
1708 enable_fonts
1709 enable_include
1710 enable_port
1711 enable_wine
1712 enable_wpp
1713 enable_loader
1714 enable_po
1715 enable_arp
1716 enable_aspnet_regiis
1717 enable_attrib
1718 enable_cabarc
1719 enable_cacls
1720 enable_chcp_com
1721 enable_clock
1722 enable_cmd
1723 enable_conhost
1724 enable_control
1725 enable_cscript
1726 enable_dism
1727 enable_dpnsvr
1728 enable_dxdiag
1729 enable_eject
1730 enable_expand
1731 enable_explorer
1732 enable_extrac32
1733 enable_fc
1734 enable_find
1735 enable_findstr
1736 enable_fsutil
1737 enable_hh
1738 enable_hostname
1739 enable_icacls
1740 enable_icinfo
1741 enable_iexplore
1742 enable_ipconfig
1743 enable_lodctr
1744 enable_mofcomp
1745 enable_mshta
1746 enable_msidb
1747 enable_msiexec
1748 enable_msinfo32
1749 enable_net
1750 enable_netsh
1751 enable_netstat
1752 enable_ngen
1753 enable_notepad
1754 enable_oleview
1755 enable_ping
1756 enable_plugplay
1757 enable_powershell
1758 enable_presentationfontcache
1759 enable_progman
1760 enable_reg
1761 enable_regasm
1762 enable_regedit
1763 enable_regini
1764 enable_regsvcs
1765 enable_regsvr32
1766 enable_rpcss
1767 enable_rundll32
1768 enable_sc
1769 enable_schtasks
1770 enable_sdbinst
1771 enable_secedit
1772 enable_servicemodelreg
1773 enable_services
1774 enable_shutdown
1775 enable_spoolsv
1776 enable_start
1777 enable_subst
1778 enable_svchost
1779 enable_systeminfo
1780 enable_taskkill
1781 enable_tasklist
1782 enable_taskmgr
1783 enable_termsv
1784 enable_uninstaller
1785 enable_unlodctr
1786 enable_view
1787 enable_wevtutil
1788 enable_wineboot
1789 enable_winebrowser
1790 enable_winecfg
1791 enable_wineconsole
1792 enable_winedbg
1793 enable_winedevice
1794 enable_winefile
1795 enable_winemenubuilder
1796 enable_winemine
1797 enable_winemsibuilder
1798 enable_winepath
1799 enable_winetest
1800 enable_winhlp32
1801 enable_winmgmt
1802 enable_winver
1803 enable_wmic
1804 enable_wmplayer
1805 enable_wordpad
1806 enable_write
1807 enable_wscript
1808 enable_wuauserv
1809 enable_wusa
1810 enable_xcopy
1811 enable_server
1812 enable_tools
1813 enable_sfnt2fon
1814 enable_widl
1815 enable_winebuild
1816 enable_winedump
1817 enable_winegcc
1818 enable_winemaker
1819 enable_wmc
1820 enable_wrc
1822 ac_precious_vars='build_alias
1823 host_alias
1824 target_alias
1826 CFLAGS
1827 LDFLAGS
1828 LIBS
1829 CPPFLAGS
1831 CXXFLAGS
1834 OBJC
1835 OBJCFLAGS
1836 OBJCPP
1837 XMKMF
1838 XML2_CFLAGS
1839 XML2_LIBS
1840 XSLT_CFLAGS
1841 XSLT_LIBS
1842 INOTIFY_CFLAGS
1843 INOTIFY_LIBS
1844 DBUS_CFLAGS
1845 DBUS_LIBS
1846 HAL_CFLAGS
1847 HAL_LIBS
1848 GNUTLS_CFLAGS
1849 GNUTLS_LIBS
1850 SANE_CFLAGS
1851 SANE_LIBS
1852 GPHOTO2_CFLAGS
1853 GPHOTO2_LIBS
1854 GPHOTO2_PORT_CFLAGS
1855 GPHOTO2_PORT_LIBS
1856 LCMS2_CFLAGS
1857 LCMS2_LIBS
1858 FREETYPE_CFLAGS
1859 FREETYPE_LIBS
1860 Z_CFLAGS
1861 Z_LIBS
1862 PULSE_CFLAGS
1863 PULSE_LIBS
1864 GSTREAMER_CFLAGS
1865 GSTREAMER_LIBS
1866 UDEV_CFLAGS
1867 UDEV_LIBS
1868 UNWIND_CFLAGS
1869 UNWIND_LIBS
1870 SDL2_CFLAGS
1871 SDL2_LIBS
1872 FAUDIO_CFLAGS
1873 FAUDIO_LIBS
1874 CAPI20_CFLAGS
1875 CAPI20_LIBS
1876 CUPS_CFLAGS
1877 CUPS_LIBS
1878 FONTCONFIG_CFLAGS
1879 FONTCONFIG_LIBS
1880 KRB5_CFLAGS
1881 KRB5_LIBS
1882 GSSAPI_CFLAGS
1883 GSSAPI_LIBS
1884 JPEG_CFLAGS
1885 JPEG_LIBS
1886 PNG_CFLAGS
1887 PNG_LIBS
1888 TIFF_CFLAGS
1889 TIFF_LIBS
1890 MPG123_CFLAGS
1891 MPG123_LIBS
1892 NETAPI_CFLAGS
1893 NETAPI_LIBS
1894 VKD3D_CFLAGS
1895 VKD3D_LIBS
1896 LDAP_CFLAGS
1897 LDAP_LIBS'
1900 # Initialize some variables set by options.
1901 ac_init_help=
1902 ac_init_version=false
1903 ac_unrecognized_opts=
1904 ac_unrecognized_sep=
1905 # The variables have the same names as the options, with
1906 # dashes changed to underlines.
1907 cache_file=/dev/null
1908 exec_prefix=NONE
1909 no_create=
1910 no_recursion=
1911 prefix=NONE
1912 program_prefix=NONE
1913 program_suffix=NONE
1914 program_transform_name=s,x,x,
1915 silent=
1916 site=
1917 srcdir=
1918 verbose=
1919 x_includes=NONE
1920 x_libraries=NONE
1922 # Installation directory options.
1923 # These are left unexpanded so users can "make install exec_prefix=/foo"
1924 # and all the variables that are supposed to be based on exec_prefix
1925 # by default will actually change.
1926 # Use braces instead of parens because sh, perl, etc. also accept them.
1927 # (The list follows the same order as the GNU Coding Standards.)
1928 bindir='${exec_prefix}/bin'
1929 sbindir='${exec_prefix}/sbin'
1930 libexecdir='${exec_prefix}/libexec'
1931 datarootdir='${prefix}/share'
1932 datadir='${datarootdir}'
1933 sysconfdir='${prefix}/etc'
1934 sharedstatedir='${prefix}/com'
1935 localstatedir='${prefix}/var'
1936 runstatedir='${localstatedir}/run'
1937 includedir='${prefix}/include'
1938 oldincludedir='/usr/include'
1939 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1940 infodir='${datarootdir}/info'
1941 htmldir='${docdir}'
1942 dvidir='${docdir}'
1943 pdfdir='${docdir}'
1944 psdir='${docdir}'
1945 libdir='${exec_prefix}/lib'
1946 localedir='${datarootdir}/locale'
1947 mandir='${datarootdir}/man'
1949 ac_prev=
1950 ac_dashdash=
1951 for ac_option
1953 # If the previous option needs an argument, assign it.
1954 if test -n "$ac_prev"; then
1955 eval $ac_prev=\$ac_option
1956 ac_prev=
1957 continue
1960 case $ac_option in
1961 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1962 *=) ac_optarg= ;;
1963 *) ac_optarg=yes ;;
1964 esac
1966 # Accept the important Cygnus configure options, so we can diagnose typos.
1968 case $ac_dashdash$ac_option in
1970 ac_dashdash=yes ;;
1972 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1973 ac_prev=bindir ;;
1974 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1975 bindir=$ac_optarg ;;
1977 -build | --build | --buil | --bui | --bu)
1978 ac_prev=build_alias ;;
1979 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1980 build_alias=$ac_optarg ;;
1982 -cache-file | --cache-file | --cache-fil | --cache-fi \
1983 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1984 ac_prev=cache_file ;;
1985 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1986 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1987 cache_file=$ac_optarg ;;
1989 --config-cache | -C)
1990 cache_file=config.cache ;;
1992 -datadir | --datadir | --datadi | --datad)
1993 ac_prev=datadir ;;
1994 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1995 datadir=$ac_optarg ;;
1997 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1998 | --dataroo | --dataro | --datar)
1999 ac_prev=datarootdir ;;
2000 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2001 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2002 datarootdir=$ac_optarg ;;
2004 -disable-* | --disable-*)
2005 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2006 # Reject names that are not valid shell variable names.
2007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2008 as_fn_error $? "invalid feature name: $ac_useropt"
2009 ac_useropt_orig=$ac_useropt
2010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2011 case $ac_user_opts in
2013 "enable_$ac_useropt"
2014 "*) ;;
2015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2016 ac_unrecognized_sep=', ';;
2017 esac
2018 eval enable_$ac_useropt=no ;;
2020 -docdir | --docdir | --docdi | --doc | --do)
2021 ac_prev=docdir ;;
2022 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2023 docdir=$ac_optarg ;;
2025 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2026 ac_prev=dvidir ;;
2027 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2028 dvidir=$ac_optarg ;;
2030 -enable-* | --enable-*)
2031 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2032 # Reject names that are not valid shell variable names.
2033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2034 as_fn_error $? "invalid feature name: $ac_useropt"
2035 ac_useropt_orig=$ac_useropt
2036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2037 case $ac_user_opts in
2039 "enable_$ac_useropt"
2040 "*) ;;
2041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2042 ac_unrecognized_sep=', ';;
2043 esac
2044 eval enable_$ac_useropt=\$ac_optarg ;;
2046 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2047 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2048 | --exec | --exe | --ex)
2049 ac_prev=exec_prefix ;;
2050 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2051 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2052 | --exec=* | --exe=* | --ex=*)
2053 exec_prefix=$ac_optarg ;;
2055 -gas | --gas | --ga | --g)
2056 # Obsolete; use --with-gas.
2057 with_gas=yes ;;
2059 -help | --help | --hel | --he | -h)
2060 ac_init_help=long ;;
2061 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2062 ac_init_help=recursive ;;
2063 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2064 ac_init_help=short ;;
2066 -host | --host | --hos | --ho)
2067 ac_prev=host_alias ;;
2068 -host=* | --host=* | --hos=* | --ho=*)
2069 host_alias=$ac_optarg ;;
2071 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2072 ac_prev=htmldir ;;
2073 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2074 | --ht=*)
2075 htmldir=$ac_optarg ;;
2077 -includedir | --includedir | --includedi | --included | --include \
2078 | --includ | --inclu | --incl | --inc)
2079 ac_prev=includedir ;;
2080 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2081 | --includ=* | --inclu=* | --incl=* | --inc=*)
2082 includedir=$ac_optarg ;;
2084 -infodir | --infodir | --infodi | --infod | --info | --inf)
2085 ac_prev=infodir ;;
2086 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2087 infodir=$ac_optarg ;;
2089 -libdir | --libdir | --libdi | --libd)
2090 ac_prev=libdir ;;
2091 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2092 libdir=$ac_optarg ;;
2094 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2095 | --libexe | --libex | --libe)
2096 ac_prev=libexecdir ;;
2097 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2098 | --libexe=* | --libex=* | --libe=*)
2099 libexecdir=$ac_optarg ;;
2101 -localedir | --localedir | --localedi | --localed | --locale)
2102 ac_prev=localedir ;;
2103 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2104 localedir=$ac_optarg ;;
2106 -localstatedir | --localstatedir | --localstatedi | --localstated \
2107 | --localstate | --localstat | --localsta | --localst | --locals)
2108 ac_prev=localstatedir ;;
2109 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2110 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2111 localstatedir=$ac_optarg ;;
2113 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2114 ac_prev=mandir ;;
2115 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2116 mandir=$ac_optarg ;;
2118 -nfp | --nfp | --nf)
2119 # Obsolete; use --without-fp.
2120 with_fp=no ;;
2122 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2123 | --no-cr | --no-c | -n)
2124 no_create=yes ;;
2126 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2127 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2128 no_recursion=yes ;;
2130 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2131 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2132 | --oldin | --oldi | --old | --ol | --o)
2133 ac_prev=oldincludedir ;;
2134 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2135 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2136 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2137 oldincludedir=$ac_optarg ;;
2139 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2140 ac_prev=prefix ;;
2141 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2142 prefix=$ac_optarg ;;
2144 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2145 | --program-pre | --program-pr | --program-p)
2146 ac_prev=program_prefix ;;
2147 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2148 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2149 program_prefix=$ac_optarg ;;
2151 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2152 | --program-suf | --program-su | --program-s)
2153 ac_prev=program_suffix ;;
2154 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2155 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2156 program_suffix=$ac_optarg ;;
2158 -program-transform-name | --program-transform-name \
2159 | --program-transform-nam | --program-transform-na \
2160 | --program-transform-n | --program-transform- \
2161 | --program-transform | --program-transfor \
2162 | --program-transfo | --program-transf \
2163 | --program-trans | --program-tran \
2164 | --progr-tra | --program-tr | --program-t)
2165 ac_prev=program_transform_name ;;
2166 -program-transform-name=* | --program-transform-name=* \
2167 | --program-transform-nam=* | --program-transform-na=* \
2168 | --program-transform-n=* | --program-transform-=* \
2169 | --program-transform=* | --program-transfor=* \
2170 | --program-transfo=* | --program-transf=* \
2171 | --program-trans=* | --program-tran=* \
2172 | --progr-tra=* | --program-tr=* | --program-t=*)
2173 program_transform_name=$ac_optarg ;;
2175 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2176 ac_prev=pdfdir ;;
2177 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2178 pdfdir=$ac_optarg ;;
2180 -psdir | --psdir | --psdi | --psd | --ps)
2181 ac_prev=psdir ;;
2182 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2183 psdir=$ac_optarg ;;
2185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2186 | -silent | --silent | --silen | --sile | --sil)
2187 silent=yes ;;
2189 -runstatedir | --runstatedir | --runstatedi | --runstated \
2190 | --runstate | --runstat | --runsta | --runst | --runs \
2191 | --run | --ru | --r)
2192 ac_prev=runstatedir ;;
2193 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2194 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2195 | --run=* | --ru=* | --r=*)
2196 runstatedir=$ac_optarg ;;
2198 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2199 ac_prev=sbindir ;;
2200 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2201 | --sbi=* | --sb=*)
2202 sbindir=$ac_optarg ;;
2204 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2205 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2206 | --sharedst | --shareds | --shared | --share | --shar \
2207 | --sha | --sh)
2208 ac_prev=sharedstatedir ;;
2209 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2210 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2211 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2212 | --sha=* | --sh=*)
2213 sharedstatedir=$ac_optarg ;;
2215 -site | --site | --sit)
2216 ac_prev=site ;;
2217 -site=* | --site=* | --sit=*)
2218 site=$ac_optarg ;;
2220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2221 ac_prev=srcdir ;;
2222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2223 srcdir=$ac_optarg ;;
2225 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2226 | --syscon | --sysco | --sysc | --sys | --sy)
2227 ac_prev=sysconfdir ;;
2228 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2229 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2230 sysconfdir=$ac_optarg ;;
2232 -target | --target | --targe | --targ | --tar | --ta | --t)
2233 ac_prev=target_alias ;;
2234 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2235 target_alias=$ac_optarg ;;
2237 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2238 verbose=yes ;;
2240 -version | --version | --versio | --versi | --vers | -V)
2241 ac_init_version=: ;;
2243 -with-* | --with-*)
2244 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2245 # Reject names that are not valid shell variable names.
2246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2247 as_fn_error $? "invalid package name: $ac_useropt"
2248 ac_useropt_orig=$ac_useropt
2249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2250 case $ac_user_opts in
2252 "with_$ac_useropt"
2253 "*) ;;
2254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2255 ac_unrecognized_sep=', ';;
2256 esac
2257 eval with_$ac_useropt=\$ac_optarg ;;
2259 -without-* | --without-*)
2260 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2261 # Reject names that are not valid shell variable names.
2262 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2263 as_fn_error $? "invalid package name: $ac_useropt"
2264 ac_useropt_orig=$ac_useropt
2265 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2266 case $ac_user_opts in
2268 "with_$ac_useropt"
2269 "*) ;;
2270 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2271 ac_unrecognized_sep=', ';;
2272 esac
2273 eval with_$ac_useropt=no ;;
2275 --x)
2276 # Obsolete; use --with-x.
2277 with_x=yes ;;
2279 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2280 | --x-incl | --x-inc | --x-in | --x-i)
2281 ac_prev=x_includes ;;
2282 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2283 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2284 x_includes=$ac_optarg ;;
2286 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2287 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2288 ac_prev=x_libraries ;;
2289 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2290 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2291 x_libraries=$ac_optarg ;;
2293 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2294 Try \`$0 --help' for more information"
2297 *=*)
2298 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2299 # Reject names that are not valid shell variable names.
2300 case $ac_envvar in #(
2301 '' | [0-9]* | *[!_$as_cr_alnum]* )
2302 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2303 esac
2304 eval $ac_envvar=\$ac_optarg
2305 export $ac_envvar ;;
2308 # FIXME: should be removed in autoconf 3.0.
2309 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2310 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2311 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2312 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2315 esac
2316 done
2318 if test -n "$ac_prev"; then
2319 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2320 as_fn_error $? "missing argument to $ac_option"
2323 if test -n "$ac_unrecognized_opts"; then
2324 case $enable_option_checking in
2325 no) ;;
2326 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2327 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2328 esac
2331 # Check all directory arguments for consistency.
2332 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2333 datadir sysconfdir sharedstatedir localstatedir includedir \
2334 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2335 libdir localedir mandir runstatedir
2337 eval ac_val=\$$ac_var
2338 # Remove trailing slashes.
2339 case $ac_val in
2340 */ )
2341 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2342 eval $ac_var=\$ac_val;;
2343 esac
2344 # Be sure to have absolute directory names.
2345 case $ac_val in
2346 [\\/$]* | ?:[\\/]* ) continue;;
2347 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2348 esac
2349 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2350 done
2352 # There might be people who depend on the old broken behavior: `$host'
2353 # used to hold the argument of --host etc.
2354 # FIXME: To remove some day.
2355 build=$build_alias
2356 host=$host_alias
2357 target=$target_alias
2359 # FIXME: To remove some day.
2360 if test "x$host_alias" != x; then
2361 if test "x$build_alias" = x; then
2362 cross_compiling=maybe
2363 elif test "x$build_alias" != "x$host_alias"; then
2364 cross_compiling=yes
2368 ac_tool_prefix=
2369 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2371 test "$silent" = yes && exec 6>/dev/null
2374 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2375 ac_ls_di=`ls -di .` &&
2376 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2377 as_fn_error $? "working directory cannot be determined"
2378 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2379 as_fn_error $? "pwd does not report name of working directory"
2382 # Find the source files, if location was not specified.
2383 if test -z "$srcdir"; then
2384 ac_srcdir_defaulted=yes
2385 # Try the directory containing this script, then the parent directory.
2386 ac_confdir=`$as_dirname -- "$as_myself" ||
2387 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2388 X"$as_myself" : 'X\(//\)[^/]' \| \
2389 X"$as_myself" : 'X\(//\)$' \| \
2390 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2391 $as_echo X"$as_myself" |
2392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2393 s//\1/
2396 /^X\(\/\/\)[^/].*/{
2397 s//\1/
2400 /^X\(\/\/\)$/{
2401 s//\1/
2404 /^X\(\/\).*/{
2405 s//\1/
2408 s/.*/./; q'`
2409 srcdir=$ac_confdir
2410 if test ! -r "$srcdir/$ac_unique_file"; then
2411 srcdir=..
2413 else
2414 ac_srcdir_defaulted=no
2416 if test ! -r "$srcdir/$ac_unique_file"; then
2417 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2418 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2420 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2421 ac_abs_confdir=`(
2422 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2423 pwd)`
2424 # When building in place, set srcdir=.
2425 if test "$ac_abs_confdir" = "$ac_pwd"; then
2426 srcdir=.
2428 # Remove unnecessary trailing slashes from srcdir.
2429 # Double slashes in file names in object file debugging info
2430 # mess up M-x gdb in Emacs.
2431 case $srcdir in
2432 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2433 esac
2434 for ac_var in $ac_precious_vars; do
2435 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2436 eval ac_env_${ac_var}_value=\$${ac_var}
2437 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2438 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2439 done
2442 # Report the --help message.
2444 if test "$ac_init_help" = "long"; then
2445 # Omit some internal or obsolete options to make the list less imposing.
2446 # This message is too long to be a string in the A/UX 3.1 sh.
2447 cat <<_ACEOF
2448 \`configure' configures Wine 5.0-rc4 to adapt to many kinds of systems.
2450 Usage: $0 [OPTION]... [VAR=VALUE]...
2452 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2453 VAR=VALUE. See below for descriptions of some of the useful variables.
2455 Defaults for the options are specified in brackets.
2457 Configuration:
2458 -h, --help display this help and exit
2459 --help=short display options specific to this package
2460 --help=recursive display the short help of all the included packages
2461 -V, --version display version information and exit
2462 -q, --quiet, --silent do not print \`checking ...' messages
2463 --cache-file=FILE cache test results in FILE [disabled]
2464 -C, --config-cache alias for \`--cache-file=config.cache'
2465 -n, --no-create do not create output files
2466 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2468 Installation directories:
2469 --prefix=PREFIX install architecture-independent files in PREFIX
2470 [$ac_default_prefix]
2471 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2472 [PREFIX]
2474 By default, \`make install' will install all the files in
2475 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2476 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2477 for instance \`--prefix=\$HOME'.
2479 For better control, use the options below.
2481 Fine tuning of the installation directories:
2482 --bindir=DIR user executables [EPREFIX/bin]
2483 --sbindir=DIR system admin executables [EPREFIX/sbin]
2484 --libexecdir=DIR program executables [EPREFIX/libexec]
2485 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2486 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2487 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2488 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2489 --libdir=DIR object code libraries [EPREFIX/lib]
2490 --includedir=DIR C header files [PREFIX/include]
2491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2494 --infodir=DIR info documentation [DATAROOTDIR/info]
2495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2496 --mandir=DIR man documentation [DATAROOTDIR/man]
2497 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2498 --htmldir=DIR html documentation [DOCDIR]
2499 --dvidir=DIR dvi documentation [DOCDIR]
2500 --pdfdir=DIR pdf documentation [DOCDIR]
2501 --psdir=DIR ps documentation [DOCDIR]
2502 _ACEOF
2504 cat <<\_ACEOF
2506 X features:
2507 --x-includes=DIR X include files are in DIR
2508 --x-libraries=DIR X library files are in DIR
2510 System types:
2511 --build=BUILD configure for building on BUILD [guessed]
2512 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2513 _ACEOF
2516 if test -n "$ac_init_help"; then
2517 case $ac_init_help in
2518 short | recursive ) echo "Configuration of Wine 5.0-rc4:";;
2519 esac
2520 cat <<\_ACEOF
2522 Optional Features:
2523 --disable-option-checking ignore unrecognized --enable/--with options
2524 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2525 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2526 --disable-win16 do not include Win16 support
2527 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2528 binaries)
2529 --disable-tests do not build the regression tests
2530 --enable-maintainer-mode
2531 enable maintainer-specific build rules
2532 --disable-largefile omit support for large files
2534 Optional Packages:
2535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2537 --without-alsa do not use the Alsa sound support
2538 --without-capi do not use CAPI (ISDN support)
2539 --without-cms do not use CMS (color management support)
2540 --without-coreaudio do not use the CoreAudio sound support
2541 --without-cups do not use CUPS
2542 --without-curses do not use (n)curses
2543 --without-dbus do not use DBus (dynamic device support)
2544 --without-faudio do not use FAudio (XAudio2 support)
2545 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2546 --without-fontconfig do not use fontconfig
2547 --without-freetype do not use the FreeType library
2548 --without-gettext do not use gettext
2549 --with-gettextpo use the GetTextPO library to rebuild po files
2550 --without-gphoto do not use gphoto (Digital Camera support)
2551 --without-glu do not use the GLU library
2552 --without-gnutls do not use GnuTLS (schannel support)
2553 --without-gsm do not use libgsm (GSM 06.10 codec support)
2554 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2555 --without-gstreamer do not use GStreamer (codecs support)
2556 --without-hal do not use HAL (dynamic device support)
2557 --without-inotify do not use inotify (filesystem change notifications)
2558 --without-jpeg do not use JPEG
2559 --without-krb5 do not use krb5 (Kerberos)
2560 --without-ldap do not use LDAP
2561 --without-mingw do not use the MinGW cross-compiler
2562 --without-mpg123 do not use the mpg123 library
2563 --without-netapi do not use the Samba NetAPI library
2564 --without-openal do not use OpenAL
2565 --without-opencl do not use OpenCL
2566 --without-opengl do not use OpenGL
2567 --without-osmesa do not use the OSMesa library
2568 --without-oss do not use the OSS sound support
2569 --without-pcap do not use the Packet Capture library
2570 --without-png do not use PNG
2571 --without-pthread do not use the pthread library
2572 --without-pulse do not use PulseAudio sound support
2573 --without-sane do not use SANE (scanner support)
2574 --without-sdl do not use SDL
2575 --without-tiff do not use TIFF
2576 --without-udev do not use udev (plug and play support)
2577 --without-unwind do not use the libunwind library (exception
2578 handling)
2579 --without-v4l2 do not use v4l2 (video capture)
2580 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2581 --without-vulkan do not use Vulkan
2582 --without-xcomposite do not use the Xcomposite extension
2583 --without-xcursor do not use the Xcursor extension
2584 --without-xfixes do not use Xfixes for clipboard change notifications
2585 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2586 --without-xinput do not use the Xinput extension
2587 --without-xinput2 do not use the Xinput 2 extension
2588 --without-xml do not use XML
2589 --without-xrandr do not use Xrandr (multi-monitor support)
2590 --without-xrender do not use the Xrender extension
2591 --without-xshape do not use the Xshape extension
2592 --without-xshm do not use XShm (shared memory extension)
2593 --without-xslt do not use XSLT
2594 --without-xxf86vm do not use XFree video mode extension
2595 --without-zlib do not use Zlib (data compression)
2596 --with-wine-tools=DIR use Wine tools from directory DIR
2597 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2598 --with-x use the X Window System
2600 Some influential environment variables:
2601 CC C compiler command
2602 CFLAGS C compiler flags
2603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2604 nonstandard directory <lib dir>
2605 LIBS libraries to pass to the linker, e.g. -l<library>
2606 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2607 you have headers in a nonstandard directory <include dir>
2608 CXX C++ compiler command
2609 CXXFLAGS C++ compiler flags
2610 CPP C preprocessor
2611 OBJC Objective C compiler command
2612 OBJCFLAGS Objective C compiler flags
2613 OBJCPP Objective C preprocessor
2614 XMKMF Path to xmkmf, Makefile generator for X Window System
2615 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2616 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2617 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2618 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2619 INOTIFY_CFLAGS
2620 C compiler flags for libinotify, overriding pkg-config
2621 INOTIFY_LIBS
2622 Linker flags for libinotify, overriding pkg-config
2623 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2624 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2625 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2626 HAL_LIBS Linker flags for hal, overriding pkg-config
2627 GNUTLS_CFLAGS
2628 C compiler flags for gnutls, overriding pkg-config
2629 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2630 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2631 SANE_LIBS Linker flags for libsane, overriding pkg-config
2632 GPHOTO2_CFLAGS
2633 C compiler flags for libgphoto2, overriding pkg-config
2634 GPHOTO2_LIBS
2635 Linker flags for libgphoto2, overriding pkg-config
2636 GPHOTO2_PORT_CFLAGS
2637 C compiler flags for libgphoto2_port, overriding pkg-config
2638 GPHOTO2_PORT_LIBS
2639 Linker flags for libgphoto2_port, overriding pkg-config
2640 LCMS2_CFLAGS
2641 C compiler flags for lcms2, overriding pkg-config
2642 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2643 FREETYPE_CFLAGS
2644 C compiler flags for freetype2, overriding pkg-config
2645 FREETYPE_LIBS
2646 Linker flags for freetype2, overriding pkg-config
2647 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2648 Z_LIBS Linker flags for libz, overriding pkg-config
2649 PULSE_CFLAGS
2650 C compiler flags for libpulse, overriding pkg-config
2651 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2652 GSTREAMER_CFLAGS
2653 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2654 gstreamer-audio-1.0, overriding pkg-config
2655 GSTREAMER_LIBS
2656 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2657 gstreamer-audio-1.0, overriding pkg-config
2658 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2659 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2660 UNWIND_CFLAGS
2661 C compiler flags for libunwind, overriding pkg-config
2662 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2663 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2664 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2665 FAUDIO_CFLAGS
2666 C compiler flags for faudio, overriding pkg-config
2667 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2668 CAPI20_CFLAGS
2669 C compiler flags for capi20, overriding pkg-config
2670 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2671 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2672 CUPS_LIBS Linker flags for cups, overriding pkg-config
2673 FONTCONFIG_CFLAGS
2674 C compiler flags for fontconfig, overriding pkg-config
2675 FONTCONFIG_LIBS
2676 Linker flags for fontconfig, overriding pkg-config
2677 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2678 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2679 GSSAPI_CFLAGS
2680 C compiler flags for krb5-gssapi, overriding pkg-config
2681 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2682 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2683 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2684 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2685 PNG_LIBS Linker flags for libpng, overriding pkg-config
2686 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2687 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2688 MPG123_CFLAGS
2689 C compiler flags for libmpg123, overriding pkg-config
2690 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2691 NETAPI_CFLAGS
2692 C compiler flags for netapi, overriding pkg-config
2693 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2694 VKD3D_CFLAGS
2695 C compiler flags for libvkd3d, overriding pkg-config
2696 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2697 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2698 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2700 Use these variables to override the choices made by `configure' or to help
2701 it to find libraries and programs with nonstandard names/locations.
2703 Report bugs to <wine-devel@winehq.org>.
2704 Wine home page: <https://www.winehq.org>.
2705 _ACEOF
2706 ac_status=$?
2709 if test "$ac_init_help" = "recursive"; then
2710 # If there are subdirs, report their specific --help.
2711 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2712 test -d "$ac_dir" ||
2713 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2714 continue
2715 ac_builddir=.
2717 case "$ac_dir" in
2718 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2720 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2721 # A ".." for each directory in $ac_dir_suffix.
2722 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2723 case $ac_top_builddir_sub in
2724 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2725 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2726 esac ;;
2727 esac
2728 ac_abs_top_builddir=$ac_pwd
2729 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2730 # for backward compatibility:
2731 ac_top_builddir=$ac_top_build_prefix
2733 case $srcdir in
2734 .) # We are building in place.
2735 ac_srcdir=.
2736 ac_top_srcdir=$ac_top_builddir_sub
2737 ac_abs_top_srcdir=$ac_pwd ;;
2738 [\\/]* | ?:[\\/]* ) # Absolute name.
2739 ac_srcdir=$srcdir$ac_dir_suffix;
2740 ac_top_srcdir=$srcdir
2741 ac_abs_top_srcdir=$srcdir ;;
2742 *) # Relative name.
2743 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2744 ac_top_srcdir=$ac_top_build_prefix$srcdir
2745 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2746 esac
2747 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2749 cd "$ac_dir" || { ac_status=$?; continue; }
2750 # Check for guested configure.
2751 if test -f "$ac_srcdir/configure.gnu"; then
2752 echo &&
2753 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2754 elif test -f "$ac_srcdir/configure"; then
2755 echo &&
2756 $SHELL "$ac_srcdir/configure" --help=recursive
2757 else
2758 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2759 fi || ac_status=$?
2760 cd "$ac_pwd" || { ac_status=$?; break; }
2761 done
2764 test -n "$ac_init_help" && exit $ac_status
2765 if $ac_init_version; then
2766 cat <<\_ACEOF
2767 Wine configure 5.0-rc4
2768 generated by GNU Autoconf 2.69
2770 Copyright (C) 2012 Free Software Foundation, Inc.
2771 This configure script is free software; the Free Software Foundation
2772 gives unlimited permission to copy, distribute and modify it.
2773 _ACEOF
2774 exit
2777 ## ------------------------ ##
2778 ## Autoconf initialization. ##
2779 ## ------------------------ ##
2781 # ac_fn_c_try_compile LINENO
2782 # --------------------------
2783 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2784 ac_fn_c_try_compile ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 rm -f conftest.$ac_objext
2788 if { { ac_try="$ac_compile"
2789 case "(($ac_try" in
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791 *) ac_try_echo=$ac_try;;
2792 esac
2793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2794 $as_echo "$ac_try_echo"; } >&5
2795 (eval "$ac_compile") 2>conftest.err
2796 ac_status=$?
2797 if test -s conftest.err; then
2798 grep -v '^ *+' conftest.err >conftest.er1
2799 cat conftest.er1 >&5
2800 mv -f conftest.er1 conftest.err
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then :
2807 ac_retval=0
2808 else
2809 $as_echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2812 ac_retval=1
2814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 as_fn_set_status $ac_retval
2817 } # ac_fn_c_try_compile
2819 # ac_fn_cxx_try_compile LINENO
2820 # ----------------------------
2821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2822 ac_fn_cxx_try_compile ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 rm -f conftest.$ac_objext
2826 if { { ac_try="$ac_compile"
2827 case "(($ac_try" in
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compile") 2>conftest.err
2834 ac_status=$?
2835 if test -s conftest.err; then
2836 grep -v '^ *+' conftest.err >conftest.er1
2837 cat conftest.er1 >&5
2838 mv -f conftest.er1 conftest.err
2840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2841 test $ac_status = 0; } && {
2842 test -z "$ac_cxx_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.$ac_objext; then :
2845 ac_retval=0
2846 else
2847 $as_echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 ac_retval=1
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 as_fn_set_status $ac_retval
2855 } # ac_fn_cxx_try_compile
2857 # ac_fn_c_try_link LINENO
2858 # -----------------------
2859 # Try to link conftest.$ac_ext, and return whether this succeeded.
2860 ac_fn_c_try_link ()
2862 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2863 rm -f conftest.$ac_objext conftest$ac_exeext
2864 if { { ac_try="$ac_link"
2865 case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_link") 2>conftest.err
2872 ac_status=$?
2873 if test -s conftest.err; then
2874 grep -v '^ *+' conftest.err >conftest.er1
2875 cat conftest.er1 >&5
2876 mv -f conftest.er1 conftest.err
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; } && {
2880 test -z "$ac_c_werror_flag" ||
2881 test ! -s conftest.err
2882 } && test -s conftest$ac_exeext && {
2883 test "$cross_compiling" = yes ||
2884 test -x conftest$ac_exeext
2885 }; then :
2886 ac_retval=0
2887 else
2888 $as_echo "$as_me: failed program was:" >&5
2889 sed 's/^/| /' conftest.$ac_ext >&5
2891 ac_retval=1
2893 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2894 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2895 # interfere with the next link command; also delete a directory that is
2896 # left behind by Apple's compiler. We do this before executing the actions.
2897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2899 as_fn_set_status $ac_retval
2901 } # ac_fn_c_try_link
2903 # ac_fn_c_try_cpp LINENO
2904 # ----------------------
2905 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2906 ac_fn_c_try_cpp ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 if { { ac_try="$ac_cpp conftest.$ac_ext"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2915 $as_echo "$ac_try_echo"; } >&5
2916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2917 ac_status=$?
2918 if test -s conftest.err; then
2919 grep -v '^ *+' conftest.err >conftest.er1
2920 cat conftest.er1 >&5
2921 mv -f conftest.er1 conftest.err
2923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2924 test $ac_status = 0; } > conftest.i && {
2925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 }; then :
2928 ac_retval=0
2929 else
2930 $as_echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2933 ac_retval=1
2935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2936 as_fn_set_status $ac_retval
2938 } # ac_fn_c_try_cpp
2940 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2941 # -------------------------------------------------------
2942 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2943 # the include files in INCLUDES and setting the cache variable VAR
2944 # accordingly.
2945 ac_fn_c_check_header_mongrel ()
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 if eval \${$3+:} false; then :
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2950 $as_echo_n "checking for $2... " >&6; }
2951 if eval \${$3+:} false; then :
2952 $as_echo_n "(cached) " >&6
2954 eval ac_res=\$$3
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2956 $as_echo "$ac_res" >&6; }
2957 else
2958 # Is the header compilable?
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2960 $as_echo_n "checking $2 usability... " >&6; }
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2964 #include <$2>
2965 _ACEOF
2966 if ac_fn_c_try_compile "$LINENO"; then :
2967 ac_header_compiler=yes
2968 else
2969 ac_header_compiler=no
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2973 $as_echo "$ac_header_compiler" >&6; }
2975 # Is the header present?
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2977 $as_echo_n "checking $2 presence... " >&6; }
2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2979 /* end confdefs.h. */
2980 #include <$2>
2981 _ACEOF
2982 if ac_fn_c_try_cpp "$LINENO"; then :
2983 ac_header_preproc=yes
2984 else
2985 ac_header_preproc=no
2987 rm -f conftest.err conftest.i conftest.$ac_ext
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2989 $as_echo "$ac_header_preproc" >&6; }
2991 # So? What about this header?
2992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2993 yes:no: )
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2995 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2997 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2999 no:yes:* )
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3001 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3003 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3005 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3007 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3009 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3010 ( $as_echo "## ------------------------------------ ##
3011 ## Report this to wine-devel@winehq.org ##
3012 ## ------------------------------------ ##"
3013 ) | sed "s/^/$as_me: WARNING: /" >&2
3015 esac
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3017 $as_echo_n "checking for $2... " >&6; }
3018 if eval \${$3+:} false; then :
3019 $as_echo_n "(cached) " >&6
3020 else
3021 eval "$3=\$ac_header_compiler"
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_header_mongrel
3031 # ac_fn_c_try_run LINENO
3032 # ----------------------
3033 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3034 # that executables *can* be run.
3035 ac_fn_c_try_run ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 if { { ac_try="$ac_link"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 $as_echo "$ac_try_echo"; } >&5
3045 (eval "$ac_link") 2>&5
3046 ac_status=$?
3047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3048 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3049 { { case "(($ac_try" in
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3052 esac
3053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3054 $as_echo "$ac_try_echo"; } >&5
3055 (eval "$ac_try") 2>&5
3056 ac_status=$?
3057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3058 test $ac_status = 0; }; }; then :
3059 ac_retval=0
3060 else
3061 $as_echo "$as_me: program exited with status $ac_status" >&5
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3065 ac_retval=$ac_status
3067 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3068 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3069 as_fn_set_status $ac_retval
3071 } # ac_fn_c_try_run
3073 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3074 # -------------------------------------------------------
3075 # Tests whether HEADER exists and can be compiled using the include files in
3076 # INCLUDES, setting the cache variable VAR accordingly.
3077 ac_fn_c_check_header_compile ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3081 $as_echo_n "checking for $2... " >&6; }
3082 if eval \${$3+:} false; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086 /* end confdefs.h. */
3088 #include <$2>
3089 _ACEOF
3090 if ac_fn_c_try_compile "$LINENO"; then :
3091 eval "$3=yes"
3092 else
3093 eval "$3=no"
3095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3097 eval ac_res=\$$3
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3099 $as_echo "$ac_res" >&6; }
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 } # ac_fn_c_check_header_compile
3104 # ac_fn_objc_try_compile LINENO
3105 # -----------------------------
3106 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3107 ac_fn_objc_try_compile ()
3109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3110 rm -f conftest.$ac_objext
3111 if { { ac_try="$ac_compile"
3112 case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3115 esac
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_compile") 2>conftest.err
3119 ac_status=$?
3120 if test -s conftest.err; then
3121 grep -v '^ *+' conftest.err >conftest.er1
3122 cat conftest.er1 >&5
3123 mv -f conftest.er1 conftest.err
3125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; } && {
3127 test -z "$ac_objc_werror_flag" ||
3128 test ! -s conftest.err
3129 } && test -s conftest.$ac_objext; then :
3130 ac_retval=0
3131 else
3132 $as_echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.$ac_ext >&5
3135 ac_retval=1
3137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3138 as_fn_set_status $ac_retval
3140 } # ac_fn_objc_try_compile
3142 # ac_fn_objc_try_cpp LINENO
3143 # -------------------------
3144 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3145 ac_fn_objc_try_cpp ()
3147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148 if { { ac_try="$ac_cpp conftest.$ac_ext"
3149 case "(($ac_try" in
3150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3152 esac
3153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3156 ac_status=$?
3157 if test -s conftest.err; then
3158 grep -v '^ *+' conftest.err >conftest.er1
3159 cat conftest.er1 >&5
3160 mv -f conftest.er1 conftest.err
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; } > conftest.i && {
3164 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3165 test ! -s conftest.err
3166 }; then :
3167 ac_retval=0
3168 else
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3172 ac_retval=1
3174 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3175 as_fn_set_status $ac_retval
3177 } # ac_fn_objc_try_cpp
3179 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3180 # ----------------------------------------------------------
3181 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3182 # the include files in INCLUDES and setting the cache variable VAR
3183 # accordingly.
3184 ac_fn_objc_check_header_mongrel ()
3186 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3187 if eval \${$3+:} false; then :
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3189 $as_echo_n "checking for $2... " >&6; }
3190 if eval \${$3+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 eval ac_res=\$$3
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3195 $as_echo "$ac_res" >&6; }
3196 else
3197 # Is the header compilable?
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3199 $as_echo_n "checking $2 usability... " >&6; }
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3203 #include <$2>
3204 _ACEOF
3205 if ac_fn_objc_try_compile "$LINENO"; then :
3206 ac_header_compiler=yes
3207 else
3208 ac_header_compiler=no
3210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3212 $as_echo "$ac_header_compiler" >&6; }
3214 # Is the header present?
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3216 $as_echo_n "checking $2 presence... " >&6; }
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3219 #include <$2>
3220 _ACEOF
3221 if ac_fn_objc_try_cpp "$LINENO"; then :
3222 ac_header_preproc=yes
3223 else
3224 ac_header_preproc=no
3226 rm -f conftest.err conftest.i conftest.$ac_ext
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3228 $as_echo "$ac_header_preproc" >&6; }
3230 # So? What about this header?
3231 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3232 yes:no: )
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3234 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3236 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3238 no:yes:* )
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3240 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3242 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3244 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3246 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3249 ( $as_echo "## ------------------------------------ ##
3250 ## Report this to wine-devel@winehq.org ##
3251 ## ------------------------------------ ##"
3252 ) | sed "s/^/$as_me: WARNING: /" >&2
3254 esac
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3256 $as_echo_n "checking for $2... " >&6; }
3257 if eval \${$3+:} false; then :
3258 $as_echo_n "(cached) " >&6
3259 else
3260 eval "$3=\$ac_header_compiler"
3262 eval ac_res=\$$3
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3264 $as_echo "$ac_res" >&6; }
3266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3268 } # ac_fn_objc_check_header_mongrel
3270 # ac_fn_c_check_func LINENO FUNC VAR
3271 # ----------------------------------
3272 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3273 ac_fn_c_check_func ()
3275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \${$3+:} false; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3283 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3285 #define $2 innocuous_$2
3287 /* System header to define __stub macros and hopefully few prototypes,
3288 which can conflict with char $2 (); below.
3289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3290 <limits.h> exists even on freestanding compilers. */
3292 #ifdef __STDC__
3293 # include <limits.h>
3294 #else
3295 # include <assert.h>
3296 #endif
3298 #undef $2
3300 /* Override any GCC internal prototype to avoid an error.
3301 Use char because int might match the return type of a GCC
3302 builtin and then its argument prototype would still apply. */
3303 #ifdef __cplusplus
3304 extern "C"
3305 #endif
3306 char $2 ();
3307 /* The GNU C library defines this for functions which it implements
3308 to always fail with ENOSYS. Some functions are actually named
3309 something starting with __ and the normal name is an alias. */
3310 #if defined __stub_$2 || defined __stub___$2
3311 choke me
3312 #endif
3315 main ()
3317 return $2 ();
3319 return 0;
3321 _ACEOF
3322 if ac_fn_c_try_link "$LINENO"; then :
3323 eval "$3=yes"
3324 else
3325 eval "$3=no"
3327 rm -f core conftest.err conftest.$ac_objext \
3328 conftest$ac_exeext conftest.$ac_ext
3330 eval ac_res=\$$3
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3332 $as_echo "$ac_res" >&6; }
3333 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3335 } # ac_fn_c_check_func
3337 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3338 # ----------------------------------------------------
3339 # Tries to find if the field MEMBER exists in type AGGR, after including
3340 # INCLUDES, setting cache variable VAR accordingly.
3341 ac_fn_c_check_member ()
3343 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3345 $as_echo_n "checking for $2.$3... " >&6; }
3346 if eval \${$4+:} false; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 main ()
3355 static $2 ac_aggr;
3356 if (ac_aggr.$3)
3357 return 0;
3359 return 0;
3361 _ACEOF
3362 if ac_fn_c_try_compile "$LINENO"; then :
3363 eval "$4=yes"
3364 else
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 main ()
3371 static $2 ac_aggr;
3372 if (sizeof ac_aggr.$3)
3373 return 0;
3375 return 0;
3377 _ACEOF
3378 if ac_fn_c_try_compile "$LINENO"; then :
3379 eval "$4=yes"
3380 else
3381 eval "$4=no"
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3387 eval ac_res=\$$4
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3389 $as_echo "$ac_res" >&6; }
3390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3392 } # ac_fn_c_check_member
3394 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3395 # -------------------------------------------
3396 # Tests whether TYPE exists after having included INCLUDES, setting cache
3397 # variable VAR accordingly.
3398 ac_fn_c_check_type ()
3400 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3402 $as_echo_n "checking for $2... " >&6; }
3403 if eval \${$3+:} false; then :
3404 $as_echo_n "(cached) " >&6
3405 else
3406 eval "$3=no"
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 main ()
3413 if (sizeof ($2))
3414 return 0;
3416 return 0;
3418 _ACEOF
3419 if ac_fn_c_try_compile "$LINENO"; then :
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 main ()
3426 if (sizeof (($2)))
3427 return 0;
3429 return 0;
3431 _ACEOF
3432 if ac_fn_c_try_compile "$LINENO"; then :
3434 else
3435 eval "$3=yes"
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3441 eval ac_res=\$$3
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3443 $as_echo "$ac_res" >&6; }
3444 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3446 } # ac_fn_c_check_type
3447 cat >config.log <<_ACEOF
3448 This file contains any messages produced by compilers while
3449 running configure, to aid debugging if configure makes a mistake.
3451 It was created by Wine $as_me 5.0-rc4, which was
3452 generated by GNU Autoconf 2.69. Invocation command line was
3454 $ $0 $@
3456 _ACEOF
3457 exec 5>>config.log
3459 cat <<_ASUNAME
3460 ## --------- ##
3461 ## Platform. ##
3462 ## --------- ##
3464 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3465 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3466 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3467 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3468 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3470 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3471 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3473 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3474 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3475 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3476 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3477 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3478 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3479 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3481 _ASUNAME
3483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3484 for as_dir in $PATH
3486 IFS=$as_save_IFS
3487 test -z "$as_dir" && as_dir=.
3488 $as_echo "PATH: $as_dir"
3489 done
3490 IFS=$as_save_IFS
3492 } >&5
3494 cat >&5 <<_ACEOF
3497 ## ----------- ##
3498 ## Core tests. ##
3499 ## ----------- ##
3501 _ACEOF
3504 # Keep a trace of the command line.
3505 # Strip out --no-create and --no-recursion so they do not pile up.
3506 # Strip out --silent because we don't want to record it for future runs.
3507 # Also quote any args containing shell meta-characters.
3508 # Make two passes to allow for proper duplicate-argument suppression.
3509 ac_configure_args=
3510 ac_configure_args0=
3511 ac_configure_args1=
3512 ac_must_keep_next=false
3513 for ac_pass in 1 2
3515 for ac_arg
3517 case $ac_arg in
3518 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3519 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3520 | -silent | --silent | --silen | --sile | --sil)
3521 continue ;;
3522 *\'*)
3523 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3524 esac
3525 case $ac_pass in
3526 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3528 as_fn_append ac_configure_args1 " '$ac_arg'"
3529 if test $ac_must_keep_next = true; then
3530 ac_must_keep_next=false # Got value, back to normal.
3531 else
3532 case $ac_arg in
3533 *=* | --config-cache | -C | -disable-* | --disable-* \
3534 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3535 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3536 | -with-* | --with-* | -without-* | --without-* | --x)
3537 case "$ac_configure_args0 " in
3538 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3539 esac
3541 -* ) ac_must_keep_next=true ;;
3542 esac
3544 as_fn_append ac_configure_args " '$ac_arg'"
3546 esac
3547 done
3548 done
3549 { ac_configure_args0=; unset ac_configure_args0;}
3550 { ac_configure_args1=; unset ac_configure_args1;}
3552 # When interrupted or exit'd, cleanup temporary files, and complete
3553 # config.log. We remove comments because anyway the quotes in there
3554 # would cause problems or look ugly.
3555 # WARNING: Use '\'' to represent an apostrophe within the trap.
3556 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3557 trap 'exit_status=$?
3558 # Save into config.log some information that might help in debugging.
3560 echo
3562 $as_echo "## ---------------- ##
3563 ## Cache variables. ##
3564 ## ---------------- ##"
3565 echo
3566 # The following way of writing the cache mishandles newlines in values,
3568 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3569 eval ac_val=\$$ac_var
3570 case $ac_val in #(
3571 *${as_nl}*)
3572 case $ac_var in #(
3573 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3574 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3575 esac
3576 case $ac_var in #(
3577 _ | IFS | as_nl) ;; #(
3578 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3579 *) { eval $ac_var=; unset $ac_var;} ;;
3580 esac ;;
3581 esac
3582 done
3583 (set) 2>&1 |
3584 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3585 *${as_nl}ac_space=\ *)
3586 sed -n \
3587 "s/'\''/'\''\\\\'\'''\''/g;
3588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3589 ;; #(
3591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3593 esac |
3594 sort
3596 echo
3598 $as_echo "## ----------------- ##
3599 ## Output variables. ##
3600 ## ----------------- ##"
3601 echo
3602 for ac_var in $ac_subst_vars
3604 eval ac_val=\$$ac_var
3605 case $ac_val in
3606 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3607 esac
3608 $as_echo "$ac_var='\''$ac_val'\''"
3609 done | sort
3610 echo
3612 if test -n "$ac_subst_files"; then
3613 $as_echo "## ------------------- ##
3614 ## File substitutions. ##
3615 ## ------------------- ##"
3616 echo
3617 for ac_var in $ac_subst_files
3619 eval ac_val=\$$ac_var
3620 case $ac_val in
3621 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3622 esac
3623 $as_echo "$ac_var='\''$ac_val'\''"
3624 done | sort
3625 echo
3628 if test -s confdefs.h; then
3629 $as_echo "## ----------- ##
3630 ## confdefs.h. ##
3631 ## ----------- ##"
3632 echo
3633 cat confdefs.h
3634 echo
3636 test "$ac_signal" != 0 &&
3637 $as_echo "$as_me: caught signal $ac_signal"
3638 $as_echo "$as_me: exit $exit_status"
3639 } >&5
3640 rm -f core *.core core.conftest.* &&
3641 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3642 exit $exit_status
3644 for ac_signal in 1 2 13 15; do
3645 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3646 done
3647 ac_signal=0
3649 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3650 rm -f -r conftest* confdefs.h
3652 $as_echo "/* confdefs.h */" > confdefs.h
3654 # Predefined preprocessor variables.
3656 cat >>confdefs.h <<_ACEOF
3657 #define PACKAGE_NAME "$PACKAGE_NAME"
3658 _ACEOF
3660 cat >>confdefs.h <<_ACEOF
3661 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3662 _ACEOF
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_STRING "$PACKAGE_STRING"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3674 _ACEOF
3676 cat >>confdefs.h <<_ACEOF
3677 #define PACKAGE_URL "$PACKAGE_URL"
3678 _ACEOF
3681 # Let the site file select an alternate cache file if it wants to.
3682 # Prefer an explicitly selected file to automatically selected ones.
3683 ac_site_file1=NONE
3684 ac_site_file2=NONE
3685 if test -n "$CONFIG_SITE"; then
3686 # We do not want a PATH search for config.site.
3687 case $CONFIG_SITE in #((
3688 -*) ac_site_file1=./$CONFIG_SITE;;
3689 */*) ac_site_file1=$CONFIG_SITE;;
3690 *) ac_site_file1=./$CONFIG_SITE;;
3691 esac
3692 elif test "x$prefix" != xNONE; then
3693 ac_site_file1=$prefix/share/config.site
3694 ac_site_file2=$prefix/etc/config.site
3695 else
3696 ac_site_file1=$ac_default_prefix/share/config.site
3697 ac_site_file2=$ac_default_prefix/etc/config.site
3699 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3701 test "x$ac_site_file" = xNONE && continue
3702 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3704 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3705 sed 's/^/| /' "$ac_site_file" >&5
3706 . "$ac_site_file" \
3707 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 as_fn_error $? "failed to load site script $ac_site_file
3710 See \`config.log' for more details" "$LINENO" 5; }
3712 done
3714 if test -r "$cache_file"; then
3715 # Some versions of bash will fail to source /dev/null (special files
3716 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3717 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3719 $as_echo "$as_me: loading cache $cache_file" >&6;}
3720 case $cache_file in
3721 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3722 *) . "./$cache_file";;
3723 esac
3725 else
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3727 $as_echo "$as_me: creating cache $cache_file" >&6;}
3728 >$cache_file
3731 # Check that the precious variables saved in the cache have kept the same
3732 # value.
3733 ac_cache_corrupted=false
3734 for ac_var in $ac_precious_vars; do
3735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3736 eval ac_new_set=\$ac_env_${ac_var}_set
3737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3738 eval ac_new_val=\$ac_env_${ac_var}_value
3739 case $ac_old_set,$ac_new_set in
3740 set,)
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3743 ac_cache_corrupted=: ;;
3744 ,set)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3747 ac_cache_corrupted=: ;;
3748 ,);;
3750 if test "x$ac_old_val" != "x$ac_new_val"; then
3751 # differences in whitespace do not lead to failure.
3752 ac_old_val_w=`echo x $ac_old_val`
3753 ac_new_val_w=`echo x $ac_new_val`
3754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3757 ac_cache_corrupted=:
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3761 eval $ac_var=\$ac_old_val
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3764 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3767 fi;;
3768 esac
3769 # Pass precious variables to config.status.
3770 if test "$ac_new_set" = set; then
3771 case $ac_new_val in
3772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3773 *) ac_arg=$ac_var=$ac_new_val ;;
3774 esac
3775 case " $ac_configure_args " in
3776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3777 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3778 esac
3780 done
3781 if $ac_cache_corrupted; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3786 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3788 ## -------------------- ##
3789 ## Main body of script. ##
3790 ## -------------------- ##
3792 ac_ext=c
3793 ac_cpp='$CPP $CPPFLAGS'
3794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 ac_config_headers="$ac_config_headers include/config.h"
3802 ac_aux_dir=
3803 for ac_dir in tools "$srcdir"/tools; do
3804 if test -f "$ac_dir/install-sh"; then
3805 ac_aux_dir=$ac_dir
3806 ac_install_sh="$ac_aux_dir/install-sh -c"
3807 break
3808 elif test -f "$ac_dir/install.sh"; then
3809 ac_aux_dir=$ac_dir
3810 ac_install_sh="$ac_aux_dir/install.sh -c"
3811 break
3812 elif test -f "$ac_dir/shtool"; then
3813 ac_aux_dir=$ac_dir
3814 ac_install_sh="$ac_aux_dir/shtool install -c"
3815 break
3817 done
3818 if test -z "$ac_aux_dir"; then
3819 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3822 # These three variables are undocumented and unsupported,
3823 # and are intended to be withdrawn in a future Autoconf release.
3824 # They can cause serious problems if a builder's source tree is in a directory
3825 # whose full name contains unusual characters.
3826 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3827 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3828 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3832 libwine_version="1.0"
3836 # Check whether --enable-win16 was given.
3837 if test "${enable_win16+set}" = set; then :
3838 enableval=$enable_win16;
3841 # Check whether --enable-win64 was given.
3842 if test "${enable_win64+set}" = set; then :
3843 enableval=$enable_win64;
3846 # Check whether --enable-tests was given.
3847 if test "${enable_tests+set}" = set; then :
3848 enableval=$enable_tests;
3851 # Check whether --enable-maintainer-mode was given.
3852 if test "${enable_maintainer_mode+set}" = set; then :
3853 enableval=$enable_maintainer_mode;
3858 # Check whether --with-alsa was given.
3859 if test "${with_alsa+set}" = set; then :
3860 withval=$with_alsa;
3864 # Check whether --with-capi was given.
3865 if test "${with_capi+set}" = set; then :
3866 withval=$with_capi;
3870 # Check whether --with-cms was given.
3871 if test "${with_cms+set}" = set; then :
3872 withval=$with_cms;
3876 # Check whether --with-coreaudio was given.
3877 if test "${with_coreaudio+set}" = set; then :
3878 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3882 # Check whether --with-cups was given.
3883 if test "${with_cups+set}" = set; then :
3884 withval=$with_cups;
3888 # Check whether --with-curses was given.
3889 if test "${with_curses+set}" = set; then :
3890 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3894 # Check whether --with-dbus was given.
3895 if test "${with_dbus+set}" = set; then :
3896 withval=$with_dbus;
3900 # Check whether --with-faudio was given.
3901 if test "${with_faudio+set}" = set; then :
3902 withval=$with_faudio;
3906 # Check whether --with-float-abi was given.
3907 if test "${with_float_abi+set}" = set; then :
3908 withval=$with_float_abi;
3912 # Check whether --with-fontconfig was given.
3913 if test "${with_fontconfig+set}" = set; then :
3914 withval=$with_fontconfig;
3918 # Check whether --with-freetype was given.
3919 if test "${with_freetype+set}" = set; then :
3920 withval=$with_freetype;
3924 # Check whether --with-gettext was given.
3925 if test "${with_gettext+set}" = set; then :
3926 withval=$with_gettext;
3930 # Check whether --with-gettextpo was given.
3931 if test "${with_gettextpo+set}" = set; then :
3932 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3936 # Check whether --with-gphoto was given.
3937 if test "${with_gphoto+set}" = set; then :
3938 withval=$with_gphoto;
3942 # Check whether --with-glu was given.
3943 if test "${with_glu+set}" = set; then :
3944 withval=$with_glu;
3948 # Check whether --with-gnutls was given.
3949 if test "${with_gnutls+set}" = set; then :
3950 withval=$with_gnutls;
3954 # Check whether --with-gsm was given.
3955 if test "${with_gsm+set}" = set; then :
3956 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3960 # Check whether --with-gssapi was given.
3961 if test "${with_gssapi+set}" = set; then :
3962 withval=$with_gssapi;
3966 # Check whether --with-gstreamer was given.
3967 if test "${with_gstreamer+set}" = set; then :
3968 withval=$with_gstreamer;
3972 # Check whether --with-hal was given.
3973 if test "${with_hal+set}" = set; then :
3974 withval=$with_hal;
3978 # Check whether --with-inotify was given.
3979 if test "${with_inotify+set}" = set; then :
3980 withval=$with_inotify;
3984 # Check whether --with-jpeg was given.
3985 if test "${with_jpeg+set}" = set; then :
3986 withval=$with_jpeg;
3990 # Check whether --with-krb5 was given.
3991 if test "${with_krb5+set}" = set; then :
3992 withval=$with_krb5;
3996 # Check whether --with-ldap was given.
3997 if test "${with_ldap+set}" = set; then :
3998 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4002 # Check whether --with-mingw was given.
4003 if test "${with_mingw+set}" = set; then :
4004 withval=$with_mingw;
4008 # Check whether --with-mpg123 was given.
4009 if test "${with_mpg123+set}" = set; then :
4010 withval=$with_mpg123;
4014 # Check whether --with-netapi was given.
4015 if test "${with_netapi+set}" = set; then :
4016 withval=$with_netapi;
4020 # Check whether --with-openal was given.
4021 if test "${with_openal+set}" = set; then :
4022 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4026 # Check whether --with-opencl was given.
4027 if test "${with_opencl+set}" = set; then :
4028 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4032 # Check whether --with-opengl was given.
4033 if test "${with_opengl+set}" = set; then :
4034 withval=$with_opengl;
4038 # Check whether --with-osmesa was given.
4039 if test "${with_osmesa+set}" = set; then :
4040 withval=$with_osmesa;
4044 # Check whether --with-oss was given.
4045 if test "${with_oss+set}" = set; then :
4046 withval=$with_oss;
4050 # Check whether --with-pcap was given.
4051 if test "${with_pcap+set}" = set; then :
4052 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4056 # Check whether --with-png was given.
4057 if test "${with_png+set}" = set; then :
4058 withval=$with_png;
4062 # Check whether --with-pthread was given.
4063 if test "${with_pthread+set}" = set; then :
4064 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4068 # Check whether --with-pulse was given.
4069 if test "${with_pulse+set}" = set; then :
4070 withval=$with_pulse;
4074 # Check whether --with-sane was given.
4075 if test "${with_sane+set}" = set; then :
4076 withval=$with_sane;
4080 # Check whether --with-sdl was given.
4081 if test "${with_sdl+set}" = set; then :
4082 withval=$with_sdl;
4086 # Check whether --with-tiff was given.
4087 if test "${with_tiff+set}" = set; then :
4088 withval=$with_tiff;
4092 # Check whether --with-udev was given.
4093 if test "${with_udev+set}" = set; then :
4094 withval=$with_udev;
4098 # Check whether --with-unwind was given.
4099 if test "${with_unwind+set}" = set; then :
4100 withval=$with_unwind;
4104 # Check whether --with-v4l2 was given.
4105 if test "${with_v4l2+set}" = set; then :
4106 withval=$with_v4l2;
4110 # Check whether --with-vkd3d was given.
4111 if test "${with_vkd3d+set}" = set; then :
4112 withval=$with_vkd3d;
4116 # Check whether --with-vulkan was given.
4117 if test "${with_vulkan+set}" = set; then :
4118 withval=$with_vulkan;
4122 # Check whether --with-xcomposite was given.
4123 if test "${with_xcomposite+set}" = set; then :
4124 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4128 # Check whether --with-xcursor was given.
4129 if test "${with_xcursor+set}" = set; then :
4130 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4134 # Check whether --with-xfixes was given.
4135 if test "${with_xfixes+set}" = set; then :
4136 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4140 # Check whether --with-xinerama was given.
4141 if test "${with_xinerama+set}" = set; then :
4142 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4146 # Check whether --with-xinput was given.
4147 if test "${with_xinput+set}" = set; then :
4148 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4152 # Check whether --with-xinput2 was given.
4153 if test "${with_xinput2+set}" = set; then :
4154 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4158 # Check whether --with-xml was given.
4159 if test "${with_xml+set}" = set; then :
4160 withval=$with_xml;
4164 # Check whether --with-xrandr was given.
4165 if test "${with_xrandr+set}" = set; then :
4166 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4170 # Check whether --with-xrender was given.
4171 if test "${with_xrender+set}" = set; then :
4172 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4176 # Check whether --with-xshape was given.
4177 if test "${with_xshape+set}" = set; then :
4178 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4182 # Check whether --with-xshm was given.
4183 if test "${with_xshm+set}" = set; then :
4184 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4188 # Check whether --with-xslt was given.
4189 if test "${with_xslt+set}" = set; then :
4190 withval=$with_xslt;
4194 # Check whether --with-xxf86vm was given.
4195 if test "${with_xxf86vm+set}" = set; then :
4196 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
4200 # Check whether --with-zlib was given.
4201 if test "${with_zlib+set}" = set; then :
4202 withval=$with_zlib;
4207 # Check whether --with-wine-tools was given.
4208 if test "${with_wine_tools+set}" = set; then :
4209 withval=$with_wine_tools;
4213 # Check whether --with-wine64 was given.
4214 if test "${with_wine64+set}" = set; then :
4215 withval=$with_wine64;
4219 # Make sure we can run config.sub.
4220 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4221 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4224 $as_echo_n "checking build system type... " >&6; }
4225 if ${ac_cv_build+:} false; then :
4226 $as_echo_n "(cached) " >&6
4227 else
4228 ac_build_alias=$build_alias
4229 test "x$ac_build_alias" = x &&
4230 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4231 test "x$ac_build_alias" = x &&
4232 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4233 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4234 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4238 $as_echo "$ac_cv_build" >&6; }
4239 case $ac_cv_build in
4240 *-*-*) ;;
4241 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4242 esac
4243 build=$ac_cv_build
4244 ac_save_IFS=$IFS; IFS='-'
4245 set x $ac_cv_build
4246 shift
4247 build_cpu=$1
4248 build_vendor=$2
4249 shift; shift
4250 # Remember, the first character of IFS is used to create $*,
4251 # except with old shells:
4252 build_os=$*
4253 IFS=$ac_save_IFS
4254 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4258 $as_echo_n "checking host system type... " >&6; }
4259 if ${ac_cv_host+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 if test "x$host_alias" = x; then
4263 ac_cv_host=$ac_cv_build
4264 else
4265 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4271 $as_echo "$ac_cv_host" >&6; }
4272 case $ac_cv_host in
4273 *-*-*) ;;
4274 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4275 esac
4276 host=$ac_cv_host
4277 ac_save_IFS=$IFS; IFS='-'
4278 set x $ac_cv_host
4279 shift
4280 host_cpu=$1
4281 host_vendor=$2
4282 shift; shift
4283 # Remember, the first character of IFS is used to create $*,
4284 # except with old shells:
4285 host_os=$*
4286 IFS=$ac_save_IFS
4287 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4291 case "$srcdir" in
4292 .) ;;
4293 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4294 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4295 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4296 fi ;;
4297 esac
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4302 set x ${MAKE-make}
4303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4304 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 cat >conftest.make <<\_ACEOF
4308 SHELL = /bin/sh
4309 all:
4310 @echo '@@@%%%=$(MAKE)=@@@%%%'
4311 _ACEOF
4312 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4313 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4314 *@@@%%%=?*=@@@%%%*)
4315 eval ac_cv_prog_make_${ac_make}_set=yes;;
4317 eval ac_cv_prog_make_${ac_make}_set=no;;
4318 esac
4319 rm -f conftest.make
4321 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4323 $as_echo "yes" >&6; }
4324 SET_MAKE=
4325 else
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4328 SET_MAKE="MAKE=${MAKE-make}"
4331 ac_ext=c
4332 ac_cpp='$CPP $CPPFLAGS'
4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4336 if test -n "$ac_tool_prefix"; then
4337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4338 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if ${ac_cv_prog_CC+:} false; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$CC"; then
4345 ac_cv_prog_CC="$CC" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4354 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 CC=$ac_cv_prog_CC
4365 if test -n "$CC"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4367 $as_echo "$CC" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4375 if test -z "$ac_cv_prog_CC"; then
4376 ac_ct_CC=$CC
4377 # Extract the first word of "gcc", so it can be a program name with args.
4378 set dummy gcc; ac_word=$2
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4382 $as_echo_n "(cached) " >&6
4383 else
4384 if test -n "$ac_ct_CC"; then
4385 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4386 else
4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH
4390 IFS=$as_save_IFS
4391 test -z "$as_dir" && as_dir=.
4392 for ac_exec_ext in '' $ac_executable_extensions; do
4393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4394 ac_cv_prog_ac_ct_CC="gcc"
4395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 break 2
4398 done
4399 done
4400 IFS=$as_save_IFS
4404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4405 if test -n "$ac_ct_CC"; then
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4407 $as_echo "$ac_ct_CC" >&6; }
4408 else
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4410 $as_echo "no" >&6; }
4413 if test "x$ac_ct_CC" = x; then
4414 CC=""
4415 else
4416 case $cross_compiling:$ac_tool_warned in
4417 yes:)
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4420 ac_tool_warned=yes ;;
4421 esac
4422 CC=$ac_ct_CC
4424 else
4425 CC="$ac_cv_prog_CC"
4428 if test -z "$CC"; then
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4431 set dummy ${ac_tool_prefix}cc; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CC="${ac_tool_prefix}cc"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CC=$ac_cv_prog_CC
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4469 if test -z "$CC"; then
4470 # Extract the first word of "cc", so it can be a program name with args.
4471 set dummy cc; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_CC+:} false; then :
4475 $as_echo_n "(cached) " >&6
4476 else
4477 if test -n "$CC"; then
4478 ac_cv_prog_CC="$CC" # Let the user override the test.
4479 else
4480 ac_prog_rejected=no
4481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH
4484 IFS=$as_save_IFS
4485 test -z "$as_dir" && as_dir=.
4486 for ac_exec_ext in '' $ac_executable_extensions; do
4487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4489 ac_prog_rejected=yes
4490 continue
4492 ac_cv_prog_CC="cc"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4494 break 2
4496 done
4497 done
4498 IFS=$as_save_IFS
4500 if test $ac_prog_rejected = yes; then
4501 # We found a bogon in the path, so make sure we never use it.
4502 set dummy $ac_cv_prog_CC
4503 shift
4504 if test $# != 0; then
4505 # We chose a different compiler from the bogus one.
4506 # However, it has the same basename, so the bogon will be chosen
4507 # first if we set CC to just the basename; use the full file name.
4508 shift
4509 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4514 CC=$ac_cv_prog_CC
4515 if test -n "$CC"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4517 $as_echo "$CC" >&6; }
4518 else
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4520 $as_echo "no" >&6; }
4525 if test -z "$CC"; then
4526 if test -n "$ac_tool_prefix"; then
4527 for ac_prog in cl.exe
4529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 $as_echo_n "checking for $ac_word... " >&6; }
4533 if ${ac_cv_prog_CC+:} false; then :
4534 $as_echo_n "(cached) " >&6
4535 else
4536 if test -n "$CC"; then
4537 ac_cv_prog_CC="$CC" # Let the user override the test.
4538 else
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH
4542 IFS=$as_save_IFS
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 break 2
4550 done
4551 done
4552 IFS=$as_save_IFS
4556 CC=$ac_cv_prog_CC
4557 if test -n "$CC"; then
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4559 $as_echo "$CC" >&6; }
4560 else
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4562 $as_echo "no" >&6; }
4566 test -n "$CC" && break
4567 done
4569 if test -z "$CC"; then
4570 ac_ct_CC=$CC
4571 for ac_prog in cl.exe
4573 # Extract the first word of "$ac_prog", so it can be a program name with args.
4574 set dummy $ac_prog; ac_word=$2
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4576 $as_echo_n "checking for $ac_word... " >&6; }
4577 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4578 $as_echo_n "(cached) " >&6
4579 else
4580 if test -n "$ac_ct_CC"; then
4581 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4582 else
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH
4586 IFS=$as_save_IFS
4587 test -z "$as_dir" && as_dir=.
4588 for ac_exec_ext in '' $ac_executable_extensions; do
4589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4590 ac_cv_prog_ac_ct_CC="$ac_prog"
4591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 break 2
4594 done
4595 done
4596 IFS=$as_save_IFS
4600 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4601 if test -n "$ac_ct_CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4603 $as_echo "$ac_ct_CC" >&6; }
4604 else
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4610 test -n "$ac_ct_CC" && break
4611 done
4613 if test "x$ac_ct_CC" = x; then
4614 CC=""
4615 else
4616 case $cross_compiling:$ac_tool_warned in
4617 yes:)
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4620 ac_tool_warned=yes ;;
4621 esac
4622 CC=$ac_ct_CC
4629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4631 as_fn_error $? "no acceptable C compiler found in \$PATH
4632 See \`config.log' for more details" "$LINENO" 5; }
4634 # Provide some information about the compiler.
4635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4636 set X $ac_compile
4637 ac_compiler=$2
4638 for ac_option in --version -v -V -qversion; do
4639 { { ac_try="$ac_compiler $ac_option >&5"
4640 case "(($ac_try" in
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4643 esac
4644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4645 $as_echo "$ac_try_echo"; } >&5
4646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4647 ac_status=$?
4648 if test -s conftest.err; then
4649 sed '10a\
4650 ... rest of stderr output deleted ...
4651 10q' conftest.err >conftest.er1
4652 cat conftest.er1 >&5
4654 rm -f conftest.er1 conftest.err
4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4656 test $ac_status = 0; }
4657 done
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4663 main ()
4667 return 0;
4669 _ACEOF
4670 ac_clean_files_save=$ac_clean_files
4671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4672 # Try to create an executable without -o first, disregard a.out.
4673 # It will help us diagnose broken compilers, and finding out an intuition
4674 # of exeext.
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4676 $as_echo_n "checking whether the C compiler works... " >&6; }
4677 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4679 # The possible output files:
4680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4682 ac_rmfiles=
4683 for ac_file in $ac_files
4685 case $ac_file in
4686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4688 esac
4689 done
4690 rm -f $ac_rmfiles
4692 if { { ac_try="$ac_link_default"
4693 case "(($ac_try" in
4694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695 *) ac_try_echo=$ac_try;;
4696 esac
4697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4698 $as_echo "$ac_try_echo"; } >&5
4699 (eval "$ac_link_default") 2>&5
4700 ac_status=$?
4701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4702 test $ac_status = 0; }; then :
4703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4706 # so that the user can short-circuit this test for compilers unknown to
4707 # Autoconf.
4708 for ac_file in $ac_files ''
4710 test -f "$ac_file" || continue
4711 case $ac_file in
4712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4714 [ab].out )
4715 # We found the default executable, but exeext='' is most
4716 # certainly right.
4717 break;;
4718 *.* )
4719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4720 then :; else
4721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4723 # We set ac_cv_exeext here because the later test for it is not
4724 # safe: cross compilers may not add the suffix if given an `-o'
4725 # argument, so we may need to know it at that point already.
4726 # Even if this section looks crufty: it has the advantage of
4727 # actually working.
4728 break;;
4730 break;;
4731 esac
4732 done
4733 test "$ac_cv_exeext" = no && ac_cv_exeext=
4735 else
4736 ac_file=''
4738 if test -z "$ac_file"; then :
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4741 $as_echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error 77 "C compiler cannot create executables
4747 See \`config.log' for more details" "$LINENO" 5; }
4748 else
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4750 $as_echo "yes" >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4753 $as_echo_n "checking for C compiler default output file name... " >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4755 $as_echo "$ac_file" >&6; }
4756 ac_exeext=$ac_cv_exeext
4758 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4759 ac_clean_files=$ac_clean_files_save
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4761 $as_echo_n "checking for suffix of executables... " >&6; }
4762 if { { ac_try="$ac_link"
4763 case "(($ac_try" in
4764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4765 *) ac_try_echo=$ac_try;;
4766 esac
4767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4768 $as_echo "$ac_try_echo"; } >&5
4769 (eval "$ac_link") 2>&5
4770 ac_status=$?
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }; then :
4773 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4775 # work properly (i.e., refer to `conftest.exe'), while it won't with
4776 # `rm'.
4777 for ac_file in conftest.exe conftest conftest.*; do
4778 test -f "$ac_file" || continue
4779 case $ac_file in
4780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4781 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4782 break;;
4783 * ) break;;
4784 esac
4785 done
4786 else
4787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4789 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4790 See \`config.log' for more details" "$LINENO" 5; }
4792 rm -f conftest conftest$ac_cv_exeext
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4794 $as_echo "$ac_cv_exeext" >&6; }
4796 rm -f conftest.$ac_ext
4797 EXEEXT=$ac_cv_exeext
4798 ac_exeext=$EXEEXT
4799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4800 /* end confdefs.h. */
4801 #include <stdio.h>
4803 main ()
4805 FILE *f = fopen ("conftest.out", "w");
4806 return ferror (f) || fclose (f) != 0;
4809 return 0;
4811 _ACEOF
4812 ac_clean_files="$ac_clean_files conftest.out"
4813 # Check that the compiler produces executables we can run. If not, either
4814 # the compiler is broken, or we cross compile.
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4816 $as_echo_n "checking whether we are cross compiling... " >&6; }
4817 if test "$cross_compiling" != yes; then
4818 { { ac_try="$ac_link"
4819 case "(($ac_try" in
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4822 esac
4823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4824 $as_echo "$ac_try_echo"; } >&5
4825 (eval "$ac_link") 2>&5
4826 ac_status=$?
4827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4828 test $ac_status = 0; }
4829 if { ac_try='./conftest$ac_cv_exeext'
4830 { { case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4835 $as_echo "$ac_try_echo"; } >&5
4836 (eval "$ac_try") 2>&5
4837 ac_status=$?
4838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4839 test $ac_status = 0; }; }; then
4840 cross_compiling=no
4841 else
4842 if test "$cross_compiling" = maybe; then
4843 cross_compiling=yes
4844 else
4845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4847 as_fn_error $? "cannot run C compiled programs.
4848 If you meant to cross compile, use \`--host'.
4849 See \`config.log' for more details" "$LINENO" 5; }
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4854 $as_echo "$cross_compiling" >&6; }
4856 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4857 ac_clean_files=$ac_clean_files_save
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4859 $as_echo_n "checking for suffix of object files... " >&6; }
4860 if ${ac_cv_objext+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4871 return 0;
4873 _ACEOF
4874 rm -f conftest.o conftest.obj
4875 if { { ac_try="$ac_compile"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compile") 2>&5
4883 ac_status=$?
4884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885 test $ac_status = 0; }; then :
4886 for ac_file in conftest.o conftest.obj conftest.*; do
4887 test -f "$ac_file" || continue;
4888 case $ac_file in
4889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4891 break;;
4892 esac
4893 done
4894 else
4895 $as_echo "$as_me: failed program was:" >&5
4896 sed 's/^/| /' conftest.$ac_ext >&5
4898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4900 as_fn_error $? "cannot compute suffix of object files: cannot compile
4901 See \`config.log' for more details" "$LINENO" 5; }
4903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4906 $as_echo "$ac_cv_objext" >&6; }
4907 OBJEXT=$ac_cv_objext
4908 ac_objext=$OBJEXT
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4911 if ${ac_cv_c_compiler_gnu+:} false; then :
4912 $as_echo_n "(cached) " >&6
4913 else
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4918 main ()
4920 #ifndef __GNUC__
4921 choke me
4922 #endif
4925 return 0;
4927 _ACEOF
4928 if ac_fn_c_try_compile "$LINENO"; then :
4929 ac_compiler_gnu=yes
4930 else
4931 ac_compiler_gnu=no
4933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4939 if test $ac_compiler_gnu = yes; then
4940 GCC=yes
4941 else
4942 GCC=
4944 ac_test_CFLAGS=${CFLAGS+set}
4945 ac_save_CFLAGS=$CFLAGS
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4948 if ${ac_cv_prog_cc_g+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 ac_save_c_werror_flag=$ac_c_werror_flag
4952 ac_c_werror_flag=yes
4953 ac_cv_prog_cc_g=no
4954 CFLAGS="-g"
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4959 main ()
4963 return 0;
4965 _ACEOF
4966 if ac_fn_c_try_compile "$LINENO"; then :
4967 ac_cv_prog_cc_g=yes
4968 else
4969 CFLAGS=""
4970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4971 /* end confdefs.h. */
4974 main ()
4978 return 0;
4980 _ACEOF
4981 if ac_fn_c_try_compile "$LINENO"; then :
4983 else
4984 ac_c_werror_flag=$ac_save_c_werror_flag
4985 CFLAGS="-g"
4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4987 /* end confdefs.h. */
4990 main ()
4994 return 0;
4996 _ACEOF
4997 if ac_fn_c_try_compile "$LINENO"; then :
4998 ac_cv_prog_cc_g=yes
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 ac_c_werror_flag=$ac_save_c_werror_flag
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5008 $as_echo "$ac_cv_prog_cc_g" >&6; }
5009 if test "$ac_test_CFLAGS" = set; then
5010 CFLAGS=$ac_save_CFLAGS
5011 elif test $ac_cv_prog_cc_g = yes; then
5012 if test "$GCC" = yes; then
5013 CFLAGS="-g -O2"
5014 else
5015 CFLAGS="-g"
5017 else
5018 if test "$GCC" = yes; then
5019 CFLAGS="-O2"
5020 else
5021 CFLAGS=
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5026 if ${ac_cv_prog_cc_c89+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 ac_cv_prog_cc_c89=no
5030 ac_save_CC=$CC
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5033 #include <stdarg.h>
5034 #include <stdio.h>
5035 struct stat;
5036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5037 struct buf { int x; };
5038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5039 static char *e (p, i)
5040 char **p;
5041 int i;
5043 return p[i];
5045 static char *f (char * (*g) (char **, int), char **p, ...)
5047 char *s;
5048 va_list v;
5049 va_start (v,p);
5050 s = g (p, va_arg (v,int));
5051 va_end (v);
5052 return s;
5055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5056 function prototypes and stuff, but not '\xHH' hex character constants.
5057 These don't provoke an error unfortunately, instead are silently treated
5058 as 'x'. The following induces an error, until -std is added to get
5059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5060 array size at least. It's necessary to write '\x00'==0 to get something
5061 that's true only with -std. */
5062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5065 inside strings and character constants. */
5066 #define FOO(x) 'x'
5067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5069 int test (int i, double x);
5070 struct s1 {int (*f) (int a);};
5071 struct s2 {int (*f) (double a);};
5072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5073 int argc;
5074 char **argv;
5076 main ()
5078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5080 return 0;
5082 _ACEOF
5083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5086 CC="$ac_save_CC $ac_arg"
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 ac_cv_prog_cc_c89=$ac_arg
5090 rm -f core conftest.err conftest.$ac_objext
5091 test "x$ac_cv_prog_cc_c89" != "xno" && break
5092 done
5093 rm -f conftest.$ac_ext
5094 CC=$ac_save_CC
5097 # AC_CACHE_VAL
5098 case "x$ac_cv_prog_cc_c89" in
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5101 $as_echo "none needed" >&6; } ;;
5102 xno)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5104 $as_echo "unsupported" >&6; } ;;
5106 CC="$CC $ac_cv_prog_cc_c89"
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5109 esac
5110 if test "x$ac_cv_prog_cc_c89" != xno; then :
5114 ac_ext=c
5115 ac_cpp='$CPP $CPPFLAGS'
5116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5120 ac_ext=cpp
5121 ac_cpp='$CXXCPP $CPPFLAGS'
5122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5125 if test -z "$CXX"; then
5126 if test -n "$CCC"; then
5127 CXX=$CCC
5128 else
5129 if test -n "$ac_tool_prefix"; then
5130 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if ${ac_cv_prog_CXX+:} false; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$CXX"; then
5140 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5153 done
5154 done
5155 IFS=$as_save_IFS
5159 CXX=$ac_cv_prog_CXX
5160 if test -n "$CXX"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5162 $as_echo "$CXX" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5169 test -n "$CXX" && break
5170 done
5172 if test -z "$CXX"; then
5173 ac_ct_CXX=$CXX
5174 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5176 # Extract the first word of "$ac_prog", so it can be a program name with args.
5177 set dummy $ac_prog; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 if test -n "$ac_ct_CXX"; then
5184 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_ac_ct_CXX="$ac_prog"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 break 2
5197 done
5198 done
5199 IFS=$as_save_IFS
5203 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5204 if test -n "$ac_ct_CXX"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5206 $as_echo "$ac_ct_CXX" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 test -n "$ac_ct_CXX" && break
5214 done
5216 if test "x$ac_ct_CXX" = x; then
5217 CXX="g++"
5218 else
5219 case $cross_compiling:$ac_tool_warned in
5220 yes:)
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5223 ac_tool_warned=yes ;;
5224 esac
5225 CXX=$ac_ct_CXX
5231 # Provide some information about the compiler.
5232 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5233 set X $ac_compile
5234 ac_compiler=$2
5235 for ac_option in --version -v -V -qversion; do
5236 { { ac_try="$ac_compiler $ac_option >&5"
5237 case "(($ac_try" in
5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5239 *) ac_try_echo=$ac_try;;
5240 esac
5241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5242 $as_echo "$ac_try_echo"; } >&5
5243 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5244 ac_status=$?
5245 if test -s conftest.err; then
5246 sed '10a\
5247 ... rest of stderr output deleted ...
5248 10q' conftest.err >conftest.er1
5249 cat conftest.er1 >&5
5251 rm -f conftest.er1 conftest.err
5252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5253 test $ac_status = 0; }
5254 done
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5257 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5258 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5265 main ()
5267 #ifndef __GNUC__
5268 choke me
5269 #endif
5272 return 0;
5274 _ACEOF
5275 if ac_fn_cxx_try_compile "$LINENO"; then :
5276 ac_compiler_gnu=yes
5277 else
5278 ac_compiler_gnu=no
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5281 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5285 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5286 if test $ac_compiler_gnu = yes; then
5287 GXX=yes
5288 else
5289 GXX=
5291 ac_test_CXXFLAGS=${CXXFLAGS+set}
5292 ac_save_CXXFLAGS=$CXXFLAGS
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5294 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5295 if ${ac_cv_prog_cxx_g+:} false; then :
5296 $as_echo_n "(cached) " >&6
5297 else
5298 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5299 ac_cxx_werror_flag=yes
5300 ac_cv_prog_cxx_g=no
5301 CXXFLAGS="-g"
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5306 main ()
5310 return 0;
5312 _ACEOF
5313 if ac_fn_cxx_try_compile "$LINENO"; then :
5314 ac_cv_prog_cxx_g=yes
5315 else
5316 CXXFLAGS=""
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main ()
5325 return 0;
5327 _ACEOF
5328 if ac_fn_cxx_try_compile "$LINENO"; then :
5330 else
5331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5332 CXXFLAGS="-g"
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5337 main ()
5341 return 0;
5343 _ACEOF
5344 if ac_fn_cxx_try_compile "$LINENO"; then :
5345 ac_cv_prog_cxx_g=yes
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5355 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5356 if test "$ac_test_CXXFLAGS" = set; then
5357 CXXFLAGS=$ac_save_CXXFLAGS
5358 elif test $ac_cv_prog_cxx_g = yes; then
5359 if test "$GXX" = yes; then
5360 CXXFLAGS="-g -O2"
5361 else
5362 CXXFLAGS="-g"
5364 else
5365 if test "$GXX" = yes; then
5366 CXXFLAGS="-O2"
5367 else
5368 CXXFLAGS=
5371 ac_ext=c
5372 ac_cpp='$CPP $CPPFLAGS'
5373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_CPPBIN+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$CPPBIN"; then
5386 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 CPPBIN=$ac_cv_prog_CPPBIN
5406 if test -n "$CPPBIN"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5408 $as_echo "$CPPBIN" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5416 if test -z "$ac_cv_prog_CPPBIN"; then
5417 ac_ct_CPPBIN=$CPPBIN
5418 # Extract the first word of "cpp", so it can be a program name with args.
5419 set dummy cpp; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_CPPBIN"; then
5426 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_CPPBIN="cpp"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5446 if test -n "$ac_ct_CPPBIN"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5448 $as_echo "$ac_ct_CPPBIN" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5454 if test "x$ac_ct_CPPBIN" = x; then
5455 CPPBIN="cpp"
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458 yes:)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5462 esac
5463 CPPBIN=$ac_ct_CPPBIN
5465 else
5466 CPPBIN="$ac_cv_prog_CPPBIN"
5470 cat >>confdefs.h <<_ACEOF
5471 #define EXEEXT "$ac_exeext"
5472 _ACEOF
5474 if test -n "$ac_tool_prefix"; then
5475 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5476 set dummy ${ac_tool_prefix}ld; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_LD+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$LD"; then
5483 ac_cv_prog_LD="$LD" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_LD="${ac_tool_prefix}ld"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 LD=$ac_cv_prog_LD
5503 if test -n "$LD"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5505 $as_echo "$LD" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5513 if test -z "$ac_cv_prog_LD"; then
5514 ac_ct_LD=$LD
5515 # Extract the first word of "ld", so it can be a program name with args.
5516 set dummy ld; ac_word=$2
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5518 $as_echo_n "checking for $ac_word... " >&6; }
5519 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5520 $as_echo_n "(cached) " >&6
5521 else
5522 if test -n "$ac_ct_LD"; then
5523 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5524 else
5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5526 for as_dir in $PATH
5528 IFS=$as_save_IFS
5529 test -z "$as_dir" && as_dir=.
5530 for ac_exec_ext in '' $ac_executable_extensions; do
5531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5532 ac_cv_prog_ac_ct_LD="ld"
5533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 break 2
5536 done
5537 done
5538 IFS=$as_save_IFS
5542 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5543 if test -n "$ac_ct_LD"; then
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5545 $as_echo "$ac_ct_LD" >&6; }
5546 else
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5548 $as_echo "no" >&6; }
5551 if test "x$ac_ct_LD" = x; then
5552 LD=""
5553 else
5554 case $cross_compiling:$ac_tool_warned in
5555 yes:)
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5558 ac_tool_warned=yes ;;
5559 esac
5560 LD=$ac_ct_LD
5562 else
5563 LD="$ac_cv_prog_LD"
5567 case $host in
5568 *-darwin*)
5569 with_fontconfig=${with_fontconfig:-no}
5571 *-mingw32*|*-cygwin*)
5572 enable_win16=${enable_win16:-no}
5573 with_mingw=${with_mingw:-no}
5574 CFLAGS="$CFLAGS -D_WIN32"
5576 esac
5578 case $host in
5579 x86_64*|amd64*)
5580 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5581 then
5582 CC="$CC -m32"
5583 CXX="$CXX -m32"
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5586 $as_echo_n "checking whether $CC works... " >&6; }
5587 if ${wine_cv_cc_m32+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5594 main ()
5598 return 0;
5600 _ACEOF
5601 if ac_fn_c_try_link "$LINENO"; then :
5602 wine_cv_cc_m32=yes
5603 else
5604 wine_cv_cc_m32=no
5606 rm -f core conftest.err conftest.$ac_objext \
5607 conftest$ac_exeext conftest.$ac_ext
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5610 $as_echo "$wine_cv_cc_m32" >&6; }
5611 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
5612 host_cpu="i386"
5613 notice_platform="32-bit "
5614 TARGETFLAGS="-m32"
5616 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5617 export PKG_CONFIG_PATH
5618 enable_win16=${enable_win16:-yes}
5619 with_unwind=${with_unwind:-no}
5620 else
5621 if test "x${GCC}" = "xyes"
5622 then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5624 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5625 if ${wine_cv_builtin_ms_va_list+:} false; then :
5626 $as_echo_n "(cached) " >&6
5627 else
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5630 #include <stdarg.h>
5632 main ()
5634 void func(__builtin_ms_va_list *args);
5636 return 0;
5638 _ACEOF
5639 if ac_fn_c_try_compile "$LINENO"; then :
5640 wine_cv_builtin_ms_va_list=yes
5641 else
5642 wine_cv_builtin_ms_va_list=no
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5647 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5648 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
5650 CC="$CC -m64"
5651 CXX="$CXX -m64"
5652 host_cpu="x86_64"
5653 notice_platform="64-bit "
5654 TARGETFLAGS="-m64"
5658 arm*)
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5660 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5661 if ${wine_cv_thumb+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5666 int ac_test(int i) { return i; }
5668 main ()
5670 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_link "$LINENO"; then :
5676 wine_cv_thumb=yes
5677 else
5678 wine_cv_thumb=no
5680 rm -f core conftest.err conftest.$ac_objext \
5681 conftest$ac_exeext conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5684 $as_echo "$wine_cv_thumb" >&6; }
5685 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5686 case $with_float_abi in
5687 soft|softfp|hard)
5688 float_abi=$with_float_abi ;;
5690 case $host_os in
5691 *eabihf)
5692 float_abi=hard ;;
5694 float_abi=softfp
5695 saved_CFLAGS=$CFLAGS
5696 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5698 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5699 if ${wine_cv_float_abi+:} false; then :
5700 $as_echo_n "(cached) " >&6
5701 else
5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5706 main ()
5708 asm("vmrs r2,fpscr");
5710 return 0;
5712 _ACEOF
5713 if ac_fn_c_try_link "$LINENO"; then :
5714 wine_cv_float_abi=yes
5715 else
5716 wine_cv_float_abi=no
5718 rm -f core conftest.err conftest.$ac_objext \
5719 conftest$ac_exeext conftest.$ac_ext
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5722 $as_echo "$wine_cv_float_abi" >&6; }
5723 if test $wine_cv_float_abi = no
5724 then
5725 float_abi=soft
5726 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5728 CFLAGS=$saved_CFLAGS
5729 esac
5731 esac
5732 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5733 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5736 aarch64*)
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5738 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5739 if ${wine_cv_builtin_ms_va_list+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5744 #include <stdarg.h>
5746 main ()
5748 void func(__builtin_ms_va_list *args);
5750 return 0;
5752 _ACEOF
5753 if ac_fn_c_try_compile "$LINENO"; then :
5754 wine_cv_builtin_ms_va_list=yes
5755 else
5756 wine_cv_builtin_ms_va_list=no
5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5761 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5762 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5764 i[3456789]86*)
5765 enable_win16=${enable_win16:-yes}
5766 with_unwind=${with_unwind:-no}
5768 esac
5770 enable_win16=${enable_win16:-no}
5771 enable_win64=${enable_win64:-no}
5773 enable_winetest=${enable_winetest:-$enable_tests}
5775 if test "x$enable_win64" = "xyes"
5776 then
5777 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5778 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5779 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5783 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5784 if ${wine_cv_toolsdir+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 wine_cv_toolsdir="$with_wine_tools"
5788 if test -z "$with_wine_tools"; then
5789 if test "$cross_compiling" = "yes"; then
5790 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5791 elif test -n "$with_wine64"; then
5792 wine_cv_toolsdir="$with_wine64"
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5797 $as_echo "$wine_cv_toolsdir" >&6; }
5798 if test -z "$wine_cv_toolsdir"; then
5799 wine_makedep=tools/makedep
5800 TOOLSDIR="\$(top_builddir)"
5802 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5803 wine_makedep=$wine_cv_toolsdir/tools/makedep
5804 case "$wine_cv_toolsdir" in
5805 /*) TOOLSDIR=$wine_cv_toolsdir
5807 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5809 esac
5810 enable_tools=${enable_tools:-no}
5811 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5812 else
5813 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5815 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5816 then
5817 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5821 for ac_prog in flex
5823 # Extract the first word of "$ac_prog", so it can be a program name with args.
5824 set dummy $ac_prog; ac_word=$2
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if ${ac_cv_prog_FLEX+:} false; then :
5828 $as_echo_n "(cached) " >&6
5829 else
5830 if test -n "$FLEX"; then
5831 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5832 else
5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5834 for as_dir in $PATH
5836 IFS=$as_save_IFS
5837 test -z "$as_dir" && as_dir=.
5838 for ac_exec_ext in '' $ac_executable_extensions; do
5839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5840 ac_cv_prog_FLEX="$ac_prog"
5841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5842 break 2
5844 done
5845 done
5846 IFS=$as_save_IFS
5850 FLEX=$ac_cv_prog_FLEX
5851 if test -n "$FLEX"; then
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5853 $as_echo "$FLEX" >&6; }
5854 else
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5856 $as_echo "no" >&6; }
5860 test -n "$FLEX" && break
5861 done
5862 test -n "$FLEX" || FLEX="none"
5864 if test "$FLEX" = "none"
5865 then
5866 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5869 $as_echo_n "checking whether flex is recent enough... " >&6; }
5870 if ${wine_cv_recent_flex+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 cat >conftest.l <<EOF
5874 %top{
5875 #include "prediluvian.h"
5879 if $FLEX -t conftest.l >/dev/null 2>&5
5880 then
5881 wine_cv_recent_flex=yes
5882 else
5883 wine_cv_recent_flex=no
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5887 $as_echo "$wine_cv_recent_flex" >&6; }
5888 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
5890 for ac_prog in bison
5892 # Extract the first word of "$ac_prog", so it can be a program name with args.
5893 set dummy $ac_prog; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_BISON+:} false; then :
5897 $as_echo_n "(cached) " >&6
5898 else
5899 if test -n "$BISON"; then
5900 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_BISON="$ac_prog"
5910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5919 BISON=$ac_cv_prog_BISON
5920 if test -n "$BISON"; then
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5922 $as_echo "$BISON" >&6; }
5923 else
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5929 test -n "$BISON" && break
5930 done
5931 test -n "$BISON" || BISON="none"
5933 if test "$BISON" = "none"
5934 then
5935 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5938 $as_echo_n "checking whether bison is recent enough... " >&6; }
5939 if ${wine_cv_recent_bison+:} false; then :
5940 $as_echo_n "(cached) " >&6
5941 else
5942 cat >conftest.y <<EOF
5943 %define parse.error verbose
5945 empty: ;
5947 if $BISON conftest.y >/dev/null 2>&5
5948 then
5949 wine_cv_recent_bison=yes
5950 else
5951 wine_cv_recent_bison=no
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5955 $as_echo "$wine_cv_recent_bison" >&6; }
5956 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
5958 if test -n "$ac_tool_prefix"; then
5959 for ac_prog in ar gar
5961 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5962 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 $as_echo_n "checking for $ac_word... " >&6; }
5965 if ${ac_cv_prog_AR+:} false; then :
5966 $as_echo_n "(cached) " >&6
5967 else
5968 if test -n "$AR"; then
5969 ac_cv_prog_AR="$AR" # Let the user override the test.
5970 else
5971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 for as_dir in $PATH
5974 IFS=$as_save_IFS
5975 test -z "$as_dir" && as_dir=.
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 AR=$ac_cv_prog_AR
5989 if test -n "$AR"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5991 $as_echo "$AR" >&6; }
5992 else
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5998 test -n "$AR" && break
5999 done
6001 if test -z "$AR"; then
6002 ac_ct_AR=$AR
6003 for ac_prog in ar gar
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy $ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$ac_ct_AR"; then
6013 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_AR="$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6033 if test -n "$ac_ct_AR"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6035 $as_echo "$ac_ct_AR" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$ac_ct_AR" && break
6043 done
6045 if test "x$ac_ct_AR" = x; then
6046 AR="ar"
6047 else
6048 case $cross_compiling:$ac_tool_warned in
6049 yes:)
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052 ac_tool_warned=yes ;;
6053 esac
6054 AR=$ac_ct_AR
6058 if test -n "$ac_tool_prefix"; then
6059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6060 set dummy ${ac_tool_prefix}strip; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_STRIP+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$STRIP"; then
6067 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6086 STRIP=$ac_cv_prog_STRIP
6087 if test -n "$STRIP"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6089 $as_echo "$STRIP" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6097 if test -z "$ac_cv_prog_STRIP"; then
6098 ac_ct_STRIP=$STRIP
6099 # Extract the first word of "strip", so it can be a program name with args.
6100 set dummy strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 if test -n "$ac_ct_STRIP"; then
6107 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6112 IFS=$as_save_IFS
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_ac_ct_STRIP="strip"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6127 if test -n "$ac_ct_STRIP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6129 $as_echo "$ac_ct_STRIP" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6135 if test "x$ac_ct_STRIP" = x; then
6136 STRIP="strip"
6137 else
6138 case $cross_compiling:$ac_tool_warned in
6139 yes:)
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6142 ac_tool_warned=yes ;;
6143 esac
6144 STRIP=$ac_ct_STRIP
6146 else
6147 STRIP="$ac_cv_prog_STRIP"
6150 if test -n "$ac_tool_prefix"; then
6151 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6152 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6154 $as_echo_n "checking for $ac_word... " >&6; }
6155 if ${ac_cv_prog_RANLIB+:} false; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 if test -n "$RANLIB"; then
6159 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6160 else
6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 for as_dir in $PATH
6164 IFS=$as_save_IFS
6165 test -z "$as_dir" && as_dir=.
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6168 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6170 break 2
6172 done
6173 done
6174 IFS=$as_save_IFS
6178 RANLIB=$ac_cv_prog_RANLIB
6179 if test -n "$RANLIB"; then
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6181 $as_echo "$RANLIB" >&6; }
6182 else
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6184 $as_echo "no" >&6; }
6189 if test -z "$ac_cv_prog_RANLIB"; then
6190 ac_ct_RANLIB=$RANLIB
6191 # Extract the first word of "ranlib", so it can be a program name with args.
6192 set dummy ranlib; ac_word=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6196 $as_echo_n "(cached) " >&6
6197 else
6198 if test -n "$ac_ct_RANLIB"; then
6199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6200 else
6201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 for as_dir in $PATH
6204 IFS=$as_save_IFS
6205 test -z "$as_dir" && as_dir=.
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6208 ac_cv_prog_ac_ct_RANLIB="ranlib"
6209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6210 break 2
6212 done
6213 done
6214 IFS=$as_save_IFS
6218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6219 if test -n "$ac_ct_RANLIB"; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6221 $as_echo "$ac_ct_RANLIB" >&6; }
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6224 $as_echo "no" >&6; }
6227 if test "x$ac_ct_RANLIB" = x; then
6228 RANLIB=":"
6229 else
6230 case $cross_compiling:$ac_tool_warned in
6231 yes:)
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6234 ac_tool_warned=yes ;;
6235 esac
6236 RANLIB=$ac_ct_RANLIB
6238 else
6239 RANLIB="$ac_cv_prog_RANLIB"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6243 $as_echo_n "checking whether ln -s works... " >&6; }
6244 LN_S=$as_ln_s
6245 if test "$LN_S" = "ln -s"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6247 $as_echo "yes" >&6; }
6248 else
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6250 $as_echo "no, using $LN_S" >&6; }
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6254 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6255 if ${ac_cv_path_GREP+:} false; then :
6256 $as_echo_n "(cached) " >&6
6257 else
6258 if test -z "$GREP"; then
6259 ac_path_GREP_found=false
6260 # Loop through the user's path and test for each of PROGNAME-LIST
6261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6264 IFS=$as_save_IFS
6265 test -z "$as_dir" && as_dir=.
6266 for ac_prog in grep ggrep; do
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6269 as_fn_executable_p "$ac_path_GREP" || continue
6270 # Check for GNU ac_path_GREP and select it if it is found.
6271 # Check for GNU $ac_path_GREP
6272 case `"$ac_path_GREP" --version 2>&1` in
6273 *GNU*)
6274 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6276 ac_count=0
6277 $as_echo_n 0123456789 >"conftest.in"
6278 while :
6280 cat "conftest.in" "conftest.in" >"conftest.tmp"
6281 mv "conftest.tmp" "conftest.in"
6282 cp "conftest.in" "conftest.nl"
6283 $as_echo 'GREP' >> "conftest.nl"
6284 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6285 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6286 as_fn_arith $ac_count + 1 && ac_count=$as_val
6287 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6288 # Best one so far, save it but keep looking for a better one
6289 ac_cv_path_GREP="$ac_path_GREP"
6290 ac_path_GREP_max=$ac_count
6292 # 10*(2^10) chars as input seems more than enough
6293 test $ac_count -gt 10 && break
6294 done
6295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6296 esac
6298 $ac_path_GREP_found && break 3
6299 done
6300 done
6301 done
6302 IFS=$as_save_IFS
6303 if test -z "$ac_cv_path_GREP"; then
6304 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6306 else
6307 ac_cv_path_GREP=$GREP
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6312 $as_echo "$ac_cv_path_GREP" >&6; }
6313 GREP="$ac_cv_path_GREP"
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6317 $as_echo_n "checking for egrep... " >&6; }
6318 if ${ac_cv_path_EGREP+:} false; then :
6319 $as_echo_n "(cached) " >&6
6320 else
6321 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6322 then ac_cv_path_EGREP="$GREP -E"
6323 else
6324 if test -z "$EGREP"; then
6325 ac_path_EGREP_found=false
6326 # Loop through the user's path and test for each of PROGNAME-LIST
6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6330 IFS=$as_save_IFS
6331 test -z "$as_dir" && as_dir=.
6332 for ac_prog in egrep; do
6333 for ac_exec_ext in '' $ac_executable_extensions; do
6334 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6335 as_fn_executable_p "$ac_path_EGREP" || continue
6336 # Check for GNU ac_path_EGREP and select it if it is found.
6337 # Check for GNU $ac_path_EGREP
6338 case `"$ac_path_EGREP" --version 2>&1` in
6339 *GNU*)
6340 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6342 ac_count=0
6343 $as_echo_n 0123456789 >"conftest.in"
6344 while :
6346 cat "conftest.in" "conftest.in" >"conftest.tmp"
6347 mv "conftest.tmp" "conftest.in"
6348 cp "conftest.in" "conftest.nl"
6349 $as_echo 'EGREP' >> "conftest.nl"
6350 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6351 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6352 as_fn_arith $ac_count + 1 && ac_count=$as_val
6353 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6354 # Best one so far, save it but keep looking for a better one
6355 ac_cv_path_EGREP="$ac_path_EGREP"
6356 ac_path_EGREP_max=$ac_count
6358 # 10*(2^10) chars as input seems more than enough
6359 test $ac_count -gt 10 && break
6360 done
6361 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6362 esac
6364 $ac_path_EGREP_found && break 3
6365 done
6366 done
6367 done
6368 IFS=$as_save_IFS
6369 if test -z "$ac_cv_path_EGREP"; then
6370 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6372 else
6373 ac_cv_path_EGREP=$EGREP
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6379 $as_echo "$ac_cv_path_EGREP" >&6; }
6380 EGREP="$ac_cv_path_EGREP"
6383 # Extract the first word of "ldconfig", so it can be a program name with args.
6384 set dummy ldconfig; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if ${ac_cv_path_LDCONFIG+:} false; then :
6388 $as_echo_n "(cached) " >&6
6389 else
6390 case $LDCONFIG in
6391 [\\/]* | ?:[\\/]*)
6392 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6396 for as_dir in /sbin /usr/sbin $PATH
6398 IFS=$as_save_IFS
6399 test -z "$as_dir" && as_dir=.
6400 for ac_exec_ext in '' $ac_executable_extensions; do
6401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6402 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 break 2
6406 done
6407 done
6408 IFS=$as_save_IFS
6410 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6412 esac
6414 LDCONFIG=$ac_cv_path_LDCONFIG
6415 if test -n "$LDCONFIG"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6417 $as_echo "$LDCONFIG" >&6; }
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6424 for ac_prog in msgfmt
6426 # Extract the first word of "$ac_prog", so it can be a program name with args.
6427 set dummy $ac_prog; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_MSGFMT+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$MSGFMT"; then
6434 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6443 ac_cv_prog_MSGFMT="$ac_prog"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6447 done
6448 done
6449 IFS=$as_save_IFS
6453 MSGFMT=$ac_cv_prog_MSGFMT
6454 if test -n "$MSGFMT"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6456 $as_echo "$MSGFMT" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6463 test -n "$MSGFMT" && break
6464 done
6465 test -n "$MSGFMT" || MSGFMT="false"
6467 if ${ac_tool_prefix+:} false; then :
6468 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6469 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 if test -n "$PKG_CONFIG"; then
6476 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6481 IFS=$as_save_IFS
6482 test -z "$as_dir" && as_dir=.
6483 for ac_exec_ext in '' $ac_executable_extensions; do
6484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6485 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487 break 2
6489 done
6490 done
6491 IFS=$as_save_IFS
6495 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6496 if test -n "$PKG_CONFIG"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6498 $as_echo "$PKG_CONFIG" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6506 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6507 if test "x$cross_compiling" = xyes; then :
6509 else
6510 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6511 # Extract the first word of "pkg-config", so it can be a program name with args.
6512 set dummy pkg-config; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$PKG_CONFIG"; then
6519 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6528 ac_cv_prog_PKG_CONFIG="pkg-config"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6539 if test -n "$PKG_CONFIG"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6541 $as_echo "$PKG_CONFIG" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 else
6550 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6553 if test "x$enable_maintainer_mode" != "xyes"
6554 then
6555 FONTFORGE=""
6556 RSVG=""
6557 CONVERT=""
6558 ICOTOOL=""
6559 else
6560 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6561 for ac_prog in fontforge
6563 # Extract the first word of "$ac_prog", so it can be a program name with args.
6564 set dummy $ac_prog; ac_word=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if ${ac_cv_prog_FONTFORGE+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 if test -n "$FONTFORGE"; then
6571 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6572 else
6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574 for as_dir in $PATH
6576 IFS=$as_save_IFS
6577 test -z "$as_dir" && as_dir=.
6578 for ac_exec_ext in '' $ac_executable_extensions; do
6579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6580 ac_cv_prog_FONTFORGE="$ac_prog"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582 break 2
6584 done
6585 done
6586 IFS=$as_save_IFS
6590 FONTFORGE=$ac_cv_prog_FONTFORGE
6591 if test -n "$FONTFORGE"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6593 $as_echo "$FONTFORGE" >&6; }
6594 else
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 $as_echo "no" >&6; }
6600 test -n "$FONTFORGE" && break
6601 done
6602 test -n "$FONTFORGE" || FONTFORGE="false"
6604 for ac_prog in rsvg-convert rsvg
6606 # Extract the first word of "$ac_prog", so it can be a program name with args.
6607 set dummy $ac_prog; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_RSVG+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$RSVG"; then
6614 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623 ac_cv_prog_RSVG="$ac_prog"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 RSVG=$ac_cv_prog_RSVG
6634 if test -n "$RSVG"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6636 $as_echo "$RSVG" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6643 test -n "$RSVG" && break
6644 done
6645 test -n "$RSVG" || RSVG="false"
6647 for ac_prog in convert
6649 # Extract the first word of "$ac_prog", so it can be a program name with args.
6650 set dummy $ac_prog; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if ${ac_cv_prog_CONVERT+:} false; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$CONVERT"; then
6657 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6666 ac_cv_prog_CONVERT="$ac_prog"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6670 done
6671 done
6672 IFS=$as_save_IFS
6676 CONVERT=$ac_cv_prog_CONVERT
6677 if test -n "$CONVERT"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6679 $as_echo "$CONVERT" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6686 test -n "$CONVERT" && break
6687 done
6688 test -n "$CONVERT" || CONVERT="false"
6690 for ac_prog in icotool
6692 # Extract the first word of "$ac_prog", so it can be a program name with args.
6693 set dummy $ac_prog; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_ICOTOOL+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 if test -n "$ICOTOOL"; then
6700 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6705 IFS=$as_save_IFS
6706 test -z "$as_dir" && as_dir=.
6707 for ac_exec_ext in '' $ac_executable_extensions; do
6708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6709 ac_cv_prog_ICOTOOL="$ac_prog"
6710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711 break 2
6713 done
6714 done
6715 IFS=$as_save_IFS
6719 ICOTOOL=$ac_cv_prog_ICOTOOL
6720 if test -n "$ICOTOOL"; then
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6722 $as_echo "$ICOTOOL" >&6; }
6723 else
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6729 test -n "$ICOTOOL" && break
6730 done
6731 test -n "$ICOTOOL" || ICOTOOL="false"
6733 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6734 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6736 if test "$CONVERT" = false
6737 then
6738 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6739 else
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6741 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6742 convert_version=`convert --version | head -n1`
6743 if test "x$convert_version" != "x"
6744 then
6745 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6746 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6747 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6748 then
6749 CONVERT=false
6752 if test "$CONVERT" = false
6753 then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6755 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6756 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6757 else
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6759 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6763 if test "$ICOTOOL" = false
6764 then
6765 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6766 else
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6768 $as_echo_n "checking for recent enough icotool... " >&6; }
6769 icotool_version=`icotool --version | head -n1`
6770 if test "x$icotool_version" != "x"
6771 then
6772 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6773 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6774 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6775 then
6776 ICOTOOL=false
6777 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6780 if test "$ICOTOOL" = false
6781 then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6783 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6785 else
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6787 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6791 with_gettext=yes
6792 with_gettextpo=yes
6795 test "x$with_gettext" != xno || MSGFMT=false
6796 if test "$MSGFMT" != "false"
6797 then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6799 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6800 if ${wine_cv_msgfmt_contexts+:} false; then :
6801 $as_echo_n "(cached) " >&6
6802 else
6803 cat >conftest.po <<EOF
6804 # comment
6805 msgctxt "ctxt"
6806 msgid "id"
6807 msgstr "str"
6809 if $MSGFMT -o /dev/null conftest.po 2>&5
6810 then
6811 wine_cv_msgfmt_contexts=yes
6812 else
6813 wine_cv_msgfmt_contexts=no
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6817 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6818 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6820 if test "$MSGFMT" = false; then :
6821 case "x$with_gettext" in
6822 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6823 xno) ;;
6824 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6825 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6826 esac
6827 enable_po=${enable_po:-no}
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6832 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6833 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6834 $as_echo_n "(cached) " >&6
6835 else
6836 ac_check_lib_save_LIBS=$LIBS
6837 LIBS="-li386 $LIBS"
6838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6839 /* end confdefs.h. */
6841 /* Override any GCC internal prototype to avoid an error.
6842 Use char because int might match the return type of a GCC
6843 builtin and then its argument prototype would still apply. */
6844 #ifdef __cplusplus
6845 extern "C"
6846 #endif
6847 char i386_set_ldt ();
6849 main ()
6851 return i386_set_ldt ();
6853 return 0;
6855 _ACEOF
6856 if ac_fn_c_try_link "$LINENO"; then :
6857 ac_cv_lib_i386_i386_set_ldt=yes
6858 else
6859 ac_cv_lib_i386_i386_set_ldt=no
6861 rm -f core conftest.err conftest.$ac_objext \
6862 conftest$ac_exeext conftest.$ac_ext
6863 LIBS=$ac_check_lib_save_LIBS
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6866 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6867 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6868 I386_LIBS="-li386"
6873 OPENGL_LIBS=""
6877 # Check whether --enable-largefile was given.
6878 if test "${enable_largefile+set}" = set; then :
6879 enableval=$enable_largefile;
6882 if test "$enable_largefile" != no; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6885 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6886 if ${ac_cv_sys_largefile_CC+:} false; then :
6887 $as_echo_n "(cached) " >&6
6888 else
6889 ac_cv_sys_largefile_CC=no
6890 if test "$GCC" != yes; then
6891 ac_save_CC=$CC
6892 while :; do
6893 # IRIX 6.2 and later do not support large files by default,
6894 # so use the C compiler's -n32 option if that helps.
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6897 #include <sys/types.h>
6898 /* Check that off_t can represent 2**63 - 1 correctly.
6899 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6900 since some C++ compilers masquerading as C compilers
6901 incorrectly reject 9223372036854775807. */
6902 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6903 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6904 && LARGE_OFF_T % 2147483647 == 1)
6905 ? 1 : -1];
6907 main ()
6911 return 0;
6913 _ACEOF
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 break
6917 rm -f core conftest.err conftest.$ac_objext
6918 CC="$CC -n32"
6919 if ac_fn_c_try_compile "$LINENO"; then :
6920 ac_cv_sys_largefile_CC=' -n32'; break
6922 rm -f core conftest.err conftest.$ac_objext
6923 break
6924 done
6925 CC=$ac_save_CC
6926 rm -f conftest.$ac_ext
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6930 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6931 if test "$ac_cv_sys_largefile_CC" != no; then
6932 CC=$CC$ac_cv_sys_largefile_CC
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6936 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6937 if ${ac_cv_sys_file_offset_bits+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 while :; do
6941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6942 /* end confdefs.h. */
6943 #include <sys/types.h>
6944 /* Check that off_t can represent 2**63 - 1 correctly.
6945 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6946 since some C++ compilers masquerading as C compilers
6947 incorrectly reject 9223372036854775807. */
6948 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6949 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6950 && LARGE_OFF_T % 2147483647 == 1)
6951 ? 1 : -1];
6953 main ()
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_compile "$LINENO"; then :
6961 ac_cv_sys_file_offset_bits=no; break
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 #define _FILE_OFFSET_BITS 64
6967 #include <sys/types.h>
6968 /* Check that off_t can represent 2**63 - 1 correctly.
6969 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6970 since some C++ compilers masquerading as C compilers
6971 incorrectly reject 9223372036854775807. */
6972 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6973 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6974 && LARGE_OFF_T % 2147483647 == 1)
6975 ? 1 : -1];
6977 main ()
6981 return 0;
6983 _ACEOF
6984 if ac_fn_c_try_compile "$LINENO"; then :
6985 ac_cv_sys_file_offset_bits=64; break
6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6988 ac_cv_sys_file_offset_bits=unknown
6989 break
6990 done
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6993 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6994 case $ac_cv_sys_file_offset_bits in #(
6995 no | unknown) ;;
6997 cat >>confdefs.h <<_ACEOF
6998 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6999 _ACEOF
7001 esac
7002 rm -rf conftest*
7003 if test $ac_cv_sys_file_offset_bits = unknown; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7005 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7006 if ${ac_cv_sys_large_files+:} false; then :
7007 $as_echo_n "(cached) " >&6
7008 else
7009 while :; do
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #include <sys/types.h>
7013 /* Check that off_t can represent 2**63 - 1 correctly.
7014 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7015 since some C++ compilers masquerading as C compilers
7016 incorrectly reject 9223372036854775807. */
7017 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7018 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7019 && LARGE_OFF_T % 2147483647 == 1)
7020 ? 1 : -1];
7022 main ()
7026 return 0;
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_sys_large_files=no; break
7032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h. */
7035 #define _LARGE_FILES 1
7036 #include <sys/types.h>
7037 /* Check that off_t can represent 2**63 - 1 correctly.
7038 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7039 since some C++ compilers masquerading as C compilers
7040 incorrectly reject 9223372036854775807. */
7041 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7042 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7043 && LARGE_OFF_T % 2147483647 == 1)
7044 ? 1 : -1];
7046 main ()
7050 return 0;
7052 _ACEOF
7053 if ac_fn_c_try_compile "$LINENO"; then :
7054 ac_cv_sys_large_files=1; break
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 ac_cv_sys_large_files=unknown
7058 break
7059 done
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7062 $as_echo "$ac_cv_sys_large_files" >&6; }
7063 case $ac_cv_sys_large_files in #(
7064 no | unknown) ;;
7066 cat >>confdefs.h <<_ACEOF
7067 #define _LARGE_FILES $ac_cv_sys_large_files
7068 _ACEOF
7070 esac
7071 rm -rf conftest*
7078 ac_ext=c
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7084 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7085 # On Suns, sometimes $CPP names a directory.
7086 if test -n "$CPP" && test -d "$CPP"; then
7087 CPP=
7089 if test -z "$CPP"; then
7090 if ${ac_cv_prog_CPP+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 # Double quotes because CPP needs to be expanded
7094 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7096 ac_preproc_ok=false
7097 for ac_c_preproc_warn_flag in '' yes
7099 # Use a header file that comes with gcc, so configuring glibc
7100 # with a fresh cross-compiler works.
7101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7102 # <limits.h> exists even on freestanding compilers.
7103 # On the NeXT, cc -E runs the code through the compiler's parser,
7104 # not just through cpp. "Syntax error" is here to catch this case.
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7106 /* end confdefs.h. */
7107 #ifdef __STDC__
7108 # include <limits.h>
7109 #else
7110 # include <assert.h>
7111 #endif
7112 Syntax error
7113 _ACEOF
7114 if ac_fn_c_try_cpp "$LINENO"; then :
7116 else
7117 # Broken: fails on valid input.
7118 continue
7120 rm -f conftest.err conftest.i conftest.$ac_ext
7122 # OK, works on sane cases. Now check whether nonexistent headers
7123 # can be detected and how.
7124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7125 /* end confdefs.h. */
7126 #include <ac_nonexistent.h>
7127 _ACEOF
7128 if ac_fn_c_try_cpp "$LINENO"; then :
7129 # Broken: success on invalid input.
7130 continue
7131 else
7132 # Passes both tests.
7133 ac_preproc_ok=:
7134 break
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7138 done
7139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7140 rm -f conftest.i conftest.err conftest.$ac_ext
7141 if $ac_preproc_ok; then :
7142 break
7145 done
7146 ac_cv_prog_CPP=$CPP
7149 CPP=$ac_cv_prog_CPP
7150 else
7151 ac_cv_prog_CPP=$CPP
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7154 $as_echo "$CPP" >&6; }
7155 ac_preproc_ok=false
7156 for ac_c_preproc_warn_flag in '' yes
7158 # Use a header file that comes with gcc, so configuring glibc
7159 # with a fresh cross-compiler works.
7160 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7161 # <limits.h> exists even on freestanding compilers.
7162 # On the NeXT, cc -E runs the code through the compiler's parser,
7163 # not just through cpp. "Syntax error" is here to catch this case.
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #ifdef __STDC__
7167 # include <limits.h>
7168 #else
7169 # include <assert.h>
7170 #endif
7171 Syntax error
7172 _ACEOF
7173 if ac_fn_c_try_cpp "$LINENO"; then :
7175 else
7176 # Broken: fails on valid input.
7177 continue
7179 rm -f conftest.err conftest.i conftest.$ac_ext
7181 # OK, works on sane cases. Now check whether nonexistent headers
7182 # can be detected and how.
7183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h. */
7185 #include <ac_nonexistent.h>
7186 _ACEOF
7187 if ac_fn_c_try_cpp "$LINENO"; then :
7188 # Broken: success on invalid input.
7189 continue
7190 else
7191 # Passes both tests.
7192 ac_preproc_ok=:
7193 break
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7197 done
7198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7199 rm -f conftest.i conftest.err conftest.$ac_ext
7200 if $ac_preproc_ok; then :
7202 else
7203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7205 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7206 See \`config.log' for more details" "$LINENO" 5; }
7209 ac_ext=c
7210 ac_cpp='$CPP $CPPFLAGS'
7211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7217 $as_echo_n "checking for ANSI C header files... " >&6; }
7218 if ${ac_cv_header_stdc+:} false; then :
7219 $as_echo_n "(cached) " >&6
7220 else
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7223 #include <stdlib.h>
7224 #include <stdarg.h>
7225 #include <string.h>
7226 #include <float.h>
7229 main ()
7233 return 0;
7235 _ACEOF
7236 if ac_fn_c_try_compile "$LINENO"; then :
7237 ac_cv_header_stdc=yes
7238 else
7239 ac_cv_header_stdc=no
7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 if test $ac_cv_header_stdc = yes; then
7244 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7247 #include <string.h>
7249 _ACEOF
7250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7251 $EGREP "memchr" >/dev/null 2>&1; then :
7253 else
7254 ac_cv_header_stdc=no
7256 rm -f conftest*
7260 if test $ac_cv_header_stdc = yes; then
7261 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* end confdefs.h. */
7264 #include <stdlib.h>
7266 _ACEOF
7267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7268 $EGREP "free" >/dev/null 2>&1; then :
7270 else
7271 ac_cv_header_stdc=no
7273 rm -f conftest*
7277 if test $ac_cv_header_stdc = yes; then
7278 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7279 if test "$cross_compiling" = yes; then :
7281 else
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7283 /* end confdefs.h. */
7284 #include <ctype.h>
7285 #include <stdlib.h>
7286 #if ((' ' & 0x0FF) == 0x020)
7287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7288 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7289 #else
7290 # define ISLOWER(c) \
7291 (('a' <= (c) && (c) <= 'i') \
7292 || ('j' <= (c) && (c) <= 'r') \
7293 || ('s' <= (c) && (c) <= 'z'))
7294 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7295 #endif
7297 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7299 main ()
7301 int i;
7302 for (i = 0; i < 256; i++)
7303 if (XOR (islower (i), ISLOWER (i))
7304 || toupper (i) != TOUPPER (i))
7305 return 2;
7306 return 0;
7308 _ACEOF
7309 if ac_fn_c_try_run "$LINENO"; then :
7311 else
7312 ac_cv_header_stdc=no
7314 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7315 conftest.$ac_objext conftest.beam conftest.$ac_ext
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7321 $as_echo "$ac_cv_header_stdc" >&6; }
7322 if test $ac_cv_header_stdc = yes; then
7324 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7328 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7329 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7330 inttypes.h stdint.h unistd.h
7331 do :
7332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7345 for ac_header in \
7346 AL/al.h \
7347 ApplicationServices/ApplicationServices.h \
7348 AudioToolbox/AudioConverter.h \
7349 AudioUnit/AudioUnit.h \
7350 AudioUnit/AudioComponent.h \
7351 CL/cl.h \
7352 Carbon/Carbon.h \
7353 CommonCrypto/CommonCryptor.h \
7354 CoreAudio/CoreAudio.h \
7355 CoreServices/CoreServices.h \
7356 DiskArbitration/DiskArbitration.h \
7357 EGL/egl.h \
7358 IOKit/IOKitLib.h \
7359 IOKit/hid/IOHIDLib.h \
7360 OpenAL/al.h \
7361 OpenCL/opencl.h \
7362 QuickTime/ImageCompression.h \
7363 Security/Security.h \
7364 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7365 SystemConfiguration/SCNetworkConfiguration.h \
7366 alias.h \
7367 arpa/inet.h \
7368 arpa/nameser.h \
7369 asm/types.h \
7370 asm/user.h \
7371 curses.h \
7372 dirent.h \
7373 dlfcn.h \
7374 elf.h \
7375 float.h \
7376 fnmatch.h \
7377 getopt.h \
7378 gettext-po.h \
7379 grp.h \
7380 gsm.h \
7381 gsm/gsm.h \
7382 ieeefp.h \
7383 inet/mib2.h \
7384 kstat.h \
7385 libproc.h \
7386 link.h \
7387 linux/cdrom.h \
7388 linux/compiler.h \
7389 linux/filter.h \
7390 linux/hdreg.h \
7391 linux/hidraw.h \
7392 linux/input.h \
7393 linux/ioctl.h \
7394 linux/joystick.h \
7395 linux/major.h \
7396 linux/param.h \
7397 linux/serial.h \
7398 linux/types.h \
7399 linux/ucdrom.h \
7400 lwp.h \
7401 mach-o/nlist.h \
7402 mach-o/loader.h \
7403 mach/mach.h \
7404 mach/machine.h \
7405 machine/cpu.h \
7406 machine/limits.h \
7407 machine/sysarch.h \
7408 mntent.h \
7409 ncurses.h \
7410 netdb.h \
7411 netinet/in.h \
7412 netinet/in_systm.h \
7413 netinet/tcp.h \
7414 netinet/tcp_fsm.h \
7415 pcap/pcap.h \
7416 poll.h \
7417 port.h \
7418 pthread.h \
7419 pwd.h \
7420 sched.h \
7421 scsi/scsi.h \
7422 scsi/scsi_ioctl.h \
7423 scsi/sg.h \
7424 stdbool.h \
7425 stdint.h \
7426 stropts.h \
7427 sys/attr.h \
7428 sys/auxv.h \
7429 sys/cdio.h \
7430 sys/elf32.h \
7431 sys/epoll.h \
7432 sys/event.h \
7433 sys/exec_elf.h \
7434 sys/filio.h \
7435 sys/ioctl.h \
7436 sys/ipc.h \
7437 sys/limits.h \
7438 sys/link.h \
7439 sys/mman.h \
7440 sys/modem.h \
7441 sys/msg.h \
7442 sys/mtio.h \
7443 sys/param.h \
7444 sys/poll.h \
7445 sys/prctl.h \
7446 sys/protosw.h \
7447 sys/ptrace.h \
7448 sys/queue.h \
7449 sys/resource.h \
7450 sys/scsiio.h \
7451 sys/shm.h \
7452 sys/signal.h \
7453 sys/socket.h \
7454 sys/socketvar.h \
7455 sys/sockio.h \
7456 sys/statvfs.h \
7457 sys/strtio.h \
7458 sys/syscall.h \
7459 sys/sysinfo.h \
7460 sys/tihdr.h \
7461 sys/time.h \
7462 sys/timeout.h \
7463 sys/times.h \
7464 sys/uio.h \
7465 sys/user.h \
7466 sys/utsname.h \
7467 sys/vnode.h \
7468 sys/wait.h \
7469 syscall.h \
7470 termios.h \
7471 unistd.h \
7472 utime.h \
7473 valgrind/memcheck.h \
7474 valgrind/valgrind.h
7476 do :
7477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7479 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7480 cat >>confdefs.h <<_ACEOF
7481 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7482 _ACEOF
7486 done
7488 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7489 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7491 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7496 if test $ac_cv_header_sys_mkdev_h = no; then
7497 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7498 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7500 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7507 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7508 if ${ac_cv_header_stat_broken+:} false; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h. */
7513 #include <sys/types.h>
7514 #include <sys/stat.h>
7516 #if defined S_ISBLK && defined S_IFDIR
7517 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7518 #endif
7520 #if defined S_ISBLK && defined S_IFCHR
7521 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7522 #endif
7524 #if defined S_ISLNK && defined S_IFREG
7525 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7526 #endif
7528 #if defined S_ISSOCK && defined S_IFREG
7529 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7530 #endif
7532 _ACEOF
7533 if ac_fn_c_try_compile "$LINENO"; then :
7534 ac_cv_header_stat_broken=no
7535 else
7536 ac_cv_header_stat_broken=yes
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7541 $as_echo "$ac_cv_header_stat_broken" >&6; }
7542 if test $ac_cv_header_stat_broken = yes; then
7544 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7550 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7551 do :
7552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7553 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7554 #ifdef HAVE_SYS_PARAM_H
7555 # include <sys/param.h>
7556 #endif
7558 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7559 cat >>confdefs.h <<_ACEOF
7560 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7561 _ACEOF
7565 done
7568 for ac_header in \
7569 netinet/ip.h \
7570 net/if.h \
7571 net/if_arp.h \
7572 net/if_dl.h \
7573 net/if_types.h \
7574 net/route.h \
7575 netinet/if_ether.h \
7576 netinet/if_inarp.h \
7577 netinet/in_pcb.h \
7578 netinet/ip_icmp.h \
7579 netinet/ip_var.h \
7580 netinet/udp.h \
7581 netipx/ipx.h \
7582 sys/un.h \
7584 do :
7585 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7587 #ifdef HAVE_SYS_SOCKET_H
7588 # include <sys/socket.h>
7589 #endif
7590 #ifdef HAVE_SYS_SOCKETVAR_H
7591 # include <sys/socketvar.h>
7592 #endif
7593 #ifdef HAVE_NET_ROUTE_H
7594 # include <net/route.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IN_H
7597 # include <netinet/in.h>
7598 #endif
7599 #ifdef HAVE_NETINET_IN_SYSTM_H
7600 # include <netinet/in_systm.h>
7601 #endif
7602 #ifdef HAVE_NET_IF_H
7603 # include <net/if.h>
7604 #endif
7605 #ifdef HAVE_NETINET_IP_H
7606 # include <netinet/ip.h>
7607 #endif
7609 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7610 cat >>confdefs.h <<_ACEOF
7611 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7612 _ACEOF
7616 done
7619 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7620 do :
7621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7622 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7623 #ifdef HAVE_ALIAS_H
7624 # include <alias.h>
7625 #endif
7626 #ifdef HAVE_SYS_SOCKET_H
7627 # include <sys/socket.h>
7628 #endif
7629 #ifdef HAVE_SYS_SOCKETVAR_H
7630 # include <sys/socketvar.h>
7631 #endif
7632 #ifdef HAVE_SYS_TIMEOUT_H
7633 # include <sys/timeout.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IN_H
7636 # include <netinet/in.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IN_SYSTM_H
7639 # include <netinet/in_systm.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IP_H
7642 # include <netinet/ip.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IP_VAR_H
7645 # include <netinet/ip_var.h>
7646 #endif
7647 #ifdef HAVE_NETINET_IP_ICMP_H
7648 # include <netinet/ip_icmp.h>
7649 #endif
7650 #ifdef HAVE_NETINET_UDP_H
7651 # include <netinet/udp.h>
7652 #endif
7653 #ifdef HAVE_NETINET_TCP_H
7654 # include <netinet/tcp.h>
7655 #endif
7656 #ifdef HAVE_NETINET_TCP_TIMER_H
7657 #include <netinet/tcp_timer.h>
7658 #endif
7660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7661 cat >>confdefs.h <<_ACEOF
7662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7663 _ACEOF
7667 done
7670 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7671 do :
7672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7674 #ifdef HAVE_ASM_TYPES_H
7675 # include <asm/types.h>
7676 #endif
7677 #ifdef HAVE_SYS_SOCKET_H
7678 # include <sys/socket.h>
7679 #endif
7680 #ifdef HAVE_LINUX_TYPES_H
7681 # include <linux/types.h>
7682 #endif
7684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7685 cat >>confdefs.h <<_ACEOF
7686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7687 _ACEOF
7691 done
7694 for ac_header in resolv.h
7695 do :
7696 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7697 #ifdef HAVE_SYS_SOCKET_H
7698 # include <sys/socket.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IN_H
7701 # include <netinet/in.h>
7702 #endif
7703 #ifdef HAVE_ARPA_NAMESER_H
7704 # include <arpa/nameser.h>
7705 #endif
7707 if test "x$ac_cv_header_resolv_h" = xyes; then :
7708 cat >>confdefs.h <<_ACEOF
7709 #define HAVE_RESOLV_H 1
7710 _ACEOF
7714 done
7717 for ac_header in ifaddrs.h
7718 do :
7719 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7721 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7722 cat >>confdefs.h <<_ACEOF
7723 #define HAVE_IFADDRS_H 1
7724 _ACEOF
7728 done
7731 for ac_header in sys/ucontext.h
7732 do :
7733 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7735 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7736 cat >>confdefs.h <<_ACEOF
7737 #define HAVE_SYS_UCONTEXT_H 1
7738 _ACEOF
7742 done
7745 for ac_header in sys/thr.h
7746 do :
7747 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7748 #ifdef HAVE_SYS_UCONTEXT_H
7749 #include <sys/ucontext.h>
7750 #endif
7752 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define HAVE_SYS_THR_H 1
7755 _ACEOF
7759 done
7762 for ac_header in pthread_np.h
7763 do :
7764 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7765 #include <pthread.h>
7766 #endif
7768 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_PTHREAD_NP_H 1
7771 _ACEOF
7775 done
7778 for ac_header in linux/videodev2.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7781 #include <sys/time.h>
7782 #endif
7783 #include <sys/types.h>
7784 #ifdef HAVE_ASM_TYPES_H
7785 #include <asm/types.h>
7786 #endif
7788 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7789 cat >>confdefs.h <<_ACEOF
7790 #define HAVE_LINUX_VIDEODEV2_H 1
7791 _ACEOF
7795 done
7798 for ac_header in libprocstat.h
7799 do :
7800 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7801 #include <sys/param.h>
7802 #endif
7803 #ifdef HAVE_SYS_QUEUE_H
7804 #include <sys/queue.h>
7805 #endif
7806 #ifdef HAVE_SYS_SOCKET_H
7807 #include <sys/socket.h>
7808 #endif
7810 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7811 cat >>confdefs.h <<_ACEOF
7812 #define HAVE_LIBPROCSTAT_H 1
7813 _ACEOF
7817 done
7821 DLLFLAGS="-D_REENTRANT"
7823 LDRPATH_INSTALL=""
7825 LDRPATH_LOCAL=""
7827 LDDLLFLAGS=""
7829 LDEXECFLAGS=""
7831 TOP_INSTALL_LIB=""
7833 TOP_INSTALL_DEV=""
7835 WINELOADER_LDFLAGS=""
7837 WINEPRELOADER_LDFLAGS=""
7839 LIBEXT="so"
7840 DLLEXT=".so"
7841 # Extract the first word of "ldd", so it can be a program name with args.
7842 set dummy ldd; ac_word=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 $as_echo_n "checking for $ac_word... " >&6; }
7845 if ${ac_cv_path_LDD+:} false; then :
7846 $as_echo_n "(cached) " >&6
7847 else
7848 case $LDD in
7849 [\\/]* | ?:[\\/]*)
7850 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854 as_dummy="/sbin:/usr/sbin:$PATH"
7855 for as_dir in $as_dummy
7857 IFS=$as_save_IFS
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7861 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863 break 2
7865 done
7866 done
7867 IFS=$as_save_IFS
7869 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7871 esac
7873 LDD=$ac_cv_path_LDD
7874 if test -n "$LDD"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7876 $as_echo "$LDD" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7883 if test -n "$ac_tool_prefix"; then
7884 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7885 set dummy ${ac_tool_prefix}otool; ac_word=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887 $as_echo_n "checking for $ac_word... " >&6; }
7888 if ${ac_cv_prog_OTOOL+:} false; then :
7889 $as_echo_n "(cached) " >&6
7890 else
7891 if test -n "$OTOOL"; then
7892 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7893 else
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 for as_dir in $PATH
7897 IFS=$as_save_IFS
7898 test -z "$as_dir" && as_dir=.
7899 for ac_exec_ext in '' $ac_executable_extensions; do
7900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903 break 2
7905 done
7906 done
7907 IFS=$as_save_IFS
7911 OTOOL=$ac_cv_prog_OTOOL
7912 if test -n "$OTOOL"; then
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7914 $as_echo "$OTOOL" >&6; }
7915 else
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7922 if test -z "$ac_cv_prog_OTOOL"; then
7923 ac_ct_OTOOL=$OTOOL
7924 # Extract the first word of "otool", so it can be a program name with args.
7925 set dummy otool; ac_word=$2
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7927 $as_echo_n "checking for $ac_word... " >&6; }
7928 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7929 $as_echo_n "(cached) " >&6
7930 else
7931 if test -n "$ac_ct_OTOOL"; then
7932 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7933 else
7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7935 for as_dir in $PATH
7937 IFS=$as_save_IFS
7938 test -z "$as_dir" && as_dir=.
7939 for ac_exec_ext in '' $ac_executable_extensions; do
7940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7941 ac_cv_prog_ac_ct_OTOOL="otool"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943 break 2
7945 done
7946 done
7947 IFS=$as_save_IFS
7951 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7952 if test -n "$ac_ct_OTOOL"; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7954 $as_echo "$ac_ct_OTOOL" >&6; }
7955 else
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7957 $as_echo "no" >&6; }
7960 if test "x$ac_ct_OTOOL" = x; then
7961 OTOOL="otool"
7962 else
7963 case $cross_compiling:$ac_tool_warned in
7964 yes:)
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7967 ac_tool_warned=yes ;;
7968 esac
7969 OTOOL=$ac_ct_OTOOL
7971 else
7972 OTOOL="$ac_cv_prog_OTOOL"
7975 if test -n "$ac_tool_prefix"; then
7976 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7977 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_READELF+:} false; then :
7981 $as_echo_n "(cached) " >&6
7982 else
7983 if test -n "$READELF"; then
7984 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7985 else
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 for as_dir in $PATH
7989 IFS=$as_save_IFS
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7993 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 break 2
7997 done
7998 done
7999 IFS=$as_save_IFS
8003 READELF=$ac_cv_prog_READELF
8004 if test -n "$READELF"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8006 $as_echo "$READELF" >&6; }
8007 else
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8014 if test -z "$ac_cv_prog_READELF"; then
8015 ac_ct_READELF=$READELF
8016 # Extract the first word of "readelf", so it can be a program name with args.
8017 set dummy readelf; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8021 $as_echo_n "(cached) " >&6
8022 else
8023 if test -n "$ac_ct_READELF"; then
8024 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8025 else
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8027 for as_dir in $PATH
8029 IFS=$as_save_IFS
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_ac_ct_READELF="readelf"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 break 2
8037 done
8038 done
8039 IFS=$as_save_IFS
8043 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8044 if test -n "$ac_ct_READELF"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8046 $as_echo "$ac_ct_READELF" >&6; }
8047 else
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8052 if test "x$ac_ct_READELF" = x; then
8053 READELF="true"
8054 else
8055 case $cross_compiling:$ac_tool_warned in
8056 yes:)
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8059 ac_tool_warned=yes ;;
8060 esac
8061 READELF=$ac_ct_READELF
8063 else
8064 READELF="$ac_cv_prog_READELF"
8067 wine_rules_file=conf$$rules.make
8068 rm -f $wine_rules_file
8069 SUBDIRS=""
8071 DISABLED_SUBDIRS=""
8073 CONFIGURE_TARGETS=""
8076 wine_fn_append_file ()
8078 as_fn_append $1 " \\$as_nl $2"
8081 wine_fn_append_rule ()
8083 $as_echo "$1" >>$wine_rules_file
8086 wine_fn_config_makefile ()
8088 wine_fn_append_file SUBDIRS $1
8089 if eval test \"x\$"$2"\" = x"no"; then :
8090 wine_fn_append_file DISABLED_SUBDIRS $1
8094 wine_fn_config_symlink ()
8096 ac_links=$@
8097 wine_fn_append_rule \
8098 "$ac_links:
8099 @./config.status \$@"
8100 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8103 wine_binary="wine"
8104 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8105 WINELOADER_PROGRAMS="$wine_binary"
8107 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8109 case $host_os in
8110 cygwin*|mingw32*)
8111 if test -n "$ac_tool_prefix"; then
8112 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115 $as_echo_n "checking for $ac_word... " >&6; }
8116 if ${ac_cv_prog_DLLTOOL+:} false; then :
8117 $as_echo_n "(cached) " >&6
8118 else
8119 if test -n "$DLLTOOL"; then
8120 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8121 else
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 for as_dir in $PATH
8125 IFS=$as_save_IFS
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8129 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8131 break 2
8133 done
8134 done
8135 IFS=$as_save_IFS
8139 DLLTOOL=$ac_cv_prog_DLLTOOL
8140 if test -n "$DLLTOOL"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8142 $as_echo "$DLLTOOL" >&6; }
8143 else
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145 $as_echo "no" >&6; }
8150 if test -z "$ac_cv_prog_DLLTOOL"; then
8151 ac_ct_DLLTOOL=$DLLTOOL
8152 # Extract the first word of "dlltool", so it can be a program name with args.
8153 set dummy dlltool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$ac_ct_DLLTOOL"; then
8160 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8173 done
8174 done
8175 IFS=$as_save_IFS
8179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8182 $as_echo "$ac_ct_DLLTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8188 if test "x$ac_ct_DLLTOOL" = x; then
8189 DLLTOOL="false"
8190 else
8191 case $cross_compiling:$ac_tool_warned in
8192 yes:)
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8195 ac_tool_warned=yes ;;
8196 esac
8197 DLLTOOL=$ac_ct_DLLTOOL
8199 else
8200 DLLTOOL="$ac_cv_prog_DLLTOOL"
8203 LIBEXT="dll"
8204 DLLEXT=""
8205 case $host_cpu in
8206 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8207 esac
8208 enable_iphlpapi=${enable_iphlpapi:-no}
8209 enable_kernel32=${enable_kernel32:-no}
8210 enable_ntdll=${enable_ntdll:-no}
8211 enable_ws2_32=${enable_ws2_32:-no}
8212 enable_loader=${enable_loader:-no}
8213 enable_server=${enable_server:-no}
8214 with_x=${with_x:-no}
8215 with_pthread=${with_pthread:-no}
8218 darwin*|macosx*)
8219 ac_ext=m
8220 ac_cpp='$OBJCPP $CPPFLAGS'
8221 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8222 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8223 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8225 ac_ext=m
8226 ac_cpp='$OBJCPP $CPPFLAGS'
8227 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8230 if test -n "$ac_tool_prefix"; then
8231 for ac_prog in gcc objcc objc cc CC
8233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8236 $as_echo_n "checking for $ac_word... " >&6; }
8237 if ${ac_cv_prog_OBJC+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 if test -n "$OBJC"; then
8241 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8242 else
8243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 for as_dir in $PATH
8246 IFS=$as_save_IFS
8247 test -z "$as_dir" && as_dir=.
8248 for ac_exec_ext in '' $ac_executable_extensions; do
8249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8250 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 break 2
8254 done
8255 done
8256 IFS=$as_save_IFS
8260 OBJC=$ac_cv_prog_OBJC
8261 if test -n "$OBJC"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8263 $as_echo "$OBJC" >&6; }
8264 else
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8270 test -n "$OBJC" && break
8271 done
8273 if test -z "$OBJC"; then
8274 ac_ct_OBJC=$OBJC
8275 for ac_prog in gcc objcc objc cc CC
8277 # Extract the first word of "$ac_prog", so it can be a program name with args.
8278 set dummy $ac_prog; ac_word=$2
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8280 $as_echo_n "checking for $ac_word... " >&6; }
8281 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8282 $as_echo_n "(cached) " >&6
8283 else
8284 if test -n "$ac_ct_OBJC"; then
8285 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8286 else
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 for as_dir in $PATH
8290 IFS=$as_save_IFS
8291 test -z "$as_dir" && as_dir=.
8292 for ac_exec_ext in '' $ac_executable_extensions; do
8293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8294 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8296 break 2
8298 done
8299 done
8300 IFS=$as_save_IFS
8304 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8305 if test -n "$ac_ct_OBJC"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8307 $as_echo "$ac_ct_OBJC" >&6; }
8308 else
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8314 test -n "$ac_ct_OBJC" && break
8315 done
8317 if test "x$ac_ct_OBJC" = x; then
8318 OBJC="gcc"
8319 else
8320 case $cross_compiling:$ac_tool_warned in
8321 yes:)
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8324 ac_tool_warned=yes ;;
8325 esac
8326 OBJC=$ac_ct_OBJC
8330 # Provide some information about the compiler.
8331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8332 set X $ac_compile
8333 ac_compiler=$2
8334 for ac_option in --version -v -V -qversion; do
8335 { { ac_try="$ac_compiler $ac_option >&5"
8336 case "(($ac_try" in
8337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8338 *) ac_try_echo=$ac_try;;
8339 esac
8340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8341 $as_echo "$ac_try_echo"; } >&5
8342 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8343 ac_status=$?
8344 if test -s conftest.err; then
8345 sed '10a\
8346 ... rest of stderr output deleted ...
8347 10q' conftest.err >conftest.er1
8348 cat conftest.er1 >&5
8350 rm -f conftest.er1 conftest.err
8351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8352 test $ac_status = 0; }
8353 done
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8356 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8357 if ${ac_cv_objc_compiler_gnu+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8364 main ()
8366 #ifndef __GNUC__
8367 choke me
8368 #endif
8371 return 0;
8373 _ACEOF
8374 if ac_fn_objc_try_compile "$LINENO"; then :
8375 ac_compiler_gnu=yes
8376 else
8377 ac_compiler_gnu=no
8379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8380 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8384 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8385 if test $ac_compiler_gnu = yes; then
8386 GOBJC=yes
8387 else
8388 GOBJC=
8390 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8391 ac_save_OBJCFLAGS=$OBJCFLAGS
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8393 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8394 if ${ac_cv_prog_objc_g+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_save_objc_werror_flag=$ac_objc_werror_flag
8398 ac_objc_werror_flag=yes
8399 ac_cv_prog_objc_g=no
8400 OBJCFLAGS="-g"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8405 main ()
8409 return 0;
8411 _ACEOF
8412 if ac_fn_objc_try_compile "$LINENO"; then :
8413 ac_cv_prog_objc_g=yes
8414 else
8415 OBJCFLAGS=""
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8420 main ()
8424 return 0;
8426 _ACEOF
8427 if ac_fn_objc_try_compile "$LINENO"; then :
8429 else
8430 ac_objc_werror_flag=$ac_save_objc_werror_flag
8431 OBJCFLAGS="-g"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8436 main ()
8440 return 0;
8442 _ACEOF
8443 if ac_fn_objc_try_compile "$LINENO"; then :
8444 ac_cv_prog_objc_g=yes
8446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8451 ac_objc_werror_flag=$ac_save_objc_werror_flag
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8454 $as_echo "$ac_cv_prog_objc_g" >&6; }
8455 if test "$ac_test_OBJCFLAGS" = set; then
8456 OBJCFLAGS=$ac_save_OBJCFLAGS
8457 elif test $ac_cv_prog_objc_g = yes; then
8458 if test "$GOBJC" = yes; then
8459 OBJCFLAGS="-g -O2"
8460 else
8461 OBJCFLAGS="-g"
8463 else
8464 if test "$GOBJC" = yes; then
8465 OBJCFLAGS="-O2"
8466 else
8467 OBJCFLAGS=
8470 ac_ext=m
8471 ac_cpp='$OBJCPP $CPPFLAGS'
8472 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8473 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8474 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8477 ac_ext=m
8478 ac_cpp='$OBJCPP $CPPFLAGS'
8479 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8480 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8481 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8483 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8484 if test -z "$OBJCPP"; then
8485 if ${ac_cv_prog_OBJCPP+:} false; then :
8486 $as_echo_n "(cached) " >&6
8487 else
8488 # Double quotes because OBJCPP needs to be expanded
8489 for OBJCPP in "$OBJC -E" "/lib/cpp"
8491 ac_preproc_ok=false
8492 for ac_objc_preproc_warn_flag in '' yes
8494 # Use a header file that comes with gcc, so configuring glibc
8495 # with a fresh cross-compiler works.
8496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8497 # <limits.h> exists even on freestanding compilers.
8498 # On the NeXT, cc -E runs the code through the compiler's parser,
8499 # not just through cpp. "Syntax error" is here to catch this case.
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 #ifdef __STDC__
8503 # include <limits.h>
8504 #else
8505 # include <assert.h>
8506 #endif
8507 Syntax error
8508 _ACEOF
8509 if ac_fn_objc_try_cpp "$LINENO"; then :
8511 else
8512 # Broken: fails on valid input.
8513 continue
8515 rm -f conftest.err conftest.i conftest.$ac_ext
8517 # OK, works on sane cases. Now check whether nonexistent headers
8518 # can be detected and how.
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 #include <ac_nonexistent.h>
8522 _ACEOF
8523 if ac_fn_objc_try_cpp "$LINENO"; then :
8524 # Broken: success on invalid input.
8525 continue
8526 else
8527 # Passes both tests.
8528 ac_preproc_ok=:
8529 break
8531 rm -f conftest.err conftest.i conftest.$ac_ext
8533 done
8534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8535 rm -f conftest.i conftest.err conftest.$ac_ext
8536 if $ac_preproc_ok; then :
8537 break
8540 done
8541 ac_cv_prog_OBJCPP=$OBJCPP
8544 OBJCPP=$ac_cv_prog_OBJCPP
8545 else
8546 ac_cv_prog_OBJCPP=$OBJCPP
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8549 $as_echo "$OBJCPP" >&6; }
8550 ac_preproc_ok=false
8551 for ac_objc_preproc_warn_flag in '' yes
8553 # Use a header file that comes with gcc, so configuring glibc
8554 # with a fresh cross-compiler works.
8555 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8556 # <limits.h> exists even on freestanding compilers.
8557 # On the NeXT, cc -E runs the code through the compiler's parser,
8558 # not just through cpp. "Syntax error" is here to catch this case.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #ifdef __STDC__
8562 # include <limits.h>
8563 #else
8564 # include <assert.h>
8565 #endif
8566 Syntax error
8567 _ACEOF
8568 if ac_fn_objc_try_cpp "$LINENO"; then :
8570 else
8571 # Broken: fails on valid input.
8572 continue
8574 rm -f conftest.err conftest.i conftest.$ac_ext
8576 # OK, works on sane cases. Now check whether nonexistent headers
8577 # can be detected and how.
8578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8579 /* end confdefs.h. */
8580 #include <ac_nonexistent.h>
8581 _ACEOF
8582 if ac_fn_objc_try_cpp "$LINENO"; then :
8583 # Broken: success on invalid input.
8584 continue
8585 else
8586 # Passes both tests.
8587 ac_preproc_ok=:
8588 break
8590 rm -f conftest.err conftest.i conftest.$ac_ext
8592 done
8593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8594 rm -f conftest.i conftest.err conftest.$ac_ext
8595 if $ac_preproc_ok; then :
8597 else
8598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8600 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8601 See \`config.log' for more details" "$LINENO" 5; }
8604 ac_ext=m
8605 ac_cpp='$OBJCPP $CPPFLAGS'
8606 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8607 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8608 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8611 for ac_header in Metal/Metal.h
8612 do :
8613 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8614 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8615 cat >>confdefs.h <<_ACEOF
8616 #define HAVE_METAL_METAL_H 1
8617 _ACEOF
8621 done
8623 ac_ext=c
8624 ac_cpp='$CPP $CPPFLAGS'
8625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8629 LIBEXT="dylib"
8630 DLLFLAGS="$DLLFLAGS -fPIC"
8631 LDDLLFLAGS="-fPIC"
8632 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8633 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8634 COREFOUNDATION_LIBS="-framework CoreFoundation"
8636 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8638 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8640 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8642 CORESERVICES_LIBS="-framework CoreServices"
8644 APPKIT_LIBS="-framework AppKit"
8646 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8649 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8651 wine_can_build_preloader=yes
8652 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8654 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8655 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8656 $as_echo_n "(cached) " >&6
8657 else
8658 ac_wine_try_cflags_saved=$CFLAGS
8659 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8661 /* end confdefs.h. */
8662 int main(int argc, char **argv) { return 0; }
8663 _ACEOF
8664 if ac_fn_c_try_link "$LINENO"; then :
8665 ac_cv_cflags__Wl__no_new_main__e__main=yes
8666 else
8667 ac_cv_cflags__Wl__no_new_main__e__main=no
8669 rm -f core conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 CFLAGS=$ac_wine_try_cflags_saved
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8674 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8675 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8676 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8678 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8679 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8680 $as_echo_n "(cached) " >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 int main(int argc, char **argv) { return 0; }
8687 _ACEOF
8688 if ac_fn_c_try_link "$LINENO"; then :
8689 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8690 else
8691 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8693 rm -f core conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 CFLAGS=$ac_wine_try_cflags_saved
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8698 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8699 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8700 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8701 else
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8703 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8704 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8705 $as_echo_n "(cached) " >&6
8706 else
8707 ac_wine_try_cflags_saved=$CFLAGS
8708 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8710 /* end confdefs.h. */
8711 int main(int argc, char **argv) { return 0; }
8712 _ACEOF
8713 if ac_fn_c_try_link "$LINENO"; then :
8714 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8715 else
8716 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8718 rm -f core conftest.err conftest.$ac_objext \
8719 conftest$ac_exeext conftest.$ac_ext
8720 CFLAGS=$ac_wine_try_cflags_saved
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8723 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8724 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8725 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8726 else
8727 wine_can_build_preloader=no
8730 else
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8732 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8733 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8734 $as_echo_n "(cached) " >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8739 /* end confdefs.h. */
8740 int main(int argc, char **argv) { return 0; }
8741 _ACEOF
8742 if ac_fn_c_try_link "$LINENO"; then :
8743 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8744 else
8745 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8747 rm -f core conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 CFLAGS=$ac_wine_try_cflags_saved
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8752 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8753 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8754 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8755 else
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8757 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8758 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8759 $as_echo_n "(cached) " >&6
8760 else
8761 ac_wine_try_cflags_saved=$CFLAGS
8762 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8764 /* end confdefs.h. */
8765 int main(int argc, char **argv) { return 0; }
8766 _ACEOF
8767 if ac_fn_c_try_link "$LINENO"; then :
8768 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8769 else
8770 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8772 rm -f core conftest.err conftest.$ac_objext \
8773 conftest$ac_exeext conftest.$ac_ext
8774 CFLAGS=$ac_wine_try_cflags_saved
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8777 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8778 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8779 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8780 else
8781 wine_can_build_preloader=no
8785 if test "$wine_can_build_preloader" = "yes"
8786 then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8788 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8789 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -Wl,-no_pie"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__Wl__no_pie=yes
8800 else
8801 ac_cv_cflags__Wl__no_pie=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8808 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8809 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8810 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8812 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8813 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8814 else
8815 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8818 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8819 then
8820 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8823 if test "$ac_cv_header_Security_Security_h" = "yes"
8824 then
8825 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8827 ac_save_LIBS="$LIBS"
8828 LIBS="$LIBS $SECURITY_LIBS"
8829 for ac_func in SSLCopyPeerCertificates
8830 do :
8831 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8832 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8833 cat >>confdefs.h <<_ACEOF
8834 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8835 _ACEOF
8838 done
8840 LIBS="$ac_save_LIBS"
8842 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8843 then
8844 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8845 then
8846 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8848 else
8849 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8852 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8853 ac_save_LIBS="$LIBS"
8854 LIBS="$LIBS $COREAUDIO_LIBS"
8855 for ac_func in AUGraphAddNode
8856 do :
8857 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8858 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8859 cat >>confdefs.h <<_ACEOF
8860 #define HAVE_AUGRAPHADDNODE 1
8861 _ACEOF
8864 done
8866 LIBS="$ac_save_LIBS"
8868 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8869 then
8870 OPENAL_LIBS="-framework OpenAL"
8873 cat >>confdefs.h <<_ACEOF
8874 #define HAVE_OPENAL 1
8875 _ACEOF
8877 ac_cv_lib_openal=yes
8879 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8880 then
8881 OPENCL_LIBS="-framework OpenCL"
8883 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8885 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8886 then
8887 ac_save_LIBS="$LIBS"
8888 LIBS="$LIBS $IOKIT_LIBS"
8889 for ac_func in IOHIDManagerCreate
8890 do :
8891 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8892 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8893 cat >>confdefs.h <<_ACEOF
8894 #define HAVE_IOHIDMANAGERCREATE 1
8895 _ACEOF
8898 done
8900 LIBS="$ac_save_LIBS"
8902 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8903 then
8904 ac_save_LIBS="$LIBS"
8905 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8907 $as_echo_n "checking for the QuickTime framework... " >&6; }
8908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8909 /* end confdefs.h. */
8910 #include <QuickTime/ImageCompression.h>
8912 main ()
8914 CodecManagerVersion(NULL);
8916 return 0;
8918 _ACEOF
8919 if ac_fn_c_try_link "$LINENO"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8921 $as_echo "yes" >&6; }
8922 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8924 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8925 else
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8927 $as_echo "no" >&6; }
8928 ac_cv_header_QuickTime_ImageCompression_h=no
8930 rm -f core conftest.err conftest.$ac_objext \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS="$ac_save_LIBS"
8934 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8935 then
8936 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8938 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8939 then
8940 CARBON_LIBS="-framework Carbon"
8943 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8944 then
8945 METAL_LIBS="-framework Metal -framework QuartzCore"
8949 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8950 then
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8952 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8953 ac_ext=m
8954 ac_cpp='$OBJCPP $CPPFLAGS'
8955 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8956 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8957 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8961 #include <Metal/Metal.h>
8963 main ()
8965 id<MTLDevice> device; device.registryID;
8967 return 0;
8969 _ACEOF
8970 if ac_fn_objc_try_compile "$LINENO"; then :
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8972 $as_echo "yes" >&6; }
8974 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8976 else
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8978 $as_echo "no" >&6; }
8980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8981 ac_ext=c
8982 ac_cpp='$CPP $CPPFLAGS'
8983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8989 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8990 then
8991 ac_save_LIBS="$LIBS"
8992 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8993 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8994 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8995 enable_winemac_drv=${enable_winemac_drv:-yes}
8998 LIBS="$ac_save_LIBS"
9001 if test "x$enable_win16" = "xyes"
9002 then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9004 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9005 if test "$cross_compiling" = yes; then :
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9007 $as_echo "cross-compiling, assuming yes" >&6; }
9008 else
9009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9010 /* end confdefs.h. */
9011 asm(".text\n"
9012 "bad:\tnop;nop\n"
9013 "good:\tnop;nop\n\t"
9014 ".globl _testfunc\n"
9015 "_testfunc:\tcallw good");
9016 extern void testfunc();
9018 main ()
9020 unsigned short *p = (unsigned short *)testfunc;
9021 return p[0] != 0xe866 || p[1] != 0xfffa
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_run "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 else
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 $as_echo "no" >&6; }
9032 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9035 conftest.$ac_objext conftest.beam conftest.$ac_ext
9040 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9042 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9044 WINELOADER_DEPENDS="wine_info.plist"
9046 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9047 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9050 linux-android*)
9051 DLLFLAGS="$DLLFLAGS -fPIC"
9052 LDDLLFLAGS="-fPIC"
9053 LDEXECFLAGS="-Wl,-pie"
9054 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9056 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9057 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9058 $as_echo_n "(cached) " >&6
9059 else
9060 ac_wine_try_cflags_saved=$CFLAGS
9061 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9063 /* end confdefs.h. */
9064 int main(int argc, char **argv) { return 0; }
9065 _ACEOF
9066 if ac_fn_c_try_link "$LINENO"; then :
9067 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9068 else
9069 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9071 rm -f core conftest.err conftest.$ac_objext \
9072 conftest$ac_exeext conftest.$ac_ext
9073 CFLAGS=$ac_wine_try_cflags_saved
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9076 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9077 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9078 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9080 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9081 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9083 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9084 if eval \${$as_ac_var+:} false; then :
9085 $as_echo_n "(cached) " >&6
9086 else
9087 ac_wine_try_cflags_saved=$CFLAGS
9088 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9091 int main(int argc, char **argv) { return 0; }
9092 _ACEOF
9093 if ac_fn_c_try_link "$LINENO"; then :
9094 eval "$as_ac_var=yes"
9095 else
9096 eval "$as_ac_var=no"
9098 rm -f core conftest.err conftest.$ac_objext \
9099 conftest$ac_exeext conftest.$ac_ext
9100 CFLAGS=$ac_wine_try_cflags_saved
9102 eval ac_res=\$$as_ac_var
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9104 $as_echo "$ac_res" >&6; }
9105 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9106 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9107 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9108 else
9109 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9111 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9112 if eval \${$as_ac_var+:} false; then :
9113 $as_echo_n "(cached) " >&6
9114 else
9115 ac_wine_try_cflags_saved=$CFLAGS
9116 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9118 /* end confdefs.h. */
9119 int main(int argc, char **argv) { return 0; }
9120 _ACEOF
9121 if ac_fn_c_try_link "$LINENO"; then :
9122 eval "$as_ac_var=yes"
9123 else
9124 eval "$as_ac_var=no"
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 CFLAGS=$ac_wine_try_cflags_saved
9130 eval ac_res=\$$as_ac_var
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9132 $as_echo "$ac_res" >&6; }
9133 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9134 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9135 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9139 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9140 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9141 $as_echo_n "(cached) " >&6
9142 else
9143 ac_wine_try_cflags_saved=$CFLAGS
9144 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9147 int main(int argc, char **argv) { return 0; }
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 ac_cv_cflags__Wl___enable_new_dtags=yes
9151 else
9152 ac_cv_cflags__Wl___enable_new_dtags=no
9154 rm -f core conftest.err conftest.$ac_objext \
9155 conftest$ac_exeext conftest.$ac_ext
9156 CFLAGS=$ac_wine_try_cflags_saved
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9159 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9160 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9161 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9164 LIBWINE_SHAREDLIB="libwine.so"
9166 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9168 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9171 $as_echo_n "checking for -lEGL... " >&6; }
9172 if ${ac_cv_lib_soname_EGL+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_soname_save_LIBS=$LIBS
9176 LIBS="-lEGL $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char eglGetProcAddress ();
9188 main ()
9190 return eglGetProcAddress ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 case "$LIBEXT" in
9197 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9198 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'` ;;
9199 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9200 if ${ac_cv_lib_soname_EGL:+false} :; then :
9201 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9202 fi ;;
9203 esac
9204 else
9205 ac_cv_lib_soname_EGL=
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_soname_save_LIBS
9211 if ${ac_cv_lib_soname_EGL:+false} :; then :
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9213 $as_echo "not found" >&6; }
9215 else
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9217 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9219 cat >>confdefs.h <<_ACEOF
9220 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9221 _ACEOF
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9226 $as_echo_n "checking for -lGLESv2... " >&6; }
9227 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9228 $as_echo_n "(cached) " >&6
9229 else
9230 ac_check_soname_save_LIBS=$LIBS
9231 LIBS="-lGLESv2 $LIBS"
9232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9233 /* end confdefs.h. */
9235 /* Override any GCC internal prototype to avoid an error.
9236 Use char because int might match the return type of a GCC
9237 builtin and then its argument prototype would still apply. */
9238 #ifdef __cplusplus
9239 extern "C"
9240 #endif
9241 char glFlush ();
9243 main ()
9245 return glFlush ();
9247 return 0;
9249 _ACEOF
9250 if ac_fn_c_try_link "$LINENO"; then :
9251 case "$LIBEXT" in
9252 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9253 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'` ;;
9254 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9255 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9256 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9257 fi ;;
9258 esac
9259 else
9260 ac_cv_lib_soname_GLESv2=
9262 rm -f core conftest.err conftest.$ac_objext \
9263 conftest$ac_exeext conftest.$ac_ext
9264 LIBS=$ac_check_soname_save_LIBS
9266 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9268 $as_echo "not found" >&6; }
9270 else
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9272 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9274 cat >>confdefs.h <<_ACEOF
9275 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9276 _ACEOF
9281 if test "x$exec_prefix" = xNONE
9282 then
9283 case $host_cpu in
9284 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9285 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9286 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9287 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9288 esac
9293 case $host_cpu in
9294 *i[3456789]86*)
9295 DLLFLAGS="$DLLFLAGS -fno-PIC"
9296 LDDLLFLAGS="-fno-PIC" ;;
9298 DLLFLAGS="$DLLFLAGS -fPIC"
9299 LDDLLFLAGS="-fPIC" ;;
9300 esac
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9302 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9303 if ${ac_cv_c_dll_gnuelf+:} false; then :
9304 $as_echo_n "(cached) " >&6
9305 else
9306 ac_wine_try_cflags_saved=$CFLAGS
9307 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 void myfunc() {}
9311 _ACEOF
9312 if ac_fn_c_try_link "$LINENO"; then :
9313 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9314 else
9315 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 CFLAGS=$ac_wine_try_cflags_saved
9320 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9321 ac_cv_c_dll_gnuelf="yes"
9322 else
9323 ac_cv_c_dll_gnuelf="no"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9327 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9328 if test "$ac_cv_c_dll_gnuelf" = "yes"
9329 then
9330 LIBWINE_LDFLAGS="-shared"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9332 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9333 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9334 $as_echo_n "(cached) " >&6
9335 else
9336 ac_wine_try_cflags_saved=$CFLAGS
9337 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 int main(int argc, char **argv) { return 0; }
9341 _ACEOF
9342 if ac_fn_c_try_link "$LINENO"; then :
9343 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9344 else
9345 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9347 rm -f core conftest.err conftest.$ac_objext \
9348 conftest$ac_exeext conftest.$ac_ext
9349 CFLAGS=$ac_wine_try_cflags_saved
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9352 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9353 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9354 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9355 else
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9383 echo '{ global: *; };' >conftest.map
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9385 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9386 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9387 $as_echo_n "(cached) " >&6
9388 else
9389 ac_wine_try_cflags_saved=$CFLAGS
9390 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9392 /* end confdefs.h. */
9393 int main(int argc, char **argv) { return 0; }
9394 _ACEOF
9395 if ac_fn_c_try_link "$LINENO"; then :
9396 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9397 else
9398 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9400 rm -f core conftest.err conftest.$ac_objext \
9401 conftest$ac_exeext conftest.$ac_ext
9402 CFLAGS=$ac_wine_try_cflags_saved
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9405 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9406 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9407 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9409 rm -f conftest.map
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9412 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9413 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9414 $as_echo_n "(cached) " >&6
9415 else
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 ac_cv_cflags__Wl___export_dynamic=yes
9424 else
9425 ac_cv_cflags__Wl___export_dynamic=no
9427 rm -f core conftest.err conftest.$ac_objext \
9428 conftest$ac_exeext conftest.$ac_ext
9429 CFLAGS=$ac_wine_try_cflags_saved
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9432 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9433 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9434 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9436 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9438 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9440 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9441 if eval \${$as_ac_var+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_wine_try_cflags_saved=$CFLAGS
9445 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9448 int main(int argc, char **argv) { return 0; }
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 eval "$as_ac_var=yes"
9452 else
9453 eval "$as_ac_var=no"
9455 rm -f core conftest.err conftest.$ac_objext \
9456 conftest$ac_exeext conftest.$ac_ext
9457 CFLAGS=$ac_wine_try_cflags_saved
9459 eval ac_res=\$$as_ac_var
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9461 $as_echo "$ac_res" >&6; }
9462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9463 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9464 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9465 else
9466 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9468 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9469 if eval \${$as_ac_var+:} false; then :
9470 $as_echo_n "(cached) " >&6
9471 else
9472 ac_wine_try_cflags_saved=$CFLAGS
9473 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
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"; then :
9479 eval "$as_ac_var=yes"
9480 else
9481 eval "$as_ac_var=no"
9483 rm -f core conftest.err conftest.$ac_objext \
9484 conftest$ac_exeext conftest.$ac_ext
9485 CFLAGS=$ac_wine_try_cflags_saved
9487 eval ac_res=\$$as_ac_var
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9489 $as_echo "$ac_res" >&6; }
9490 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9491 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9492 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9497 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9498 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9499 $as_echo_n "(cached) " >&6
9500 else
9501 ac_wine_try_cflags_saved=$CFLAGS
9502 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504 /* end confdefs.h. */
9505 int main(int argc, char **argv) { return 0; }
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_cflags__Wl___enable_new_dtags=yes
9509 else
9510 ac_cv_cflags__Wl___enable_new_dtags=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 CFLAGS=$ac_wine_try_cflags_saved
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9517 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9518 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9519 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9522 case $host_cpu in
9523 *i[3456789]86* | x86_64 | *aarch64*)
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9525 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9526 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_wine_try_cflags_saved=$CFLAGS
9530 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9533 int main(int argc, char **argv) { return 0; }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9537 else
9538 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 CFLAGS=$ac_wine_try_cflags_saved
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9545 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9546 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9547 case $host_os in
9548 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9549 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9550 esac
9551 else
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9553 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9554 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_wine_try_cflags_saved=$CFLAGS
9558 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9561 int main(int argc, char **argv) { return 0; }
9562 _ACEOF
9563 if ac_fn_c_try_link "$LINENO"; then :
9564 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9565 else
9566 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9568 rm -f core conftest.err conftest.$ac_objext \
9569 conftest$ac_exeext conftest.$ac_ext
9570 CFLAGS=$ac_wine_try_cflags_saved
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9573 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9574 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9575 case $host_os in
9576 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9577 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9578 esac
9580 # Extract the first word of "prelink", so it can be a program name with args.
9581 set dummy prelink; ac_word=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_path_PRELINK+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 case $PRELINK in
9588 [\\/]* | ?:[\\/]*)
9589 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9593 for as_dir in /sbin /usr/sbin $PATH
9595 IFS=$as_save_IFS
9596 test -z "$as_dir" && as_dir=.
9597 for ac_exec_ext in '' $ac_executable_extensions; do
9598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9599 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 break 2
9603 done
9604 done
9605 IFS=$as_save_IFS
9607 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9609 esac
9611 PRELINK=$ac_cv_path_PRELINK
9612 if test -n "$PRELINK"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9614 $as_echo "$PRELINK" >&6; }
9615 else
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9617 $as_echo "no" >&6; }
9621 if test "x$PRELINK" = xfalse
9622 then
9623 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9627 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9628 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9629 $as_echo_n "(cached) " >&6
9630 else
9631 ac_wine_try_cflags_saved=$CFLAGS
9632 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9635 int main(int argc, char **argv) { return 0; }
9636 _ACEOF
9637 if ac_fn_c_try_link "$LINENO"; then :
9638 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9639 else
9640 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 CFLAGS=$ac_wine_try_cflags_saved
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9647 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9648 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9649 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9652 esac
9654 else
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9656 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9657 if ${ac_cv_c_dll_unixware+:} false; then :
9658 $as_echo_n "(cached) " >&6
9659 else
9660 ac_wine_try_cflags_saved=$CFLAGS
9661 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h. */
9664 void myfunc() {}
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9668 else
9669 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 CFLAGS=$ac_wine_try_cflags_saved
9674 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9675 ac_cv_c_dll_unixware="yes"
9676 else
9677 ac_cv_c_dll_unixware="no"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9681 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9682 if test "$ac_cv_c_dll_unixware" = "yes"
9683 then
9684 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9687 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9689 LIBWINE_DEPENDS="wine.map"
9691 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9692 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9694 esac
9696 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9697 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9698 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9699 enable_winemac_drv=${enable_winemac_drv:-no}
9700 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9702 CROSSTARGET=""
9704 if test "x$with_mingw" != xno
9705 then
9706 case "x$with_mingw" in
9707 x|xyes) case "$host_cpu" in
9708 aarch64*)
9709 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9710 arm*)
9711 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9712 i[3456789]86*)
9713 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
9714 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9715 mingw32-gcc" ;;
9716 x86_64)
9717 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
9718 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9720 ac_prefix_list="" ;;
9721 esac
9722 for ac_prog in $ac_prefix_list
9724 # Extract the first word of "$ac_prog", so it can be a program name with args.
9725 set dummy $ac_prog; ac_word=$2
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9727 $as_echo_n "checking for $ac_word... " >&6; }
9728 if ${ac_cv_prog_CROSSCC+:} false; then :
9729 $as_echo_n "(cached) " >&6
9730 else
9731 if test -n "$CROSSCC"; then
9732 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9733 else
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735 for as_dir in $PATH
9737 IFS=$as_save_IFS
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9741 ac_cv_prog_CROSSCC="$ac_prog"
9742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9743 break 2
9745 done
9746 done
9747 IFS=$as_save_IFS
9751 CROSSCC=$ac_cv_prog_CROSSCC
9752 if test -n "$CROSSCC"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9754 $as_echo "$CROSSCC" >&6; }
9755 else
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9757 $as_echo "no" >&6; }
9761 test -n "$CROSSCC" && break
9762 done
9763 test -n "$CROSSCC" || CROSSCC="false"
9765 *) CROSSCC=$with_mingw ;;
9766 esac
9767 if test "$CROSSCC" != "false"
9768 then
9769 ac_save_CC="$CC"
9770 saved_CFLAGS=$CFLAGS
9771 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9773 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9777 CC="$CROSSCC"
9778 CFLAGS=$CROSSCFLAGS
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9780 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9781 if ${wine_cv_crosscc+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9788 main ()
9792 return 0;
9794 _ACEOF
9795 if ac_fn_c_try_compile "$LINENO"; then :
9796 wine_cv_crosscc=yes
9797 else
9798 wine_cv_crosscc=no
9800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9803 $as_echo "$wine_cv_crosscc" >&6; }
9804 if test $wine_cv_crosscc = yes
9805 then
9806 set x $CROSSCC
9807 shift
9808 while test $# -ge 1
9810 case "$1" in
9811 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9812 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9813 esac
9814 shift
9815 done
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9818 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9819 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9820 $as_echo_n "(cached) " >&6
9821 else
9822 ac_wine_try_cflags_saved=$CFLAGS
9823 ac_wine_try_cflags_saved_cc=$CC
9824 ac_wine_try_cflags_saved_exeext=$ac_exeext
9825 CFLAGS="$CFLAGS -fno-strict-aliasing"
9826 CC="$CROSSCC"
9827 ac_exeext=".exe"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9830 int main(int argc, char **argv) { return 0; }
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_crosscflags__fno_strict_aliasing=yes
9834 else
9835 ac_cv_crosscflags__fno_strict_aliasing=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 CFLAGS=$ac_wine_try_cflags_saved
9840 CC=$ac_wine_try_cflags_saved_cc
9841 ac_exeext=$ac_wine_try_cflags_saved_exeext
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9844 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9845 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9846 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9849 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9850 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9851 $as_echo_n "(cached) " >&6
9852 else
9853 ac_wine_try_cflags_saved=$CFLAGS
9854 ac_wine_try_cflags_saved_cc=$CC
9855 ac_wine_try_cflags_saved_exeext=$ac_exeext
9856 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9857 CC="$CROSSCC"
9858 ac_exeext=".exe"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9861 int main(int argc, char **argv) { return 0; }
9862 _ACEOF
9863 if ac_fn_c_try_link "$LINENO"; then :
9864 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9865 else
9866 ac_cv_crosscflags__Werror_unknown_warning_option=no
9868 rm -f core conftest.err conftest.$ac_objext \
9869 conftest$ac_exeext conftest.$ac_ext
9870 CFLAGS=$ac_wine_try_cflags_saved
9871 CC=$ac_wine_try_cflags_saved_cc
9872 ac_exeext=$ac_wine_try_cflags_saved_exeext
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9875 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9876 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9877 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9880 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9881 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9882 $as_echo_n "(cached) " >&6
9883 else
9884 ac_wine_try_cflags_saved=$CFLAGS
9885 ac_wine_try_cflags_saved_cc=$CC
9886 ac_wine_try_cflags_saved_exeext=$ac_exeext
9887 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9888 CC="$CROSSCC"
9889 ac_exeext=".exe"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 int main(int argc, char **argv) { return 0; }
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9896 else
9897 ac_cv_crosscflags__Wdeclaration_after_statement=no
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 CFLAGS=$ac_wine_try_cflags_saved
9902 CC=$ac_wine_try_cflags_saved_cc
9903 ac_exeext=$ac_wine_try_cflags_saved_exeext
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9906 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9907 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9908 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9911 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9912 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_wine_try_cflags_saved=$CFLAGS
9916 ac_wine_try_cflags_saved_cc=$CC
9917 ac_wine_try_cflags_saved_exeext=$ac_exeext
9918 CFLAGS="$CFLAGS -Wempty-body"
9919 CC="$CROSSCC"
9920 ac_exeext=".exe"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9923 int main(int argc, char **argv) { return 0; }
9924 _ACEOF
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 ac_cv_crosscflags__Wempty_body=yes
9927 else
9928 ac_cv_crosscflags__Wempty_body=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9932 CFLAGS=$ac_wine_try_cflags_saved
9933 CC=$ac_wine_try_cflags_saved_cc
9934 ac_exeext=$ac_wine_try_cflags_saved_exeext
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9937 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9938 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9939 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9942 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9943 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 ac_wine_try_cflags_saved=$CFLAGS
9947 ac_wine_try_cflags_saved_cc=$CC
9948 ac_wine_try_cflags_saved_exeext=$ac_exeext
9949 CFLAGS="$CFLAGS -Wignored-qualifiers"
9950 CC="$CROSSCC"
9951 ac_exeext=".exe"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int main(int argc, char **argv) { return 0; }
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 ac_cv_crosscflags__Wignored_qualifiers=yes
9958 else
9959 ac_cv_crosscflags__Wignored_qualifiers=no
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 CFLAGS=$ac_wine_try_cflags_saved
9964 CC=$ac_wine_try_cflags_saved_cc
9965 ac_exeext=$ac_wine_try_cflags_saved_exeext
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9968 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9969 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9970 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9973 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9974 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9975 $as_echo_n "(cached) " >&6
9976 else
9977 ac_wine_try_cflags_saved=$CFLAGS
9978 ac_wine_try_cflags_saved_cc=$CC
9979 ac_wine_try_cflags_saved_exeext=$ac_exeext
9980 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9981 CC="$CROSSCC"
9982 ac_exeext=".exe"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9985 int main(int argc, char **argv) { return 0; }
9986 _ACEOF
9987 if ac_fn_c_try_link "$LINENO"; then :
9988 ac_cv_crosscflags__Wpacked_not_aligned=yes
9989 else
9990 ac_cv_crosscflags__Wpacked_not_aligned=no
9992 rm -f core conftest.err conftest.$ac_objext \
9993 conftest$ac_exeext conftest.$ac_ext
9994 CFLAGS=$ac_wine_try_cflags_saved
9995 CC=$ac_wine_try_cflags_saved_cc
9996 ac_exeext=$ac_wine_try_cflags_saved_exeext
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9999 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10000 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10001 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10004 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10005 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10006 $as_echo_n "(cached) " >&6
10007 else
10008 ac_wine_try_cflags_saved=$CFLAGS
10009 ac_wine_try_cflags_saved_cc=$CC
10010 ac_wine_try_cflags_saved_exeext=$ac_exeext
10011 CFLAGS="$CFLAGS -Wpragma-pack"
10012 CC="$CROSSCC"
10013 ac_exeext=".exe"
10014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10015 /* end confdefs.h. */
10016 int main(int argc, char **argv) { return 0; }
10017 _ACEOF
10018 if ac_fn_c_try_link "$LINENO"; then :
10019 ac_cv_crosscflags__Wpragma_pack=yes
10020 else
10021 ac_cv_crosscflags__Wpragma_pack=no
10023 rm -f core conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10025 CFLAGS=$ac_wine_try_cflags_saved
10026 CC=$ac_wine_try_cflags_saved_cc
10027 ac_exeext=$ac_wine_try_cflags_saved_exeext
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10030 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10031 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10032 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10035 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10036 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10037 $as_echo_n "(cached) " >&6
10038 else
10039 ac_wine_try_cflags_saved=$CFLAGS
10040 ac_wine_try_cflags_saved_cc=$CC
10041 ac_wine_try_cflags_saved_exeext=$ac_exeext
10042 CFLAGS="$CFLAGS -Wshift-overflow=2"
10043 CC="$CROSSCC"
10044 ac_exeext=".exe"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10047 int main(int argc, char **argv) { return 0; }
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_crosscflags__Wshift_overflow_2=yes
10051 else
10052 ac_cv_crosscflags__Wshift_overflow_2=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 CFLAGS=$ac_wine_try_cflags_saved
10057 CC=$ac_wine_try_cflags_saved_cc
10058 ac_exeext=$ac_wine_try_cflags_saved_exeext
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10061 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10062 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10063 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10066 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10067 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10068 $as_echo_n "(cached) " >&6
10069 else
10070 ac_wine_try_cflags_saved=$CFLAGS
10071 ac_wine_try_cflags_saved_cc=$CC
10072 ac_wine_try_cflags_saved_exeext=$ac_exeext
10073 CFLAGS="$CFLAGS -Wstrict-prototypes"
10074 CC="$CROSSCC"
10075 ac_exeext=".exe"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10078 int main(int argc, char **argv) { return 0; }
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"; then :
10081 ac_cv_crosscflags__Wstrict_prototypes=yes
10082 else
10083 ac_cv_crosscflags__Wstrict_prototypes=no
10085 rm -f core conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10087 CFLAGS=$ac_wine_try_cflags_saved
10088 CC=$ac_wine_try_cflags_saved_cc
10089 ac_exeext=$ac_wine_try_cflags_saved_exeext
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10092 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10093 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10094 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10097 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10098 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10099 $as_echo_n "(cached) " >&6
10100 else
10101 ac_wine_try_cflags_saved=$CFLAGS
10102 ac_wine_try_cflags_saved_cc=$CC
10103 ac_wine_try_cflags_saved_exeext=$ac_exeext
10104 CFLAGS="$CFLAGS -Wtype-limits"
10105 CC="$CROSSCC"
10106 ac_exeext=".exe"
10107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 /* end confdefs.h. */
10109 int main(int argc, char **argv) { return 0; }
10110 _ACEOF
10111 if ac_fn_c_try_link "$LINENO"; then :
10112 ac_cv_crosscflags__Wtype_limits=yes
10113 else
10114 ac_cv_crosscflags__Wtype_limits=no
10116 rm -f core conftest.err conftest.$ac_objext \
10117 conftest$ac_exeext conftest.$ac_ext
10118 CFLAGS=$ac_wine_try_cflags_saved
10119 CC=$ac_wine_try_cflags_saved_cc
10120 ac_exeext=$ac_wine_try_cflags_saved_exeext
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10123 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10124 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10125 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10128 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10129 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10130 $as_echo_n "(cached) " >&6
10131 else
10132 ac_wine_try_cflags_saved=$CFLAGS
10133 ac_wine_try_cflags_saved_cc=$CC
10134 ac_wine_try_cflags_saved_exeext=$ac_exeext
10135 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10136 CC="$CROSSCC"
10137 ac_exeext=".exe"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int main(int argc, char **argv) { return 0; }
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10144 else
10145 ac_cv_crosscflags__Wunused_but_set_parameter=no
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 CFLAGS=$ac_wine_try_cflags_saved
10150 CC=$ac_wine_try_cflags_saved_cc
10151 ac_exeext=$ac_wine_try_cflags_saved_exeext
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10154 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10155 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10156 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10159 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10160 if ${ac_cv_crosscflags__Wvla+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_wine_try_cflags_saved=$CFLAGS
10164 ac_wine_try_cflags_saved_cc=$CC
10165 ac_wine_try_cflags_saved_exeext=$ac_exeext
10166 CFLAGS="$CFLAGS -Wvla"
10167 CC="$CROSSCC"
10168 ac_exeext=".exe"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10171 int main(int argc, char **argv) { return 0; }
10172 _ACEOF
10173 if ac_fn_c_try_link "$LINENO"; then :
10174 ac_cv_crosscflags__Wvla=yes
10175 else
10176 ac_cv_crosscflags__Wvla=no
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10181 CC=$ac_wine_try_cflags_saved_cc
10182 ac_exeext=$ac_wine_try_cflags_saved_exeext
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10185 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10186 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10187 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10190 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10191 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10192 $as_echo_n "(cached) " >&6
10193 else
10194 ac_wine_try_cflags_saved=$CFLAGS
10195 ac_wine_try_cflags_saved_cc=$CC
10196 ac_wine_try_cflags_saved_exeext=$ac_exeext
10197 CFLAGS="$CFLAGS -Wwrite-strings"
10198 CC="$CROSSCC"
10199 ac_exeext=".exe"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10202 int main(int argc, char **argv) { return 0; }
10203 _ACEOF
10204 if ac_fn_c_try_link "$LINENO"; then :
10205 ac_cv_crosscflags__Wwrite_strings=yes
10206 else
10207 ac_cv_crosscflags__Wwrite_strings=no
10209 rm -f core conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 CFLAGS=$ac_wine_try_cflags_saved
10212 CC=$ac_wine_try_cflags_saved_cc
10213 ac_exeext=$ac_wine_try_cflags_saved_exeext
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10216 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10217 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10218 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10221 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10222 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_wine_try_cflags_saved=$CFLAGS
10226 ac_wine_try_cflags_saved_cc=$CC
10227 ac_wine_try_cflags_saved_exeext=$ac_exeext
10228 CFLAGS="$CFLAGS -Wpointer-arith"
10229 CC="$CROSSCC"
10230 ac_exeext=".exe"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10233 int main(int argc, char **argv) { return 0; }
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_crosscflags__Wpointer_arith=yes
10237 else
10238 ac_cv_crosscflags__Wpointer_arith=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 CFLAGS=$ac_wine_try_cflags_saved
10243 CC=$ac_wine_try_cflags_saved_cc
10244 ac_exeext=$ac_wine_try_cflags_saved_exeext
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10247 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10248 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10249 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10252 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10253 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_wine_try_cflags_saved=$CFLAGS
10257 ac_wine_try_cflags_saved_cc=$CC
10258 ac_wine_try_cflags_saved_exeext=$ac_exeext
10259 CFLAGS="$CFLAGS -Wlogical-op"
10260 CC="$CROSSCC"
10261 ac_exeext=".exe"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int main(int argc, char **argv) { return 0; }
10265 _ACEOF
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 ac_cv_crosscflags__Wlogical_op=yes
10268 else
10269 ac_cv_crosscflags__Wlogical_op=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 CFLAGS=$ac_wine_try_cflags_saved
10274 CC=$ac_wine_try_cflags_saved_cc
10275 ac_exeext=$ac_wine_try_cflags_saved_exeext
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10278 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10279 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10280 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10283 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10284 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10285 $as_echo_n "(cached) " >&6
10286 else
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 ac_wine_try_cflags_saved_cc=$CC
10289 ac_wine_try_cflags_saved_exeext=$ac_exeext
10290 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10291 CC="$CROSSCC"
10292 ac_exeext=".exe"
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 int main(int argc, char **argv) { return 0; }
10296 _ACEOF
10297 if ac_fn_c_try_link "$LINENO"; then :
10298 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10299 else
10300 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10302 rm -f core conftest.err conftest.$ac_objext \
10303 conftest$ac_exeext conftest.$ac_ext
10304 CFLAGS=$ac_wine_try_cflags_saved
10305 CC=$ac_wine_try_cflags_saved_cc
10306 ac_exeext=$ac_wine_try_cflags_saved_exeext
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10309 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10310 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10311 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10314 case $host_cpu in
10315 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10316 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10317 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10318 $as_echo_n "(cached) " >&6
10319 else
10320 ac_wine_try_cflags_saved=$CFLAGS
10321 ac_wine_try_cflags_saved_cc=$CC
10322 ac_wine_try_cflags_saved_exeext=$ac_exeext
10323 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10324 CC="$CROSSCC"
10325 ac_exeext=".exe"
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10328 int main(int argc, char **argv) { return 0; }
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10332 else
10333 ac_cv_crosscflags__fno_omit_frame_pointer=no
10335 rm -f core conftest.err conftest.$ac_objext \
10336 conftest$ac_exeext conftest.$ac_ext
10337 CFLAGS=$ac_wine_try_cflags_saved
10338 CC=$ac_wine_try_cflags_saved_cc
10339 ac_exeext=$ac_wine_try_cflags_saved_exeext
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10342 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10343 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10344 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10345 fi ;;
10346 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10347 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10348 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10349 $as_echo_n "(cached) " >&6
10350 else
10351 ac_wine_try_cflags_saved=$CFLAGS
10352 ac_wine_try_cflags_saved_cc=$CC
10353 ac_wine_try_cflags_saved_exeext=$ac_exeext
10354 CFLAGS="$CFLAGS -Wno-format"
10355 CC="$CROSSCC"
10356 ac_exeext=".exe"
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 int main(int argc, char **argv) { return 0; }
10360 _ACEOF
10361 if ac_fn_c_try_link "$LINENO"; then :
10362 ac_cv_crosscflags__Wno_format=yes
10363 else
10364 ac_cv_crosscflags__Wno_format=no
10366 rm -f core conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10368 CFLAGS=$ac_wine_try_cflags_saved
10369 CC=$ac_wine_try_cflags_saved_cc
10370 ac_exeext=$ac_wine_try_cflags_saved_exeext
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10373 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10374 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10375 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10376 fi ;;
10377 esac
10379 for ac_flag in $CROSSCFLAGS; do
10380 case $ac_flag in
10381 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10382 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10383 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10384 $as_echo_n "(cached) " >&6
10385 else
10386 ac_wine_try_cflags_saved=$CFLAGS
10387 ac_wine_try_cflags_saved_cc=$CC
10388 ac_wine_try_cflags_saved_exeext=$ac_exeext
10389 CFLAGS="$CFLAGS -gdwarf-2"
10390 CC="$CROSSCC"
10391 ac_exeext=".exe"
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10394 int main(int argc, char **argv) { return 0; }
10395 _ACEOF
10396 if ac_fn_c_try_link "$LINENO"; then :
10397 ac_cv_crosscflags__gdwarf_2=yes
10398 else
10399 ac_cv_crosscflags__gdwarf_2=no
10401 rm -f core conftest.err conftest.$ac_objext \
10402 conftest$ac_exeext conftest.$ac_ext
10403 CFLAGS=$ac_wine_try_cflags_saved
10404 CC=$ac_wine_try_cflags_saved_cc
10405 ac_exeext=$ac_wine_try_cflags_saved_exeext
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10408 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10409 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10410 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10413 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10414 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10415 $as_echo_n "(cached) " >&6
10416 else
10417 ac_wine_try_cflags_saved=$CFLAGS
10418 ac_wine_try_cflags_saved_cc=$CC
10419 ac_wine_try_cflags_saved_exeext=$ac_exeext
10420 CFLAGS="$CFLAGS -gstrict-dwarf"
10421 CC="$CROSSCC"
10422 ac_exeext=".exe"
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10424 /* end confdefs.h. */
10425 int main(int argc, char **argv) { return 0; }
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428 ac_cv_crosscflags__gstrict_dwarf=yes
10429 else
10430 ac_cv_crosscflags__gstrict_dwarf=no
10432 rm -f core conftest.err conftest.$ac_objext \
10433 conftest$ac_exeext conftest.$ac_ext
10434 CFLAGS=$ac_wine_try_cflags_saved
10435 CC=$ac_wine_try_cflags_saved_cc
10436 ac_exeext=$ac_wine_try_cflags_saved_exeext
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10439 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10440 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10441 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10442 fi ;;
10443 esac
10444 done
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10447 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10448 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10449 $as_echo_n "(cached) " >&6
10450 else
10451 ac_wine_try_cflags_saved=$CFLAGS
10452 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 int main(int argc, char **argv) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10459 else
10460 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10467 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10468 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10469 DELAYLOADFLAG="-Wl,-delayload,"
10473 if test "x$enable_maintainer_mode" = xyes
10474 then
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10476 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10477 if ${ac_cv_crosscflags__Werror+:} false; then :
10478 $as_echo_n "(cached) " >&6
10479 else
10480 ac_wine_try_cflags_saved=$CFLAGS
10481 ac_wine_try_cflags_saved_cc=$CC
10482 ac_wine_try_cflags_saved_exeext=$ac_exeext
10483 CFLAGS="$CFLAGS -Werror"
10484 CC="$CROSSCC"
10485 ac_exeext=".exe"
10486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10488 int main(int argc, char **argv) { return 0; }
10489 _ACEOF
10490 if ac_fn_c_try_link "$LINENO"; then :
10491 ac_cv_crosscflags__Werror=yes
10492 else
10493 ac_cv_crosscflags__Werror=no
10495 rm -f core conftest.err conftest.$ac_objext \
10496 conftest$ac_exeext conftest.$ac_ext
10497 CFLAGS=$ac_wine_try_cflags_saved
10498 CC=$ac_wine_try_cflags_saved_cc
10499 ac_exeext=$ac_wine_try_cflags_saved_exeext
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10502 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10503 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10504 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10508 CFLAGS=$saved_CFLAGS
10509 CC="$ac_save_CC"
10512 if test "x$CROSSTARGET" = "x"; then :
10513 case "x$with_mingw" in
10514 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10515 xno) ;;
10516 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10517 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10518 esac
10523 if test "$ac_cv_header_pthread_h" = "yes"
10524 then
10525 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10526 if test "x$ac_cv_func_pthread_create" = xyes; then :
10528 else
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10530 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10531 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533 else
10534 ac_check_lib_save_LIBS=$LIBS
10535 LIBS="-lpthread $LIBS"
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10539 /* Override any GCC internal prototype to avoid an error.
10540 Use char because int might match the return type of a GCC
10541 builtin and then its argument prototype would still apply. */
10542 #ifdef __cplusplus
10543 extern "C"
10544 #endif
10545 char pthread_create ();
10547 main ()
10549 return pthread_create ();
10551 return 0;
10553 _ACEOF
10554 if ac_fn_c_try_link "$LINENO"; then :
10555 ac_cv_lib_pthread_pthread_create=yes
10556 else
10557 ac_cv_lib_pthread_pthread_create=no
10559 rm -f core conftest.err conftest.$ac_objext \
10560 conftest$ac_exeext conftest.$ac_ext
10561 LIBS=$ac_check_lib_save_LIBS
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10564 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10565 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10566 PTHREAD_LIBS="-lpthread"
10573 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10574 case "x$with_pthread" in
10575 xno) ;;
10576 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10577 Wine cannot support threads without libpthread.
10578 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10579 esac
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10585 $as_echo_n "checking for X... " >&6; }
10588 # Check whether --with-x was given.
10589 if test "${with_x+set}" = set; then :
10590 withval=$with_x;
10593 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10594 if test "x$with_x" = xno; then
10595 # The user explicitly disabled X.
10596 have_x=disabled
10597 else
10598 case $x_includes,$x_libraries in #(
10599 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10600 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10601 $as_echo_n "(cached) " >&6
10602 else
10603 # One or both of the vars are not set, and there is no cached value.
10604 ac_x_includes=no ac_x_libraries=no
10605 rm -f -r conftest.dir
10606 if mkdir conftest.dir; then
10607 cd conftest.dir
10608 cat >Imakefile <<'_ACEOF'
10609 incroot:
10610 @echo incroot='${INCROOT}'
10611 usrlibdir:
10612 @echo usrlibdir='${USRLIBDIR}'
10613 libdir:
10614 @echo libdir='${LIBDIR}'
10615 _ACEOF
10616 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10617 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10618 for ac_var in incroot usrlibdir libdir; do
10619 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10620 done
10621 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10622 for ac_extension in a so sl dylib la dll; do
10623 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10624 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10625 ac_im_usrlibdir=$ac_im_libdir; break
10627 done
10628 # Screen out bogus values from the imake configuration. They are
10629 # bogus both because they are the default anyway, and because
10630 # using them would break gcc on systems where it needs fixed includes.
10631 case $ac_im_incroot in
10632 /usr/include) ac_x_includes= ;;
10633 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10634 esac
10635 case $ac_im_usrlibdir in
10636 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10637 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10638 esac
10640 cd ..
10641 rm -f -r conftest.dir
10644 # Standard set of common directories for X headers.
10645 # Check X11 before X11Rn because it is often a symlink to the current release.
10646 ac_x_header_dirs='
10647 /usr/X11/include
10648 /usr/X11R7/include
10649 /usr/X11R6/include
10650 /usr/X11R5/include
10651 /usr/X11R4/include
10653 /usr/include/X11
10654 /usr/include/X11R7
10655 /usr/include/X11R6
10656 /usr/include/X11R5
10657 /usr/include/X11R4
10659 /usr/local/X11/include
10660 /usr/local/X11R7/include
10661 /usr/local/X11R6/include
10662 /usr/local/X11R5/include
10663 /usr/local/X11R4/include
10665 /usr/local/include/X11
10666 /usr/local/include/X11R7
10667 /usr/local/include/X11R6
10668 /usr/local/include/X11R5
10669 /usr/local/include/X11R4
10671 /usr/X386/include
10672 /usr/x386/include
10673 /usr/XFree86/include/X11
10675 /usr/include
10676 /usr/local/include
10677 /usr/unsupported/include
10678 /usr/athena/include
10679 /usr/local/x11r5/include
10680 /usr/lpp/Xamples/include
10682 /usr/openwin/include
10683 /usr/openwin/share/include'
10685 if test "$ac_x_includes" = no; then
10686 # Guess where to find include files, by looking for Xlib.h.
10687 # First, try using that file with no special directory specified.
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10690 #include <X11/Xlib.h>
10691 _ACEOF
10692 if ac_fn_c_try_cpp "$LINENO"; then :
10693 # We can compile using X headers with no special include directory.
10694 ac_x_includes=
10695 else
10696 for ac_dir in $ac_x_header_dirs; do
10697 if test -r "$ac_dir/X11/Xlib.h"; then
10698 ac_x_includes=$ac_dir
10699 break
10701 done
10703 rm -f conftest.err conftest.i conftest.$ac_ext
10704 fi # $ac_x_includes = no
10706 if test "$ac_x_libraries" = no; then
10707 # Check for the libraries.
10708 # See if we find them without any special options.
10709 # Don't add to $LIBS permanently.
10710 ac_save_LIBS=$LIBS
10711 LIBS="-lX11 $LIBS"
10712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 #include <X11/Xlib.h>
10716 main ()
10718 XrmInitialize ()
10720 return 0;
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 LIBS=$ac_save_LIBS
10725 # We can link X programs with no special library path.
10726 ac_x_libraries=
10727 else
10728 LIBS=$ac_save_LIBS
10729 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10731 # Don't even attempt the hair of trying to link an X program!
10732 for ac_extension in a so sl dylib la dll; do
10733 if test -r "$ac_dir/libX11.$ac_extension"; then
10734 ac_x_libraries=$ac_dir
10735 break 2
10737 done
10738 done
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 fi # $ac_x_libraries = no
10744 case $ac_x_includes,$ac_x_libraries in #(
10745 no,* | *,no | *\'*)
10746 # Didn't find X, or a directory has "'" in its name.
10747 ac_cv_have_x="have_x=no";; #(
10749 # Record where we found X for the cache.
10750 ac_cv_have_x="have_x=yes\
10751 ac_x_includes='$ac_x_includes'\
10752 ac_x_libraries='$ac_x_libraries'"
10753 esac
10755 ;; #(
10756 *) have_x=yes;;
10757 esac
10758 eval "$ac_cv_have_x"
10759 fi # $with_x != no
10761 if test "$have_x" != yes; then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10763 $as_echo "$have_x" >&6; }
10764 no_x=yes
10765 else
10766 # If each of the values was on the command line, it overrides each guess.
10767 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10768 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10769 # Update the cache value to reflect the command line values.
10770 ac_cv_have_x="have_x=yes\
10771 ac_x_includes='$x_includes'\
10772 ac_x_libraries='$x_libraries'"
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10774 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10777 if test "$no_x" = yes; then
10778 # Not all programs may use this symbol, but it does not hurt to define it.
10780 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10782 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10783 else
10784 if test -n "$x_includes"; then
10785 X_CFLAGS="$X_CFLAGS -I$x_includes"
10788 # It would also be nice to do this for all -L options, not just this one.
10789 if test -n "$x_libraries"; then
10790 X_LIBS="$X_LIBS -L$x_libraries"
10791 # For Solaris; some versions of Sun CC require a space after -R and
10792 # others require no space. Words are not sufficient . . . .
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10794 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10795 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10796 ac_xsave_c_werror_flag=$ac_c_werror_flag
10797 ac_c_werror_flag=yes
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10802 main ()
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10811 $as_echo "no" >&6; }
10812 X_LIBS="$X_LIBS -R$x_libraries"
10813 else
10814 LIBS="$ac_xsave_LIBS -R $x_libraries"
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10819 main ()
10823 return 0;
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10828 $as_echo "yes" >&6; }
10829 X_LIBS="$X_LIBS -R $x_libraries"
10830 else
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10832 $as_echo "neither works" >&6; }
10834 rm -f core conftest.err conftest.$ac_objext \
10835 conftest$ac_exeext conftest.$ac_ext
10837 rm -f core conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10839 ac_c_werror_flag=$ac_xsave_c_werror_flag
10840 LIBS=$ac_xsave_LIBS
10843 # Check for system-dependent libraries X programs must link with.
10844 # Do this before checking for the system-independent R6 libraries
10845 # (-lICE), since we may need -lsocket or whatever for X linking.
10847 if test "$ISC" = yes; then
10848 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10849 else
10850 # Martyn Johnson says this is needed for Ultrix, if the X
10851 # libraries were built with DECnet support. And Karl Berry says
10852 # the Alpha needs dnet_stub (dnet does not exist).
10853 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10860 #ifdef __cplusplus
10861 extern "C"
10862 #endif
10863 char XOpenDisplay ();
10865 main ()
10867 return XOpenDisplay ();
10869 return 0;
10871 _ACEOF
10872 if ac_fn_c_try_link "$LINENO"; then :
10874 else
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10876 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10877 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 ac_check_lib_save_LIBS=$LIBS
10881 LIBS="-ldnet $LIBS"
10882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10883 /* end confdefs.h. */
10885 /* Override any GCC internal prototype to avoid an error.
10886 Use char because int might match the return type of a GCC
10887 builtin and then its argument prototype would still apply. */
10888 #ifdef __cplusplus
10889 extern "C"
10890 #endif
10891 char dnet_ntoa ();
10893 main ()
10895 return dnet_ntoa ();
10897 return 0;
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"; then :
10901 ac_cv_lib_dnet_dnet_ntoa=yes
10902 else
10903 ac_cv_lib_dnet_dnet_ntoa=no
10905 rm -f core conftest.err conftest.$ac_objext \
10906 conftest$ac_exeext conftest.$ac_ext
10907 LIBS=$ac_check_lib_save_LIBS
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10910 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10911 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10912 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10915 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10917 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10918 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10919 $as_echo_n "(cached) " >&6
10920 else
10921 ac_check_lib_save_LIBS=$LIBS
10922 LIBS="-ldnet_stub $LIBS"
10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10929 #ifdef __cplusplus
10930 extern "C"
10931 #endif
10932 char dnet_ntoa ();
10934 main ()
10936 return dnet_ntoa ();
10938 return 0;
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"; then :
10942 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10943 else
10944 ac_cv_lib_dnet_stub_dnet_ntoa=no
10946 rm -f core conftest.err conftest.$ac_objext \
10947 conftest$ac_exeext conftest.$ac_ext
10948 LIBS=$ac_check_lib_save_LIBS
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10951 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10952 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10953 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS="$ac_xsave_LIBS"
10962 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10963 # to get the SysV transport functions.
10964 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10965 # needs -lnsl.
10966 # The nsl library prevents programs from opening the X display
10967 # on Irix 5.2, according to T.E. Dickey.
10968 # The functions gethostbyname, getservbyname, and inet_addr are
10969 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10970 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10971 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10975 if test $ac_cv_func_gethostbyname = no; then
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10977 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10978 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10979 $as_echo_n "(cached) " >&6
10980 else
10981 ac_check_lib_save_LIBS=$LIBS
10982 LIBS="-lnsl $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char gethostbyname ();
10994 main ()
10996 return gethostbyname ();
10998 return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002 ac_cv_lib_nsl_gethostbyname=yes
11003 else
11004 ac_cv_lib_nsl_gethostbyname=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11011 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11012 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11013 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11016 if test $ac_cv_lib_nsl_gethostbyname = no; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11018 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11019 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-lbsd $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char gethostbyname ();
11035 main ()
11037 return gethostbyname ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 ac_cv_lib_bsd_gethostbyname=yes
11044 else
11045 ac_cv_lib_bsd_gethostbyname=no
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11052 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11053 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11060 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11061 # socket/setsockopt and other routines are undefined under SCO ODT
11062 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11063 # on later versions), says Simon Leinen: it contains gethostby*
11064 # variants that don't use the name server (or something). -lsocket
11065 # must be given before -lnsl if both are needed. We assume that
11066 # if connect needs -lnsl, so does gethostbyname.
11067 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11068 if test "x$ac_cv_func_connect" = xyes; then :
11072 if test $ac_cv_func_connect = no; then
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11074 $as_echo_n "checking for connect in -lsocket... " >&6; }
11075 if ${ac_cv_lib_socket_connect+:} false; then :
11076 $as_echo_n "(cached) " >&6
11077 else
11078 ac_check_lib_save_LIBS=$LIBS
11079 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11083 /* Override any GCC internal prototype to avoid an error.
11084 Use char because int might match the return type of a GCC
11085 builtin and then its argument prototype would still apply. */
11086 #ifdef __cplusplus
11087 extern "C"
11088 #endif
11089 char connect ();
11091 main ()
11093 return connect ();
11095 return 0;
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"; then :
11099 ac_cv_lib_socket_connect=yes
11100 else
11101 ac_cv_lib_socket_connect=no
11103 rm -f core conftest.err conftest.$ac_objext \
11104 conftest$ac_exeext conftest.$ac_ext
11105 LIBS=$ac_check_lib_save_LIBS
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11108 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11109 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11110 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11115 # Guillermo Gomez says -lposix is necessary on A/UX.
11116 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11117 if test "x$ac_cv_func_remove" = xyes; then :
11121 if test $ac_cv_func_remove = no; then
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11123 $as_echo_n "checking for remove in -lposix... " >&6; }
11124 if ${ac_cv_lib_posix_remove+:} false; then :
11125 $as_echo_n "(cached) " >&6
11126 else
11127 ac_check_lib_save_LIBS=$LIBS
11128 LIBS="-lposix $LIBS"
11129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char remove ();
11140 main ()
11142 return remove ();
11144 return 0;
11146 _ACEOF
11147 if ac_fn_c_try_link "$LINENO"; then :
11148 ac_cv_lib_posix_remove=yes
11149 else
11150 ac_cv_lib_posix_remove=no
11152 rm -f core conftest.err conftest.$ac_objext \
11153 conftest$ac_exeext conftest.$ac_ext
11154 LIBS=$ac_check_lib_save_LIBS
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11157 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11158 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11164 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11165 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11166 if test "x$ac_cv_func_shmat" = xyes; then :
11170 if test $ac_cv_func_shmat = no; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11172 $as_echo_n "checking for shmat in -lipc... " >&6; }
11173 if ${ac_cv_lib_ipc_shmat+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lipc $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char shmat ();
11189 main ()
11191 return shmat ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_ipc_shmat=yes
11198 else
11199 ac_cv_lib_ipc_shmat=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11206 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11207 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11214 # Check for libraries that X11R6 Xt/Xaw programs need.
11215 ac_save_LDFLAGS=$LDFLAGS
11216 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11217 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11218 # check for ICE first), but we must link in the order -lSM -lICE or
11219 # we get undefined symbols. So assume we have SM if we have ICE.
11220 # These have to be linked with before -lX11, unlike the other
11221 # libraries we check for below, so use a different variable.
11222 # John Interrante, Karl Berry
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11224 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11225 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11226 $as_echo_n "(cached) " >&6
11227 else
11228 ac_check_lib_save_LIBS=$LIBS
11229 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char IceConnectionNumber ();
11241 main ()
11243 return IceConnectionNumber ();
11245 return 0;
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249 ac_cv_lib_ICE_IceConnectionNumber=yes
11250 else
11251 ac_cv_lib_ICE_IceConnectionNumber=no
11253 rm -f core conftest.err conftest.$ac_objext \
11254 conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11258 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11259 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11260 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11263 LDFLAGS=$ac_save_LDFLAGS
11268 if test "$have_x" = "yes"
11269 then
11270 ac_save_CPPFLAGS="$CPPFLAGS"
11271 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11274 $as_echo_n "checking for -lX11... " >&6; }
11275 if ${ac_cv_lib_soname_X11+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_soname_save_LIBS=$LIBS
11279 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char XCreateWindow ();
11291 main ()
11293 return XCreateWindow ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 case "$LIBEXT" in
11300 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11301 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'` ;;
11302 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11303 if ${ac_cv_lib_soname_X11:+false} :; then :
11304 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11305 fi ;;
11306 esac
11307 else
11308 ac_cv_lib_soname_X11=
11310 rm -f core conftest.err conftest.$ac_objext \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_soname_save_LIBS
11314 if ${ac_cv_lib_soname_X11:+false} :; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11316 $as_echo "not found" >&6; }
11318 else
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11320 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11322 cat >>confdefs.h <<_ACEOF
11323 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11324 _ACEOF
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11329 $as_echo_n "checking for -lXext... " >&6; }
11330 if ${ac_cv_lib_soname_Xext+:} false; then :
11331 $as_echo_n "(cached) " >&6
11332 else
11333 ac_check_soname_save_LIBS=$LIBS
11334 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char XextCreateExtension ();
11346 main ()
11348 return XextCreateExtension ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 case "$LIBEXT" in
11355 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11356 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'` ;;
11357 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11358 if ${ac_cv_lib_soname_Xext:+false} :; then :
11359 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11360 fi ;;
11361 esac
11362 else
11363 ac_cv_lib_soname_Xext=
11365 rm -f core conftest.err conftest.$ac_objext \
11366 conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_soname_save_LIBS
11369 if ${ac_cv_lib_soname_Xext:+false} :; then :
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11371 $as_echo "not found" >&6; }
11373 else
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11375 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11377 cat >>confdefs.h <<_ACEOF
11378 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11379 _ACEOF
11381 X_LIBS="$X_LIBS -lXext"
11383 X_LIBS="$X_LIBS -lX11"
11385 for ac_header in X11/Xlib.h \
11386 X11/XKBlib.h \
11387 X11/Xutil.h \
11388 X11/Xcursor/Xcursor.h \
11389 X11/extensions/shape.h \
11390 X11/extensions/XInput.h \
11391 X11/extensions/XInput2.h \
11392 X11/extensions/XShm.h \
11393 X11/extensions/Xcomposite.h \
11394 X11/extensions/Xfixes.h \
11395 X11/extensions/Xinerama.h \
11396 X11/extensions/Xrandr.h \
11397 X11/extensions/Xrender.h \
11398 X11/extensions/xf86vmode.h \
11399 X11/extensions/xf86vmproto.h
11400 do :
11401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11402 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11403 # include <X11/Xlib.h>
11404 #endif
11405 #ifdef HAVE_X11_XUTIL_H
11406 # include <X11/Xutil.h>
11407 #endif
11409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11410 cat >>confdefs.h <<_ACEOF
11411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11412 _ACEOF
11416 done
11419 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11420 then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11422 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11423 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11424 $as_echo_n "(cached) " >&6
11425 else
11426 ac_check_lib_save_LIBS=$LIBS
11427 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char XkbQueryExtension ();
11439 main ()
11441 return XkbQueryExtension ();
11443 return 0;
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447 ac_cv_lib_X11_XkbQueryExtension=yes
11448 else
11449 ac_cv_lib_X11_XkbQueryExtension=no
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11456 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11457 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11459 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11465 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11466 then
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11468 $as_echo_n "checking for -lXcursor... " >&6; }
11469 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11470 $as_echo_n "(cached) " >&6
11471 else
11472 ac_check_soname_save_LIBS=$LIBS
11473 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char XcursorImageLoadCursor ();
11485 main ()
11487 return XcursorImageLoadCursor ();
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 case "$LIBEXT" in
11494 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11495 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'` ;;
11496 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11497 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11498 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11499 fi ;;
11500 esac
11501 else
11502 ac_cv_lib_soname_Xcursor=
11504 rm -f core conftest.err conftest.$ac_objext \
11505 conftest$ac_exeext conftest.$ac_ext
11506 LIBS=$ac_check_soname_save_LIBS
11508 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11510 $as_echo "not found" >&6; }
11512 else
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11514 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11516 cat >>confdefs.h <<_ACEOF
11517 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11518 _ACEOF
11523 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11524 case "x$with_xcursor" in
11525 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11526 xno) ;;
11527 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11528 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11529 esac
11533 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11534 then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11536 $as_echo_n "checking for -lXi... " >&6; }
11537 if ${ac_cv_lib_soname_Xi+:} false; then :
11538 $as_echo_n "(cached) " >&6
11539 else
11540 ac_check_soname_save_LIBS=$LIBS
11541 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h. */
11545 /* Override any GCC internal prototype to avoid an error.
11546 Use char because int might match the return type of a GCC
11547 builtin and then its argument prototype would still apply. */
11548 #ifdef __cplusplus
11549 extern "C"
11550 #endif
11551 char XOpenDevice ();
11553 main ()
11555 return XOpenDevice ();
11557 return 0;
11559 _ACEOF
11560 if ac_fn_c_try_link "$LINENO"; then :
11561 case "$LIBEXT" in
11562 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11563 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'` ;;
11564 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11565 if ${ac_cv_lib_soname_Xi:+false} :; then :
11566 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11567 fi ;;
11568 esac
11569 else
11570 ac_cv_lib_soname_Xi=
11572 rm -f core conftest.err conftest.$ac_objext \
11573 conftest$ac_exeext conftest.$ac_ext
11574 LIBS=$ac_check_soname_save_LIBS
11576 if ${ac_cv_lib_soname_Xi:+false} :; then :
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11578 $as_echo "not found" >&6; }
11580 else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11582 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11584 cat >>confdefs.h <<_ACEOF
11585 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11586 _ACEOF
11591 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11592 case "x$with_xinput" in
11593 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11594 xno) ;;
11595 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11596 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11597 esac
11601 if test "x$ac_cv_lib_soname_Xi" != x
11602 then
11603 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11604 case "x$with_xinput2" in
11605 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11606 xno) ;;
11607 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11608 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11609 esac
11614 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11615 then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11617 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11618 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11619 $as_echo_n "(cached) " >&6
11620 else
11621 ac_check_lib_save_LIBS=$LIBS
11622 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11629 #ifdef __cplusplus
11630 extern "C"
11631 #endif
11632 char XShmQueryExtension ();
11634 main ()
11636 return XShmQueryExtension ();
11638 return 0;
11640 _ACEOF
11641 if ac_fn_c_try_link "$LINENO"; then :
11642 ac_cv_lib_Xext_XShmQueryExtension=yes
11643 else
11644 ac_cv_lib_Xext_XShmQueryExtension=no
11646 rm -f core conftest.err conftest.$ac_objext \
11647 conftest$ac_exeext conftest.$ac_ext
11648 LIBS=$ac_check_lib_save_LIBS
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11651 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11652 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11654 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11659 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11660 case "x$with_xshm" in
11661 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11662 xno) ;;
11663 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11664 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11665 esac
11669 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11670 then
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11672 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11673 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11674 $as_echo_n "(cached) " >&6
11675 else
11676 ac_check_lib_save_LIBS=$LIBS
11677 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11679 /* end confdefs.h. */
11681 /* Override any GCC internal prototype to avoid an error.
11682 Use char because int might match the return type of a GCC
11683 builtin and then its argument prototype would still apply. */
11684 #ifdef __cplusplus
11685 extern "C"
11686 #endif
11687 char XShapeQueryExtension ();
11689 main ()
11691 return XShapeQueryExtension ();
11693 return 0;
11695 _ACEOF
11696 if ac_fn_c_try_link "$LINENO"; then :
11697 ac_cv_lib_Xext_XShapeQueryExtension=yes
11698 else
11699 ac_cv_lib_Xext_XShapeQueryExtension=no
11701 rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11706 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11707 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11709 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11714 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11715 case "x$with_xshape" in
11716 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11717 xno) ;;
11718 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11719 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11720 esac
11724 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11725 then
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11727 $as_echo_n "checking for -lXxf86vm... " >&6; }
11728 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11729 $as_echo_n "(cached) " >&6
11730 else
11731 ac_check_soname_save_LIBS=$LIBS
11732 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11734 /* end confdefs.h. */
11736 /* Override any GCC internal prototype to avoid an error.
11737 Use char because int might match the return type of a GCC
11738 builtin and then its argument prototype would still apply. */
11739 #ifdef __cplusplus
11740 extern "C"
11741 #endif
11742 char XF86VidModeQueryExtension ();
11744 main ()
11746 return XF86VidModeQueryExtension ();
11748 return 0;
11750 _ACEOF
11751 if ac_fn_c_try_link "$LINENO"; then :
11752 case "$LIBEXT" in
11753 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11754 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'` ;;
11755 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11756 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11757 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11758 fi ;;
11759 esac
11760 else
11761 ac_cv_lib_soname_Xxf86vm=
11763 rm -f core conftest.err conftest.$ac_objext \
11764 conftest$ac_exeext conftest.$ac_ext
11765 LIBS=$ac_check_soname_save_LIBS
11767 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11769 $as_echo "not found" >&6; }
11771 else
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11773 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11775 cat >>confdefs.h <<_ACEOF
11776 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11777 _ACEOF
11782 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11783 case "x$with_xxf86vm" in
11784 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11785 xno) ;;
11786 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11787 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11788 esac
11792 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11793 then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11795 $as_echo_n "checking for -lXrender... " >&6; }
11796 if ${ac_cv_lib_soname_Xrender+:} false; then :
11797 $as_echo_n "(cached) " >&6
11798 else
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802 /* end confdefs.h. */
11804 /* Override any GCC internal prototype to avoid an error.
11805 Use char because int might match the return type of a GCC
11806 builtin and then its argument prototype would still apply. */
11807 #ifdef __cplusplus
11808 extern "C"
11809 #endif
11810 char XRenderQueryExtension ();
11812 main ()
11814 return XRenderQueryExtension ();
11816 return 0;
11818 _ACEOF
11819 if ac_fn_c_try_link "$LINENO"; then :
11820 case "$LIBEXT" in
11821 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11822 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'` ;;
11823 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11824 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11825 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11826 fi ;;
11827 esac
11828 else
11829 ac_cv_lib_soname_Xrender=
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11837 $as_echo "not found" >&6; }
11839 else
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11841 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11845 _ACEOF
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11848 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11849 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_lib_save_LIBS=$LIBS
11853 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char XRenderSetPictureTransform ();
11865 main ()
11867 return XRenderSetPictureTransform ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11874 else
11875 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11877 rm -f core conftest.err conftest.$ac_objext \
11878 conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_lib_save_LIBS
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11882 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11883 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11885 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11890 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11891 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11892 $as_echo_n "(cached) " >&6
11893 else
11894 ac_check_lib_save_LIBS=$LIBS
11895 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11899 /* Override any GCC internal prototype to avoid an error.
11900 Use char because int might match the return type of a GCC
11901 builtin and then its argument prototype would still apply. */
11902 #ifdef __cplusplus
11903 extern "C"
11904 #endif
11905 char XRenderCreateLinearGradient ();
11907 main ()
11909 return XRenderCreateLinearGradient ();
11911 return 0;
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"; then :
11915 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11916 else
11917 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11919 rm -f core conftest.err conftest.$ac_objext \
11920 conftest$ac_exeext conftest.$ac_ext
11921 LIBS=$ac_check_lib_save_LIBS
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11924 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11925 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11927 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11934 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11935 case "x$with_xrender" in
11936 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11937 xno) ;;
11938 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11939 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11940 esac
11944 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11945 then
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #include <X11/Xlib.h>
11949 #include <X11/extensions/Xrandr.h>
11951 main ()
11953 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11955 return 0;
11957 _ACEOF
11958 if ac_fn_c_try_compile "$LINENO"; then :
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11960 $as_echo_n "checking for -lXrandr... " >&6; }
11961 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11962 $as_echo_n "(cached) " >&6
11963 else
11964 ac_check_soname_save_LIBS=$LIBS
11965 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 #ifdef __cplusplus
11973 extern "C"
11974 #endif
11975 char XRRQueryExtension ();
11977 main ()
11979 return XRRQueryExtension ();
11981 return 0;
11983 _ACEOF
11984 if ac_fn_c_try_link "$LINENO"; then :
11985 case "$LIBEXT" in
11986 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11987 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'` ;;
11988 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11989 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11990 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11991 fi ;;
11992 esac
11993 else
11994 ac_cv_lib_soname_Xrandr=
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_soname_save_LIBS
12000 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12002 $as_echo "not found" >&6; }
12004 else
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12006 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12008 cat >>confdefs.h <<_ACEOF
12009 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12010 _ACEOF
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12014 #include <X11/Xlib.h>
12015 #include <X11/extensions/Xrandr.h>
12017 main ()
12019 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12021 return 0;
12023 _ACEOF
12024 if ac_fn_c_try_compile "$LINENO"; then :
12026 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12032 #include <X11/Xlib.h>
12033 #include <X11/extensions/Xrandr.h>
12035 main ()
12037 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_compile "$LINENO"; then :
12044 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12046 else
12047 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12054 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12055 case "x$with_xrandr" in
12056 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12057 xno) ;;
12058 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12059 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12060 esac
12064 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12065 then
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #include <X11/Xlib.h>
12069 #include <X11/extensions/Xfixes.h>
12071 main ()
12073 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_compile "$LINENO"; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12080 $as_echo_n "checking for -lXfixes... " >&6; }
12081 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12082 $as_echo_n "(cached) " >&6
12083 else
12084 ac_check_soname_save_LIBS=$LIBS
12085 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12092 #ifdef __cplusplus
12093 extern "C"
12094 #endif
12095 char XFixesQueryVersion ();
12097 main ()
12099 return XFixesQueryVersion ();
12101 return 0;
12103 _ACEOF
12104 if ac_fn_c_try_link "$LINENO"; then :
12105 case "$LIBEXT" in
12106 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12107 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'` ;;
12108 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12109 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12110 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12111 fi ;;
12112 esac
12113 else
12114 ac_cv_lib_soname_Xfixes=
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12126 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12130 _ACEOF
12135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12137 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12138 case "x$with_xfixes" in
12139 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12140 xno) ;;
12141 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12142 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12143 esac
12147 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12148 then
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151 #include <X11/Xlib.h>
12152 #include <X11/extensions/Xinerama.h>
12154 main ()
12156 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_compile "$LINENO"; then :
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12163 $as_echo_n "checking for -lXinerama... " >&6; }
12164 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 ac_check_soname_save_LIBS=$LIBS
12168 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12172 /* Override any GCC internal prototype to avoid an error.
12173 Use char because int might match the return type of a GCC
12174 builtin and then its argument prototype would still apply. */
12175 #ifdef __cplusplus
12176 extern "C"
12177 #endif
12178 char XineramaQueryScreens ();
12180 main ()
12182 return XineramaQueryScreens ();
12184 return 0;
12186 _ACEOF
12187 if ac_fn_c_try_link "$LINENO"; then :
12188 case "$LIBEXT" in
12189 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12190 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'` ;;
12191 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12192 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12193 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12194 fi ;;
12195 esac
12196 else
12197 ac_cv_lib_soname_Xinerama=
12199 rm -f core conftest.err conftest.$ac_objext \
12200 conftest$ac_exeext conftest.$ac_ext
12201 LIBS=$ac_check_soname_save_LIBS
12203 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12205 $as_echo "not found" >&6; }
12207 else
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12209 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12211 cat >>confdefs.h <<_ACEOF
12212 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12213 _ACEOF
12218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12220 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12221 case "x$with_xinerama" in
12222 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12223 xno) ;;
12224 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12225 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12226 esac
12230 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12231 then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12233 $as_echo_n "checking for -lXcomposite... " >&6; }
12234 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 ac_check_soname_save_LIBS=$LIBS
12238 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12245 #ifdef __cplusplus
12246 extern "C"
12247 #endif
12248 char XCompositeRedirectWindow ();
12250 main ()
12252 return XCompositeRedirectWindow ();
12254 return 0;
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"; then :
12258 case "$LIBEXT" in
12259 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12260 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'` ;;
12261 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12262 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12263 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12264 fi ;;
12265 esac
12266 else
12267 ac_cv_lib_soname_Xcomposite=
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_soname_save_LIBS
12273 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12275 $as_echo "not found" >&6; }
12277 else
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12279 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12281 cat >>confdefs.h <<_ACEOF
12282 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12283 _ACEOF
12288 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12289 case "x$with_xcomposite" in
12290 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12291 xno) ;;
12292 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12293 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12294 esac
12298 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12299 #include <X11/Xlib.h>
12300 #endif
12302 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12304 cat >>confdefs.h <<_ACEOF
12305 #define HAVE_XICCALLBACK_CALLBACK 1
12306 _ACEOF
12310 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12311 #include <X11/Xlib.h>
12312 #endif
12314 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12316 cat >>confdefs.h <<_ACEOF
12317 #define HAVE_XEVENT_XCOOKIE 1
12318 _ACEOF
12325 opengl_msg=""
12326 if test "x$with_opengl" != "xno"
12327 then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12329 $as_echo_n "checking for -lGL... " >&6; }
12330 if ${ac_cv_lib_soname_GL+:} false; then :
12331 $as_echo_n "(cached) " >&6
12332 else
12333 ac_check_soname_save_LIBS=$LIBS
12334 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 #ifdef __cplusplus
12342 extern "C"
12343 #endif
12344 char glXCreateContext ();
12346 main ()
12348 return glXCreateContext ();
12350 return 0;
12352 _ACEOF
12353 if ac_fn_c_try_link "$LINENO"; then :
12354 case "$LIBEXT" in
12355 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12356 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'` ;;
12357 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12358 if ${ac_cv_lib_soname_GL:+false} :; then :
12359 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12360 fi ;;
12361 esac
12362 else
12363 ac_cv_lib_soname_GL=
12365 rm -f core conftest.err conftest.$ac_objext \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if ${ac_cv_lib_soname_GL:+false} :; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12371 $as_echo "not found" >&6; }
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12373 $as_echo_n "checking for -lGL... " >&6; }
12374 if ${ac_cv_lib_soname_GL+:} false; then :
12375 $as_echo_n "(cached) " >&6
12376 else
12377 ac_check_soname_save_LIBS=$LIBS
12378 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"
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12382 /* Override any GCC internal prototype to avoid an error.
12383 Use char because int might match the return type of a GCC
12384 builtin and then its argument prototype would still apply. */
12385 #ifdef __cplusplus
12386 extern "C"
12387 #endif
12388 char glXCreateContext ();
12390 main ()
12392 return glXCreateContext ();
12394 return 0;
12396 _ACEOF
12397 if ac_fn_c_try_link "$LINENO"; then :
12398 case "$LIBEXT" in
12399 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12400 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'` ;;
12401 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12402 if ${ac_cv_lib_soname_GL:+false} :; then :
12403 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12404 fi ;;
12405 esac
12406 else
12407 ac_cv_lib_soname_GL=
12409 rm -f core conftest.err conftest.$ac_objext \
12410 conftest$ac_exeext conftest.$ac_ext
12411 LIBS=$ac_check_soname_save_LIBS
12413 if ${ac_cv_lib_soname_GL:+false} :; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12415 $as_echo "not found" >&6; }
12416 if test -f /usr/X11R6/lib/libGL.a
12417 then
12418 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12419 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12420 else
12421 opengl_msg="No OpenGL library found on this system."
12423 else
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12425 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12427 cat >>confdefs.h <<_ACEOF
12428 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12429 _ACEOF
12431 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"
12433 else
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12435 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12437 cat >>confdefs.h <<_ACEOF
12438 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12439 _ACEOF
12441 OPENGL_LIBS="-lGL"
12443 if test "x$with_glu" != "xno"
12444 then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12446 $as_echo_n "checking for -lGLU... " >&6; }
12447 if ${ac_cv_lib_soname_GLU+:} false; then :
12448 $as_echo_n "(cached) " >&6
12449 else
12450 ac_check_soname_save_LIBS=$LIBS
12451 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12453 /* end confdefs.h. */
12455 /* Override any GCC internal prototype to avoid an error.
12456 Use char because int might match the return type of a GCC
12457 builtin and then its argument prototype would still apply. */
12458 #ifdef __cplusplus
12459 extern "C"
12460 #endif
12461 char gluLookAt ();
12463 main ()
12465 return gluLookAt ();
12467 return 0;
12469 _ACEOF
12470 if ac_fn_c_try_link "$LINENO"; then :
12471 case "$LIBEXT" in
12472 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12473 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12474 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12475 if ${ac_cv_lib_soname_GLU:+false} :; then :
12476 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12477 fi ;;
12478 esac
12479 else
12480 ac_cv_lib_soname_GLU=
12482 rm -f core conftest.err conftest.$ac_objext \
12483 conftest$ac_exeext conftest.$ac_ext
12484 LIBS=$ac_check_soname_save_LIBS
12486 if ${ac_cv_lib_soname_GLU:+false} :; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12488 $as_echo "not found" >&6; }
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12492 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12494 cat >>confdefs.h <<_ACEOF
12495 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12496 _ACEOF
12500 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12501 case "x$with_glu" in
12502 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12503 xno) ;;
12504 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12505 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12506 esac
12511 if test "x$with_osmesa" != "xno"
12512 then
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12514 $as_echo_n "checking for -lOSMesa... " >&6; }
12515 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12516 $as_echo_n "(cached) " >&6
12517 else
12518 ac_check_soname_save_LIBS=$LIBS
12519 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12523 /* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12526 #ifdef __cplusplus
12527 extern "C"
12528 #endif
12529 char OSMesaGetProcAddress ();
12531 main ()
12533 return OSMesaGetProcAddress ();
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_link "$LINENO"; then :
12539 case "$LIBEXT" in
12540 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12541 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'` ;;
12542 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12543 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12544 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12545 fi ;;
12546 esac
12547 else
12548 ac_cv_lib_soname_OSMesa=
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_soname_save_LIBS
12554 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12556 $as_echo "not found" >&6; }
12558 else
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12560 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12562 cat >>confdefs.h <<_ACEOF
12563 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12564 _ACEOF
12568 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12569 case "x$with_osmesa" in
12570 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12571 xno) ;;
12572 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12573 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12574 esac
12579 if test -n "$opengl_msg"; then :
12580 case "x$with_opengl" in
12581 x) as_fn_append wine_warnings "|$opengl_msg
12582 OpenGL and Direct3D won't be supported." ;;
12583 xno) ;;
12584 *) as_fn_error $? "$opengl_msg
12585 OpenGL and Direct3D won't be supported.
12586 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12587 esac
12591 CPPFLAGS="$ac_save_CPPFLAGS"
12592 else
12593 X_CFLAGS=""
12594 X_LIBS=""
12597 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12598 then
12599 if test "x$X_LIBS" = "x"; then :
12600 case "x$with_x" in
12601 xno) ;;
12602 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12603 without X support, which probably isn't what you want. You will need
12604 to install ${notice_platform}development packages of Xlib at the very least.
12605 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12606 esac
12607 enable_winex11_drv=${enable_winex11_drv:-no}
12609 else
12610 if test "x$X_LIBS" = "x"; then :
12611 case "x$with_x" in
12612 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12613 xno) ;;
12614 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12615 This is an error since --with-x was requested." "$LINENO" 5 ;;
12616 esac
12617 enable_winex11_drv=${enable_winex11_drv:-no}
12621 if test "$ac_cv_header_CL_cl_h" = "yes"
12622 then
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12624 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12625 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12626 $as_echo_n "(cached) " >&6
12627 else
12628 ac_check_lib_save_LIBS=$LIBS
12629 LIBS="-lOpenCL $LIBS"
12630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 /* Override any GCC internal prototype to avoid an error.
12634 Use char because int might match the return type of a GCC
12635 builtin and then its argument prototype would still apply. */
12636 #ifdef __cplusplus
12637 extern "C"
12638 #endif
12639 char clGetPlatformInfo ();
12641 main ()
12643 return clGetPlatformInfo ();
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_link "$LINENO"; then :
12649 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12650 else
12651 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12653 rm -f core conftest.err conftest.$ac_objext \
12654 conftest$ac_exeext conftest.$ac_ext
12655 LIBS=$ac_check_lib_save_LIBS
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12658 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12659 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12660 OPENCL_LIBS="-lOpenCL"
12665 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12666 case "x$with_opencl" in
12667 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12668 xno) ;;
12669 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12670 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12671 esac
12672 enable_opencl=${enable_opencl:-no}
12675 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12676 then
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12678 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12679 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12680 $as_echo_n "(cached) " >&6
12681 else
12682 ac_check_lib_save_LIBS=$LIBS
12683 LIBS="-lpcap $LIBS"
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12687 /* Override any GCC internal prototype to avoid an error.
12688 Use char because int might match the return type of a GCC
12689 builtin and then its argument prototype would still apply. */
12690 #ifdef __cplusplus
12691 extern "C"
12692 #endif
12693 char pcap_create ();
12695 main ()
12697 return pcap_create ();
12699 return 0;
12701 _ACEOF
12702 if ac_fn_c_try_link "$LINENO"; then :
12703 ac_cv_lib_pcap_pcap_create=yes
12704 else
12705 ac_cv_lib_pcap_pcap_create=no
12707 rm -f core conftest.err conftest.$ac_objext \
12708 conftest$ac_exeext conftest.$ac_ext
12709 LIBS=$ac_check_lib_save_LIBS
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12712 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12713 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12714 PCAP_LIBS="-lpcap"
12719 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12720 case "x$with_pcap" in
12721 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12722 xno) ;;
12723 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12724 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12725 esac
12726 enable_wpcap=${enable_wpcap:-no}
12730 if test "x$with_xml" != "xno"
12731 then
12732 if ${XML2_CFLAGS:+false} :; then :
12733 if ${PKG_CONFIG+:} false; then :
12734 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12737 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12738 if ${XML2_LIBS:+false} :; then :
12739 if ${PKG_CONFIG+:} false; then :
12740 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12743 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12744 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12745 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12746 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12747 ac_save_CPPFLAGS=$CPPFLAGS
12748 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12749 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12750 do :
12751 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12752 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12754 cat >>confdefs.h <<_ACEOF
12755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12756 _ACEOF
12760 done
12762 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12763 then
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12765 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12766 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12767 $as_echo_n "(cached) " >&6
12768 else
12769 ac_check_lib_save_LIBS=$LIBS
12770 LIBS="-lxml2 $XML2_LIBS $LIBS"
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12777 #ifdef __cplusplus
12778 extern "C"
12779 #endif
12780 char xmlParseMemory ();
12782 main ()
12784 return xmlParseMemory ();
12786 return 0;
12788 _ACEOF
12789 if ac_fn_c_try_link "$LINENO"; then :
12790 ac_cv_lib_xml2_xmlParseMemory=yes
12791 else
12792 ac_cv_lib_xml2_xmlParseMemory=no
12794 rm -f core conftest.err conftest.$ac_objext \
12795 conftest$ac_exeext conftest.$ac_ext
12796 LIBS=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12799 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12800 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12802 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12804 else
12805 XML2_LIBS=""
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12809 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12810 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12811 $as_echo_n "(cached) " >&6
12812 else
12813 ac_check_lib_save_LIBS=$LIBS
12814 LIBS="-lxml2 $XML2_LIBS $LIBS"
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12821 #ifdef __cplusplus
12822 extern "C"
12823 #endif
12824 char xmlReadMemory ();
12826 main ()
12828 return xmlReadMemory ();
12830 return 0;
12832 _ACEOF
12833 if ac_fn_c_try_link "$LINENO"; then :
12834 ac_cv_lib_xml2_xmlReadMemory=yes
12835 else
12836 ac_cv_lib_xml2_xmlReadMemory=no
12838 rm -f core conftest.err conftest.$ac_objext \
12839 conftest$ac_exeext conftest.$ac_ext
12840 LIBS=$ac_check_lib_save_LIBS
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12843 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12844 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12846 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12851 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12852 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12853 $as_echo_n "(cached) " >&6
12854 else
12855 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lxml2 $XML2_LIBS $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12863 #ifdef __cplusplus
12864 extern "C"
12865 #endif
12866 char xmlNewDocPI ();
12868 main ()
12870 return xmlNewDocPI ();
12872 return 0;
12874 _ACEOF
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 ac_cv_lib_xml2_xmlNewDocPI=yes
12877 else
12878 ac_cv_lib_xml2_xmlNewDocPI=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12885 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12886 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12888 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12893 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12894 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12895 $as_echo_n "(cached) " >&6
12896 else
12897 ac_check_lib_save_LIBS=$LIBS
12898 LIBS="-lxml2 $XML2_LIBS $LIBS"
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12902 /* Override any GCC internal prototype to avoid an error.
12903 Use char because int might match the return type of a GCC
12904 builtin and then its argument prototype would still apply. */
12905 #ifdef __cplusplus
12906 extern "C"
12907 #endif
12908 char xmlSchemaSetParserStructuredErrors ();
12910 main ()
12912 return xmlSchemaSetParserStructuredErrors ();
12914 return 0;
12916 _ACEOF
12917 if ac_fn_c_try_link "$LINENO"; then :
12918 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12919 else
12920 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12922 rm -f core conftest.err conftest.$ac_objext \
12923 conftest$ac_exeext conftest.$ac_ext
12924 LIBS=$ac_check_lib_save_LIBS
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12927 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12928 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12930 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12935 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12936 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12937 $as_echo_n "(cached) " >&6
12938 else
12939 ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-lxml2 $XML2_LIBS $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char xmlSchemaSetValidStructuredErrors ();
12952 main ()
12954 return xmlSchemaSetValidStructuredErrors ();
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12961 else
12962 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12969 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12970 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12972 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12977 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12978 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lxml2 $XML2_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char xmlFirstElementChild ();
12994 main ()
12996 return xmlFirstElementChild ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_xml2_xmlFirstElementChild=yes
13003 else
13004 ac_cv_lib_xml2_xmlFirstElementChild=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13011 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13012 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13014 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13018 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13020 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13022 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13026 else
13027 XML2_CFLAGS=""
13028 XML2_LIBS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13031 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13032 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13035 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13036 case "x$with_xml" in
13037 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13038 xno) ;;
13039 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13040 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13041 esac
13045 if test "x$with_xslt" != "xno"
13046 then
13047 if ${XSLT_CFLAGS:+false} :; then :
13048 if ${PKG_CONFIG+:} false; then :
13049 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13052 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13053 if ${XSLT_LIBS:+false} :; then :
13054 if ${PKG_CONFIG+:} false; then :
13055 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13058 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13059 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13060 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13061 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13062 ac_save_CPPFLAGS=$CPPFLAGS
13063 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13064 for ac_header in libxslt/pattern.h libxslt/transform.h
13065 do :
13066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13068 # include <libxslt/pattern.h>
13069 #endif
13071 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13072 cat >>confdefs.h <<_ACEOF
13073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13074 _ACEOF
13078 done
13080 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13081 then
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13083 $as_echo_n "checking for -lxslt... " >&6; }
13084 if ${ac_cv_lib_soname_xslt+:} false; then :
13085 $as_echo_n "(cached) " >&6
13086 else
13087 ac_check_soname_save_LIBS=$LIBS
13088 LIBS="-lxslt $XSLT_LIBS $LIBS"
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char xsltCompilePattern ();
13100 main ()
13102 return xsltCompilePattern ();
13104 return 0;
13106 _ACEOF
13107 if ac_fn_c_try_link "$LINENO"; then :
13108 case "$LIBEXT" in
13109 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13110 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13111 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13112 if ${ac_cv_lib_soname_xslt:+false} :; then :
13113 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13114 fi ;;
13115 esac
13116 else
13117 ac_cv_lib_soname_xslt=
13119 rm -f core conftest.err conftest.$ac_objext \
13120 conftest$ac_exeext conftest.$ac_ext
13121 LIBS=$ac_check_soname_save_LIBS
13123 if ${ac_cv_lib_soname_xslt:+false} :; then :
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13125 $as_echo "not found" >&6; }
13127 else
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13129 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13131 cat >>confdefs.h <<_ACEOF
13132 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13133 _ACEOF
13137 else
13138 XSLT_CFLAGS=""
13140 CPPFLAGS=$ac_save_CPPFLAGS
13141 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13142 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13145 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13146 case "x$with_xslt" in
13147 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13148 xno) ;;
13149 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13150 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13151 esac
13155 if test "x$with_inotify" != "xno"
13156 then
13157 if ${INOTIFY_CFLAGS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13163 if ${INOTIFY_LIBS:+false} :; then :
13164 if ${PKG_CONFIG+:} false; then :
13165 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13170 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13171 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13172 ac_save_CPPFLAGS=$CPPFLAGS
13173 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13174 for ac_header in sys/inotify.h
13175 do :
13176 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13177 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13178 cat >>confdefs.h <<_ACEOF
13179 #define HAVE_SYS_INOTIFY_H 1
13180 _ACEOF
13184 done
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13187 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13188 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13189 $as_echo_n "(cached) " >&6
13190 else
13191 ac_check_lib_save_LIBS=$LIBS
13192 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13194 /* end confdefs.h. */
13196 /* Override any GCC internal prototype to avoid an error.
13197 Use char because int might match the return type of a GCC
13198 builtin and then its argument prototype would still apply. */
13199 #ifdef __cplusplus
13200 extern "C"
13201 #endif
13202 char inotify_add_watch ();
13204 main ()
13206 return inotify_add_watch ();
13208 return 0;
13210 _ACEOF
13211 if ac_fn_c_try_link "$LINENO"; then :
13212 ac_cv_lib_inotify_inotify_add_watch=yes
13213 else
13214 ac_cv_lib_inotify_inotify_add_watch=no
13216 rm -f core conftest.err conftest.$ac_objext \
13217 conftest$ac_exeext conftest.$ac_ext
13218 LIBS=$ac_check_lib_save_LIBS
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13221 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13222 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13224 else
13225 INOTIFY_LIBS=""
13228 CPPFLAGS=$ac_save_CPPFLAGS
13229 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13230 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13233 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13234 case "x$with_inotify" in
13235 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13236 xno) ;;
13237 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13238 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13239 esac
13243 if test "x$with_dbus" != "xno"
13244 then
13245 if ${DBUS_CFLAGS:+false} :; then :
13246 if ${PKG_CONFIG+:} false; then :
13247 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13251 if ${DBUS_LIBS:+false} :; then :
13252 if ${PKG_CONFIG+:} false; then :
13253 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13258 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13259 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13260 ac_save_CPPFLAGS=$CPPFLAGS
13261 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13262 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13263 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13265 $as_echo_n "checking for -ldbus-1... " >&6; }
13266 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_soname_save_LIBS=$LIBS
13270 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char dbus_connection_close ();
13282 main ()
13284 return dbus_connection_close ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 case "$LIBEXT" in
13291 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) 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'`
13294 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13295 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 fi ;;
13297 esac
13298 else
13299 ac_cv_lib_soname_dbus_1=
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13308 DBUS_CFLAGS=""
13309 else
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13311 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13313 cat >>confdefs.h <<_ACEOF
13314 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13315 _ACEOF
13319 else
13320 DBUS_CFLAGS=""
13324 CPPFLAGS=$ac_save_CPPFLAGS
13325 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13326 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13329 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13330 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13331 case "x$with_dbus" in
13332 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13333 xno) ;;
13334 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13335 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13336 esac
13340 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13341 then
13342 if ${HAL_CFLAGS:+false} :; then :
13343 if ${PKG_CONFIG+:} false; then :
13344 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13348 if ${HAL_LIBS:+false} :; then :
13349 if ${PKG_CONFIG+:} false; then :
13350 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13354 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13355 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13356 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13357 ac_save_CPPFLAGS=$CPPFLAGS
13358 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13359 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13360 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13362 $as_echo_n "checking for -lhal... " >&6; }
13363 if ${ac_cv_lib_soname_hal+:} false; then :
13364 $as_echo_n "(cached) " >&6
13365 else
13366 ac_check_soname_save_LIBS=$LIBS
13367 LIBS="-lhal $HAL_LIBS $LIBS"
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13374 #ifdef __cplusplus
13375 extern "C"
13376 #endif
13377 char libhal_ctx_new ();
13379 main ()
13381 return libhal_ctx_new ();
13383 return 0;
13385 _ACEOF
13386 if ac_fn_c_try_link "$LINENO"; then :
13387 case "$LIBEXT" in
13388 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13389 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13390 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13391 if ${ac_cv_lib_soname_hal:+false} :; then :
13392 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13393 fi ;;
13394 esac
13395 else
13396 ac_cv_lib_soname_hal=
13398 rm -f core conftest.err conftest.$ac_objext \
13399 conftest$ac_exeext conftest.$ac_ext
13400 LIBS=$ac_check_soname_save_LIBS
13402 if ${ac_cv_lib_soname_hal:+false} :; then :
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13404 $as_echo "not found" >&6; }
13405 HAL_CFLAGS=""
13406 else
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13408 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13410 cat >>confdefs.h <<_ACEOF
13411 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13412 _ACEOF
13416 else
13417 HAL_CFLAGS=""
13421 CPPFLAGS=$ac_save_CPPFLAGS
13422 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13423 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13425 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13426 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13427 case "x$with_hal" in
13428 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13429 xno) ;;
13430 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13431 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13432 esac
13437 if test "x$with_gnutls" != "xno"
13438 then
13439 if ${GNUTLS_CFLAGS:+false} :; then :
13440 if ${PKG_CONFIG+:} false; then :
13441 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13445 if ${GNUTLS_LIBS:+false} :; then :
13446 if ${PKG_CONFIG+:} false; then :
13447 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13452 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13453 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13454 ac_save_CPPFLAGS=$CPPFLAGS
13455 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13456 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13457 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13459 /* end confdefs.h. */
13460 #include <gnutls/gnutls.h>
13461 #include <gnutls/crypto.h>
13463 main ()
13465 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13467 return 0;
13469 _ACEOF
13470 if ac_fn_c_try_compile "$LINENO"; then :
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13472 $as_echo_n "checking for -lgnutls... " >&6; }
13473 if ${ac_cv_lib_soname_gnutls+:} false; then :
13474 $as_echo_n "(cached) " >&6
13475 else
13476 ac_check_soname_save_LIBS=$LIBS
13477 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13481 /* Override any GCC internal prototype to avoid an error.
13482 Use char because int might match the return type of a GCC
13483 builtin and then its argument prototype would still apply. */
13484 #ifdef __cplusplus
13485 extern "C"
13486 #endif
13487 char gnutls_global_init ();
13489 main ()
13491 return gnutls_global_init ();
13493 return 0;
13495 _ACEOF
13496 if ac_fn_c_try_link "$LINENO"; then :
13497 case "$LIBEXT" in
13498 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13499 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'` ;;
13500 *) 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'`
13501 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13502 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'`
13503 fi ;;
13504 esac
13505 else
13506 ac_cv_lib_soname_gnutls=
13508 rm -f core conftest.err conftest.$ac_objext \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS=$ac_check_soname_save_LIBS
13512 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13514 $as_echo "not found" >&6; }
13515 GNUTLS_CFLAGS=""
13516 else
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13518 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13520 cat >>confdefs.h <<_ACEOF
13521 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13522 _ACEOF
13526 ac_wine_check_funcs_save_LIBS="$LIBS"
13527 LIBS="$LIBS $GNUTLS_LIBS"
13528 for ac_func in gnutls_cipher_init
13529 do :
13530 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13531 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13532 cat >>confdefs.h <<_ACEOF
13533 #define HAVE_GNUTLS_CIPHER_INIT 1
13534 _ACEOF
13536 else
13537 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13539 done
13541 LIBS="$ac_wine_check_funcs_save_LIBS"
13543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13544 else
13545 GNUTLS_CFLAGS=""
13549 CPPFLAGS=$ac_save_CPPFLAGS
13550 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13551 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13554 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13555 case "x$with_gnutls" in
13556 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13557 xno) ;;
13558 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13559 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13560 esac
13564 CURSES_LIBS=""
13565 if test "$ac_cv_header_ncurses_h" = "yes"
13566 then
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13568 $as_echo_n "checking for -lncurses... " >&6; }
13569 if ${ac_cv_lib_soname_ncurses+:} false; then :
13570 $as_echo_n "(cached) " >&6
13571 else
13572 ac_check_soname_save_LIBS=$LIBS
13573 LIBS="-lncurses $LIBS"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13577 /* Override any GCC internal prototype to avoid an error.
13578 Use char because int might match the return type of a GCC
13579 builtin and then its argument prototype would still apply. */
13580 #ifdef __cplusplus
13581 extern "C"
13582 #endif
13583 char waddch ();
13585 main ()
13587 return waddch ();
13589 return 0;
13591 _ACEOF
13592 if ac_fn_c_try_link "$LINENO"; then :
13593 case "$LIBEXT" in
13594 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13595 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13596 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13597 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13598 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13599 fi ;;
13600 esac
13601 else
13602 ac_cv_lib_soname_ncurses=
13604 rm -f core conftest.err conftest.$ac_objext \
13605 conftest$ac_exeext conftest.$ac_ext
13606 LIBS=$ac_check_soname_save_LIBS
13608 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13610 $as_echo "not found" >&6; }
13612 else
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13614 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13616 cat >>confdefs.h <<_ACEOF
13617 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13618 _ACEOF
13620 CURSES_LIBS="-lncurses"
13622 elif test "$ac_cv_header_curses_h" = "yes"
13623 then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13625 $as_echo_n "checking for -lcurses... " >&6; }
13626 if ${ac_cv_lib_soname_curses+:} false; then :
13627 $as_echo_n "(cached) " >&6
13628 else
13629 ac_check_soname_save_LIBS=$LIBS
13630 LIBS="-lcurses $LIBS"
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13637 #ifdef __cplusplus
13638 extern "C"
13639 #endif
13640 char waddch ();
13642 main ()
13644 return waddch ();
13646 return 0;
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 case "$LIBEXT" in
13651 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13652 dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13653 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13654 if ${ac_cv_lib_soname_curses:+false} :; then :
13655 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13656 fi ;;
13657 esac
13658 else
13659 ac_cv_lib_soname_curses=
13661 rm -f core conftest.err conftest.$ac_objext \
13662 conftest$ac_exeext conftest.$ac_ext
13663 LIBS=$ac_check_soname_save_LIBS
13665 if ${ac_cv_lib_soname_curses:+false} :; then :
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13667 $as_echo "not found" >&6; }
13669 else
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13671 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13673 cat >>confdefs.h <<_ACEOF
13674 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13675 _ACEOF
13677 CURSES_LIBS="-lcurses"
13680 ac_save_LIBS="$LIBS"
13681 LIBS="$LIBS $CURSES_LIBS"
13682 for ac_func in mousemask
13683 do :
13684 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13685 if test "x$ac_cv_func_mousemask" = xyes; then :
13686 cat >>confdefs.h <<_ACEOF
13687 #define HAVE_MOUSEMASK 1
13688 _ACEOF
13691 done
13693 LIBS="$ac_save_LIBS"
13694 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13695 case "x$with_curses" in
13696 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13697 xno) ;;
13698 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13699 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13700 esac
13704 if test "x$with_sane" != "xno"
13705 then
13706 if ${SANE_CFLAGS:+false} :; then :
13707 if ${PKG_CONFIG+:} false; then :
13708 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13711 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13712 if ${SANE_LIBS:+false} :; then :
13713 if ${PKG_CONFIG+:} false; then :
13714 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13717 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13719 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13720 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13721 ac_save_CPPFLAGS=$CPPFLAGS
13722 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13723 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13724 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13726 $as_echo_n "checking for -lsane... " >&6; }
13727 if ${ac_cv_lib_soname_sane+:} false; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 ac_check_soname_save_LIBS=$LIBS
13731 LIBS="-lsane $SANE_LIBS $LIBS"
13732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13735 /* Override any GCC internal prototype to avoid an error.
13736 Use char because int might match the return type of a GCC
13737 builtin and then its argument prototype would still apply. */
13738 #ifdef __cplusplus
13739 extern "C"
13740 #endif
13741 char sane_init ();
13743 main ()
13745 return sane_init ();
13747 return 0;
13749 _ACEOF
13750 if ac_fn_c_try_link "$LINENO"; then :
13751 case "$LIBEXT" in
13752 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13753 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13754 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13755 if ${ac_cv_lib_soname_sane:+false} :; then :
13756 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13757 fi ;;
13758 esac
13759 else
13760 ac_cv_lib_soname_sane=
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_soname_save_LIBS
13766 if ${ac_cv_lib_soname_sane:+false} :; then :
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13768 $as_echo "not found" >&6; }
13769 SANE_CFLAGS=""
13770 else
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13772 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13774 cat >>confdefs.h <<_ACEOF
13775 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13776 _ACEOF
13780 else
13781 SANE_CFLAGS=""
13785 CPPFLAGS=$ac_save_CPPFLAGS
13786 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13787 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13790 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13791 case "x$with_sane" in
13792 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13793 xno) ;;
13794 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13795 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13796 esac
13800 if test "x$with_v4l2" != "xno"
13801 then
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13803 $as_echo_n "checking for -lv4l2... " >&6; }
13804 if ${ac_cv_lib_soname_v4l2+:} false; then :
13805 $as_echo_n "(cached) " >&6
13806 else
13807 ac_check_soname_save_LIBS=$LIBS
13808 LIBS="-lv4l2 $LIBS"
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13810 /* end confdefs.h. */
13812 /* Override any GCC internal prototype to avoid an error.
13813 Use char because int might match the return type of a GCC
13814 builtin and then its argument prototype would still apply. */
13815 #ifdef __cplusplus
13816 extern "C"
13817 #endif
13818 char v4l2_open ();
13820 main ()
13822 return v4l2_open ();
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"; then :
13828 case "$LIBEXT" in
13829 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13830 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'` ;;
13831 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13832 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13833 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13834 fi ;;
13835 esac
13836 else
13837 ac_cv_lib_soname_v4l2=
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 LIBS=$ac_check_soname_save_LIBS
13843 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13845 $as_echo "not found" >&6; }
13847 else
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13849 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13851 cat >>confdefs.h <<_ACEOF
13852 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13853 _ACEOF
13858 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13859 case "x$with_v4l2" in
13860 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13861 xno) ;;
13862 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13863 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13864 esac
13868 if test "x$with_gphoto" != "xno"
13869 then
13870 if ${GPHOTO2_CFLAGS:+false} :; then :
13871 if ${PKG_CONFIG+:} false; then :
13872 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13875 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13876 if ${GPHOTO2_LIBS:+false} :; then :
13877 if ${PKG_CONFIG+:} false; then :
13878 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13881 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13882 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13883 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13884 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13885 ac_save_CPPFLAGS=$CPPFLAGS
13886 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13887 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13888 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13890 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13891 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13892 $as_echo_n "(cached) " >&6
13893 else
13894 ac_check_lib_save_LIBS=$LIBS
13895 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 #ifdef __cplusplus
13903 extern "C"
13904 #endif
13905 char gp_camera_new ();
13907 main ()
13909 return gp_camera_new ();
13911 return 0;
13913 _ACEOF
13914 if ac_fn_c_try_link "$LINENO"; then :
13915 ac_cv_lib_gphoto2_gp_camera_new=yes
13916 else
13917 ac_cv_lib_gphoto2_gp_camera_new=no
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS=$ac_check_lib_save_LIBS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13924 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13925 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13927 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13929 else
13930 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13933 else
13934 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13938 CPPFLAGS=$ac_save_CPPFLAGS
13939 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13940 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13942 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13943 if ${PKG_CONFIG+:} false; then :
13944 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13947 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13948 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13949 if ${PKG_CONFIG+:} false; then :
13950 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13953 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13954 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13955 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13956 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13957 ac_save_CPPFLAGS=$CPPFLAGS
13958 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13959 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13960 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13962 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13963 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13964 $as_echo_n "(cached) " >&6
13965 else
13966 ac_check_lib_save_LIBS=$LIBS
13967 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13969 /* end confdefs.h. */
13971 /* Override any GCC internal prototype to avoid an error.
13972 Use char because int might match the return type of a GCC
13973 builtin and then its argument prototype would still apply. */
13974 #ifdef __cplusplus
13975 extern "C"
13976 #endif
13977 char gp_port_info_list_new ();
13979 main ()
13981 return gp_port_info_list_new ();
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13988 else
13989 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13991 rm -f core conftest.err conftest.$ac_objext \
13992 conftest$ac_exeext conftest.$ac_ext
13993 LIBS=$ac_check_lib_save_LIBS
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13996 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13997 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13999 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14001 else
14002 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14005 else
14006 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14010 CPPFLAGS=$ac_save_CPPFLAGS
14011 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14012 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14015 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14016 case "x$with_gphoto" in
14017 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14018 xno) ;;
14019 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14020 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14021 esac
14024 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14025 case "x$with_gphoto" in
14026 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14027 xno) ;;
14028 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14029 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14030 esac
14035 if test "$ac_cv_header_resolv_h" = "yes"
14036 then
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14038 $as_echo_n "checking for resolver library... " >&6; }
14039 if ${ac_cv_have_resolv+:} false; then :
14040 $as_echo_n "(cached) " >&6
14041 else
14042 ac_save_LIBS="$LIBS"
14043 for lib in '' -lresolv
14045 LIBS="$lib $ac_save_LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14048 #ifdef HAVE_NETINET_IN_H
14049 #include <netinet/in.h>
14050 #endif
14051 #include <resolv.h>
14053 main ()
14055 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14057 return 0;
14059 _ACEOF
14060 if ac_fn_c_try_link "$LINENO"; then :
14061 ac_cv_have_resolv=${lib:-"none required"}
14062 else
14063 ac_cv_have_resolv="not found"
14065 rm -f core conftest.err conftest.$ac_objext \
14066 conftest$ac_exeext conftest.$ac_ext
14067 test "x$ac_cv_have_resolv" = "xnot found" || break
14068 done
14069 LIBS="$ac_save_LIBS"
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14072 $as_echo "$ac_cv_have_resolv" >&6; }
14074 case "$ac_cv_have_resolv" in
14075 "not found") ;;
14076 "none required")
14078 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14081 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14083 RESOLV_LIBS=$ac_cv_have_resolv
14085 esac
14088 if test "x$with_cms" != "xno"
14089 then
14090 if ${LCMS2_CFLAGS:+false} :; then :
14091 if ${PKG_CONFIG+:} false; then :
14092 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14096 if ${LCMS2_LIBS:+false} :; then :
14097 if ${PKG_CONFIG+:} false; then :
14098 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14102 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14103 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14104 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14105 ac_save_CPPFLAGS=$CPPFLAGS
14106 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14107 for ac_header in lcms2.h
14108 do :
14109 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14110 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14111 cat >>confdefs.h <<_ACEOF
14112 #define HAVE_LCMS2_H 1
14113 _ACEOF
14117 done
14119 if test "$ac_cv_header_lcms2_h" = "yes"
14120 then
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14122 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14123 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14124 $as_echo_n "(cached) " >&6
14125 else
14126 ac_check_lib_save_LIBS=$LIBS
14127 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14129 /* end confdefs.h. */
14131 /* Override any GCC internal prototype to avoid an error.
14132 Use char because int might match the return type of a GCC
14133 builtin and then its argument prototype would still apply. */
14134 #ifdef __cplusplus
14135 extern "C"
14136 #endif
14137 char cmsOpenProfileFromFile ();
14139 main ()
14141 return cmsOpenProfileFromFile ();
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14148 else
14149 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 LIBS=$ac_check_lib_save_LIBS
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14156 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14157 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14159 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14161 else
14162 LCMS2_LIBS=""
14165 else
14166 LCMS2_CFLAGS=""
14167 LCMS2_LIBS=""
14169 CPPFLAGS=$ac_save_CPPFLAGS
14170 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14171 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14174 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14175 case "x$with_cms" in
14176 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14177 xno) ;;
14178 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14179 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14180 esac
14184 if test "x$with_freetype" != "xno"
14185 then
14186 if ${FREETYPE_CFLAGS:+false} :; then :
14187 if ${PKG_CONFIG+:} false; then :
14188 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14191 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14192 if ${FREETYPE_LIBS:+false} :; then :
14193 if ${PKG_CONFIG+:} false; then :
14194 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14197 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14198 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14199 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14200 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14201 ac_save_CPPFLAGS=$CPPFLAGS
14202 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14203 for ac_header in ft2build.h
14204 do :
14205 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14206 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14207 cat >>confdefs.h <<_ACEOF
14208 #define HAVE_FT2BUILD_H 1
14209 _ACEOF
14213 done
14215 if test "$ac_cv_header_ft2build_h" = "yes"
14216 then
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14218 $as_echo_n "checking for -lfreetype... " >&6; }
14219 if ${ac_cv_lib_soname_freetype+:} false; then :
14220 $as_echo_n "(cached) " >&6
14221 else
14222 ac_check_soname_save_LIBS=$LIBS
14223 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h. */
14227 /* Override any GCC internal prototype to avoid an error.
14228 Use char because int might match the return type of a GCC
14229 builtin and then its argument prototype would still apply. */
14230 #ifdef __cplusplus
14231 extern "C"
14232 #endif
14233 char FT_Init_FreeType ();
14235 main ()
14237 return FT_Init_FreeType ();
14239 return 0;
14241 _ACEOF
14242 if ac_fn_c_try_link "$LINENO"; then :
14243 case "$LIBEXT" in
14244 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14245 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'` ;;
14246 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14247 if ${ac_cv_lib_soname_freetype:+false} :; then :
14248 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14249 fi ;;
14250 esac
14251 else
14252 ac_cv_lib_soname_freetype=
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS=$ac_check_soname_save_LIBS
14258 if ${ac_cv_lib_soname_freetype:+false} :; then :
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14260 $as_echo "not found" >&6; }
14261 FREETYPE_LIBS=""
14262 else
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14264 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14266 cat >>confdefs.h <<_ACEOF
14267 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14268 _ACEOF
14271 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14273 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14274 #include FT_MODULE_H
14276 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14278 cat >>confdefs.h <<_ACEOF
14279 #define HAVE_FT_TRUETYPEENGINETYPE 1
14280 _ACEOF
14286 else
14287 FREETYPE_CFLAGS=""
14288 FREETYPE_LIBS=""
14290 CPPFLAGS=$ac_save_CPPFLAGS
14291 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14292 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14295 if test "x$ac_cv_lib_soname_freetype" = x; then :
14296 case "x$with_freetype" in
14297 xno) ;;
14298 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14299 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14300 esac
14301 enable_fonts=${enable_fonts:-no}
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14305 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14306 if ${ac_cv_c_ppdev+:} false; then :
14307 $as_echo_n "(cached) " >&6
14308 else
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 #ifdef HAVE_SYS_IOCTL_H
14312 # include <sys/ioctl.h>
14313 #endif
14314 #include <linux/ppdev.h>
14316 main ()
14318 ioctl (1,PPCLAIM,0)
14320 return 0;
14322 _ACEOF
14323 if ac_fn_c_try_compile "$LINENO"; then :
14324 ac_cv_c_ppdev="yes"
14325 else
14326 ac_cv_c_ppdev="no"
14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14331 $as_echo "$ac_cv_c_ppdev" >&6; }
14332 if test "$ac_cv_c_ppdev" = "yes"
14333 then
14335 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14339 ac_wine_check_funcs_save_LIBS="$LIBS"
14340 LIBS="$LIBS $PTHREAD_LIBS"
14341 for ac_func in \
14342 pthread_getthreadid_np
14343 do :
14344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14346 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14347 cat >>confdefs.h <<_ACEOF
14348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14349 _ACEOF
14352 done
14354 LIBS="$ac_wine_check_funcs_save_LIBS"
14356 if test "x$with_zlib" != "xno"
14357 then
14358 if ${Z_CFLAGS:+false} :; then :
14359 if ${PKG_CONFIG+:} false; then :
14360 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14364 if ${Z_LIBS:+false} :; then :
14365 if ${PKG_CONFIG+:} false; then :
14366 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14370 Z_LIBS=${Z_LIBS:-"-lz"}
14371 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14372 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14373 ac_save_CPPFLAGS=$CPPFLAGS
14374 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14375 for ac_header in zlib.h
14376 do :
14377 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14378 if test "x$ac_cv_header_zlib_h" = xyes; then :
14379 cat >>confdefs.h <<_ACEOF
14380 #define HAVE_ZLIB_H 1
14381 _ACEOF
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14383 $as_echo_n "checking for inflate in -lz... " >&6; }
14384 if ${ac_cv_lib_z_inflate+:} false; then :
14385 $as_echo_n "(cached) " >&6
14386 else
14387 ac_check_lib_save_LIBS=$LIBS
14388 LIBS="-lz $Z_LIBS $LIBS"
14389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14392 /* Override any GCC internal prototype to avoid an error.
14393 Use char because int might match the return type of a GCC
14394 builtin and then its argument prototype would still apply. */
14395 #ifdef __cplusplus
14396 extern "C"
14397 #endif
14398 char inflate ();
14400 main ()
14402 return inflate ();
14404 return 0;
14406 _ACEOF
14407 if ac_fn_c_try_link "$LINENO"; then :
14408 ac_cv_lib_z_inflate=yes
14409 else
14410 ac_cv_lib_z_inflate=no
14412 rm -f core conftest.err conftest.$ac_objext \
14413 conftest$ac_exeext conftest.$ac_ext
14414 LIBS=$ac_check_lib_save_LIBS
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14417 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14418 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14420 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14422 else
14423 Z_LIBS=""
14426 else
14427 Z_LIBS=""
14430 done
14432 CPPFLAGS=$ac_save_CPPFLAGS
14433 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14434 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14437 if test "x$Z_LIBS" = "x"; then :
14438 case "x$with_zlib" in
14439 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14440 xno) ;;
14441 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14442 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14443 esac
14447 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14448 then
14449 if test "$ac_cv_header_gettext_po_h" = "yes"
14450 then
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14452 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14453 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_check_lib_save_LIBS=$LIBS
14457 LIBS="-lgettextpo $LIBS"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14461 /* Override any GCC internal prototype to avoid an error.
14462 Use char because int might match the return type of a GCC
14463 builtin and then its argument prototype would still apply. */
14464 #ifdef __cplusplus
14465 extern "C"
14466 #endif
14467 char po_message_msgctxt ();
14469 main ()
14471 return po_message_msgctxt ();
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14478 else
14479 ac_cv_lib_gettextpo_po_message_msgctxt=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_lib_save_LIBS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14486 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14487 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14489 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14491 GETTEXTPO_LIBS="-lgettextpo"
14496 if test "x$GETTEXTPO_LIBS" = "x"; then :
14497 case "x$with_gettextpo" in
14498 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14499 xno) ;;
14500 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14502 esac
14505 if test "$srcdir" != .; then :
14506 case "x$with_gettextpo" in
14507 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14508 xno) ;;
14509 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14510 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14511 esac
14516 if test "x$with_pulse" != "xno";
14517 then
14518 if ${PULSE_CFLAGS:+false} :; then :
14519 if ${PKG_CONFIG+:} false; then :
14520 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14524 if ${PULSE_LIBS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14532 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14533 ac_save_CPPFLAGS=$CPPFLAGS
14534 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14535 for ac_header in pulse/pulseaudio.h
14536 do :
14537 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14538 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14539 cat >>confdefs.h <<_ACEOF
14540 #define HAVE_PULSE_PULSEAUDIO_H 1
14541 _ACEOF
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14543 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14544 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_check_lib_save_LIBS=$LIBS
14548 LIBS="-lpulse $PULSE_LIBS $LIBS"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 #ifdef __cplusplus
14556 extern "C"
14557 #endif
14558 char pa_stream_is_corked ();
14560 main ()
14562 return pa_stream_is_corked ();
14564 return 0;
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_lib_pulse_pa_stream_is_corked=yes
14569 else
14570 ac_cv_lib_pulse_pa_stream_is_corked=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 LIBS=$ac_check_lib_save_LIBS
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14577 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14578 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14580 else
14581 PULSE_LIBS=""
14584 else
14585 PULSE_LIBS=""
14588 done
14590 CPPFLAGS=$ac_save_CPPFLAGS
14591 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14592 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14595 if test -z "$PULSE_LIBS"; then :
14596 case "x$with_pulse" in
14597 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14598 xno) ;;
14599 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14600 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14601 esac
14602 enable_winepulse_drv=${enable_winepulse_drv:-no}
14605 if test "x$with_gstreamer" != "xno"
14606 then
14607 if ${GSTREAMER_CFLAGS:+false} :; then :
14608 if ${PKG_CONFIG+:} false; then :
14609 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14613 if ${GSTREAMER_LIBS:+false} :; then :
14614 if ${PKG_CONFIG+:} false; then :
14615 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14621 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14622 ac_save_CPPFLAGS=$CPPFLAGS
14623 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14624 ac_gst_incl=""
14625 for i in $GSTREAMER_CFLAGS
14627 case "$i" in
14628 -I*) ac_gst_incl="$ac_gst_incl $i";;
14629 esac
14630 done
14631 GSTREAMER_CFLAGS=$ac_gst_incl
14632 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14633 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14634 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14636 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h. */
14639 #include <gst/gst.h>
14641 main ()
14643 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14645 return 0;
14647 _ACEOF
14648 if ac_fn_c_try_compile "$LINENO"; then :
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14650 $as_echo "yes" >&6; }
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14652 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14653 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14654 $as_echo_n "(cached) " >&6
14655 else
14656 ac_check_lib_save_LIBS=$LIBS
14657 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 char gst_pad_new ();
14669 main ()
14671 return gst_pad_new ();
14673 return 0;
14675 _ACEOF
14676 if ac_fn_c_try_link "$LINENO"; then :
14677 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14678 else
14679 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14681 rm -f core conftest.err conftest.$ac_objext \
14682 conftest$ac_exeext conftest.$ac_ext
14683 LIBS=$ac_check_lib_save_LIBS
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14686 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14687 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14691 else
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693 $as_echo "no" >&6; }
14694 ac_glib2_broken=yes
14695 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14701 CPPFLAGS=$ac_save_CPPFLAGS
14702 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14703 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14706 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14707 case "x$with_gstreamer" in
14708 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14709 xno) ;;
14710 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14711 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14712 esac
14715 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14717 ALSA_LIBS=""
14719 if test "x$with_alsa" != "xno"
14720 then
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14722 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14723 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_check_lib_save_LIBS=$LIBS
14727 LIBS="-lasound $LIBS"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14731 /* Override any GCC internal prototype to avoid an error.
14732 Use char because int might match the return type of a GCC
14733 builtin and then its argument prototype would still apply. */
14734 #ifdef __cplusplus
14735 extern "C"
14736 #endif
14737 char snd_pcm_hw_params_get_access_mask ();
14739 main ()
14741 return snd_pcm_hw_params_get_access_mask ();
14743 return 0;
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"; then :
14747 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14748 else
14749 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14751 rm -f core conftest.err conftest.$ac_objext \
14752 conftest$ac_exeext conftest.$ac_ext
14753 LIBS=$ac_check_lib_save_LIBS
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14756 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14757 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 #include <alsa/asoundlib.h>
14762 main ()
14764 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_compile "$LINENO"; then :
14770 ALSA_LIBS="-lasound"
14772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14776 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14778 if test "x$with_oss" != xno
14779 then
14780 ac_save_CPPFLAGS="$CPPFLAGS"
14781 if test -f /etc/oss.conf
14782 then
14783 . /etc/oss.conf
14785 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14786 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14787 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14788 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14789 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14791 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14795 _ACEOF
14797 OSS4_CFLAGS="$ac_oss_incl"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14800 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14801 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_check_lib_save_LIBS=$LIBS
14805 LIBS="-lossaudio $LIBS"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 #ifdef __cplusplus
14813 extern "C"
14814 #endif
14815 char _oss_ioctl ();
14817 main ()
14819 return _oss_ioctl ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"; then :
14825 ac_cv_lib_ossaudio__oss_ioctl=yes
14826 else
14827 ac_cv_lib_ossaudio__oss_ioctl=no
14829 rm -f core conftest.err conftest.$ac_objext \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_lib_save_LIBS
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14834 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14835 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14836 OSS4_LIBS="-lossaudio"
14845 CPPFLAGS="$ac_save_CPPFLAGS"
14847 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14848 case "x$with_oss" in
14849 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14850 xno) ;;
14851 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14852 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14853 esac
14854 enable_wineoss_drv=${enable_wineoss_drv:-no}
14857 if test "x$with_udev" != "xno"
14858 then
14859 if ${UDEV_CFLAGS:+false} :; then :
14860 if ${PKG_CONFIG+:} false; then :
14861 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14865 if ${UDEV_LIBS:+false} :; then :
14866 if ${PKG_CONFIG+:} false; then :
14867 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14871 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14872 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14873 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14874 ac_save_CPPFLAGS=$CPPFLAGS
14875 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14876 for ac_header in libudev.h
14877 do :
14878 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14879 if test "x$ac_cv_header_libudev_h" = xyes; then :
14880 cat >>confdefs.h <<_ACEOF
14881 #define HAVE_LIBUDEV_H 1
14882 _ACEOF
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14884 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14885 if ${ac_cv_lib_udev_udev_new+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_check_lib_save_LIBS=$LIBS
14889 LIBS="-ludev $UDEV_LIBS $LIBS"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 #ifdef __cplusplus
14897 extern "C"
14898 #endif
14899 char udev_new ();
14901 main ()
14903 return udev_new ();
14905 return 0;
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_lib_udev_udev_new=yes
14910 else
14911 ac_cv_lib_udev_udev_new=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_lib_save_LIBS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14918 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14919 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14921 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14923 else
14924 UDEV_LIBS=""
14927 else
14928 UDEV_LIBS=""
14931 done
14933 CPPFLAGS=$ac_save_CPPFLAGS
14934 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14935 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14938 if test "x$UDEV_LIBS" = "x"; then :
14939 case "x$with_udev" in
14940 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14941 xno) ;;
14942 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14943 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14944 esac
14948 if test "x$with_unwind" != xno
14949 then
14950 if ${UNWIND_CFLAGS:+false} :; then :
14951 if ${PKG_CONFIG+:} false; then :
14952 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14956 if ${UNWIND_LIBS:+false} :; then :
14957 if ${PKG_CONFIG+:} false; then :
14958 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14962 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14963 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14964 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14965 ac_save_CPPFLAGS=$CPPFLAGS
14966 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14968 $as_echo_n "checking for unw_step... " >&6; }
14969 if ${wine_cv_have_unw_step+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 #define UNW_LOCAL_ONLY
14975 #include <libunwind.h>
14977 main ()
14979 unw_cursor_t cursor; unw_step( &cursor );
14981 return 0;
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 wine_cv_have_unw_step="yes"
14986 else
14987 wine_cv_have_unw_step="no"
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14993 $as_echo "$wine_cv_have_unw_step" >&6; }
14994 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14995 then
14996 save_libs=$LIBS
14997 LIBS="$UNWIND_LIBS $LIBS"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14999 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15000 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15005 #define UNW_LOCAL_ONLY
15006 #include <libunwind.h>
15008 main ()
15010 unw_cursor_t cursor; unw_step( &cursor );
15012 return 0;
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 wine_cv_have_libunwind_unw_step="yes"
15017 else
15018 wine_cv_have_libunwind_unw_step="no"
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15024 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15025 LIBS=$save_libs
15027 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15028 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15029 then
15031 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15034 CPPFLAGS=$ac_save_CPPFLAGS
15035 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15036 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15039 case $host in
15040 aarch64*|*-darwin*)
15041 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15042 case "x$with_unwind" in
15043 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15044 xno) ;;
15045 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15046 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15047 esac
15049 fi ;;
15050 esac
15052 if test "x$with_sdl" != "xno"
15053 then
15054 if ${SDL2_CFLAGS:+false} :; then :
15055 if ${PKG_CONFIG+:} false; then :
15056 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15060 if ${SDL2_LIBS:+false} :; then :
15061 if ${PKG_CONFIG+:} false; then :
15062 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15066 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15067 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15069 ac_save_CPPFLAGS=$CPPFLAGS
15070 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15071 for ac_header in SDL2/SDL.h
15072 do :
15073 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15074 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define HAVE_SDL2_SDL_H 1
15077 _ACEOF
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15079 $as_echo_n "checking for -lSDL2... " >&6; }
15080 if ${ac_cv_lib_soname_SDL2+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_check_soname_save_LIBS=$LIBS
15084 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 /* Override any GCC internal prototype to avoid an error.
15089 Use char because int might match the return type of a GCC
15090 builtin and then its argument prototype would still apply. */
15091 #ifdef __cplusplus
15092 extern "C"
15093 #endif
15094 char SDL_Init ();
15096 main ()
15098 return SDL_Init ();
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 case "$LIBEXT" in
15105 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15106 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'` ;;
15107 *) 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'`
15108 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15109 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15110 fi ;;
15111 esac
15112 else
15113 ac_cv_lib_soname_SDL2=
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 LIBS=$ac_check_soname_save_LIBS
15119 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15121 $as_echo "not found" >&6; }
15123 else
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15125 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15127 cat >>confdefs.h <<_ACEOF
15128 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15129 _ACEOF
15135 done
15137 CPPFLAGS=$ac_save_CPPFLAGS
15138 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15139 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15142 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15143 case "x$with_sdl" in
15144 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15145 xno) ;;
15146 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15147 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15148 esac
15152 if test "x$with_faudio" != "xno"
15153 then
15154 if ${FAUDIO_CFLAGS:+false} :; then :
15155 if ${PKG_CONFIG+:} false; then :
15156 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15160 if ${FAUDIO_LIBS:+false} :; then :
15161 if ${PKG_CONFIG+:} false; then :
15162 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15166 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15167 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15168 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15169 ac_save_CPPFLAGS=$CPPFLAGS
15170 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15171 for ac_header in FAudio.h
15172 do :
15173 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15174 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15175 cat >>confdefs.h <<_ACEOF
15176 #define HAVE_FAUDIO_H 1
15177 _ACEOF
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15179 $as_echo_n "checking for -lFAudio... " >&6; }
15180 if ${ac_cv_lib_soname_FAudio+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 ac_check_soname_save_LIBS=$LIBS
15184 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15188 /* Override any GCC internal prototype to avoid an error.
15189 Use char because int might match the return type of a GCC
15190 builtin and then its argument prototype would still apply. */
15191 #ifdef __cplusplus
15192 extern "C"
15193 #endif
15194 char FAudioCreate ();
15196 main ()
15198 return FAudioCreate ();
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 case "$LIBEXT" in
15205 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15206 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15207 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15208 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15209 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15210 fi ;;
15211 esac
15212 else
15213 ac_cv_lib_soname_FAudio=
15215 rm -f core conftest.err conftest.$ac_objext \
15216 conftest$ac_exeext conftest.$ac_ext
15217 LIBS=$ac_check_soname_save_LIBS
15219 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15221 $as_echo "not found" >&6; }
15223 else
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15225 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15227 cat >>confdefs.h <<_ACEOF
15228 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15229 _ACEOF
15235 done
15237 ac_wine_check_funcs_save_LIBS="$LIBS"
15238 LIBS="$LIBS $FAUDIO_LIBS"
15239 for ac_func in FAudio_CommitOperationSet \
15240 F3DAudioInitialize8
15241 do :
15242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15247 _ACEOF
15250 done
15252 LIBS="$ac_wine_check_funcs_save_LIBS"
15254 CPPFLAGS=$ac_save_CPPFLAGS
15255 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15256 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15259 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15260 case "x$with_faudio" in
15261 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15262 xno) ;;
15263 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15264 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15265 esac
15269 if test "x$with_capi" != "xno"
15270 then
15271 if ${CAPI20_CFLAGS:+false} :; then :
15272 if ${PKG_CONFIG+:} false; then :
15273 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15277 if ${CAPI20_LIBS:+false} :; then :
15278 if ${PKG_CONFIG+:} false; then :
15279 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15284 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15285 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15286 ac_save_CPPFLAGS=$CPPFLAGS
15287 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15288 for ac_header in capi20.h linux/capi.h
15289 do :
15290 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15291 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15294 cat >>confdefs.h <<_ACEOF
15295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15296 _ACEOF
15300 done
15302 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15303 then
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15305 $as_echo_n "checking for -lcapi20... " >&6; }
15306 if ${ac_cv_lib_soname_capi20+:} false; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 ac_check_soname_save_LIBS=$LIBS
15310 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15314 /* Override any GCC internal prototype to avoid an error.
15315 Use char because int might match the return type of a GCC
15316 builtin and then its argument prototype would still apply. */
15317 #ifdef __cplusplus
15318 extern "C"
15319 #endif
15320 char capi20_register ();
15322 main ()
15324 return capi20_register ();
15326 return 0;
15328 _ACEOF
15329 if ac_fn_c_try_link "$LINENO"; then :
15330 case "$LIBEXT" in
15331 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15332 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15333 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15334 if ${ac_cv_lib_soname_capi20:+false} :; then :
15335 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15336 fi ;;
15337 esac
15338 else
15339 ac_cv_lib_soname_capi20=
15341 rm -f core conftest.err conftest.$ac_objext \
15342 conftest$ac_exeext conftest.$ac_ext
15343 LIBS=$ac_check_soname_save_LIBS
15345 if ${ac_cv_lib_soname_capi20:+false} :; then :
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15347 $as_echo "not found" >&6; }
15349 else
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15351 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15355 _ACEOF
15360 CPPFLAGS=$ac_save_CPPFLAGS
15361 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15362 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15365 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15366 case "x$with_capi" in
15367 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15368 xno) ;;
15369 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15370 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15371 esac
15375 if test "x$with_cups" != "xno"
15376 then
15377 if ${CUPS_CFLAGS:+false} :; then :
15378 if ${PKG_CONFIG+:} false; then :
15379 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15382 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15383 if ${CUPS_LIBS:+false} :; then :
15384 if ${PKG_CONFIG+:} false; then :
15385 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15388 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15389 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15390 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15391 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15392 ac_save_CPPFLAGS=$CPPFLAGS
15393 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15394 for ac_header in cups/cups.h cups/ppd.h
15395 do :
15396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15397 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15399 cat >>confdefs.h <<_ACEOF
15400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15401 _ACEOF
15405 done
15407 if test "$ac_cv_header_cups_cups_h" = "yes"
15408 then
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15410 $as_echo_n "checking for -lcups... " >&6; }
15411 if ${ac_cv_lib_soname_cups+:} false; then :
15412 $as_echo_n "(cached) " >&6
15413 else
15414 ac_check_soname_save_LIBS=$LIBS
15415 LIBS="-lcups $CUPS_LIBS $LIBS"
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15422 #ifdef __cplusplus
15423 extern "C"
15424 #endif
15425 char cupsGetDefault ();
15427 main ()
15429 return cupsGetDefault ();
15431 return 0;
15433 _ACEOF
15434 if ac_fn_c_try_link "$LINENO"; then :
15435 case "$LIBEXT" in
15436 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15437 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'` ;;
15438 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15439 if ${ac_cv_lib_soname_cups:+false} :; then :
15440 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15441 fi ;;
15442 esac
15443 else
15444 ac_cv_lib_soname_cups=
15446 rm -f core conftest.err conftest.$ac_objext \
15447 conftest$ac_exeext conftest.$ac_ext
15448 LIBS=$ac_check_soname_save_LIBS
15450 if ${ac_cv_lib_soname_cups:+false} :; then :
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15452 $as_echo "not found" >&6; }
15453 CUPS_LIBS=""
15454 else
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15456 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15458 cat >>confdefs.h <<_ACEOF
15459 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15460 _ACEOF
15464 else
15465 CUPS_CFLAGS=""
15466 CUPS_LIBS=""
15468 CPPFLAGS=$ac_save_CPPFLAGS
15469 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15470 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15473 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15474 case "x$with_cups" in
15475 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15476 xno) ;;
15477 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15478 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15479 esac
15483 if test "x$with_fontconfig" != "xno"
15484 then
15485 if ${FONTCONFIG_CFLAGS:+false} :; then :
15486 if ${PKG_CONFIG+:} false; then :
15487 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15490 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15491 if ${FONTCONFIG_LIBS:+false} :; then :
15492 if ${PKG_CONFIG+:} false; then :
15493 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15496 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15498 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15499 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15500 ac_save_CPPFLAGS=$CPPFLAGS
15501 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15502 for ac_header in fontconfig/fontconfig.h
15503 do :
15504 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15505 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15506 cat >>confdefs.h <<_ACEOF
15507 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15508 _ACEOF
15512 done
15514 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15515 then
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15517 $as_echo_n "checking for -lfontconfig... " >&6; }
15518 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15519 $as_echo_n "(cached) " >&6
15520 else
15521 ac_check_soname_save_LIBS=$LIBS
15522 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15524 /* end confdefs.h. */
15526 /* Override any GCC internal prototype to avoid an error.
15527 Use char because int might match the return type of a GCC
15528 builtin and then its argument prototype would still apply. */
15529 #ifdef __cplusplus
15530 extern "C"
15531 #endif
15532 char FcInit ();
15534 main ()
15536 return FcInit ();
15538 return 0;
15540 _ACEOF
15541 if ac_fn_c_try_link "$LINENO"; then :
15542 case "$LIBEXT" in
15543 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15544 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'` ;;
15545 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15546 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15547 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15548 fi ;;
15549 esac
15550 else
15551 ac_cv_lib_soname_fontconfig=
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 LIBS=$ac_check_soname_save_LIBS
15557 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15559 $as_echo "not found" >&6; }
15560 FONTCONFIG_CFLAGS=""
15561 else
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15563 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15565 cat >>confdefs.h <<_ACEOF
15566 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15567 _ACEOF
15571 else
15572 FONTCONFIG_CFLAGS=""
15574 CPPFLAGS=$ac_save_CPPFLAGS
15575 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15576 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15579 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15580 case "x$with_fontconfig" in
15581 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15582 xno) ;;
15583 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15584 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15585 esac
15589 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15590 then
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15592 $as_echo_n "checking for -lgsm... " >&6; }
15593 if ${ac_cv_lib_soname_gsm+:} false; then :
15594 $as_echo_n "(cached) " >&6
15595 else
15596 ac_check_soname_save_LIBS=$LIBS
15597 LIBS="-lgsm $LIBS"
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15601 /* Override any GCC internal prototype to avoid an error.
15602 Use char because int might match the return type of a GCC
15603 builtin and then its argument prototype would still apply. */
15604 #ifdef __cplusplus
15605 extern "C"
15606 #endif
15607 char gsm_create ();
15609 main ()
15611 return gsm_create ();
15613 return 0;
15615 _ACEOF
15616 if ac_fn_c_try_link "$LINENO"; then :
15617 case "$LIBEXT" in
15618 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15619 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15620 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15621 if ${ac_cv_lib_soname_gsm:+false} :; then :
15622 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15623 fi ;;
15624 esac
15625 else
15626 ac_cv_lib_soname_gsm=
15628 rm -f core conftest.err conftest.$ac_objext \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_soname_save_LIBS
15632 if ${ac_cv_lib_soname_gsm:+false} :; then :
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15634 $as_echo "not found" >&6; }
15636 else
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15638 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15640 cat >>confdefs.h <<_ACEOF
15641 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15642 _ACEOF
15647 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15648 case "x$with_gsm" in
15649 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15650 xno) ;;
15651 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15652 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15653 esac
15657 if test "x$with_krb5" != "xno"
15658 then
15659 if ${KRB5_CFLAGS:+false} :; then :
15660 if ${PKG_CONFIG+:} false; then :
15661 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15664 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15665 if ${KRB5_LIBS:+false} :; then :
15666 if ${PKG_CONFIG+:} false; then :
15667 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15670 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15672 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15673 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15674 ac_save_CPPFLAGS=$CPPFLAGS
15675 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15676 for ac_header in krb5/krb5.h
15677 do :
15678 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15679 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15680 cat >>confdefs.h <<_ACEOF
15681 #define HAVE_KRB5_KRB5_H 1
15682 _ACEOF
15686 done
15688 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15689 then
15690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15691 $as_echo_n "checking for -lkrb5... " >&6; }
15692 if ${ac_cv_lib_soname_krb5+:} false; then :
15693 $as_echo_n "(cached) " >&6
15694 else
15695 ac_check_soname_save_LIBS=$LIBS
15696 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15703 #ifdef __cplusplus
15704 extern "C"
15705 #endif
15706 char krb5_is_config_principal ();
15708 main ()
15710 return krb5_is_config_principal ();
15712 return 0;
15714 _ACEOF
15715 if ac_fn_c_try_link "$LINENO"; then :
15716 case "$LIBEXT" in
15717 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15718 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'` ;;
15719 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15720 if ${ac_cv_lib_soname_krb5:+false} :; then :
15721 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15722 fi ;;
15723 esac
15724 else
15725 ac_cv_lib_soname_krb5=
15727 rm -f core conftest.err conftest.$ac_objext \
15728 conftest$ac_exeext conftest.$ac_ext
15729 LIBS=$ac_check_soname_save_LIBS
15731 if ${ac_cv_lib_soname_krb5:+false} :; then :
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15733 $as_echo "not found" >&6; }
15734 KRB5_CFLAGS=""
15735 else
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15737 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15739 cat >>confdefs.h <<_ACEOF
15740 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15741 _ACEOF
15745 else
15746 KRB5_CFLAGS=""
15748 CPPFLAGS=$ac_save_CPPFLAGS
15749 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15750 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15753 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15754 case "x$with_krb5" in
15755 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15756 xno) ;;
15757 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15758 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15759 esac
15762 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15764 if test "x$with_gssapi" != "xno"
15765 then
15766 if ${GSSAPI_CFLAGS:+false} :; then :
15767 if ${PKG_CONFIG+:} false; then :
15768 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15771 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15772 if ${GSSAPI_LIBS:+false} :; then :
15773 if ${PKG_CONFIG+:} false; then :
15774 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15777 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15779 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15780 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15781 ac_save_CPPFLAGS=$CPPFLAGS
15782 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15783 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15784 do :
15785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15786 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15788 cat >>confdefs.h <<_ACEOF
15789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15790 _ACEOF
15794 done
15796 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15797 then
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15799 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15800 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15801 $as_echo_n "(cached) " >&6
15802 else
15803 ac_check_soname_save_LIBS=$LIBS
15804 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15806 /* end confdefs.h. */
15808 /* Override any GCC internal prototype to avoid an error.
15809 Use char because int might match the return type of a GCC
15810 builtin and then its argument prototype would still apply. */
15811 #ifdef __cplusplus
15812 extern "C"
15813 #endif
15814 char gss_init_sec_context ();
15816 main ()
15818 return gss_init_sec_context ();
15820 return 0;
15822 _ACEOF
15823 if ac_fn_c_try_link "$LINENO"; then :
15824 case "$LIBEXT" in
15825 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15826 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'` ;;
15827 *) 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'`
15828 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15829 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15830 fi ;;
15831 esac
15832 else
15833 ac_cv_lib_soname_gssapi_krb5=
15835 rm -f core conftest.err conftest.$ac_objext \
15836 conftest$ac_exeext conftest.$ac_ext
15837 LIBS=$ac_check_soname_save_LIBS
15839 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15841 $as_echo "not found" >&6; }
15842 GSSAPI_CFLAGS=""
15843 else
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15845 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15847 cat >>confdefs.h <<_ACEOF
15848 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15849 _ACEOF
15853 else
15854 GSSAPI_CFLAGS=""
15856 CPPFLAGS=$ac_save_CPPFLAGS
15857 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15858 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15861 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15862 case "x$with_gssapi" in
15863 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15864 xno) ;;
15865 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15866 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15867 esac
15871 if test "x$with_jpeg" != "xno"
15872 then
15873 if ${JPEG_CFLAGS:+false} :; then :
15874 if ${PKG_CONFIG+:} false; then :
15875 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15879 if ${JPEG_LIBS:+false} :; then :
15880 if ${PKG_CONFIG+:} false; then :
15881 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15886 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15887 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15888 ac_save_CPPFLAGS=$CPPFLAGS
15889 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15890 for ac_header in jpeglib.h
15891 do :
15892 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15893 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15894 cat >>confdefs.h <<_ACEOF
15895 #define HAVE_JPEGLIB_H 1
15896 _ACEOF
15900 done
15902 if test "$ac_cv_header_jpeglib_h" = "yes"
15903 then
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15905 $as_echo_n "checking for -ljpeg... " >&6; }
15906 if ${ac_cv_lib_soname_jpeg+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 ac_check_soname_save_LIBS=$LIBS
15910 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15914 /* Override any GCC internal prototype to avoid an error.
15915 Use char because int might match the return type of a GCC
15916 builtin and then its argument prototype would still apply. */
15917 #ifdef __cplusplus
15918 extern "C"
15919 #endif
15920 char jpeg_start_decompress ();
15922 main ()
15924 return jpeg_start_decompress ();
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_link "$LINENO"; then :
15930 case "$LIBEXT" in
15931 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15932 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15933 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15934 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15935 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15936 fi ;;
15937 esac
15938 else
15939 ac_cv_lib_soname_jpeg=
15941 rm -f core conftest.err conftest.$ac_objext \
15942 conftest$ac_exeext conftest.$ac_ext
15943 LIBS=$ac_check_soname_save_LIBS
15945 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15947 $as_echo "not found" >&6; }
15948 JPEG_CFLAGS=""
15949 else
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15951 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15953 cat >>confdefs.h <<_ACEOF
15954 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15955 _ACEOF
15959 else
15960 JPEG_CFLAGS=""
15962 CPPFLAGS=$ac_save_CPPFLAGS
15963 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15964 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15967 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15968 case "x$with_jpeg" in
15969 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15970 xno) ;;
15971 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15972 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15973 esac
15977 if test "x$with_png" != "xno"
15978 then
15979 if ${PNG_CFLAGS:+false} :; then :
15980 if ${PKG_CONFIG+:} false; then :
15981 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15984 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15985 if ${PNG_LIBS:+false} :; then :
15986 if ${PKG_CONFIG+:} false; then :
15987 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15990 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15992 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15993 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15994 ac_save_CPPFLAGS=$CPPFLAGS
15995 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15996 for ac_header in png.h
15997 do :
15998 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15999 if test "x$ac_cv_header_png_h" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_PNG_H 1
16002 _ACEOF
16006 done
16008 if test "$ac_cv_header_png_h" = "yes"
16009 then
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16011 $as_echo_n "checking for -lpng... " >&6; }
16012 if ${ac_cv_lib_soname_png+:} false; then :
16013 $as_echo_n "(cached) " >&6
16014 else
16015 ac_check_soname_save_LIBS=$LIBS
16016 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16023 #ifdef __cplusplus
16024 extern "C"
16025 #endif
16026 char png_create_read_struct ();
16028 main ()
16030 return png_create_read_struct ();
16032 return 0;
16034 _ACEOF
16035 if ac_fn_c_try_link "$LINENO"; then :
16036 case "$LIBEXT" in
16037 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16038 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16039 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16040 if ${ac_cv_lib_soname_png:+false} :; then :
16041 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16042 fi ;;
16043 esac
16044 else
16045 ac_cv_lib_soname_png=
16047 rm -f core conftest.err conftest.$ac_objext \
16048 conftest$ac_exeext conftest.$ac_ext
16049 LIBS=$ac_check_soname_save_LIBS
16051 if ${ac_cv_lib_soname_png:+false} :; then :
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16053 $as_echo "not found" >&6; }
16054 PNG_CFLAGS=""
16055 else
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16057 $as_echo "$ac_cv_lib_soname_png" >&6; }
16059 cat >>confdefs.h <<_ACEOF
16060 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16061 _ACEOF
16065 else
16066 PNG_CFLAGS=""
16068 CPPFLAGS=$ac_save_CPPFLAGS
16069 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16070 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16073 if test "x$ac_cv_lib_soname_png" = "x"; then :
16074 case "x$with_png" in
16075 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16076 xno) ;;
16077 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16078 This is an error since --with-png was requested." "$LINENO" 5 ;;
16079 esac
16083 if test "x$with_tiff" != "xno"
16084 then
16085 if ${TIFF_CFLAGS:+false} :; then :
16086 if ${PKG_CONFIG+:} false; then :
16087 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16091 if ${TIFF_LIBS:+false} :; then :
16092 if ${PKG_CONFIG+:} false; then :
16093 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16098 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16099 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16100 ac_save_CPPFLAGS=$CPPFLAGS
16101 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16102 for ac_header in tiffio.h
16103 do :
16104 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_TIFFIO_H 1
16108 _ACEOF
16112 done
16114 if test "$ac_cv_header_tiffio_h" = "yes"
16115 then
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16117 $as_echo_n "checking for -ltiff... " >&6; }
16118 if ${ac_cv_lib_soname_tiff+:} false; then :
16119 $as_echo_n "(cached) " >&6
16120 else
16121 ac_check_soname_save_LIBS=$LIBS
16122 LIBS="-ltiff $TIFF_LIBS $LIBS"
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 #ifdef __cplusplus
16130 extern "C"
16131 #endif
16132 char TIFFClientOpen ();
16134 main ()
16136 return TIFFClientOpen ();
16138 return 0;
16140 _ACEOF
16141 if ac_fn_c_try_link "$LINENO"; then :
16142 case "$LIBEXT" in
16143 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16144 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16145 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16146 if ${ac_cv_lib_soname_tiff:+false} :; then :
16147 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16148 fi ;;
16149 esac
16150 else
16151 ac_cv_lib_soname_tiff=
16153 rm -f core conftest.err conftest.$ac_objext \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_soname_save_LIBS
16157 if ${ac_cv_lib_soname_tiff:+false} :; then :
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16159 $as_echo "not found" >&6; }
16161 else
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16163 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16165 cat >>confdefs.h <<_ACEOF
16166 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16167 _ACEOF
16172 CPPFLAGS=$ac_save_CPPFLAGS
16173 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16174 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16177 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16178 case "x$with_tiff" in
16179 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16180 xno) ;;
16181 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16182 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16183 esac
16187 if test "x$with_mpg123" != "xno"
16188 then
16189 if ${MPG123_CFLAGS:+false} :; then :
16190 if ${PKG_CONFIG+:} false; then :
16191 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16195 if ${MPG123_LIBS:+false} :; then :
16196 if ${PKG_CONFIG+:} false; then :
16197 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16201 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16202 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16203 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16204 ac_save_CPPFLAGS=$CPPFLAGS
16205 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16206 for ac_header in mpg123.h
16207 do :
16208 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16209 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_MPG123_H 1
16212 _ACEOF
16216 done
16218 if test "$ac_cv_header_mpg123_h" = "yes"
16219 then
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16221 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16222 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16223 $as_echo_n "(cached) " >&6
16224 else
16225 ac_check_lib_save_LIBS=$LIBS
16226 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 #ifdef __cplusplus
16234 extern "C"
16235 #endif
16236 char mpg123_feed ();
16238 main ()
16240 return mpg123_feed ();
16242 return 0;
16244 _ACEOF
16245 if ac_fn_c_try_link "$LINENO"; then :
16246 ac_cv_lib_mpg123_mpg123_feed=yes
16247 else
16248 ac_cv_lib_mpg123_mpg123_feed=no
16250 rm -f core conftest.err conftest.$ac_objext \
16251 conftest$ac_exeext conftest.$ac_ext
16252 LIBS=$ac_check_lib_save_LIBS
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16255 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16256 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16258 else
16259 MPG123_LIBS=""
16262 else
16263 MPG123_CFLAGS=""
16264 MPG123_LIBS=""
16266 CPPFLAGS=$ac_save_CPPFLAGS
16267 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16268 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16271 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16272 case "x$with_mpg123" in
16273 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16274 xno) ;;
16275 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16276 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16277 esac
16278 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16280 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16282 if test "$ac_cv_header_AL_al_h" = "yes"
16283 then
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16285 $as_echo_n "checking for -lopenal... " >&6; }
16286 if ${ac_cv_lib_soname_openal+:} false; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 ac_check_soname_save_LIBS=$LIBS
16290 LIBS="-lopenal $LIBS"
16291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16294 /* Override any GCC internal prototype to avoid an error.
16295 Use char because int might match the return type of a GCC
16296 builtin and then its argument prototype would still apply. */
16297 #ifdef __cplusplus
16298 extern "C"
16299 #endif
16300 char alGetSource3i ();
16302 main ()
16304 return alGetSource3i ();
16306 return 0;
16308 _ACEOF
16309 if ac_fn_c_try_link "$LINENO"; then :
16310 case "$LIBEXT" in
16311 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16312 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'` ;;
16313 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16314 if ${ac_cv_lib_soname_openal:+false} :; then :
16315 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16316 fi ;;
16317 esac
16318 else
16319 ac_cv_lib_soname_openal=
16321 rm -f core conftest.err conftest.$ac_objext \
16322 conftest$ac_exeext conftest.$ac_ext
16323 LIBS=$ac_check_soname_save_LIBS
16325 if ${ac_cv_lib_soname_openal:+false} :; then :
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16327 $as_echo "not found" >&6; }
16329 else
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16331 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16333 cat >>confdefs.h <<_ACEOF
16334 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16335 _ACEOF
16337 OPENAL_LIBS="-lopenal"
16339 ac_cv_lib_openal=yes
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_OPENAL 1
16343 _ACEOF
16347 if test "x$ac_cv_lib_openal" != xyes; then :
16348 case "x$with_openal" in
16349 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16350 xno) ;;
16351 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16352 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16353 esac
16354 enable_openal32=${enable_openal32:-no}
16357 if test "x$ac_cv_lib_soname_FAudio" = "x"
16358 then
16359 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16360 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16361 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16362 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16363 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16364 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16365 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16366 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16367 enable_xapofx1_1=${enable_xapofx1_1:-no}
16368 enable_xapofx1_2=${enable_xapofx1_2:-no}
16369 enable_xapofx1_3=${enable_xapofx1_3:-no}
16370 enable_xapofx1_4=${enable_xapofx1_4:-no}
16371 enable_xapofx1_5=${enable_xapofx1_5:-no}
16372 enable_xaudio2_0=${enable_xaudio2_0:-no}
16373 enable_xaudio2_1=${enable_xaudio2_1:-no}
16374 enable_xaudio2_2=${enable_xaudio2_2:-no}
16375 enable_xaudio2_3=${enable_xaudio2_3:-no}
16376 enable_xaudio2_4=${enable_xaudio2_4:-no}
16377 enable_xaudio2_5=${enable_xaudio2_5:-no}
16378 enable_xaudio2_6=${enable_xaudio2_6:-no}
16379 enable_xaudio2_7=${enable_xaudio2_7:-no}
16380 enable_xaudio2_8=${enable_xaudio2_8:-no}
16381 enable_xaudio2_9=${enable_xaudio2_9:-no}
16384 if test "$ac_cv_header_kstat_h" = "yes"
16385 then
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16387 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16388 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16389 $as_echo_n "(cached) " >&6
16390 else
16391 ac_check_lib_save_LIBS=$LIBS
16392 LIBS="-lkstat $LIBS"
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16394 /* end confdefs.h. */
16396 /* Override any GCC internal prototype to avoid an error.
16397 Use char because int might match the return type of a GCC
16398 builtin and then its argument prototype would still apply. */
16399 #ifdef __cplusplus
16400 extern "C"
16401 #endif
16402 char kstat_open ();
16404 main ()
16406 return kstat_open ();
16408 return 0;
16410 _ACEOF
16411 if ac_fn_c_try_link "$LINENO"; then :
16412 ac_cv_lib_kstat_kstat_open=yes
16413 else
16414 ac_cv_lib_kstat_kstat_open=no
16416 rm -f core conftest.err conftest.$ac_objext \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_lib_save_LIBS
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16421 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16422 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16424 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16426 KSTAT_LIBS="-lkstat"
16432 if test "$ac_cv_header_libprocstat_h" = "yes"
16433 then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16435 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16436 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 ac_check_lib_save_LIBS=$LIBS
16440 LIBS="-lprocstat $LIBS"
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16447 #ifdef __cplusplus
16448 extern "C"
16449 #endif
16450 char procstat_open_sysctl ();
16452 main ()
16454 return procstat_open_sysctl ();
16456 return 0;
16458 _ACEOF
16459 if ac_fn_c_try_link "$LINENO"; then :
16460 ac_cv_lib_procstat_procstat_open_sysctl=yes
16461 else
16462 ac_cv_lib_procstat_procstat_open_sysctl=no
16464 rm -f core conftest.err conftest.$ac_objext \
16465 conftest$ac_exeext conftest.$ac_ext
16466 LIBS=$ac_check_lib_save_LIBS
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16469 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16470 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16472 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16474 PROCSTAT_LIBS="-lprocstat"
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16481 $as_echo_n "checking for -lodbc... " >&6; }
16482 if ${ac_cv_lib_soname_odbc+:} false; then :
16483 $as_echo_n "(cached) " >&6
16484 else
16485 ac_check_soname_save_LIBS=$LIBS
16486 LIBS="-lodbc $LIBS"
16487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16488 /* end confdefs.h. */
16490 /* Override any GCC internal prototype to avoid an error.
16491 Use char because int might match the return type of a GCC
16492 builtin and then its argument prototype would still apply. */
16493 #ifdef __cplusplus
16494 extern "C"
16495 #endif
16496 char SQLConnect ();
16498 main ()
16500 return SQLConnect ();
16502 return 0;
16504 _ACEOF
16505 if ac_fn_c_try_link "$LINENO"; then :
16506 case "$LIBEXT" in
16507 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16508 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'` ;;
16509 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16510 if ${ac_cv_lib_soname_odbc:+false} :; then :
16511 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16512 fi ;;
16513 esac
16514 else
16515 ac_cv_lib_soname_odbc=
16517 rm -f core conftest.err conftest.$ac_objext \
16518 conftest$ac_exeext conftest.$ac_ext
16519 LIBS=$ac_check_soname_save_LIBS
16521 if ${ac_cv_lib_soname_odbc:+false} :; then :
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16523 $as_echo "not found" >&6; }
16524 cat >>confdefs.h <<_ACEOF
16525 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16526 _ACEOF
16528 else
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16530 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16532 cat >>confdefs.h <<_ACEOF
16533 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16534 _ACEOF
16539 if test "x$with_netapi" != "xno"
16540 then
16541 if ${NETAPI_CFLAGS:+false} :; then :
16542 if ${PKG_CONFIG+:} false; then :
16543 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16547 if ${NETAPI_LIBS:+false} :; then :
16548 if ${PKG_CONFIG+:} false; then :
16549 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16554 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16555 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16556 ac_save_CPPFLAGS=$CPPFLAGS
16557 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16559 $as_echo_n "checking for -lnetapi... " >&6; }
16560 if ${ac_cv_lib_soname_netapi+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 ac_check_soname_save_LIBS=$LIBS
16564 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16568 /* Override any GCC internal prototype to avoid an error.
16569 Use char because int might match the return type of a GCC
16570 builtin and then its argument prototype would still apply. */
16571 #ifdef __cplusplus
16572 extern "C"
16573 #endif
16574 char libnetapi_init ();
16576 main ()
16578 return libnetapi_init ();
16580 return 0;
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"; then :
16584 case "$LIBEXT" in
16585 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16586 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'` ;;
16587 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16588 if ${ac_cv_lib_soname_netapi:+false} :; then :
16589 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16590 fi ;;
16591 esac
16592 else
16593 ac_cv_lib_soname_netapi=
16595 rm -f core conftest.err conftest.$ac_objext \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS=$ac_check_soname_save_LIBS
16599 if ${ac_cv_lib_soname_netapi:+false} :; then :
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16601 $as_echo "not found" >&6; }
16602 cat >>confdefs.h <<_ACEOF
16603 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16604 _ACEOF
16606 else
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16608 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16612 _ACEOF
16616 CPPFLAGS=$ac_save_CPPFLAGS
16617 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16618 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16622 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16623 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16624 then
16625 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16628 if test "x$with_vulkan" != "xno"
16629 then
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16631 $as_echo_n "checking for -lvulkan... " >&6; }
16632 if ${ac_cv_lib_soname_vulkan+:} false; then :
16633 $as_echo_n "(cached) " >&6
16634 else
16635 ac_check_soname_save_LIBS=$LIBS
16636 LIBS="-lvulkan $LIBS"
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h. */
16640 /* Override any GCC internal prototype to avoid an error.
16641 Use char because int might match the return type of a GCC
16642 builtin and then its argument prototype would still apply. */
16643 #ifdef __cplusplus
16644 extern "C"
16645 #endif
16646 char vkGetInstanceProcAddr ();
16648 main ()
16650 return vkGetInstanceProcAddr ();
16652 return 0;
16654 _ACEOF
16655 if ac_fn_c_try_link "$LINENO"; then :
16656 case "$LIBEXT" in
16657 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16658 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'` ;;
16659 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16660 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16661 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16662 fi ;;
16663 esac
16664 else
16665 ac_cv_lib_soname_vulkan=
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 LIBS=$ac_check_soname_save_LIBS
16671 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16673 $as_echo "not found" >&6; }
16675 else
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16677 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16679 cat >>confdefs.h <<_ACEOF
16680 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16681 _ACEOF
16685 if test "x$ac_cv_lib_soname_vulkan" = "x"
16686 then
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16688 $as_echo_n "checking for -lMoltenVK... " >&6; }
16689 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 ac_check_soname_save_LIBS=$LIBS
16693 LIBS="-lMoltenVK $LIBS"
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 /* end confdefs.h. */
16697 /* Override any GCC internal prototype to avoid an error.
16698 Use char because int might match the return type of a GCC
16699 builtin and then its argument prototype would still apply. */
16700 #ifdef __cplusplus
16701 extern "C"
16702 #endif
16703 char vkGetInstanceProcAddr ();
16705 main ()
16707 return vkGetInstanceProcAddr ();
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 case "$LIBEXT" in
16714 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16715 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'` ;;
16716 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16717 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16718 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16719 fi ;;
16720 esac
16721 else
16722 ac_cv_lib_soname_MoltenVK=
16724 rm -f core conftest.err conftest.$ac_objext \
16725 conftest$ac_exeext conftest.$ac_ext
16726 LIBS=$ac_check_soname_save_LIBS
16728 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16730 $as_echo "not found" >&6; }
16732 else
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16734 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16736 cat >>confdefs.h <<_ACEOF
16737 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16738 _ACEOF
16744 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16745 case "x$with_vulkan" in
16746 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16747 xno) ;;
16748 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16749 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16750 esac
16754 if test "x$with_vkd3d" != "xno"
16755 then
16756 if ${VKD3D_CFLAGS:+false} :; then :
16757 if ${PKG_CONFIG+:} false; then :
16758 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16762 if ${VKD3D_LIBS:+false} :; then :
16763 if ${PKG_CONFIG+:} false; then :
16764 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16769 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16770 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16771 ac_save_CPPFLAGS=$CPPFLAGS
16772 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16774 $as_echo_n "checking for -lvkd3d... " >&6; }
16775 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 ac_check_soname_save_LIBS=$LIBS
16779 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16786 #ifdef __cplusplus
16787 extern "C"
16788 #endif
16789 char vkd3d_get_dxgi_format ();
16791 main ()
16793 return vkd3d_get_dxgi_format ();
16795 return 0;
16797 _ACEOF
16798 if ac_fn_c_try_link "$LINENO"; then :
16799 case "$LIBEXT" in
16800 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16801 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16802 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16803 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16804 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16805 fi ;;
16806 esac
16807 else
16808 ac_cv_lib_soname_vkd3d=
16810 rm -f core conftest.err conftest.$ac_objext \
16811 conftest$ac_exeext conftest.$ac_ext
16812 LIBS=$ac_check_soname_save_LIBS
16814 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16816 $as_echo "not found" >&6; }
16818 else
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16820 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16822 cat >>confdefs.h <<_ACEOF
16823 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16824 _ACEOF
16828 CPPFLAGS=$ac_save_CPPFLAGS
16829 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16830 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16833 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16834 case "x$with_vkd3d" in
16835 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16836 xno) ;;
16837 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16838 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16839 esac
16842 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16845 EXTRACFLAGS=""
16847 if test "x${GCC}" = "xyes"
16848 then
16849 EXTRACFLAGS="-Wall -pipe"
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16852 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16853 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16854 $as_echo_n "(cached) " >&6
16855 else
16856 ac_wine_try_cflags_saved=$CFLAGS
16857 CFLAGS="$CFLAGS -fcf-protection=none"
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 int main(int argc, char **argv) { return 0; }
16861 _ACEOF
16862 if ac_fn_c_try_link "$LINENO"; then :
16863 ac_cv_cflags__fcf_protection_none=yes
16864 else
16865 ac_cv_cflags__fcf_protection_none=no
16867 rm -f core conftest.err conftest.$ac_objext \
16868 conftest$ac_exeext conftest.$ac_ext
16869 CFLAGS=$ac_wine_try_cflags_saved
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16872 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16873 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16874 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16877 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16878 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 ac_wine_try_cflags_saved=$CFLAGS
16882 CFLAGS="$CFLAGS -fno-stack-protector"
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 int main(int argc, char **argv) { return 0; }
16886 _ACEOF
16887 if ac_fn_c_try_link "$LINENO"; then :
16888 ac_cv_cflags__fno_stack_protector=yes
16889 else
16890 ac_cv_cflags__fno_stack_protector=no
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 CFLAGS=$ac_wine_try_cflags_saved
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16897 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16898 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16899 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16902 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16903 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16904 $as_echo_n "(cached) " >&6
16905 else
16906 ac_wine_try_cflags_saved=$CFLAGS
16907 CFLAGS="$CFLAGS -fno-strict-aliasing"
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16910 int main(int argc, char **argv) { return 0; }
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 ac_cv_cflags__fno_strict_aliasing=yes
16914 else
16915 ac_cv_cflags__fno_strict_aliasing=no
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16919 CFLAGS=$ac_wine_try_cflags_saved
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16922 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16923 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16924 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16927 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16928 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_wine_try_cflags_saved=$CFLAGS
16932 CFLAGS="$CFLAGS -fexcess-precision=standard"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16935 int main(int argc, char **argv) { return 0; }
16936 _ACEOF
16937 if ac_fn_c_try_link "$LINENO"; then :
16938 ac_cv_cflags__fexcess_precision_standard=yes
16939 else
16940 ac_cv_cflags__fexcess_precision_standard=no
16942 rm -f core conftest.err conftest.$ac_objext \
16943 conftest$ac_exeext conftest.$ac_ext
16944 CFLAGS=$ac_wine_try_cflags_saved
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16947 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16948 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16949 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16952 saved_CFLAGS=$CFLAGS
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16954 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16955 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16956 $as_echo_n "(cached) " >&6
16957 else
16958 ac_wine_try_cflags_saved=$CFLAGS
16959 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16962 int main(int argc, char **argv) { return 0; }
16963 _ACEOF
16964 if ac_fn_c_try_link "$LINENO"; then :
16965 ac_cv_cflags__Werror_unknown_warning_option=yes
16966 else
16967 ac_cv_cflags__Werror_unknown_warning_option=no
16969 rm -f core conftest.err conftest.$ac_objext \
16970 conftest$ac_exeext conftest.$ac_ext
16971 CFLAGS=$ac_wine_try_cflags_saved
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16974 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16975 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16976 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16979 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16980 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16981 $as_echo_n "(cached) " >&6
16982 else
16983 ac_wine_try_cflags_saved=$CFLAGS
16984 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 /* end confdefs.h. */
16987 int main(int argc, char **argv) { return 0; }
16988 _ACEOF
16989 if ac_fn_c_try_link "$LINENO"; then :
16990 ac_cv_cflags__Werror_unused_command_line_argument=yes
16991 else
16992 ac_cv_cflags__Werror_unused_command_line_argument=no
16994 rm -f core conftest.err conftest.$ac_objext \
16995 conftest$ac_exeext conftest.$ac_ext
16996 CFLAGS=$ac_wine_try_cflags_saved
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16999 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17000 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17001 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17004 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17005 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 ac_wine_try_cflags_saved=$CFLAGS
17009 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 int main(int argc, char **argv) { return 0; }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_cflags__Wdeclaration_after_statement=yes
17016 else
17017 ac_cv_cflags__Wdeclaration_after_statement=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 CFLAGS=$ac_wine_try_cflags_saved
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17024 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17025 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17026 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17029 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17030 if ${ac_cv_cflags__Wempty_body+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 ac_wine_try_cflags_saved=$CFLAGS
17034 CFLAGS="$CFLAGS -Wempty-body"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 int main(int argc, char **argv) { return 0; }
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040 ac_cv_cflags__Wempty_body=yes
17041 else
17042 ac_cv_cflags__Wempty_body=no
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 CFLAGS=$ac_wine_try_cflags_saved
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17049 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17050 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17051 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17054 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17055 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 ac_wine_try_cflags_saved=$CFLAGS
17059 CFLAGS="$CFLAGS -Wignored-qualifiers"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 int main(int argc, char **argv) { return 0; }
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_cflags__Wignored_qualifiers=yes
17066 else
17067 ac_cv_cflags__Wignored_qualifiers=no
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17074 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17075 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17076 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17079 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17080 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_wine_try_cflags_saved=$CFLAGS
17084 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 int main(int argc, char **argv) { return 0; }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_cflags__Wpacked_not_aligned=yes
17091 else
17092 ac_cv_cflags__Wpacked_not_aligned=no
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 CFLAGS=$ac_wine_try_cflags_saved
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17099 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17100 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17101 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17104 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17105 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -Wpragma-pack"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 int main(int argc, char **argv) { return 0; }
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_cflags__Wpragma_pack=yes
17116 else
17117 ac_cv_cflags__Wpragma_pack=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 CFLAGS=$ac_wine_try_cflags_saved
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17124 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17125 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17126 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17129 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17130 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -Wshift-overflow=2"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 int main(int argc, char **argv) { return 0; }
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_cflags__Wshift_overflow_2=yes
17141 else
17142 ac_cv_cflags__Wshift_overflow_2=no
17144 rm -f core conftest.err conftest.$ac_objext \
17145 conftest$ac_exeext conftest.$ac_ext
17146 CFLAGS=$ac_wine_try_cflags_saved
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17149 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17150 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17151 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17154 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17155 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Wstrict-prototypes"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__Wstrict_prototypes=yes
17166 else
17167 ac_cv_cflags__Wstrict_prototypes=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17174 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17175 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17179 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17180 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -Wtype-limits"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__Wtype_limits=yes
17191 else
17192 ac_cv_cflags__Wtype_limits=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17199 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17200 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17204 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17205 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__Wunused_but_set_parameter=yes
17216 else
17217 ac_cv_cflags__Wunused_but_set_parameter=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17224 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17225 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17229 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17230 if ${ac_cv_cflags__Wvla+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -Wvla"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 int main(int argc, char **argv) { return 0; }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_cflags__Wvla=yes
17241 else
17242 ac_cv_cflags__Wvla=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 CFLAGS=$ac_wine_try_cflags_saved
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17249 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17250 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17254 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17255 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wwrite-strings"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 int main(int argc, char **argv) { return 0; }
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_cflags__Wwrite_strings=yes
17266 else
17267 ac_cv_cflags__Wwrite_strings=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 CFLAGS=$ac_wine_try_cflags_saved
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17274 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17275 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17280 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17281 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17282 $as_echo_n "(cached) " >&6
17283 else
17284 ac_wine_try_cflags_saved=$CFLAGS
17285 CFLAGS="$CFLAGS -Wpointer-arith"
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 int main(int argc, char **argv) { return 0; }
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_cflags__Wpointer_arith=yes
17292 else
17293 ac_cv_cflags__Wpointer_arith=no
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17297 CFLAGS=$ac_wine_try_cflags_saved
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17300 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17301 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17302 saved_string_h_CFLAGS=$CFLAGS
17303 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17305 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17306 if ${ac_cv_c_string_h_warnings+:} false; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <string.h>
17313 main ()
17317 return 0;
17319 _ACEOF
17320 if ac_fn_c_try_compile "$LINENO"; then :
17321 ac_cv_c_string_h_warnings=no
17322 else
17323 ac_cv_c_string_h_warnings=yes
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17328 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17329 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17330 CFLAGS=$saved_string_h_CFLAGS
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17334 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17335 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 ac_wine_try_cflags_saved=$CFLAGS
17339 CFLAGS="$CFLAGS -Wlogical-op"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 int main(int argc, char **argv) { return 0; }
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"; then :
17345 ac_cv_cflags__Wlogical_op=yes
17346 else
17347 ac_cv_cflags__Wlogical_op=no
17349 rm -f core conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 CFLAGS=$ac_wine_try_cflags_saved
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17354 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17355 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17356 saved_string_h_CFLAGS=$CFLAGS
17357 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17359 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17360 if ${ac_cv_c_logicalop_noisy+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 #include <string.h>
17366 char*f(const char *h,char n) {return strchr(h,n);}
17368 main ()
17372 return 0;
17374 _ACEOF
17375 if ac_fn_c_try_compile "$LINENO"; then :
17376 ac_cv_c_logicalop_noisy=no
17377 else
17378 ac_cv_c_logicalop_noisy=yes
17380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17383 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17384 CFLAGS=$saved_string_h_CFLAGS
17385 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17388 for ac_flag in $CFLAGS; do
17389 case $ac_flag in
17390 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17391 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17392 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 ac_wine_try_cflags_saved=$CFLAGS
17396 CFLAGS="$CFLAGS -gdwarf-2"
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 int main(int argc, char **argv) { return 0; }
17400 _ACEOF
17401 if ac_fn_c_try_link "$LINENO"; then :
17402 ac_cv_cflags__gdwarf_2=yes
17403 else
17404 ac_cv_cflags__gdwarf_2=no
17406 rm -f core conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17408 CFLAGS=$ac_wine_try_cflags_saved
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17411 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17412 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17413 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17416 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17417 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17418 $as_echo_n "(cached) " >&6
17419 else
17420 ac_wine_try_cflags_saved=$CFLAGS
17421 CFLAGS="$CFLAGS -gstrict-dwarf"
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 int main(int argc, char **argv) { return 0; }
17425 _ACEOF
17426 if ac_fn_c_try_link "$LINENO"; then :
17427 ac_cv_cflags__gstrict_dwarf=yes
17428 else
17429 ac_cv_cflags__gstrict_dwarf=no
17431 rm -f core conftest.err conftest.$ac_objext \
17432 conftest$ac_exeext conftest.$ac_ext
17433 CFLAGS=$ac_wine_try_cflags_saved
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17436 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17437 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17438 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17439 fi ;;
17440 esac
17441 done
17443 MSVCRTFLAGS=""
17445 case $host_os in
17446 mingw32*) ;;
17447 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17448 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17449 if ${ac_cv_cflags__fno_builtin+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 ac_wine_try_cflags_saved=$CFLAGS
17453 CFLAGS="$CFLAGS -fno-builtin"
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 int main(int argc, char **argv) { return 0; }
17457 _ACEOF
17458 if ac_fn_c_try_link "$LINENO"; then :
17459 ac_cv_cflags__fno_builtin=yes
17460 else
17461 ac_cv_cflags__fno_builtin=no
17463 rm -f core conftest.err conftest.$ac_objext \
17464 conftest$ac_exeext conftest.$ac_ext
17465 CFLAGS=$ac_wine_try_cflags_saved
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17468 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17469 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17470 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17473 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17474 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_wine_try_cflags_saved=$CFLAGS
17478 CFLAGS="$CFLAGS -fshort-wchar"
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 int main(int argc, char **argv) { return 0; }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_cflags__fshort_wchar=yes
17485 else
17486 ac_cv_cflags__fshort_wchar=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 CFLAGS=$ac_wine_try_cflags_saved
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17493 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17494 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17495 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17496 fi ;;
17497 esac
17499 case $host_cpu in
17500 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17501 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17502 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 ac_wine_try_cflags_saved=$CFLAGS
17506 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 int main(int argc, char **argv) { return 0; }
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 ac_cv_cflags__fno_omit_frame_pointer=yes
17513 else
17514 ac_cv_cflags__fno_omit_frame_pointer=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17518 CFLAGS=$ac_wine_try_cflags_saved
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17521 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17522 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17523 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17524 fi ;;
17525 *x86_64*)
17526 case $host_os in
17527 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17528 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17529 if ${ac_cv_cflags__Wno_format+:} false; then :
17530 $as_echo_n "(cached) " >&6
17531 else
17532 ac_wine_try_cflags_saved=$CFLAGS
17533 CFLAGS="$CFLAGS -Wno-format"
17534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 /* end confdefs.h. */
17536 int main(int argc, char **argv) { return 0; }
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"; then :
17539 ac_cv_cflags__Wno_format=yes
17540 else
17541 ac_cv_cflags__Wno_format=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17545 CFLAGS=$ac_wine_try_cflags_saved
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17548 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17549 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17550 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17551 fi ;;
17552 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17553 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17554 if ${ac_cv_cflags__mabi_ms+:} false; then :
17555 $as_echo_n "(cached) " >&6
17556 else
17557 ac_wine_try_cflags_saved=$CFLAGS
17558 CFLAGS="$CFLAGS -mabi=ms"
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 int main(int argc, char **argv) { return 0; }
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_cflags__mabi_ms=yes
17565 else
17566 ac_cv_cflags__mabi_ms=no
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17570 CFLAGS=$ac_wine_try_cflags_saved
17572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17573 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17574 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17575 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17576 fi ;;
17577 esac ;;
17578 esac
17580 CFLAGS=$saved_CFLAGS
17582 if test "x$enable_maintainer_mode" = "xyes"
17583 then
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17585 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17586 if ${ac_cv_cflags__Werror+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 ac_wine_try_cflags_saved=$CFLAGS
17590 CFLAGS="$CFLAGS -Werror"
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17592 /* end confdefs.h. */
17593 int main(int argc, char **argv) { return 0; }
17594 _ACEOF
17595 if ac_fn_c_try_link "$LINENO"; then :
17596 ac_cv_cflags__Werror=yes
17597 else
17598 ac_cv_cflags__Werror=no
17600 rm -f core conftest.err conftest.$ac_objext \
17601 conftest$ac_exeext conftest.$ac_ext
17602 CFLAGS=$ac_wine_try_cflags_saved
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17605 $as_echo "$ac_cv_cflags__Werror" >&6; }
17606 if test "x$ac_cv_cflags__Werror" = xyes; then :
17607 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17614 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17615 if ${ac_cv_c_fortify_enabled+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 #include <string.h>
17622 main ()
17624 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17625 #error Fortify enabled
17626 #endif
17628 return 0;
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 ac_cv_c_fortify_enabled=no
17633 else
17634 ac_cv_c_fortify_enabled=yes
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17639 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17640 if test "$ac_cv_c_fortify_enabled" = yes
17641 then
17642 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17647 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17648 if ${ac_cv_c_cfi_support+:} false; then :
17649 $as_echo_n "(cached) " >&6
17650 else
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17655 main ()
17659 return 0;
17661 _ACEOF
17662 if ac_fn_c_try_compile "$LINENO"; then :
17663 ac_cv_c_cfi_support="yes"
17664 else
17665 ac_cv_c_cfi_support="no"
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17670 $as_echo "$ac_cv_c_cfi_support" >&6; }
17671 if test "$ac_cv_c_cfi_support" = "yes"
17672 then
17673 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17674 else
17675 if test "x$enable_win64" = "xyes"
17676 then
17677 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17682 case $build_os in
17683 cygwin*|mingw32*) TOOLSEXT=".exe"
17685 esac
17687 case $host_os in
17688 linux*)
17689 case $host_cpu in
17690 *i[3456789]86*|x86_64*|*aarch64*)
17691 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17692 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17694 esac
17696 esac
17699 ac_save_CFLAGS="$CFLAGS"
17700 CFLAGS="$CFLAGS $BUILTINFLAG"
17701 for ac_func in \
17702 __res_get_state \
17703 __res_getservers \
17704 _spawnvp \
17705 dlopen \
17706 epoll_create \
17707 ffs \
17708 finitef \
17709 fnmatch \
17710 fork \
17711 fpclass \
17712 fstatfs \
17713 fstatvfs \
17714 futimens \
17715 futimes \
17716 futimesat \
17717 getattrlist \
17718 getauxval \
17719 getifaddrs \
17720 getopt_long_only \
17721 kqueue \
17722 lstat \
17723 mach_continuous_time \
17724 pipe2 \
17725 poll \
17726 port_create \
17727 prctl \
17728 pread \
17729 proc_pidinfo \
17730 pwrite \
17731 readdir \
17732 readlink \
17733 sched_yield \
17734 select \
17735 setproctitle \
17736 setprogname \
17737 settimeofday \
17738 sigprocmask \
17739 statfs \
17740 statvfs \
17741 strnlen \
17742 strtold \
17743 symlink \
17744 sysinfo \
17745 tcdrain \
17746 thr_kill2 \
17747 timegm \
17748 usleep
17750 do :
17751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17754 cat >>confdefs.h <<_ACEOF
17755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17756 _ACEOF
17759 done
17761 CFLAGS="$ac_save_CFLAGS"
17763 if test "$ac_cv_func_dlopen" = no
17764 then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17767 if ${ac_cv_lib_dl_dlopen+:} false; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770 ac_check_lib_save_LIBS=$LIBS
17771 LIBS="-ldl $LIBS"
17772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17773 /* end confdefs.h. */
17775 /* Override any GCC internal prototype to avoid an error.
17776 Use char because int might match the return type of a GCC
17777 builtin and then its argument prototype would still apply. */
17778 #ifdef __cplusplus
17779 extern "C"
17780 #endif
17781 char dlopen ();
17783 main ()
17785 return dlopen ();
17787 return 0;
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_lib_dl_dlopen=yes
17792 else
17793 ac_cv_lib_dl_dlopen=no
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 LIBS=$ac_check_lib_save_LIBS
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17801 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17802 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17803 DL_LIBS="-ldl"
17808 ac_wine_check_funcs_save_LIBS="$LIBS"
17809 LIBS="$LIBS $DL_LIBS"
17810 for ac_func in dladdr
17811 do :
17812 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17813 if test "x$ac_cv_func_dladdr" = xyes; then :
17814 cat >>confdefs.h <<_ACEOF
17815 #define HAVE_DLADDR 1
17816 _ACEOF
17819 done
17821 LIBS="$ac_wine_check_funcs_save_LIBS"
17823 if test "$ac_cv_func_poll" = no
17824 then
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17826 $as_echo_n "checking for poll in -lpoll... " >&6; }
17827 if ${ac_cv_lib_poll_poll+:} false; then :
17828 $as_echo_n "(cached) " >&6
17829 else
17830 ac_check_lib_save_LIBS=$LIBS
17831 LIBS="-lpoll $LIBS"
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17835 /* Override any GCC internal prototype to avoid an error.
17836 Use char because int might match the return type of a GCC
17837 builtin and then its argument prototype would still apply. */
17838 #ifdef __cplusplus
17839 extern "C"
17840 #endif
17841 char poll ();
17843 main ()
17845 return poll ();
17847 return 0;
17849 _ACEOF
17850 if ac_fn_c_try_link "$LINENO"; then :
17851 ac_cv_lib_poll_poll=yes
17852 else
17853 ac_cv_lib_poll_poll=no
17855 rm -f core conftest.err conftest.$ac_objext \
17856 conftest$ac_exeext conftest.$ac_ext
17857 LIBS=$ac_check_lib_save_LIBS
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17860 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17861 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17862 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17863 POLL_LIBS="-lpoll"
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17870 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17871 if ${ac_cv_search_gethostbyname+:} false; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17874 ac_func_search_save_LIBS=$LIBS
17875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17876 /* end confdefs.h. */
17878 /* Override any GCC internal prototype to avoid an error.
17879 Use char because int might match the return type of a GCC
17880 builtin and then its argument prototype would still apply. */
17881 #ifdef __cplusplus
17882 extern "C"
17883 #endif
17884 char gethostbyname ();
17886 main ()
17888 return gethostbyname ();
17890 return 0;
17892 _ACEOF
17893 for ac_lib in '' nsl; do
17894 if test -z "$ac_lib"; then
17895 ac_res="none required"
17896 else
17897 ac_res=-l$ac_lib
17898 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17900 if ac_fn_c_try_link "$LINENO"; then :
17901 ac_cv_search_gethostbyname=$ac_res
17903 rm -f core conftest.err conftest.$ac_objext \
17904 conftest$ac_exeext
17905 if ${ac_cv_search_gethostbyname+:} false; then :
17906 break
17908 done
17909 if ${ac_cv_search_gethostbyname+:} false; then :
17911 else
17912 ac_cv_search_gethostbyname=no
17914 rm conftest.$ac_ext
17915 LIBS=$ac_func_search_save_LIBS
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17918 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17919 ac_res=$ac_cv_search_gethostbyname
17920 if test "$ac_res" != no; then :
17921 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17927 $as_echo_n "checking for library containing connect... " >&6; }
17928 if ${ac_cv_search_connect+:} false; then :
17929 $as_echo_n "(cached) " >&6
17930 else
17931 ac_func_search_save_LIBS=$LIBS
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17935 /* Override any GCC internal prototype to avoid an error.
17936 Use char because int might match the return type of a GCC
17937 builtin and then its argument prototype would still apply. */
17938 #ifdef __cplusplus
17939 extern "C"
17940 #endif
17941 char connect ();
17943 main ()
17945 return connect ();
17947 return 0;
17949 _ACEOF
17950 for ac_lib in '' socket; do
17951 if test -z "$ac_lib"; then
17952 ac_res="none required"
17953 else
17954 ac_res=-l$ac_lib
17955 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17957 if ac_fn_c_try_link "$LINENO"; then :
17958 ac_cv_search_connect=$ac_res
17960 rm -f core conftest.err conftest.$ac_objext \
17961 conftest$ac_exeext
17962 if ${ac_cv_search_connect+:} false; then :
17963 break
17965 done
17966 if ${ac_cv_search_connect+:} false; then :
17968 else
17969 ac_cv_search_connect=no
17971 rm conftest.$ac_ext
17972 LIBS=$ac_func_search_save_LIBS
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17975 $as_echo "$ac_cv_search_connect" >&6; }
17976 ac_res=$ac_cv_search_connect
17977 if test "$ac_res" != no; then :
17978 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17984 $as_echo_n "checking for library containing inet_aton... " >&6; }
17985 if ${ac_cv_search_inet_aton+:} false; then :
17986 $as_echo_n "(cached) " >&6
17987 else
17988 ac_func_search_save_LIBS=$LIBS
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 /* Override any GCC internal prototype to avoid an error.
17993 Use char because int might match the return type of a GCC
17994 builtin and then its argument prototype would still apply. */
17995 #ifdef __cplusplus
17996 extern "C"
17997 #endif
17998 char inet_aton ();
18000 main ()
18002 return inet_aton ();
18004 return 0;
18006 _ACEOF
18007 for ac_lib in '' resolv; do
18008 if test -z "$ac_lib"; then
18009 ac_res="none required"
18010 else
18011 ac_res=-l$ac_lib
18012 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18014 if ac_fn_c_try_link "$LINENO"; then :
18015 ac_cv_search_inet_aton=$ac_res
18017 rm -f core conftest.err conftest.$ac_objext \
18018 conftest$ac_exeext
18019 if ${ac_cv_search_inet_aton+:} false; then :
18020 break
18022 done
18023 if ${ac_cv_search_inet_aton+:} false; then :
18025 else
18026 ac_cv_search_inet_aton=no
18028 rm conftest.$ac_ext
18029 LIBS=$ac_func_search_save_LIBS
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18032 $as_echo "$ac_cv_search_inet_aton" >&6; }
18033 ac_res=$ac_cv_search_inet_aton
18034 if test "$ac_res" != no; then :
18035 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18040 for ac_func in \
18041 getaddrinfo \
18042 getnameinfo \
18043 getnetbyname \
18044 getprotobyname \
18045 getprotobynumber \
18046 getservbyport \
18047 inet_addr \
18048 inet_network \
18049 inet_ntop \
18050 inet_pton \
18052 do :
18053 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18055 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18056 cat >>confdefs.h <<_ACEOF
18057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18058 _ACEOF
18061 done
18064 case $host_os in
18065 darwin*|macosx*) ;;
18066 *) ac_save_LIBS=$LIBS
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18068 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18069 if ${ac_cv_search_clock_gettime+:} false; then :
18070 $as_echo_n "(cached) " >&6
18071 else
18072 ac_func_search_save_LIBS=$LIBS
18073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18074 /* end confdefs.h. */
18076 /* Override any GCC internal prototype to avoid an error.
18077 Use char because int might match the return type of a GCC
18078 builtin and then its argument prototype would still apply. */
18079 #ifdef __cplusplus
18080 extern "C"
18081 #endif
18082 char clock_gettime ();
18084 main ()
18086 return clock_gettime ();
18088 return 0;
18090 _ACEOF
18091 for ac_lib in '' rt; do
18092 if test -z "$ac_lib"; then
18093 ac_res="none required"
18094 else
18095 ac_res=-l$ac_lib
18096 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18098 if ac_fn_c_try_link "$LINENO"; then :
18099 ac_cv_search_clock_gettime=$ac_res
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext
18103 if ${ac_cv_search_clock_gettime+:} false; then :
18104 break
18106 done
18107 if ${ac_cv_search_clock_gettime+:} false; then :
18109 else
18110 ac_cv_search_clock_gettime=no
18112 rm conftest.$ac_ext
18113 LIBS=$ac_func_search_save_LIBS
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18116 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18117 ac_res=$ac_cv_search_clock_gettime
18118 if test "$ac_res" != no; then :
18119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18121 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18123 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18127 LIBS=$ac_save_LIBS
18129 esac
18131 if test "x$with_ldap" != "xno"
18132 then
18133 if ${LDAP_CFLAGS:+false} :; then :
18134 if ${PKG_CONFIG+:} false; then :
18135 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18139 if ${LDAP_LIBS:+false} :; then :
18140 if ${PKG_CONFIG+:} false; then :
18141 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18145 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18146 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18147 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18148 ac_save_CPPFLAGS=$CPPFLAGS
18149 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18150 for ac_header in ldap.h lber.h
18151 do :
18152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18153 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18155 cat >>confdefs.h <<_ACEOF
18156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18157 _ACEOF
18161 done
18163 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18164 then
18165 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18167 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18169 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18170 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18171 $as_echo_n "(cached) " >&6
18172 else
18173 ac_check_lib_save_LIBS=$LIBS
18174 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 /* Override any GCC internal prototype to avoid an error.
18179 Use char because int might match the return type of a GCC
18180 builtin and then its argument prototype would still apply. */
18181 #ifdef __cplusplus
18182 extern "C"
18183 #endif
18184 char ldap_initialize ();
18186 main ()
18188 return ldap_initialize ();
18190 return 0;
18192 _ACEOF
18193 if ac_fn_c_try_link "$LINENO"; then :
18194 ac_cv_lib_ldap_r_ldap_initialize=yes
18195 else
18196 ac_cv_lib_ldap_r_ldap_initialize=no
18198 rm -f core conftest.err conftest.$ac_objext \
18199 conftest$ac_exeext conftest.$ac_ext
18200 LIBS=$ac_check_lib_save_LIBS
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18203 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18204 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18206 $as_echo_n "checking for ber_init in -llber... " >&6; }
18207 if ${ac_cv_lib_lber_ber_init+:} false; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18210 ac_check_lib_save_LIBS=$LIBS
18211 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18213 /* end confdefs.h. */
18215 /* Override any GCC internal prototype to avoid an error.
18216 Use char because int might match the return type of a GCC
18217 builtin and then its argument prototype would still apply. */
18218 #ifdef __cplusplus
18219 extern "C"
18220 #endif
18221 char ber_init ();
18223 main ()
18225 return ber_init ();
18227 return 0;
18229 _ACEOF
18230 if ac_fn_c_try_link "$LINENO"; then :
18231 ac_cv_lib_lber_ber_init=yes
18232 else
18233 ac_cv_lib_lber_ber_init=no
18235 rm -f core conftest.err conftest.$ac_objext \
18236 conftest$ac_exeext conftest.$ac_ext
18237 LIBS=$ac_check_lib_save_LIBS
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18240 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18241 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18243 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18245 else
18246 LDAP_LIBS=""
18249 else
18250 LDAP_LIBS=""
18253 else
18254 LDAP_LIBS=""
18257 ac_wine_check_funcs_save_LIBS="$LIBS"
18258 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18259 for ac_func in \
18260 ldap_count_references \
18261 ldap_first_reference \
18262 ldap_next_reference \
18263 ldap_parse_reference \
18264 ldap_parse_sort_control \
18265 ldap_parse_sortresponse_control \
18266 ldap_parse_vlv_control \
18267 ldap_parse_vlvresponse_control
18268 do :
18269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18271 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18272 cat >>confdefs.h <<_ACEOF
18273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18274 _ACEOF
18277 done
18279 LIBS="$ac_wine_check_funcs_save_LIBS"
18280 else
18281 LDAP_LIBS=""
18283 CPPFLAGS=$ac_save_CPPFLAGS
18284 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18285 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18288 if test "x$LDAP_LIBS" = "x"; then :
18289 case "x$with_ldap" in
18290 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18291 xno) ;;
18292 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18293 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18294 esac
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18299 $as_echo_n "checking for sched_setaffinity... " >&6; }
18300 if ${wine_cv_have_sched_setaffinity+:} false; then :
18301 $as_echo_n "(cached) " >&6
18302 else
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18305 #define _GNU_SOURCE
18306 #include <sched.h>
18308 main ()
18310 sched_setaffinity(0, 0, 0);
18312 return 0;
18314 _ACEOF
18315 if ac_fn_c_try_link "$LINENO"; then :
18316 wine_cv_have_sched_setaffinity=yes
18317 else
18318 wine_cv_have_sched_setaffinity=no
18320 rm -f core conftest.err conftest.$ac_objext \
18321 conftest$ac_exeext conftest.$ac_ext
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18324 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18325 if test "$wine_cv_have_sched_setaffinity" = "yes"
18326 then
18328 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18333 $as_echo_n "checking for fallocate... " >&6; }
18334 if ${wine_cv_have_fallocate+:} false; then :
18335 $as_echo_n "(cached) " >&6
18336 else
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #define _GNU_SOURCE
18340 #include <fcntl.h>
18342 main ()
18344 fallocate(-1, 0, 0, 0);
18346 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 wine_cv_have_fallocate=yes
18351 else
18352 wine_cv_have_fallocate=no
18354 rm -f core conftest.err conftest.$ac_objext \
18355 conftest$ac_exeext conftest.$ac_ext
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18358 $as_echo "$wine_cv_have_fallocate" >&6; }
18359 if test "$wine_cv_have_fallocate" = "yes"
18360 then
18362 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18368 $as_echo_n "checking for inline... " >&6; }
18369 if ${ac_cv_c_inline+:} false; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18372 ac_cv_c_inline=no
18373 for ac_kw in inline __inline__ __inline; do
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 /* end confdefs.h. */
18376 #ifndef __cplusplus
18377 typedef int foo_t;
18378 static $ac_kw foo_t static_foo () {return 0; }
18379 $ac_kw foo_t foo () {return 0; }
18380 #endif
18382 _ACEOF
18383 if ac_fn_c_try_compile "$LINENO"; then :
18384 ac_cv_c_inline=$ac_kw
18386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 test "$ac_cv_c_inline" != no && break
18388 done
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18392 $as_echo "$ac_cv_c_inline" >&6; }
18394 case $ac_cv_c_inline in
18395 inline | yes) ;;
18397 case $ac_cv_c_inline in
18398 no) ac_val=;;
18399 *) ac_val=$ac_cv_c_inline;;
18400 esac
18401 cat >>confdefs.h <<_ACEOF
18402 #ifndef __cplusplus
18403 #define inline $ac_val
18404 #endif
18405 _ACEOF
18407 esac
18409 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18410 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18412 cat >>confdefs.h <<_ACEOF
18413 #define HAVE_FSBLKCNT_T 1
18414 _ACEOF
18418 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18419 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18421 cat >>confdefs.h <<_ACEOF
18422 #define HAVE_FSFILCNT_T 1
18423 _ACEOF
18428 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18429 #include <signal.h>
18431 if test "x$ac_cv_type_sigset_t" = xyes; then :
18433 cat >>confdefs.h <<_ACEOF
18434 #define HAVE_SIGSET_T 1
18435 _ACEOF
18440 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18442 if test "x$ac_cv_type_request_sense" = xyes; then :
18444 cat >>confdefs.h <<_ACEOF
18445 #define HAVE_REQUEST_SENSE 1
18446 _ACEOF
18452 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18453 #ifdef HAVE_SYS_SOCKET_H
18454 #include <sys/socket.h>
18455 #endif
18456 #ifdef HAVE_SYS_SOCKETVAR_H
18457 #include <sys/socketvar.h>
18458 #endif
18459 #ifdef HAVE_NET_ROUTE_H
18460 #include <net/route.h>
18461 #endif
18462 #ifdef HAVE_NETINET_IN_H
18463 #include <netinet/in.h>
18464 #endif
18465 #ifdef HAVE_NETINET_IN_SYSTM_H
18466 #include <netinet/in_systm.h>
18467 #endif
18468 #ifdef HAVE_NETINET_IP_H
18469 #include <netinet/ip.h>
18470 #endif
18471 #ifdef HAVE_NETINET_IN_PCB_H
18472 #include <netinet/in_pcb.h>
18473 #endif
18475 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_XINPGEN 1
18479 _ACEOF
18485 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18486 #include <link.h>
18487 #endif
18488 #ifdef HAVE_SYS_LINK_H
18489 #include <sys/link.h>
18490 #endif
18492 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18494 cat >>confdefs.h <<_ACEOF
18495 #define HAVE_STRUCT_R_DEBUG 1
18496 _ACEOF
18500 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18501 #include <link.h>
18502 #endif
18503 #ifdef HAVE_SYS_LINK_H
18504 #include <sys/link.h>
18505 #endif
18507 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18509 cat >>confdefs.h <<_ACEOF
18510 #define HAVE_STRUCT_LINK_MAP 1
18511 _ACEOF
18517 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18518 #include <linux/input.h>
18519 #endif
18521 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18523 cat >>confdefs.h <<_ACEOF
18524 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18525 _ACEOF
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18532 $as_echo_n "checking for if_nameindex... " >&6; }
18533 if ${wine_cv_have_if_nameindex+:} false; then :
18534 $as_echo_n "(cached) " >&6
18535 else
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18538 #ifdef HAVE_SYS_TYPES_H
18539 #include <sys/types.h>
18540 #endif
18541 #ifdef HAVE_SYS_SOCKET_H
18542 #include <sys/socket.h>
18543 #endif
18544 #ifdef HAVE_NET_IF_H
18545 # include <net/if.h>
18546 #endif
18548 main ()
18550 struct if_nameindex *p = if_nameindex(); return p->if_index;
18552 return 0;
18554 _ACEOF
18555 if ac_fn_c_try_link "$LINENO"; then :
18556 wine_cv_have_if_nameindex=yes
18557 else
18558 wine_cv_have_if_nameindex=no
18560 rm -f core conftest.err conftest.$ac_objext \
18561 conftest$ac_exeext conftest.$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18564 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18565 if test "$wine_cv_have_if_nameindex" = "yes"
18566 then
18568 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18573 $as_echo_n "checking for sigaddset... " >&6; }
18574 if ${wine_cv_have_sigaddset+:} false; then :
18575 $as_echo_n "(cached) " >&6
18576 else
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <signal.h>
18581 main ()
18583 sigset_t set; sigaddset(&set,SIGTERM);
18585 return 0;
18587 _ACEOF
18588 if ac_fn_c_try_link "$LINENO"; then :
18589 wine_cv_have_sigaddset=yes
18590 else
18591 wine_cv_have_sigaddset=no
18593 rm -f core conftest.err conftest.$ac_objext \
18594 conftest$ac_exeext conftest.$ac_ext
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18597 $as_echo "$wine_cv_have_sigaddset" >&6; }
18598 if test "$wine_cv_have_sigaddset" = "yes"
18599 then
18601 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18607 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18608 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18609 $as_echo_n "(cached) " >&6
18610 else
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #include <netdb.h>
18615 main ()
18618 char *name=0;
18619 struct hostent he;
18620 struct hostent *result;
18621 char *buf=0;
18622 int bufsize=0;
18623 int errnr;
18624 char *addr=0;
18625 int addrlen=0;
18626 int addrtype=0;
18627 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18628 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18631 return 0;
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"; then :
18635 wine_cv_linux_gethostbyname_r_6=yes
18636 else
18637 wine_cv_linux_gethostbyname_r_6=no
18640 rm -f core conftest.err conftest.$ac_objext \
18641 conftest$ac_exeext conftest.$ac_ext
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18645 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18646 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18647 then
18649 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18653 if test "$ac_cv_header_linux_joystick_h" = "yes"
18654 then
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18656 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18657 if ${wine_cv_linux_joystick_22_api+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18663 #include <sys/ioctl.h>
18664 #include <sys/types.h>
18665 #include <linux/joystick.h>
18667 struct js_event blub;
18668 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18669 #error "no 2.2 header"
18670 #endif
18673 main ()
18675 /*empty*/
18677 return 0;
18679 _ACEOF
18680 if ac_fn_c_try_compile "$LINENO"; then :
18681 wine_cv_linux_joystick_22_api=yes
18682 else
18683 wine_cv_linux_joystick_22_api=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18689 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18690 if test "$wine_cv_linux_joystick_22_api" = "yes"
18691 then
18693 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18699 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18700 #ifdef HAVE_SYS_PARAM_H
18701 # include <sys/param.h>
18702 #endif
18703 #ifdef HAVE_SYS_MOUNT_H
18704 # include <sys/mount.h>
18705 #endif
18706 #ifdef HAVE_SYS_VFS_H
18707 # include <sys/vfs.h>
18708 #endif
18709 #ifdef HAVE_SYS_STATFS_H
18710 # include <sys/statfs.h>
18711 #endif
18713 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_STRUCT_STATFS_F_BFREE 1
18717 _ACEOF
18721 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18722 #ifdef HAVE_SYS_PARAM_H
18723 # include <sys/param.h>
18724 #endif
18725 #ifdef HAVE_SYS_MOUNT_H
18726 # include <sys/mount.h>
18727 #endif
18728 #ifdef HAVE_SYS_VFS_H
18729 # include <sys/vfs.h>
18730 #endif
18731 #ifdef HAVE_SYS_STATFS_H
18732 # include <sys/statfs.h>
18733 #endif
18735 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18737 cat >>confdefs.h <<_ACEOF
18738 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18739 _ACEOF
18743 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_PARAM_H
18745 # include <sys/param.h>
18746 #endif
18747 #ifdef HAVE_SYS_MOUNT_H
18748 # include <sys/mount.h>
18749 #endif
18750 #ifdef HAVE_SYS_VFS_H
18751 # include <sys/vfs.h>
18752 #endif
18753 #ifdef HAVE_SYS_STATFS_H
18754 # include <sys/statfs.h>
18755 #endif
18757 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18761 _ACEOF
18765 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18766 #ifdef HAVE_SYS_PARAM_H
18767 # include <sys/param.h>
18768 #endif
18769 #ifdef HAVE_SYS_MOUNT_H
18770 # include <sys/mount.h>
18771 #endif
18772 #ifdef HAVE_SYS_VFS_H
18773 # include <sys/vfs.h>
18774 #endif
18775 #ifdef HAVE_SYS_STATFS_H
18776 # include <sys/statfs.h>
18777 #endif
18779 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18781 cat >>confdefs.h <<_ACEOF
18782 #define HAVE_STRUCT_STATFS_F_FFREE 1
18783 _ACEOF
18787 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18788 #ifdef HAVE_SYS_PARAM_H
18789 # include <sys/param.h>
18790 #endif
18791 #ifdef HAVE_SYS_MOUNT_H
18792 # include <sys/mount.h>
18793 #endif
18794 #ifdef HAVE_SYS_VFS_H
18795 # include <sys/vfs.h>
18796 #endif
18797 #ifdef HAVE_SYS_STATFS_H
18798 # include <sys/statfs.h>
18799 #endif
18801 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18803 cat >>confdefs.h <<_ACEOF
18804 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18805 _ACEOF
18809 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18810 #ifdef HAVE_SYS_PARAM_H
18811 # include <sys/param.h>
18812 #endif
18813 #ifdef HAVE_SYS_MOUNT_H
18814 # include <sys/mount.h>
18815 #endif
18816 #ifdef HAVE_SYS_VFS_H
18817 # include <sys/vfs.h>
18818 #endif
18819 #ifdef HAVE_SYS_STATFS_H
18820 # include <sys/statfs.h>
18821 #endif
18823 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18827 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18834 #include <sys/statvfs.h>
18835 #endif
18837 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18841 _ACEOF
18847 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18848 #include <dirent.h>
18849 #endif
18851 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18855 _ACEOF
18861 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18862 #ifdef HAVE_SYS_SOCKET_H
18863 # include <sys/socket.h>
18864 #endif
18865 #ifdef HAVE_SYS_UN_H
18866 # include <sys/un.h>
18867 #endif
18869 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18871 cat >>confdefs.h <<_ACEOF
18872 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18873 _ACEOF
18877 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18878 #ifdef HAVE_SYS_SOCKET_H
18879 # include <sys/socket.h>
18880 #endif
18881 #ifdef HAVE_SYS_UN_H
18882 # include <sys/un.h>
18883 #endif
18885 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18887 cat >>confdefs.h <<_ACEOF
18888 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18889 _ACEOF
18893 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18894 #ifdef HAVE_SYS_SOCKET_H
18895 # include <sys/socket.h>
18896 #endif
18897 #ifdef HAVE_SYS_UN_H
18898 # include <sys/un.h>
18899 #endif
18901 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18905 _ACEOF
18911 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18912 #ifdef HAVE_SCSI_SG_H
18913 #include <scsi/sg.h>
18914 #endif
18916 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_SCSIREQ_T_CMD 1
18920 _ACEOF
18924 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>
18925 #ifdef HAVE_SCSI_SG_H
18926 #include <scsi/sg.h>
18927 #endif
18929 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18931 cat >>confdefs.h <<_ACEOF
18932 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18933 _ACEOF
18939 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18941 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18943 cat >>confdefs.h <<_ACEOF
18944 #define HAVE_SIGINFO_T_SI_FD 1
18945 _ACEOF
18951 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18952 #ifdef HAVE_SYS_MTIO_H
18953 #include <sys/mtio.h>
18954 #endif
18956 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18960 _ACEOF
18964 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18965 #ifdef HAVE_SYS_MTIO_H
18966 #include <sys/mtio.h>
18967 #endif
18969 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18973 _ACEOF
18977 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18978 #ifdef HAVE_SYS_MTIO_H
18979 #include <sys/mtio.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18986 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18993 #include <getopt.h>
18994 #endif
18996 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18998 cat >>confdefs.h <<_ACEOF
18999 #define HAVE_STRUCT_OPTION_NAME 1
19000 _ACEOF
19006 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19007 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19009 cat >>confdefs.h <<_ACEOF
19010 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19011 _ACEOF
19015 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19016 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19018 cat >>confdefs.h <<_ACEOF
19019 #define HAVE_STRUCT_STAT_ST_MTIM 1
19020 _ACEOF
19024 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19025 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19029 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19034 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_STRUCT_STAT_ST_CTIM 1
19038 _ACEOF
19042 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19043 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19045 cat >>confdefs.h <<_ACEOF
19046 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19047 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19052 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_STAT_ST_ATIM 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19061 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19065 _ACEOF
19069 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19070 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19074 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19079 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19081 cat >>confdefs.h <<_ACEOF
19082 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19083 _ACEOF
19087 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19088 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19092 _ACEOF
19096 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19097 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19101 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19106 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19110 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19117 #include <sys/types.h>
19118 #endif
19119 #ifdef HAVE_NETINET_IN_H
19120 #include <netinet/in.h>
19121 #endif
19123 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19127 _ACEOF
19133 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19134 #include <sys/types.h>
19135 #endif
19136 #ifdef HAVE_NETINET_IN_H
19137 #include <netinet/in.h>
19138 #endif
19139 #ifdef HAVE_RESOLV_H
19140 #include <resolv.h>
19141 #endif
19143 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT___RES_STATE 1
19147 _ACEOF
19153 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
19154 #include <resolv.h>
19155 #endif
19157 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19161 _ACEOF
19167 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19168 #include <sys/types.h>
19169 #endif
19170 #ifdef HAVE_NETINET_IN_H
19171 # include <netinet/in.h>
19172 #endif
19173 #ifdef HAVE_ARPA_NAMESER_H
19174 # include <arpa/nameser.h>
19175 #endif
19177 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_NS_MSG__MSG_PTR 1
19181 _ACEOF
19187 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19188 #include <sys/types.h>
19189 #endif
19190 #ifdef HAVE_NETINET_IN_H
19191 #include <netinet/in.h>
19192 #endif
19193 #ifdef HAVE_NETINET_IP_H
19194 #include <netinet/ip.h>
19195 #endif
19196 #ifdef HAVE_NETINET_IP_ICMP_H
19197 #include <netinet/ip_icmp.h>
19198 #endif
19199 #ifdef HAVE_NETINET_ICMP_VAR_H
19200 #include <netinet/icmp_var.h>
19201 #endif
19203 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19207 _ACEOF
19213 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19214 #include <sys/types.h>
19215 #endif
19216 #ifdef HAVE_ALIAS_H
19217 #include <alias.h>
19218 #endif
19219 #ifdef HAVE_SYS_SOCKET_H
19220 #include <sys/socket.h>
19221 #endif
19222 #ifdef HAVE_SYS_SOCKETVAR_H
19223 #include <sys/socketvar.h>
19224 #endif
19225 #ifdef HAVE_SYS_TIMEOUT_H
19226 #include <sys/timeout.h>
19227 #endif
19228 #ifdef HAVE_NETINET_IN_H
19229 #include <netinet/in.h>
19230 #endif
19231 #ifdef HAVE_NETINET_IN_SYSTM_H
19232 #include <netinet/in_systm.h>
19233 #endif
19234 #ifdef HAVE_NETINET_IP_H
19235 #include <netinet/ip.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IP_VAR_H
19238 #include <netinet/ip_var.h>
19239 #endif
19240 #ifdef HAVE_NETINET_IP_ICMP_H
19241 #include <netinet/ip_icmp.h>
19242 #endif
19243 #ifdef HAVE_NETINET_ICMP_VAR_H
19244 #include <netinet/icmp_var.h>
19245 #endif
19247 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19251 _ACEOF
19257 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19258 #include <sys/types.h>
19259 #endif
19260 #ifdef HAVE_SYS_SOCKETVAR_H
19261 #include <sys/socketvar.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IN_H
19264 #include <netinet/in.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IP_VAR_H
19267 #include <netinet/ip_var.h>
19268 #endif
19270 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19274 _ACEOF
19280 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
19281 #include <netinet/ip_var.h>
19282 #endif
19284 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19286 cat >>confdefs.h <<_ACEOF
19287 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19288 _ACEOF
19294 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19295 #include <sys/types.h>
19296 #endif
19297 #ifdef HAVE_SYS_SOCKETVAR_H
19298 #include <sys/socketvar.h>
19299 #endif
19300 #ifdef HAVE_NETINET_IN_H
19301 #include <netinet/in.h>
19302 #endif
19303 #ifdef HAVE_NETINET_TCP_H
19304 #include <netinet/tcp.h>
19305 #endif
19306 #ifdef HAVE_NETINET_TCP_VAR_H
19307 #include <netinet/tcp_var.h>
19308 #endif
19310 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19314 _ACEOF
19320 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
19321 #include <netinet/tcp_var.h>
19322 #endif
19324 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19326 cat >>confdefs.h <<_ACEOF
19327 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19328 _ACEOF
19334 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19335 #include <sys/types.h>
19336 #endif
19337 #ifdef HAVE_NETINET_IN_H
19338 #include <netinet/in.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IP_VAR_H
19341 #include <netinet/ip_var.h>
19342 #endif
19343 #ifdef HAVE_NETINET_UDP_H
19344 #include <netinet/udp.h>
19345 #endif
19346 #ifdef HAVE_NETINET_UDP_VAR_H
19347 #include <netinet/udp_var.h>
19348 #endif
19350 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19352 cat >>confdefs.h <<_ACEOF
19353 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19354 _ACEOF
19360 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19361 #include <sys/types.h>
19362 #endif
19363 #ifdef HAVE_NET_IF_H
19364 # include <net/if.h>
19365 #endif
19367 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19369 cat >>confdefs.h <<_ACEOF
19370 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19371 _ACEOF
19377 ac_save_LIBS="$LIBS"
19378 LIBS="$LIBS -lm"
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19380 $as_echo_n "checking for isfinite... " >&6; }
19381 if ${ac_cv_have_isfinite+:} false; then :
19382 $as_echo_n "(cached) " >&6
19383 else
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 #define _GNU_SOURCE
19387 #include <math.h>
19389 main ()
19391 float f = 0.0; return isfinite(f)
19393 return 0;
19395 _ACEOF
19396 if ac_fn_c_try_link "$LINENO"; then :
19397 ac_cv_have_isfinite="yes"
19398 else
19399 ac_cv_have_isfinite="no"
19401 rm -f core conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19405 $as_echo "$ac_cv_have_isfinite" >&6; }
19406 if test "$ac_cv_have_isfinite" = "yes"
19407 then
19409 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19414 $as_echo_n "checking for isinf... " >&6; }
19415 if ${ac_cv_have_isinf+:} false; then :
19416 $as_echo_n "(cached) " >&6
19417 else
19418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419 /* end confdefs.h. */
19420 #include <math.h>
19422 main ()
19424 float f = 0.0; return isinf(f)
19426 return 0;
19428 _ACEOF
19429 if ac_fn_c_try_link "$LINENO"; then :
19430 ac_cv_have_isinf="yes"
19431 else
19432 ac_cv_have_isinf="no"
19434 rm -f core conftest.err conftest.$ac_objext \
19435 conftest$ac_exeext conftest.$ac_ext
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19438 $as_echo "$ac_cv_have_isinf" >&6; }
19439 if test "$ac_cv_have_isinf" = "yes"
19440 then
19442 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19447 $as_echo_n "checking for isnan... " >&6; }
19448 if ${ac_cv_have_isnan+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19453 #include <math.h>
19455 main ()
19457 float f = 0.0; return isnan(f)
19459 return 0;
19461 _ACEOF
19462 if ac_fn_c_try_link "$LINENO"; then :
19463 ac_cv_have_isnan="yes"
19464 else
19465 ac_cv_have_isnan="no"
19467 rm -f core conftest.err conftest.$ac_objext \
19468 conftest$ac_exeext conftest.$ac_ext
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19471 $as_echo "$ac_cv_have_isnan" >&6; }
19472 if test "$ac_cv_have_isnan" = "yes"
19473 then
19475 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19479 for ac_func in \
19480 acosh \
19481 acoshf \
19482 asinh \
19483 asinhf \
19484 atanh \
19485 atanhf \
19486 cbrt \
19487 cbrtf \
19488 erf \
19489 erfc \
19490 erfcf \
19491 erff \
19492 exp2 \
19493 exp2f \
19494 expm1 \
19495 expm1f \
19496 fma \
19497 fmaf \
19498 ilogb \
19499 ilogbf \
19500 j0 \
19501 j1 \
19502 jn \
19503 lgamma \
19504 lgammaf \
19505 llrint \
19506 llrintf \
19507 llround \
19508 llroundf \
19509 log1p \
19510 log1pf \
19511 log2 \
19512 log2f \
19513 lrint \
19514 lrintf \
19515 lround \
19516 lroundf \
19517 nearbyint \
19518 nearbyintf \
19519 nexttoward \
19520 nexttowardf \
19521 powl \
19522 remainder \
19523 remainderf \
19524 remquo \
19525 remquof \
19526 rint \
19527 rintf \
19528 round \
19529 roundf \
19530 tgamma \
19531 tgammaf \
19532 trunc \
19533 truncf \
19534 y0 \
19535 y1 \
19538 do :
19539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19542 cat >>confdefs.h <<_ACEOF
19543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19544 _ACEOF
19547 done
19549 LIBS="$ac_save_LIBS"
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19552 $as_echo_n "checking for __builtin_popcount... " >&6; }
19553 if ${ac_cv_have___builtin_popcount+:} false; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19560 main ()
19562 return __builtin_popcount(1)
19564 return 0;
19566 _ACEOF
19567 if ac_fn_c_try_link "$LINENO"; then :
19568 ac_cv_have___builtin_popcount="yes"
19569 else
19570 ac_cv_have___builtin_popcount="no"
19572 rm -f core conftest.err conftest.$ac_objext \
19573 conftest$ac_exeext conftest.$ac_ext
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19576 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19577 if test "$ac_cv_have___builtin_popcount" = "yes"
19578 then
19580 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19585 $as_echo_n "checking for __clear_cache... " >&6; }
19586 if ${ac_cv_have___clear_cache+:} false; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19593 main ()
19595 __clear_cache((void*)0, (void*)0); return 0;
19597 return 0;
19599 _ACEOF
19600 if ac_fn_c_try_link "$LINENO"; then :
19601 ac_cv_have___clear_cache="yes"
19602 else
19603 ac_cv_have___clear_cache="no"
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19609 $as_echo "$ac_cv_have___clear_cache" >&6; }
19610 if test "$ac_cv_have___clear_cache" = "yes"
19611 then
19613 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19618 case $host_cpu in
19619 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19620 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19621 if ${ac_cv_cpp_def___i386__+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #ifndef __i386__
19628 #endif
19629 _ACEOF
19630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19631 $EGREP "yes" >/dev/null 2>&1; then :
19632 ac_cv_cpp_def___i386__=yes
19633 else
19634 ac_cv_cpp_def___i386__=no
19636 rm -f conftest*
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19640 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19641 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19642 CFLAGS="$CFLAGS -D__i386__"
19643 LINTFLAGS="$LINTFLAGS -D__i386__"
19644 fi ;;
19645 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19646 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19647 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19648 $as_echo_n "(cached) " >&6
19649 else
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #ifndef __x86_64__
19654 #endif
19655 _ACEOF
19656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19657 $EGREP "yes" >/dev/null 2>&1; then :
19658 ac_cv_cpp_def___x86_64__=yes
19659 else
19660 ac_cv_cpp_def___x86_64__=no
19662 rm -f conftest*
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19666 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19667 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19668 CFLAGS="$CFLAGS -D__x86_64__"
19669 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19670 fi ;;
19671 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19672 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19673 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678 #ifndef __sparc64__
19680 #endif
19681 _ACEOF
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "yes" >/dev/null 2>&1; then :
19684 ac_cv_cpp_def___sparc64__=yes
19685 else
19686 ac_cv_cpp_def___sparc64__=no
19688 rm -f conftest*
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19692 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19693 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19694 CFLAGS="$CFLAGS -D__sparc64__"
19695 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19696 fi ;;
19697 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19698 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19699 if ${ac_cv_cpp_def___sparc__+:} false; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 #ifndef __sparc__
19706 #endif
19707 _ACEOF
19708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19709 $EGREP "yes" >/dev/null 2>&1; then :
19710 ac_cv_cpp_def___sparc__=yes
19711 else
19712 ac_cv_cpp_def___sparc__=no
19714 rm -f conftest*
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19718 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19719 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19720 CFLAGS="$CFLAGS -D__sparc__"
19721 LINTFLAGS="$LINTFLAGS -D__sparc__"
19722 fi ;;
19723 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19724 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19725 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19726 $as_echo_n "(cached) " >&6
19727 else
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #ifndef __powerpc64__
19732 #endif
19733 _ACEOF
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "yes" >/dev/null 2>&1; then :
19736 ac_cv_cpp_def___powerpc64__=yes
19737 else
19738 ac_cv_cpp_def___powerpc64__=no
19740 rm -f conftest*
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19744 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19745 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19746 CFLAGS="$CFLAGS -D__powerpc64__"
19747 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19748 fi ;;
19749 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19750 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19751 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19752 $as_echo_n "(cached) " >&6
19753 else
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #ifndef __powerpc__
19758 #endif
19759 _ACEOF
19760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19761 $EGREP "yes" >/dev/null 2>&1; then :
19762 ac_cv_cpp_def___powerpc__=yes
19763 else
19764 ac_cv_cpp_def___powerpc__=no
19766 rm -f conftest*
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19770 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19771 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19772 CFLAGS="$CFLAGS -D__powerpc__"
19773 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19774 fi ;;
19775 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19776 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19777 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19778 $as_echo_n "(cached) " >&6
19779 else
19780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19782 #ifndef __aarch64__
19784 #endif
19785 _ACEOF
19786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19787 $EGREP "yes" >/dev/null 2>&1; then :
19788 ac_cv_cpp_def___aarch64__=yes
19789 else
19790 ac_cv_cpp_def___aarch64__=no
19792 rm -f conftest*
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19796 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19797 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19798 CFLAGS="$CFLAGS -D__aarch64__"
19799 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19800 fi ;;
19801 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19802 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19803 if ${ac_cv_cpp_def___arm__+:} false; then :
19804 $as_echo_n "(cached) " >&6
19805 else
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19807 /* end confdefs.h. */
19808 #ifndef __arm__
19810 #endif
19811 _ACEOF
19812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19813 $EGREP "yes" >/dev/null 2>&1; then :
19814 ac_cv_cpp_def___arm__=yes
19815 else
19816 ac_cv_cpp_def___arm__=no
19818 rm -f conftest*
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19822 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19823 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19824 CFLAGS="$CFLAGS -D__arm__"
19825 LINTFLAGS="$LINTFLAGS -D__arm__"
19826 fi ;;
19827 esac
19829 case $host_vendor in
19830 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19831 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19832 if ${ac_cv_cpp_def___sun__+:} false; then :
19833 $as_echo_n "(cached) " >&6
19834 else
19835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19837 #ifndef __sun__
19839 #endif
19840 _ACEOF
19841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19842 $EGREP "yes" >/dev/null 2>&1; then :
19843 ac_cv_cpp_def___sun__=yes
19844 else
19845 ac_cv_cpp_def___sun__=no
19847 rm -f conftest*
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19851 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19852 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19853 CFLAGS="$CFLAGS -D__sun__"
19854 LINTFLAGS="$LINTFLAGS -D__sun__"
19855 fi ;;
19856 esac
19862 ac_config_commands="$ac_config_commands include/stamp-h"
19864 $as_echo_n "creating Makefile rules..." >&6
19866 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19867 OPENGL_LIBS = $OPENGL_LIBS
19868 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19869 IOKIT_LIBS = $IOKIT_LIBS
19870 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19871 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19872 CORESERVICES_LIBS = $CORESERVICES_LIBS
19873 APPKIT_LIBS = $APPKIT_LIBS
19874 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19875 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19876 SECURITY_LIBS = $SECURITY_LIBS
19877 COREAUDIO_LIBS = $COREAUDIO_LIBS
19878 OPENAL_LIBS = $OPENAL_LIBS
19879 OPENCL_LIBS = $OPENCL_LIBS
19880 QUICKTIME_LIBS = $QUICKTIME_LIBS
19881 CARBON_LIBS = $CARBON_LIBS
19882 METAL_LIBS = $METAL_LIBS
19883 PTHREAD_LIBS = $PTHREAD_LIBS
19884 X_CFLAGS = $X_CFLAGS
19885 X_PRE_LIBS = $X_PRE_LIBS
19886 X_LIBS = $X_LIBS
19887 X_EXTRA_LIBS = $X_EXTRA_LIBS
19888 PCAP_LIBS = $PCAP_LIBS
19889 XML2_CFLAGS = $XML2_CFLAGS
19890 XML2_LIBS = $XML2_LIBS
19891 XSLT_CFLAGS = $XSLT_CFLAGS
19892 XSLT_LIBS = $XSLT_LIBS
19893 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19894 INOTIFY_LIBS = $INOTIFY_LIBS
19895 DBUS_CFLAGS = $DBUS_CFLAGS
19896 DBUS_LIBS = $DBUS_LIBS
19897 HAL_CFLAGS = $HAL_CFLAGS
19898 HAL_LIBS = $HAL_LIBS
19899 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19900 GNUTLS_LIBS = $GNUTLS_LIBS
19901 SANE_CFLAGS = $SANE_CFLAGS
19902 SANE_LIBS = $SANE_LIBS
19903 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19904 GPHOTO2_LIBS = $GPHOTO2_LIBS
19905 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19906 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19907 RESOLV_LIBS = $RESOLV_LIBS
19908 LCMS2_CFLAGS = $LCMS2_CFLAGS
19909 LCMS2_LIBS = $LCMS2_LIBS
19910 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19911 FREETYPE_LIBS = $FREETYPE_LIBS
19912 Z_CFLAGS = $Z_CFLAGS
19913 Z_LIBS = $Z_LIBS
19914 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19915 PULSE_CFLAGS = $PULSE_CFLAGS
19916 PULSE_LIBS = $PULSE_LIBS
19917 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19918 GSTREAMER_LIBS = $GSTREAMER_LIBS
19919 ALSA_LIBS = $ALSA_LIBS
19920 OSS4_CFLAGS = $OSS4_CFLAGS
19921 OSS4_LIBS = $OSS4_LIBS
19922 UDEV_CFLAGS = $UDEV_CFLAGS
19923 UDEV_LIBS = $UDEV_LIBS
19924 UNWIND_CFLAGS = $UNWIND_CFLAGS
19925 UNWIND_LIBS = $UNWIND_LIBS
19926 SDL2_CFLAGS = $SDL2_CFLAGS
19927 SDL2_LIBS = $SDL2_LIBS
19928 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19929 FAUDIO_LIBS = $FAUDIO_LIBS
19930 CAPI20_CFLAGS = $CAPI20_CFLAGS
19931 CAPI20_LIBS = $CAPI20_LIBS
19932 CUPS_CFLAGS = $CUPS_CFLAGS
19933 CUPS_LIBS = $CUPS_LIBS
19934 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19935 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19936 KRB5_CFLAGS = $KRB5_CFLAGS
19937 KRB5_LIBS = $KRB5_LIBS
19938 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19939 GSSAPI_LIBS = $GSSAPI_LIBS
19940 JPEG_CFLAGS = $JPEG_CFLAGS
19941 JPEG_LIBS = $JPEG_LIBS
19942 PNG_CFLAGS = $PNG_CFLAGS
19943 PNG_LIBS = $PNG_LIBS
19944 TIFF_CFLAGS = $TIFF_CFLAGS
19945 TIFF_LIBS = $TIFF_LIBS
19946 MPG123_CFLAGS = $MPG123_CFLAGS
19947 MPG123_LIBS = $MPG123_LIBS
19948 KSTAT_LIBS = $KSTAT_LIBS
19949 PROCSTAT_LIBS = $PROCSTAT_LIBS
19950 NETAPI_CFLAGS = $NETAPI_CFLAGS
19951 NETAPI_LIBS = $NETAPI_LIBS
19952 VKD3D_CFLAGS = $VKD3D_CFLAGS
19953 VKD3D_LIBS = $VKD3D_LIBS
19954 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19955 DL_LIBS = $DL_LIBS
19956 POLL_LIBS = $POLL_LIBS
19957 RT_LIBS = $RT_LIBS
19958 LDAP_CFLAGS = $LDAP_CFLAGS
19959 LDAP_LIBS = $LDAP_LIBS
19964 wine_fn_append_rule "
19965 # Rules automatically generated by configure
19967 .INIT: Makefile
19968 .MAKEFILEDEPS:
19969 all: Makefile
19970 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19971 @./config.status Make.tmp Makefile
19972 depend: \$(MAKEDEP) dummy
19973 \$(MAKEDEP)"
19975 ac_config_links="$ac_config_links wine:tools/winewrapper"
19976 wine_fn_config_symlink wine
19977 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19978 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19979 wine_fn_config_symlink wine64
19982 wine_fn_config_makefile dlls/acledit enable_acledit
19983 wine_fn_config_makefile dlls/aclui enable_aclui
19984 wine_fn_config_makefile dlls/activeds enable_activeds
19985 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19986 wine_fn_config_makefile dlls/adsiid enable_adsiid
19987 wine_fn_config_makefile dlls/adsldp enable_adsldp
19988 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19989 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19990 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19991 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19992 wine_fn_config_makefile dlls/advpack enable_advpack
19993 wine_fn_config_makefile dlls/advpack/tests enable_tests
19994 wine_fn_config_makefile dlls/amsi enable_amsi
19995 wine_fn_config_makefile dlls/amstream enable_amstream
19996 wine_fn_config_makefile dlls/amstream/tests enable_tests
19997 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19999 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20000 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20015 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20019 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20021 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20022 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20023 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20029 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20032 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20045 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20051 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20055 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20063 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20064 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20071 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20075 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20076 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20077 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20103 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20179 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20183 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20188 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20193 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20204 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20206 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20212 wine_fn_config_makefile dlls/apphelp enable_apphelp
20213 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20214 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20215 wine_fn_config_makefile dlls/atl enable_atl
20216 wine_fn_config_makefile dlls/atl/tests enable_tests
20217 wine_fn_config_makefile dlls/atl100 enable_atl100
20218 wine_fn_config_makefile dlls/atl100/tests enable_tests
20219 wine_fn_config_makefile dlls/atl110 enable_atl110
20220 wine_fn_config_makefile dlls/atl80 enable_atl80
20221 wine_fn_config_makefile dlls/atl80/tests enable_tests
20222 wine_fn_config_makefile dlls/atl90 enable_atl90
20223 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20224 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20225 wine_fn_config_makefile dlls/atmlib enable_atmlib
20226 wine_fn_config_makefile dlls/authz enable_authz
20227 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20228 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20229 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20230 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20231 wine_fn_config_makefile dlls/avrt enable_avrt
20232 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20233 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20234 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20235 wine_fn_config_makefile dlls/browseui enable_browseui
20236 wine_fn_config_makefile dlls/browseui/tests enable_tests
20237 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20238 wine_fn_config_makefile dlls/cabinet enable_cabinet
20239 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20240 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20241 wine_fn_config_makefile dlls/cards enable_cards
20242 wine_fn_config_makefile dlls/cdosys enable_cdosys
20243 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20244 wine_fn_config_makefile dlls/clusapi enable_clusapi
20245 wine_fn_config_makefile dlls/combase enable_combase
20246 wine_fn_config_makefile dlls/combase/tests enable_tests
20247 wine_fn_config_makefile dlls/comcat enable_comcat
20248 wine_fn_config_makefile dlls/comcat/tests enable_tests
20249 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20250 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20251 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20252 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20253 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20254 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20255 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20256 wine_fn_config_makefile dlls/compstui enable_compstui
20257 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20258 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20259 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20260 wine_fn_config_makefile dlls/connect enable_connect
20261 wine_fn_config_makefile dlls/credui enable_credui
20262 wine_fn_config_makefile dlls/credui/tests enable_tests
20263 wine_fn_config_makefile dlls/crtdll enable_crtdll
20264 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20265 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20266 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20267 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20268 wine_fn_config_makefile dlls/cryptext enable_cryptext
20269 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20270 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20271 wine_fn_config_makefile dlls/cryptui enable_cryptui
20272 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20273 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20274 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20275 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20276 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20277 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20278 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20279 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20280 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20281 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20282 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20283 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20284 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20285 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20286 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20287 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20288 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20289 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20290 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20291 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20292 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20293 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20294 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20295 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20296 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20297 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20298 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20299 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20300 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20301 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20302 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20303 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20304 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20305 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20306 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20307 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20308 wine_fn_config_makefile dlls/d3dim enable_d3dim
20309 wine_fn_config_makefile dlls/d3drm enable_d3drm
20310 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20311 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20312 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20313 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20314 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20315 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20316 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20317 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20318 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20319 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20320 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20321 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20322 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20323 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20324 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20325 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20326 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20327 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20328 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20329 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20330 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20331 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20332 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20333 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20334 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20335 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20336 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20337 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20338 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20339 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20340 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20341 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20342 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20343 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20344 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20345 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20346 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20347 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20348 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20349 wine_fn_config_makefile dlls/davclnt enable_davclnt
20350 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20351 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20352 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20353 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20354 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20355 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20356 wine_fn_config_makefile dlls/ddraw enable_ddraw
20357 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20358 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20359 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20360 wine_fn_config_makefile dlls/devenum enable_devenum
20361 wine_fn_config_makefile dlls/devenum/tests enable_tests
20362 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20363 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20364 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20365 wine_fn_config_makefile dlls/difxapi enable_difxapi
20366 wine_fn_config_makefile dlls/dinput enable_dinput
20367 wine_fn_config_makefile dlls/dinput/tests enable_tests
20368 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20369 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20370 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20371 wine_fn_config_makefile dlls/dispex enable_dispex
20372 wine_fn_config_makefile dlls/dispex/tests enable_tests
20373 wine_fn_config_makefile dlls/display.drv16 enable_win16
20374 wine_fn_config_makefile dlls/dmband enable_dmband
20375 wine_fn_config_makefile dlls/dmband/tests enable_tests
20376 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20377 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20378 wine_fn_config_makefile dlls/dmime enable_dmime
20379 wine_fn_config_makefile dlls/dmime/tests enable_tests
20380 wine_fn_config_makefile dlls/dmloader enable_dmloader
20381 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20382 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20383 wine_fn_config_makefile dlls/dmscript enable_dmscript
20384 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20385 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20386 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20387 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20388 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20389 wine_fn_config_makefile dlls/dmusic enable_dmusic
20390 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20391 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20392 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20393 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20394 wine_fn_config_makefile dlls/dplay enable_dplay
20395 wine_fn_config_makefile dlls/dplayx enable_dplayx
20396 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20397 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20398 wine_fn_config_makefile dlls/dpnet enable_dpnet
20399 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20400 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20401 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20402 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20403 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20404 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20405 wine_fn_config_makefile dlls/drmclien enable_drmclien
20406 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20407 wine_fn_config_makefile dlls/dsound enable_dsound
20408 wine_fn_config_makefile dlls/dsound/tests enable_tests
20409 wine_fn_config_makefile dlls/dsquery enable_dsquery
20410 wine_fn_config_makefile dlls/dssenh enable_dssenh
20411 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20412 wine_fn_config_makefile dlls/dswave enable_dswave
20413 wine_fn_config_makefile dlls/dswave/tests enable_tests
20414 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20415 wine_fn_config_makefile dlls/dwrite enable_dwrite
20416 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20417 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20418 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20419 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20420 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20421 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20422 wine_fn_config_makefile dlls/dxgi enable_dxgi
20423 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20424 wine_fn_config_makefile dlls/dxguid enable_dxguid
20425 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20426 wine_fn_config_makefile dlls/esent enable_esent
20427 wine_fn_config_makefile dlls/evr enable_evr
20428 wine_fn_config_makefile dlls/evr/tests enable_tests
20429 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20430 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20431 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20440 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20442 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20462 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20463 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20465 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20474 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20477 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20478 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20479 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20480 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20481 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20482 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20483 wine_fn_config_makefile dlls/faultrep enable_faultrep
20484 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20485 wine_fn_config_makefile dlls/feclient enable_feclient
20486 wine_fn_config_makefile dlls/fltlib enable_fltlib
20487 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20488 wine_fn_config_makefile dlls/fntcache enable_fntcache
20489 wine_fn_config_makefile dlls/fontsub enable_fontsub
20490 wine_fn_config_makefile dlls/fusion enable_fusion
20491 wine_fn_config_makefile dlls/fusion/tests enable_tests
20492 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20493 wine_fn_config_makefile dlls/gameux enable_gameux
20494 wine_fn_config_makefile dlls/gameux/tests enable_tests
20495 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20496 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20497 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20498 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20499 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20500 wine_fn_config_makefile dlls/glu32 enable_glu32
20501 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20502 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20503 wine_fn_config_makefile dlls/hal enable_hal
20504 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20505 wine_fn_config_makefile dlls/hid enable_hid
20506 wine_fn_config_makefile dlls/hid/tests enable_tests
20507 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20508 wine_fn_config_makefile dlls/hlink enable_hlink
20509 wine_fn_config_makefile dlls/hlink/tests enable_tests
20510 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20511 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20512 wine_fn_config_makefile dlls/http.sys enable_http_sys
20513 wine_fn_config_makefile dlls/httpapi enable_httpapi
20514 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20515 wine_fn_config_makefile dlls/iccvid enable_iccvid
20516 wine_fn_config_makefile dlls/icmp enable_icmp
20517 wine_fn_config_makefile dlls/ieframe enable_ieframe
20518 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20519 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20520 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20521 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20522 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20523 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20524 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20525 wine_fn_config_makefile dlls/imm32 enable_imm32
20526 wine_fn_config_makefile dlls/imm32/tests enable_tests
20527 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20528 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20529 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20530 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20531 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20532 wine_fn_config_makefile dlls/infosoft enable_infosoft
20533 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20534 wine_fn_config_makefile dlls/initpki enable_initpki
20535 wine_fn_config_makefile dlls/inkobj enable_inkobj
20536 wine_fn_config_makefile dlls/inseng enable_inseng
20537 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20538 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20539 wine_fn_config_makefile dlls/iprop enable_iprop
20540 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20541 wine_fn_config_makefile dlls/itircl enable_itircl
20542 wine_fn_config_makefile dlls/itss enable_itss
20543 wine_fn_config_makefile dlls/itss/tests enable_tests
20544 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20545 wine_fn_config_makefile dlls/jscript enable_jscript
20546 wine_fn_config_makefile dlls/jscript/tests enable_tests
20547 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20548 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20549 wine_fn_config_makefile dlls/kerberos enable_kerberos
20550 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20551 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20552 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20553 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20554 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20555 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20556 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20557 wine_fn_config_makefile dlls/ksuser enable_ksuser
20558 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20559 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20560 wine_fn_config_makefile dlls/loadperf enable_loadperf
20561 wine_fn_config_makefile dlls/localspl enable_localspl
20562 wine_fn_config_makefile dlls/localspl/tests enable_tests
20563 wine_fn_config_makefile dlls/localui enable_localui
20564 wine_fn_config_makefile dlls/localui/tests enable_tests
20565 wine_fn_config_makefile dlls/lz32 enable_lz32
20566 wine_fn_config_makefile dlls/lz32/tests enable_tests
20567 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20568 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20569 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20570 wine_fn_config_makefile dlls/mapistub enable_mapistub
20571 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20572 wine_fn_config_makefile dlls/mcicda enable_mcicda
20573 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20574 wine_fn_config_makefile dlls/mciseq enable_mciseq
20575 wine_fn_config_makefile dlls/mciwave enable_mciwave
20576 wine_fn_config_makefile dlls/mf enable_mf
20577 wine_fn_config_makefile dlls/mf/tests enable_tests
20578 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20579 wine_fn_config_makefile dlls/mferror enable_mferror
20580 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20581 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20582 wine_fn_config_makefile dlls/mfplat enable_mfplat
20583 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20584 wine_fn_config_makefile dlls/mfplay enable_mfplay
20585 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20586 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20587 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20588 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20589 wine_fn_config_makefile dlls/midimap enable_midimap
20590 wine_fn_config_makefile dlls/mlang enable_mlang
20591 wine_fn_config_makefile dlls/mlang/tests enable_tests
20592 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20593 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20594 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20595 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20596 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20597 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20598 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20599 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20600 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20601 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20602 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20603 wine_fn_config_makefile dlls/mpr enable_mpr
20604 wine_fn_config_makefile dlls/mpr/tests enable_tests
20605 wine_fn_config_makefile dlls/mprapi enable_mprapi
20606 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20607 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20608 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20609 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20610 wine_fn_config_makefile dlls/msado15 enable_msado15
20611 wine_fn_config_makefile dlls/msado15/tests enable_tests
20612 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20613 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20614 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20615 wine_fn_config_makefile dlls/mscms enable_mscms
20616 wine_fn_config_makefile dlls/mscms/tests enable_tests
20617 wine_fn_config_makefile dlls/mscoree enable_mscoree
20618 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20619 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20620 wine_fn_config_makefile dlls/msctf enable_msctf
20621 wine_fn_config_makefile dlls/msctf/tests enable_tests
20622 wine_fn_config_makefile dlls/msctfp enable_msctfp
20623 wine_fn_config_makefile dlls/msdaps enable_msdaps
20624 wine_fn_config_makefile dlls/msdelta enable_msdelta
20625 wine_fn_config_makefile dlls/msdmo enable_msdmo
20626 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20627 wine_fn_config_makefile dlls/msdrm enable_msdrm
20628 wine_fn_config_makefile dlls/msftedit enable_msftedit
20629 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20630 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20631 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20632 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20633 wine_fn_config_makefile dlls/mshtml enable_mshtml
20634 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20635 wine_fn_config_makefile dlls/msi enable_msi
20636 wine_fn_config_makefile dlls/msi/tests enable_tests
20637 wine_fn_config_makefile dlls/msident enable_msident
20638 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20639 wine_fn_config_makefile dlls/msimsg enable_msimsg
20640 wine_fn_config_makefile dlls/msimtf enable_msimtf
20641 wine_fn_config_makefile dlls/msisip enable_msisip
20642 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20643 wine_fn_config_makefile dlls/msls31 enable_msls31
20644 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20645 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20646 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20647 wine_fn_config_makefile dlls/msports enable_msports
20648 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20649 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20650 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20651 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20652 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20653 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20654 wine_fn_config_makefile dlls/mstask enable_mstask
20655 wine_fn_config_makefile dlls/mstask/tests enable_tests
20656 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20657 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20659 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20660 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20661 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20662 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20663 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20665 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20667 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20668 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20669 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20670 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20671 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20672 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20673 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20674 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20675 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20676 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20677 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20678 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20679 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20680 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20681 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20682 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20683 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20684 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20685 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20686 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20687 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20688 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20689 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20690 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20691 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20692 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20693 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20694 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20695 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20696 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20697 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20698 wine_fn_config_makefile dlls/mswsock enable_mswsock
20699 wine_fn_config_makefile dlls/msxml enable_msxml
20700 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20701 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20702 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20703 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20704 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20705 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20706 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20707 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20708 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20709 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20710 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20711 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20712 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20713 wine_fn_config_makefile dlls/netprofm enable_netprofm
20714 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20715 wine_fn_config_makefile dlls/newdev enable_newdev
20716 wine_fn_config_makefile dlls/ninput enable_ninput
20717 wine_fn_config_makefile dlls/ninput/tests enable_tests
20718 wine_fn_config_makefile dlls/normaliz enable_normaliz
20719 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20720 wine_fn_config_makefile dlls/npptools enable_npptools
20721 wine_fn_config_makefile dlls/ntdll enable_ntdll
20722 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20723 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20724 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20725 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20726 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20727 wine_fn_config_makefile dlls/ntprint enable_ntprint
20728 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20729 wine_fn_config_makefile dlls/objsel enable_objsel
20730 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20731 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20732 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20733 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20734 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20735 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20737 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20738 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20739 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20740 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20741 wine_fn_config_makefile dlls/ole32 enable_ole32
20742 wine_fn_config_makefile dlls/ole32/tests enable_tests
20743 wine_fn_config_makefile dlls/oleacc enable_oleacc
20744 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20745 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20746 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20747 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20748 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20749 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20750 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20751 wine_fn_config_makefile dlls/oledlg enable_oledlg
20752 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20753 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20754 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20755 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20756 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20757 wine_fn_config_makefile dlls/opcservices enable_opcservices
20758 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20759 wine_fn_config_makefile dlls/openal32 enable_openal32
20760 wine_fn_config_makefile dlls/opencl enable_opencl
20761 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20762 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20763 wine_fn_config_makefile dlls/packager enable_packager
20764 wine_fn_config_makefile dlls/packager/tests enable_tests
20765 wine_fn_config_makefile dlls/pdh enable_pdh
20766 wine_fn_config_makefile dlls/pdh/tests enable_tests
20767 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20768 wine_fn_config_makefile dlls/pidgen enable_pidgen
20769 wine_fn_config_makefile dlls/powrprof enable_powrprof
20770 wine_fn_config_makefile dlls/printui enable_printui
20771 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20772 wine_fn_config_makefile dlls/propsys enable_propsys
20773 wine_fn_config_makefile dlls/propsys/tests enable_tests
20774 wine_fn_config_makefile dlls/psapi enable_psapi
20775 wine_fn_config_makefile dlls/psapi/tests enable_tests
20776 wine_fn_config_makefile dlls/pstorec enable_pstorec
20777 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20778 wine_fn_config_makefile dlls/qcap enable_qcap
20779 wine_fn_config_makefile dlls/qcap/tests enable_tests
20780 wine_fn_config_makefile dlls/qedit enable_qedit
20781 wine_fn_config_makefile dlls/qedit/tests enable_tests
20782 wine_fn_config_makefile dlls/qmgr enable_qmgr
20783 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20784 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20785 wine_fn_config_makefile dlls/quartz enable_quartz
20786 wine_fn_config_makefile dlls/quartz/tests enable_tests
20787 wine_fn_config_makefile dlls/query enable_query
20788 wine_fn_config_makefile dlls/qwave enable_qwave
20789 wine_fn_config_makefile dlls/qwave/tests enable_tests
20790 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20791 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20792 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20793 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20794 wine_fn_config_makefile dlls/regapi enable_regapi
20795 wine_fn_config_makefile dlls/resutils enable_resutils
20796 wine_fn_config_makefile dlls/riched20 enable_riched20
20797 wine_fn_config_makefile dlls/riched20/tests enable_tests
20798 wine_fn_config_makefile dlls/riched32 enable_riched32
20799 wine_fn_config_makefile dlls/riched32/tests enable_tests
20800 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20801 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20802 wine_fn_config_makefile dlls/rsabase enable_rsabase
20803 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20804 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20805 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20806 wine_fn_config_makefile dlls/rtutils enable_rtutils
20807 wine_fn_config_makefile dlls/samlib enable_samlib
20808 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20809 wine_fn_config_makefile dlls/sapi enable_sapi
20810 wine_fn_config_makefile dlls/sapi/tests enable_tests
20811 wine_fn_config_makefile dlls/sas enable_sas
20812 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20813 wine_fn_config_makefile dlls/sccbase enable_sccbase
20814 wine_fn_config_makefile dlls/schannel enable_schannel
20815 wine_fn_config_makefile dlls/schannel/tests enable_tests
20816 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20817 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20818 wine_fn_config_makefile dlls/scrobj enable_scrobj
20819 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20820 wine_fn_config_makefile dlls/scrrun enable_scrrun
20821 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20822 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20823 wine_fn_config_makefile dlls/secur32 enable_secur32
20824 wine_fn_config_makefile dlls/secur32/tests enable_tests
20825 wine_fn_config_makefile dlls/security enable_security
20826 wine_fn_config_makefile dlls/sensapi enable_sensapi
20827 wine_fn_config_makefile dlls/serialui enable_serialui
20828 wine_fn_config_makefile dlls/serialui/tests enable_tests
20829 wine_fn_config_makefile dlls/setupapi enable_setupapi
20830 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20831 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20832 wine_fn_config_makefile dlls/sfc enable_sfc
20833 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20834 wine_fn_config_makefile dlls/shcore enable_shcore
20835 wine_fn_config_makefile dlls/shcore/tests enable_tests
20836 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20837 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20838 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20839 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20840 wine_fn_config_makefile dlls/shell32 enable_shell32
20841 wine_fn_config_makefile dlls/shell32/tests enable_tests
20842 wine_fn_config_makefile dlls/shfolder enable_shfolder
20843 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20844 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20845 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20846 wine_fn_config_makefile dlls/slc enable_slc
20847 wine_fn_config_makefile dlls/slc/tests enable_tests
20848 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20849 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20850 wine_fn_config_makefile dlls/softpub enable_softpub
20851 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20852 wine_fn_config_makefile dlls/spoolss enable_spoolss
20853 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20854 wine_fn_config_makefile dlls/srclient enable_srclient
20855 wine_fn_config_makefile dlls/sspicli enable_sspicli
20856 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20857 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20858 wine_fn_config_makefile dlls/sti enable_sti
20859 wine_fn_config_makefile dlls/sti/tests enable_tests
20860 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20861 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20862 wine_fn_config_makefile dlls/strmbase enable_strmbase
20863 wine_fn_config_makefile dlls/strmdll enable_strmdll
20864 wine_fn_config_makefile dlls/strmiids enable_strmiids
20865 wine_fn_config_makefile dlls/svrapi enable_svrapi
20866 wine_fn_config_makefile dlls/sxs enable_sxs
20867 wine_fn_config_makefile dlls/sxs/tests enable_tests
20868 wine_fn_config_makefile dlls/system.drv16 enable_win16
20869 wine_fn_config_makefile dlls/t2embed enable_t2embed
20870 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20871 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20872 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20873 wine_fn_config_makefile dlls/taskschd enable_taskschd
20874 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20875 wine_fn_config_makefile dlls/tdh enable_tdh
20876 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20877 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20878 wine_fn_config_makefile dlls/traffic enable_traffic
20879 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20880 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20881 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20882 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20883 wine_fn_config_makefile dlls/tzres enable_tzres
20884 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20885 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20886 wine_fn_config_makefile dlls/uianimation enable_uianimation
20887 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20888 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20889 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20890 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20891 wine_fn_config_makefile dlls/unicows enable_unicows
20892 wine_fn_config_makefile dlls/updspapi enable_updspapi
20893 wine_fn_config_makefile dlls/url enable_url
20894 wine_fn_config_makefile dlls/urlmon enable_urlmon
20895 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20896 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20897 wine_fn_config_makefile dlls/user.exe16 enable_win16
20898 wine_fn_config_makefile dlls/user32 enable_user32
20899 wine_fn_config_makefile dlls/user32/tests enable_tests
20900 wine_fn_config_makefile dlls/userenv enable_userenv
20901 wine_fn_config_makefile dlls/userenv/tests enable_tests
20902 wine_fn_config_makefile dlls/usp10 enable_usp10
20903 wine_fn_config_makefile dlls/usp10/tests enable_tests
20904 wine_fn_config_makefile dlls/utildll enable_utildll
20905 wine_fn_config_makefile dlls/uuid enable_uuid
20906 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20907 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20908 wine_fn_config_makefile dlls/vbscript enable_vbscript
20909 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20910 wine_fn_config_makefile dlls/vcomp enable_vcomp
20911 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20912 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20913 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20914 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20915 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20916 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20917 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20918 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20919 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20920 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20921 wine_fn_config_makefile dlls/version enable_version
20922 wine_fn_config_makefile dlls/version/tests enable_tests
20923 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20924 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20925 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20926 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20927 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20928 wine_fn_config_makefile dlls/vssapi enable_vssapi
20929 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20930 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20931 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20932 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20933 wine_fn_config_makefile dlls/w32skrnl enable_win16
20934 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20935 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20936 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20937 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20938 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20939 wine_fn_config_makefile dlls/wdscore enable_wdscore
20940 wine_fn_config_makefile dlls/webservices enable_webservices
20941 wine_fn_config_makefile dlls/webservices/tests enable_tests
20942 wine_fn_config_makefile dlls/wer enable_wer
20943 wine_fn_config_makefile dlls/wer/tests enable_tests
20944 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20945 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20946 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20947 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20948 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20949 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20950 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20951 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20952 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20953 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20954 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20955 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20956 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20957 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20958 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20959 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20960 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20961 wine_fn_config_makefile dlls/wined3d enable_wined3d
20962 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20963 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20964 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20965 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20966 wine_fn_config_makefile dlls/winemapi enable_winemapi
20967 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20968 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20969 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20970 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20971 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20972 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20973 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20974 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20975 wine_fn_config_makefile dlls/wing32 enable_wing32
20976 wine_fn_config_makefile dlls/winhttp enable_winhttp
20977 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20978 wine_fn_config_makefile dlls/wininet enable_wininet
20979 wine_fn_config_makefile dlls/wininet/tests enable_tests
20980 wine_fn_config_makefile dlls/winmm enable_winmm
20981 wine_fn_config_makefile dlls/winmm/tests enable_tests
20982 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20983 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20984 wine_fn_config_makefile dlls/winscard enable_winscard
20985 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20986 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20987 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20988 wine_fn_config_makefile dlls/winsta enable_winsta
20989 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20990 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20991 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20992 wine_fn_config_makefile dlls/wintrust enable_wintrust
20993 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20994 wine_fn_config_makefile dlls/winusb enable_winusb
20995 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20996 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20997 wine_fn_config_makefile dlls/wlanui enable_wlanui
20998 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20999 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21000 wine_fn_config_makefile dlls/wmasf enable_wmasf
21001 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21002 wine_fn_config_makefile dlls/wmi enable_wmi
21003 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21004 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21005 wine_fn_config_makefile dlls/wmp enable_wmp
21006 wine_fn_config_makefile dlls/wmp/tests enable_tests
21007 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21008 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21009 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21010 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21011 wine_fn_config_makefile dlls/wow32 enable_win16
21012 wine_fn_config_makefile dlls/wpc enable_wpc
21013 wine_fn_config_makefile dlls/wpc/tests enable_tests
21014 wine_fn_config_makefile dlls/wpcap enable_wpcap
21015 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21016 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21017 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21018 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21019 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21020 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21021 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21022 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21023 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21024 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21025 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21026 wine_fn_config_makefile dlls/wuapi enable_wuapi
21027 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21028 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21029 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21030 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21031 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21032 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21033 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21034 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21035 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21036 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21037 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21038 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21039 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21040 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21041 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21042 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21043 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21044 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21045 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21046 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21047 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21048 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21049 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21050 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21051 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21052 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21053 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21054 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21055 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21056 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21057 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21058 wine_fn_config_makefile dlls/xmllite enable_xmllite
21059 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21060 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21061 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21062 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21063 wine_fn_config_makefile fonts enable_fonts
21064 wine_fn_config_makefile include enable_include
21065 wine_fn_config_makefile libs/port enable_port
21066 wine_fn_config_makefile libs/wine enable_wine
21067 wine_fn_config_makefile libs/wpp enable_wpp
21068 wine_fn_config_makefile loader enable_loader
21069 wine_fn_config_makefile po enable_po
21070 wine_fn_config_makefile programs/arp enable_arp
21071 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21072 wine_fn_config_makefile programs/attrib enable_attrib
21073 wine_fn_config_makefile programs/cabarc enable_cabarc
21074 wine_fn_config_makefile programs/cacls enable_cacls
21075 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21076 wine_fn_config_makefile programs/clock enable_clock
21077 wine_fn_config_makefile programs/cmd enable_cmd
21078 wine_fn_config_makefile programs/cmd/tests enable_tests
21079 wine_fn_config_makefile programs/conhost enable_conhost
21080 wine_fn_config_makefile programs/control enable_control
21081 wine_fn_config_makefile programs/cscript enable_cscript
21082 wine_fn_config_makefile programs/dism enable_dism
21083 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21084 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21085 wine_fn_config_makefile programs/eject enable_eject
21086 wine_fn_config_makefile programs/expand enable_expand
21087 wine_fn_config_makefile programs/explorer enable_explorer
21088 wine_fn_config_makefile programs/extrac32 enable_extrac32
21089 wine_fn_config_makefile programs/fc enable_fc
21090 wine_fn_config_makefile programs/find enable_find
21091 wine_fn_config_makefile programs/find/tests enable_tests
21092 wine_fn_config_makefile programs/findstr enable_findstr
21093 wine_fn_config_makefile programs/fsutil enable_fsutil
21094 wine_fn_config_makefile programs/hh enable_hh
21095 wine_fn_config_makefile programs/hostname enable_hostname
21096 wine_fn_config_makefile programs/icacls enable_icacls
21097 wine_fn_config_makefile programs/icinfo enable_icinfo
21098 wine_fn_config_makefile programs/iexplore enable_iexplore
21099 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21100 wine_fn_config_makefile programs/lodctr enable_lodctr
21101 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21102 wine_fn_config_makefile programs/mshta enable_mshta
21103 wine_fn_config_makefile programs/msidb enable_msidb
21104 wine_fn_config_makefile programs/msiexec enable_msiexec
21105 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21106 wine_fn_config_makefile programs/net enable_net
21107 wine_fn_config_makefile programs/netsh enable_netsh
21108 wine_fn_config_makefile programs/netstat enable_netstat
21109 wine_fn_config_makefile programs/ngen enable_ngen
21110 wine_fn_config_makefile programs/notepad enable_notepad
21111 wine_fn_config_makefile programs/oleview enable_oleview
21112 wine_fn_config_makefile programs/ping enable_ping
21113 wine_fn_config_makefile programs/plugplay enable_plugplay
21114 wine_fn_config_makefile programs/powershell enable_powershell
21115 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21116 wine_fn_config_makefile programs/progman enable_progman
21117 wine_fn_config_makefile programs/reg enable_reg
21118 wine_fn_config_makefile programs/reg/tests enable_tests
21119 wine_fn_config_makefile programs/regasm enable_regasm
21120 wine_fn_config_makefile programs/regedit enable_regedit
21121 wine_fn_config_makefile programs/regedit/tests enable_tests
21122 wine_fn_config_makefile programs/regini enable_regini
21123 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21124 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21125 wine_fn_config_makefile programs/rpcss enable_rpcss
21126 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21127 wine_fn_config_makefile programs/rundll32 enable_rundll32
21128 wine_fn_config_makefile programs/sc enable_sc
21129 wine_fn_config_makefile programs/schtasks enable_schtasks
21130 wine_fn_config_makefile programs/schtasks/tests enable_tests
21131 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21132 wine_fn_config_makefile programs/secedit enable_secedit
21133 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21134 wine_fn_config_makefile programs/services enable_services
21135 wine_fn_config_makefile programs/services/tests enable_tests
21136 wine_fn_config_makefile programs/shutdown enable_shutdown
21137 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21138 wine_fn_config_makefile programs/start enable_start
21139 wine_fn_config_makefile programs/subst enable_subst
21140 wine_fn_config_makefile programs/svchost enable_svchost
21141 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21142 wine_fn_config_makefile programs/taskkill enable_taskkill
21143 wine_fn_config_makefile programs/tasklist enable_tasklist
21144 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21145 wine_fn_config_makefile programs/termsv enable_termsv
21146 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21147 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21148 wine_fn_config_makefile programs/view enable_view
21149 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21150 wine_fn_config_makefile programs/wineboot enable_wineboot
21151 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21152 wine_fn_config_makefile programs/winecfg enable_winecfg
21153 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21154 wine_fn_config_makefile programs/winedbg enable_winedbg
21155 wine_fn_config_makefile programs/winedevice enable_winedevice
21156 wine_fn_config_makefile programs/winefile enable_winefile
21157 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21158 wine_fn_config_makefile programs/winemine enable_winemine
21159 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21160 wine_fn_config_makefile programs/winepath enable_winepath
21161 wine_fn_config_makefile programs/winetest enable_winetest
21162 wine_fn_config_makefile programs/winevdm enable_win16
21163 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21164 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21165 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21166 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21167 wine_fn_config_makefile programs/winver enable_winver
21168 wine_fn_config_makefile programs/wmic enable_wmic
21169 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21170 wine_fn_config_makefile programs/wordpad enable_wordpad
21171 wine_fn_config_makefile programs/write enable_write
21172 wine_fn_config_makefile programs/wscript enable_wscript
21173 wine_fn_config_makefile programs/wscript/tests enable_tests
21174 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21175 wine_fn_config_makefile programs/wusa enable_wusa
21176 wine_fn_config_makefile programs/xcopy enable_xcopy
21177 wine_fn_config_makefile programs/xcopy/tests enable_tests
21178 wine_fn_config_makefile server enable_server
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21180 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21181 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21186 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21187 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21190 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21191 wine_fn_append_file CONFIGURE_TARGETS "tags"
21192 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21193 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21194 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21195 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21196 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21197 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21199 if test "x$enable_tools" != xno
21200 then
21201 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21202 ac_config_commands="$ac_config_commands tools/makedep"
21206 ac_config_commands="$ac_config_commands Makefile"
21209 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21213 if test "x$enable_maintainer_mode" = xyes
21214 then
21215 wine_fn_append_rule "configure: configure.ac aclocal.m4
21216 autoconf --warnings=all
21217 include/config.h.in: include/stamp-h.in
21218 include/stamp-h.in: configure.ac aclocal.m4
21219 autoheader --warnings=all
21220 @echo timestamp > \$@"
21223 if test "x$enable_tools" != xno
21224 then
21225 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21226 @./config.status tools/makedep
21227 Makefile: tools/makedep$ac_exeext
21228 fonts: tools/sfnt2fon
21229 include: tools tools/widl"
21230 else
21231 wine_fn_append_rule "\$(MAKEDEP):
21232 @echo \"You need to run make in $TOOLSDIR first\" && false"
21235 if test -n "$with_wine64"
21236 then
21237 case "$with_wine64" in
21238 /*) reldir="" ;;
21239 *) reldir="../" ;;
21240 esac
21241 rm -f fonts server 2>/dev/null
21242 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21243 loader/wine64 loader/wine64-preloader:
21244 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21245 $with_wine64/loader/wine:
21246 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21247 $with_wine64/loader/wine-preloader:
21248 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21249 clean::
21250 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21251 else
21252 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21253 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21254 fonts \
21255 loader/l_intl.nls \
21256 loader/wine.inf \
21257 loader/winebus.inf \
21258 loader/winehid.inf \
21259 programs/msidb/msidb \
21260 programs/msiexec/msiexec \
21261 programs/notepad/notepad \
21262 programs/regedit/regedit \
21263 programs/regsvr32/regsvr32 \
21264 programs/wineboot/wineboot \
21265 programs/winecfg/winecfg \
21266 programs/wineconsole/wineconsole \
21267 programs/winedbg/winedbg \
21268 programs/winefile/winefile \
21269 programs/winemine/winemine \
21270 programs/winepath/winepath \
21271 server/wineserver"
21273 case $host_os in
21274 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21275 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21276 esac
21279 $as_echo " done" >&6
21280 cat >confcache <<\_ACEOF
21281 # This file is a shell script that caches the results of configure
21282 # tests run on this system so they can be shared between configure
21283 # scripts and configure runs, see configure's option --config-cache.
21284 # It is not useful on other systems. If it contains results you don't
21285 # want to keep, you may remove or edit it.
21287 # config.status only pays attention to the cache file if you give it
21288 # the --recheck option to rerun configure.
21290 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21291 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21292 # following values.
21294 _ACEOF
21296 # The following way of writing the cache mishandles newlines in values,
21297 # but we know of no workaround that is simple, portable, and efficient.
21298 # So, we kill variables containing newlines.
21299 # Ultrix sh set writes to stderr and can't be redirected directly,
21300 # and sets the high bit in the cache file unless we assign to the vars.
21302 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21303 eval ac_val=\$$ac_var
21304 case $ac_val in #(
21305 *${as_nl}*)
21306 case $ac_var in #(
21307 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21308 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21309 esac
21310 case $ac_var in #(
21311 _ | IFS | as_nl) ;; #(
21312 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21313 *) { eval $ac_var=; unset $ac_var;} ;;
21314 esac ;;
21315 esac
21316 done
21318 (set) 2>&1 |
21319 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21320 *${as_nl}ac_space=\ *)
21321 # `set' does not quote correctly, so add quotes: double-quote
21322 # substitution turns \\\\ into \\, and sed turns \\ into \.
21323 sed -n \
21324 "s/'/'\\\\''/g;
21325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21326 ;; #(
21328 # `set' quotes correctly as required by POSIX, so do not add quotes.
21329 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21331 esac |
21332 sort
21334 sed '
21335 /^ac_cv_env_/b end
21336 t clear
21337 :clear
21338 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21339 t end
21340 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21341 :end' >>confcache
21342 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21343 if test -w "$cache_file"; then
21344 if test "x$cache_file" != "x/dev/null"; then
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21346 $as_echo "$as_me: updating cache $cache_file" >&6;}
21347 if test ! -f "$cache_file" || test -h "$cache_file"; then
21348 cat confcache >"$cache_file"
21349 else
21350 case $cache_file in #(
21351 */* | ?:*)
21352 mv -f confcache "$cache_file"$$ &&
21353 mv -f "$cache_file"$$ "$cache_file" ;; #(
21355 mv -f confcache "$cache_file" ;;
21356 esac
21359 else
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21361 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21364 rm -f confcache
21366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21367 # Let make expand exec_prefix.
21368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21370 DEFS=-DHAVE_CONFIG_H
21372 ac_libobjs=
21373 ac_ltlibobjs=
21375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21376 # 1. Remove the extension, and $U if already installed.
21377 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21378 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21380 # will be set to the directory where LIBOBJS objects are built.
21381 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21382 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21383 done
21384 LIBOBJS=$ac_libobjs
21386 LTLIBOBJS=$ac_ltlibobjs
21390 : "${CONFIG_STATUS=./config.status}"
21391 ac_write_fail=0
21392 ac_clean_files_save=$ac_clean_files
21393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21396 as_write_fail=0
21397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21398 #! $SHELL
21399 # Generated by $as_me.
21400 # Run this file to recreate the current configuration.
21401 # Compiler output produced by configure, useful for debugging
21402 # configure, is in config.log if it exists.
21404 debug=false
21405 ac_cs_recheck=false
21406 ac_cs_silent=false
21408 SHELL=\${CONFIG_SHELL-$SHELL}
21409 export SHELL
21410 _ASEOF
21411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21412 ## -------------------- ##
21413 ## M4sh Initialization. ##
21414 ## -------------------- ##
21416 # Be more Bourne compatible
21417 DUALCASE=1; export DUALCASE # for MKS sh
21418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21419 emulate sh
21420 NULLCMD=:
21421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21422 # is contrary to our usage. Disable this feature.
21423 alias -g '${1+"$@"}'='"$@"'
21424 setopt NO_GLOB_SUBST
21425 else
21426 case `(set -o) 2>/dev/null` in #(
21427 *posix*) :
21428 set -o posix ;; #(
21429 *) :
21431 esac
21435 as_nl='
21437 export as_nl
21438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21442 # Prefer a ksh shell builtin over an external printf program on Solaris,
21443 # but without wasting forks for bash or zsh.
21444 if test -z "$BASH_VERSION$ZSH_VERSION" \
21445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21446 as_echo='print -r --'
21447 as_echo_n='print -rn --'
21448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21449 as_echo='printf %s\n'
21450 as_echo_n='printf %s'
21451 else
21452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21454 as_echo_n='/usr/ucb/echo -n'
21455 else
21456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21457 as_echo_n_body='eval
21458 arg=$1;
21459 case $arg in #(
21460 *"$as_nl"*)
21461 expr "X$arg" : "X\\(.*\\)$as_nl";
21462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21463 esac;
21464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21466 export as_echo_n_body
21467 as_echo_n='sh -c $as_echo_n_body as_echo'
21469 export as_echo_body
21470 as_echo='sh -c $as_echo_body as_echo'
21473 # The user is always right.
21474 if test "${PATH_SEPARATOR+set}" != set; then
21475 PATH_SEPARATOR=:
21476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21478 PATH_SEPARATOR=';'
21483 # IFS
21484 # We need space, tab and new line, in precisely that order. Quoting is
21485 # there to prevent editors from complaining about space-tab.
21486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21487 # splitting by setting IFS to empty value.)
21488 IFS=" "" $as_nl"
21490 # Find who we are. Look in the path if we contain no directory separator.
21491 as_myself=
21492 case $0 in #((
21493 *[\\/]* ) as_myself=$0 ;;
21494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21495 for as_dir in $PATH
21497 IFS=$as_save_IFS
21498 test -z "$as_dir" && as_dir=.
21499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21500 done
21501 IFS=$as_save_IFS
21504 esac
21505 # We did not find ourselves, most probably we were run as `sh COMMAND'
21506 # in which case we are not to be found in the path.
21507 if test "x$as_myself" = x; then
21508 as_myself=$0
21510 if test ! -f "$as_myself"; then
21511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21512 exit 1
21515 # Unset variables that we do not need and which cause bugs (e.g. in
21516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21517 # suppresses any "Segmentation fault" message there. '((' could
21518 # trigger a bug in pdksh 5.2.14.
21519 for as_var in BASH_ENV ENV MAIL MAILPATH
21520 do eval test x\${$as_var+set} = xset \
21521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21522 done
21523 PS1='$ '
21524 PS2='> '
21525 PS4='+ '
21527 # NLS nuisances.
21528 LC_ALL=C
21529 export LC_ALL
21530 LANGUAGE=C
21531 export LANGUAGE
21533 # CDPATH.
21534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21538 # ----------------------------------------
21539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21541 # script with STATUS, using 1 if that was 0.
21542 as_fn_error ()
21544 as_status=$1; test $as_status -eq 0 && as_status=1
21545 if test "$4"; then
21546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21549 $as_echo "$as_me: error: $2" >&2
21550 as_fn_exit $as_status
21551 } # as_fn_error
21554 # as_fn_set_status STATUS
21555 # -----------------------
21556 # Set $? to STATUS, without forking.
21557 as_fn_set_status ()
21559 return $1
21560 } # as_fn_set_status
21562 # as_fn_exit STATUS
21563 # -----------------
21564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21565 as_fn_exit ()
21567 set +e
21568 as_fn_set_status $1
21569 exit $1
21570 } # as_fn_exit
21572 # as_fn_unset VAR
21573 # ---------------
21574 # Portably unset VAR.
21575 as_fn_unset ()
21577 { eval $1=; unset $1;}
21579 as_unset=as_fn_unset
21580 # as_fn_append VAR VALUE
21581 # ----------------------
21582 # Append the text in VALUE to the end of the definition contained in VAR. Take
21583 # advantage of any shell optimizations that allow amortized linear growth over
21584 # repeated appends, instead of the typical quadratic growth present in naive
21585 # implementations.
21586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21587 eval 'as_fn_append ()
21589 eval $1+=\$2
21591 else
21592 as_fn_append ()
21594 eval $1=\$$1\$2
21596 fi # as_fn_append
21598 # as_fn_arith ARG...
21599 # ------------------
21600 # Perform arithmetic evaluation on the ARGs, and store the result in the
21601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21602 # must be portable across $(()) and expr.
21603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21604 eval 'as_fn_arith ()
21606 as_val=$(( $* ))
21608 else
21609 as_fn_arith ()
21611 as_val=`expr "$@" || test $? -eq 1`
21613 fi # as_fn_arith
21616 if expr a : '\(a\)' >/dev/null 2>&1 &&
21617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21618 as_expr=expr
21619 else
21620 as_expr=false
21623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21624 as_basename=basename
21625 else
21626 as_basename=false
21629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21630 as_dirname=dirname
21631 else
21632 as_dirname=false
21635 as_me=`$as_basename -- "$0" ||
21636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21637 X"$0" : 'X\(//\)$' \| \
21638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21639 $as_echo X/"$0" |
21640 sed '/^.*\/\([^/][^/]*\)\/*$/{
21641 s//\1/
21644 /^X\/\(\/\/\)$/{
21645 s//\1/
21648 /^X\/\(\/\).*/{
21649 s//\1/
21652 s/.*/./; q'`
21654 # Avoid depending upon Character Ranges.
21655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21658 as_cr_digits='0123456789'
21659 as_cr_alnum=$as_cr_Letters$as_cr_digits
21661 ECHO_C= ECHO_N= ECHO_T=
21662 case `echo -n x` in #(((((
21663 -n*)
21664 case `echo 'xy\c'` in
21665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21666 xy) ECHO_C='\c';;
21667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21668 ECHO_T=' ';;
21669 esac;;
21671 ECHO_N='-n';;
21672 esac
21674 rm -f conf$$ conf$$.exe conf$$.file
21675 if test -d conf$$.dir; then
21676 rm -f conf$$.dir/conf$$.file
21677 else
21678 rm -f conf$$.dir
21679 mkdir conf$$.dir 2>/dev/null
21681 if (echo >conf$$.file) 2>/dev/null; then
21682 if ln -s conf$$.file conf$$ 2>/dev/null; then
21683 as_ln_s='ln -s'
21684 # ... but there are two gotchas:
21685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21687 # In both cases, we have to default to `cp -pR'.
21688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21689 as_ln_s='cp -pR'
21690 elif ln conf$$.file conf$$ 2>/dev/null; then
21691 as_ln_s=ln
21692 else
21693 as_ln_s='cp -pR'
21695 else
21696 as_ln_s='cp -pR'
21698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21699 rmdir conf$$.dir 2>/dev/null
21702 # as_fn_mkdir_p
21703 # -------------
21704 # Create "$as_dir" as a directory, including parents if necessary.
21705 as_fn_mkdir_p ()
21708 case $as_dir in #(
21709 -*) as_dir=./$as_dir;;
21710 esac
21711 test -d "$as_dir" || eval $as_mkdir_p || {
21712 as_dirs=
21713 while :; do
21714 case $as_dir in #(
21715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21716 *) as_qdir=$as_dir;;
21717 esac
21718 as_dirs="'$as_qdir' $as_dirs"
21719 as_dir=`$as_dirname -- "$as_dir" ||
21720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21721 X"$as_dir" : 'X\(//\)[^/]' \| \
21722 X"$as_dir" : 'X\(//\)$' \| \
21723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21724 $as_echo X"$as_dir" |
21725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21726 s//\1/
21729 /^X\(\/\/\)[^/].*/{
21730 s//\1/
21733 /^X\(\/\/\)$/{
21734 s//\1/
21737 /^X\(\/\).*/{
21738 s//\1/
21741 s/.*/./; q'`
21742 test -d "$as_dir" && break
21743 done
21744 test -z "$as_dirs" || eval "mkdir $as_dirs"
21745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21748 } # as_fn_mkdir_p
21749 if mkdir -p . 2>/dev/null; then
21750 as_mkdir_p='mkdir -p "$as_dir"'
21751 else
21752 test -d ./-p && rmdir ./-p
21753 as_mkdir_p=false
21757 # as_fn_executable_p FILE
21758 # -----------------------
21759 # Test if FILE is an executable regular file.
21760 as_fn_executable_p ()
21762 test -f "$1" && test -x "$1"
21763 } # as_fn_executable_p
21764 as_test_x='test -x'
21765 as_executable_p=as_fn_executable_p
21767 # Sed expression to map a string onto a valid CPP name.
21768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21770 # Sed expression to map a string onto a valid variable name.
21771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21774 exec 6>&1
21775 ## ----------------------------------- ##
21776 ## Main body of $CONFIG_STATUS script. ##
21777 ## ----------------------------------- ##
21778 _ASEOF
21779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21782 # Save the log message, to keep $0 and so on meaningful, and to
21783 # report actual input values of CONFIG_FILES etc. instead of their
21784 # values after options handling.
21785 ac_log="
21786 This file was extended by Wine $as_me 5.0-rc4, which was
21787 generated by GNU Autoconf 2.69. Invocation command line was
21789 CONFIG_FILES = $CONFIG_FILES
21790 CONFIG_HEADERS = $CONFIG_HEADERS
21791 CONFIG_LINKS = $CONFIG_LINKS
21792 CONFIG_COMMANDS = $CONFIG_COMMANDS
21793 $ $0 $@
21795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21798 _ACEOF
21800 case $ac_config_files in *"
21801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21802 esac
21804 case $ac_config_headers in *"
21805 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21806 esac
21809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21810 # Files that config.status was made for.
21811 config_files="$ac_config_files"
21812 config_headers="$ac_config_headers"
21813 config_links="$ac_config_links"
21814 config_commands="$ac_config_commands"
21816 _ACEOF
21818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21819 ac_cs_usage="\
21820 \`$as_me' instantiates files and other configuration actions
21821 from templates according to the current configuration. Unless the files
21822 and actions are specified as TAGs, all are instantiated by default.
21824 Usage: $0 [OPTION]... [TAG]...
21826 -h, --help print this help, then exit
21827 -V, --version print version number and configuration settings, then exit
21828 --config print configuration, then exit
21829 -q, --quiet, --silent
21830 do not print progress messages
21831 -d, --debug don't remove temporary files
21832 --recheck update $as_me by reconfiguring in the same conditions
21833 --file=FILE[:TEMPLATE]
21834 instantiate the configuration file FILE
21835 --header=FILE[:TEMPLATE]
21836 instantiate the configuration header FILE
21838 Configuration files:
21839 $config_files
21841 Configuration headers:
21842 $config_headers
21844 Configuration links:
21845 $config_links
21847 Configuration commands:
21848 $config_commands
21850 Report bugs to <wine-devel@winehq.org>.
21851 Wine home page: <https://www.winehq.org>."
21853 _ACEOF
21854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21856 ac_cs_version="\\
21857 Wine config.status 5.0-rc4
21858 configured by $0, generated by GNU Autoconf 2.69,
21859 with options \\"\$ac_cs_config\\"
21861 Copyright (C) 2012 Free Software Foundation, Inc.
21862 This config.status script is free software; the Free Software Foundation
21863 gives unlimited permission to copy, distribute and modify it."
21865 ac_pwd='$ac_pwd'
21866 srcdir='$srcdir'
21867 test -n "\$AWK" || AWK=awk
21868 _ACEOF
21870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21871 # The default lists apply if the user does not specify any file.
21872 ac_need_defaults=:
21873 while test $# != 0
21875 case $1 in
21876 --*=?*)
21877 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21878 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21879 ac_shift=:
21881 --*=)
21882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21883 ac_optarg=
21884 ac_shift=:
21887 ac_option=$1
21888 ac_optarg=$2
21889 ac_shift=shift
21891 esac
21893 case $ac_option in
21894 # Handling of the options.
21895 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21896 ac_cs_recheck=: ;;
21897 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21898 $as_echo "$ac_cs_version"; exit ;;
21899 --config | --confi | --conf | --con | --co | --c )
21900 $as_echo "$ac_cs_config"; exit ;;
21901 --debug | --debu | --deb | --de | --d | -d )
21902 debug=: ;;
21903 --file | --fil | --fi | --f )
21904 $ac_shift
21905 case $ac_optarg in
21906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21907 '') as_fn_error $? "missing file argument" ;;
21908 esac
21909 as_fn_append CONFIG_FILES " '$ac_optarg'"
21910 ac_need_defaults=false;;
21911 --header | --heade | --head | --hea )
21912 $ac_shift
21913 case $ac_optarg in
21914 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21915 esac
21916 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21917 ac_need_defaults=false;;
21918 --he | --h)
21919 # Conflict between --help and --header
21920 as_fn_error $? "ambiguous option: \`$1'
21921 Try \`$0 --help' for more information.";;
21922 --help | --hel | -h )
21923 $as_echo "$ac_cs_usage"; exit ;;
21924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21925 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21926 ac_cs_silent=: ;;
21928 # This is an error.
21929 -*) as_fn_error $? "unrecognized option: \`$1'
21930 Try \`$0 --help' for more information." ;;
21932 *) as_fn_append ac_config_targets " $1"
21933 ac_need_defaults=false ;;
21935 esac
21936 shift
21937 done
21939 ac_configure_extra_args=
21941 if $ac_cs_silent; then
21942 exec 6>/dev/null
21943 ac_configure_extra_args="$ac_configure_extra_args --silent"
21946 _ACEOF
21947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21948 if \$ac_cs_recheck; then
21949 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21950 shift
21951 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21952 CONFIG_SHELL='$SHELL'
21953 export CONFIG_SHELL
21954 exec "\$@"
21957 _ACEOF
21958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21959 exec 5>>config.log
21961 echo
21962 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21963 ## Running $as_me. ##
21964 _ASBOX
21965 $as_echo "$ac_log"
21966 } >&5
21968 _ACEOF
21969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21971 # INIT-COMMANDS
21973 wine_fn_output_makedep ()
21975 as_dir=tools; as_fn_mkdir_p
21976 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21978 wine_fn_output_makefile ()
21980 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21981 `cat $wine_rules_file`
21982 _WINE_EOF
21983 as_fn_error $? "could not create Makefile" "$LINENO" 5
21986 _ACEOF
21988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21990 # Handling of arguments.
21991 for ac_config_target in $ac_config_targets
21993 case $ac_config_target in
21994 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21995 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21996 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21997 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21998 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21999 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22000 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22002 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22003 esac
22004 done
22007 # If the user did not use the arguments to specify the items to instantiate,
22008 # then the envvar interface is used. Set only those that are not.
22009 # We use the long form for the default assignment because of an extremely
22010 # bizarre bug on SunOS 4.1.3.
22011 if $ac_need_defaults; then
22012 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22013 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22014 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22015 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22018 # Have a temporary directory for convenience. Make it in the build tree
22019 # simply because there is no reason against having it here, and in addition,
22020 # creating and moving files from /tmp can sometimes cause problems.
22021 # Hook for its removal unless debugging.
22022 # Note that there is a small window in which the directory will not be cleaned:
22023 # after its creation but before its name has been assigned to `$tmp'.
22024 $debug ||
22026 tmp= ac_tmp=
22027 trap 'exit_status=$?
22028 : "${ac_tmp:=$tmp}"
22029 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22031 trap 'as_fn_exit 1' 1 2 13 15
22033 # Create a (secure) tmp directory for tmp files.
22036 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22037 test -d "$tmp"
22038 } ||
22040 tmp=./conf$$-$RANDOM
22041 (umask 077 && mkdir "$tmp")
22042 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22043 ac_tmp=$tmp
22045 # Set up the scripts for CONFIG_FILES section.
22046 # No need to generate them if there are no CONFIG_FILES.
22047 # This happens for instance with `./config.status config.h'.
22048 if test -n "$CONFIG_FILES"; then
22051 ac_cr=`echo X | tr X '\015'`
22052 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22053 # But we know of no other shell where ac_cr would be empty at this
22054 # point, so we can use a bashism as a fallback.
22055 if test "x$ac_cr" = x; then
22056 eval ac_cr=\$\'\\r\'
22058 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22059 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22060 ac_cs_awk_cr='\\r'
22061 else
22062 ac_cs_awk_cr=$ac_cr
22065 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22066 _ACEOF
22070 echo "cat >conf$$subs.awk <<_ACEOF" &&
22071 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22072 echo "_ACEOF"
22073 } >conf$$subs.sh ||
22074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22075 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22076 ac_delim='%!_!# '
22077 for ac_last_try in false false false false false :; do
22078 . ./conf$$subs.sh ||
22079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22081 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22082 if test $ac_delim_n = $ac_delim_num; then
22083 break
22084 elif $ac_last_try; then
22085 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22086 else
22087 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22089 done
22090 rm -f conf$$subs.sh
22092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22093 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22094 _ACEOF
22095 sed -n '
22097 s/^/S["/; s/!.*/"]=/
22100 s/^[^!]*!//
22101 :repl
22102 t repl
22103 s/'"$ac_delim"'$//
22104 t delim
22107 s/\(.\{148\}\)..*/\1/
22108 t more1
22109 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22112 b repl
22113 :more1
22114 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22117 s/.\{148\}//
22118 t nl
22119 :delim
22121 s/\(.\{148\}\)..*/\1/
22122 t more2
22123 s/["\\]/\\&/g; s/^/"/; s/$/"/
22126 :more2
22127 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22130 s/.\{148\}//
22131 t delim
22132 ' <conf$$subs.awk | sed '
22133 /^[^""]/{
22135 s/\n//
22137 ' >>$CONFIG_STATUS || ac_write_fail=1
22138 rm -f conf$$subs.awk
22139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22140 _ACAWK
22141 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22142 for (key in S) S_is_set[key] = 1
22143 FS = "\a"
22147 line = $ 0
22148 nfields = split(line, field, "@")
22149 substed = 0
22150 len = length(field[1])
22151 for (i = 2; i < nfields; i++) {
22152 key = field[i]
22153 keylen = length(key)
22154 if (S_is_set[key]) {
22155 value = S[key]
22156 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22157 len += length(value) + length(field[++i])
22158 substed = 1
22159 } else
22160 len += 1 + keylen
22163 print line
22166 _ACAWK
22167 _ACEOF
22168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22169 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22170 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22171 else
22173 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22174 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22175 _ACEOF
22177 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22178 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22179 # trailing colons and then remove the whole line if VPATH becomes empty
22180 # (actually we leave an empty line to preserve line numbers).
22181 if test "x$srcdir" = x.; then
22182 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22184 s///
22185 s/^/:/
22186 s/[ ]*$/:/
22187 s/:\$(srcdir):/:/g
22188 s/:\${srcdir}:/:/g
22189 s/:@srcdir@:/:/g
22190 s/^:*//
22191 s/:*$//
22193 s/\(=[ ]*\).*/\1/
22195 s/\n//
22196 s/^[^=]*=[ ]*$//
22200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22201 fi # test -n "$CONFIG_FILES"
22203 # Set up the scripts for CONFIG_HEADERS section.
22204 # No need to generate them if there are no CONFIG_HEADERS.
22205 # This happens for instance with `./config.status Makefile'.
22206 if test -n "$CONFIG_HEADERS"; then
22207 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22208 BEGIN {
22209 _ACEOF
22211 # Transform confdefs.h into an awk script `defines.awk', embedded as
22212 # here-document in config.status, that substitutes the proper values into
22213 # config.h.in to produce config.h.
22215 # Create a delimiter string that does not exist in confdefs.h, to ease
22216 # handling of long lines.
22217 ac_delim='%!_!# '
22218 for ac_last_try in false false :; do
22219 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22220 if test -z "$ac_tt"; then
22221 break
22222 elif $ac_last_try; then
22223 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22224 else
22225 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22227 done
22229 # For the awk script, D is an array of macro values keyed by name,
22230 # likewise P contains macro parameters if any. Preserve backslash
22231 # newline sequences.
22233 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22234 sed -n '
22235 s/.\{148\}/&'"$ac_delim"'/g
22236 t rset
22237 :rset
22238 s/^[ ]*#[ ]*define[ ][ ]*/ /
22239 t def
22241 :def
22242 s/\\$//
22243 t bsnl
22244 s/["\\]/\\&/g
22245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22246 D["\1"]=" \3"/p
22247 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22249 :bsnl
22250 s/["\\]/\\&/g
22251 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22252 D["\1"]=" \3\\\\\\n"\\/p
22253 t cont
22254 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22255 t cont
22257 :cont
22259 s/.\{148\}/&'"$ac_delim"'/g
22260 t clear
22261 :clear
22262 s/\\$//
22263 t bsnlc
22264 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22266 :bsnlc
22267 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22268 b cont
22269 ' <confdefs.h | sed '
22270 s/'"$ac_delim"'/"\\\
22271 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22274 for (key in D) D_is_set[key] = 1
22275 FS = "\a"
22277 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22278 line = \$ 0
22279 split(line, arg, " ")
22280 if (arg[1] == "#") {
22281 defundef = arg[2]
22282 mac1 = arg[3]
22283 } else {
22284 defundef = substr(arg[1], 2)
22285 mac1 = arg[2]
22287 split(mac1, mac2, "(") #)
22288 macro = mac2[1]
22289 prefix = substr(line, 1, index(line, defundef) - 1)
22290 if (D_is_set[macro]) {
22291 # Preserve the white space surrounding the "#".
22292 print prefix "define", macro P[macro] D[macro]
22293 next
22294 } else {
22295 # Replace #undef with comments. This is necessary, for example,
22296 # in the case of _POSIX_SOURCE, which is predefined and required
22297 # on some systems where configure will not decide to define it.
22298 if (defundef == "undef") {
22299 print "/*", prefix defundef, macro, "*/"
22300 next
22304 { print }
22305 _ACAWK
22306 _ACEOF
22307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22308 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22309 fi # test -n "$CONFIG_HEADERS"
22312 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22313 shift
22314 for ac_tag
22316 case $ac_tag in
22317 :[FHLC]) ac_mode=$ac_tag; continue;;
22318 esac
22319 case $ac_mode$ac_tag in
22320 :[FHL]*:*);;
22321 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22322 :[FH]-) ac_tag=-:-;;
22323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22324 esac
22325 ac_save_IFS=$IFS
22326 IFS=:
22327 set x $ac_tag
22328 IFS=$ac_save_IFS
22329 shift
22330 ac_file=$1
22331 shift
22333 case $ac_mode in
22334 :L) ac_source=$1;;
22335 :[FH])
22336 ac_file_inputs=
22337 for ac_f
22339 case $ac_f in
22340 -) ac_f="$ac_tmp/stdin";;
22341 *) # Look for the file first in the build tree, then in the source tree
22342 # (if the path is not absolute). The absolute path cannot be DOS-style,
22343 # because $ac_f cannot contain `:'.
22344 test -f "$ac_f" ||
22345 case $ac_f in
22346 [\\/$]*) false;;
22347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22348 esac ||
22349 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22350 esac
22351 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22352 as_fn_append ac_file_inputs " '$ac_f'"
22353 done
22355 # Let's still pretend it is `configure' which instantiates (i.e., don't
22356 # use $as_me), people would be surprised to read:
22357 # /* config.h. Generated by config.status. */
22358 configure_input='Generated from '`
22359 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22360 `' by configure.'
22361 if test x"$ac_file" != x-; then
22362 configure_input="$ac_file. $configure_input"
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22364 $as_echo "$as_me: creating $ac_file" >&6;}
22366 # Neutralize special characters interpreted by sed in replacement strings.
22367 case $configure_input in #(
22368 *\&* | *\|* | *\\* )
22369 ac_sed_conf_input=`$as_echo "$configure_input" |
22370 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22371 *) ac_sed_conf_input=$configure_input;;
22372 esac
22374 case $ac_tag in
22375 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22377 esac
22379 esac
22381 ac_dir=`$as_dirname -- "$ac_file" ||
22382 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22383 X"$ac_file" : 'X\(//\)[^/]' \| \
22384 X"$ac_file" : 'X\(//\)$' \| \
22385 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22386 $as_echo X"$ac_file" |
22387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22388 s//\1/
22391 /^X\(\/\/\)[^/].*/{
22392 s//\1/
22395 /^X\(\/\/\)$/{
22396 s//\1/
22399 /^X\(\/\).*/{
22400 s//\1/
22403 s/.*/./; q'`
22404 as_dir="$ac_dir"; as_fn_mkdir_p
22405 ac_builddir=.
22407 case "$ac_dir" in
22408 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22410 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22411 # A ".." for each directory in $ac_dir_suffix.
22412 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22413 case $ac_top_builddir_sub in
22414 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22415 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22416 esac ;;
22417 esac
22418 ac_abs_top_builddir=$ac_pwd
22419 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22420 # for backward compatibility:
22421 ac_top_builddir=$ac_top_build_prefix
22423 case $srcdir in
22424 .) # We are building in place.
22425 ac_srcdir=.
22426 ac_top_srcdir=$ac_top_builddir_sub
22427 ac_abs_top_srcdir=$ac_pwd ;;
22428 [\\/]* | ?:[\\/]* ) # Absolute name.
22429 ac_srcdir=$srcdir$ac_dir_suffix;
22430 ac_top_srcdir=$srcdir
22431 ac_abs_top_srcdir=$srcdir ;;
22432 *) # Relative name.
22433 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22434 ac_top_srcdir=$ac_top_build_prefix$srcdir
22435 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22436 esac
22437 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22440 case $ac_mode in
22443 # CONFIG_FILE
22446 _ACEOF
22448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22449 # If the template does not know about datarootdir, expand it.
22450 # FIXME: This hack should be removed a few years after 2.60.
22451 ac_datarootdir_hack=; ac_datarootdir_seen=
22452 ac_sed_dataroot='
22453 /datarootdir/ {
22457 /@datadir@/p
22458 /@docdir@/p
22459 /@infodir@/p
22460 /@localedir@/p
22461 /@mandir@/p'
22462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22463 *datarootdir*) ac_datarootdir_seen=yes;;
22464 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22467 _ACEOF
22468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22469 ac_datarootdir_hack='
22470 s&@datadir@&$datadir&g
22471 s&@docdir@&$docdir&g
22472 s&@infodir@&$infodir&g
22473 s&@localedir@&$localedir&g
22474 s&@mandir@&$mandir&g
22475 s&\\\${datarootdir}&$datarootdir&g' ;;
22476 esac
22477 _ACEOF
22479 # Neutralize VPATH when `$srcdir' = `.'.
22480 # Shell code in configure.ac might set extrasub.
22481 # FIXME: do we really want to maintain this feature?
22482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22483 ac_sed_extra="$ac_vpsub
22484 $extrasub
22485 _ACEOF
22486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22489 s|@configure_input@|$ac_sed_conf_input|;t t
22490 s&@top_builddir@&$ac_top_builddir_sub&;t t
22491 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22492 s&@srcdir@&$ac_srcdir&;t t
22493 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22494 s&@top_srcdir@&$ac_top_srcdir&;t t
22495 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22496 s&@builddir@&$ac_builddir&;t t
22497 s&@abs_builddir@&$ac_abs_builddir&;t t
22498 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22499 $ac_datarootdir_hack
22501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22502 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22505 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22506 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22507 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22509 which seems to be undefined. Please make sure it is defined" >&5
22510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22511 which seems to be undefined. Please make sure it is defined" >&2;}
22513 rm -f "$ac_tmp/stdin"
22514 case $ac_file in
22515 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22516 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22517 esac \
22518 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22522 # CONFIG_HEADER
22524 if test x"$ac_file" != x-; then
22526 $as_echo "/* $configure_input */" \
22527 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22528 } >"$ac_tmp/config.h" \
22529 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22530 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22533 else
22534 rm -f "$ac_file"
22535 mv "$ac_tmp/config.h" "$ac_file" \
22536 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22538 else
22539 $as_echo "/* $configure_input */" \
22540 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22541 || as_fn_error $? "could not create -" "$LINENO" 5
22546 # CONFIG_LINK
22549 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22551 else
22552 # Prefer the file from the source tree if names are identical.
22553 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22554 ac_source=$srcdir/$ac_source
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22558 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22560 if test ! -r "$ac_source"; then
22561 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22563 rm -f "$ac_file"
22565 # Try a relative symlink, then a hard link, then a copy.
22566 case $ac_source in
22567 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22568 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22569 esac
22570 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22571 ln "$ac_source" "$ac_file" 2>/dev/null ||
22572 cp -p "$ac_source" "$ac_file" ||
22573 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22576 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22577 $as_echo "$as_me: executing $ac_file commands" >&6;}
22579 esac
22582 case $ac_file$ac_mode in
22583 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22584 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22585 "Makefile":C) wine_fn_output_makefile Makefile ;;
22587 esac
22588 done # for ac_tag
22591 as_fn_exit 0
22592 _ACEOF
22593 ac_clean_files=$ac_clean_files_save
22595 test $ac_write_fail = 0 ||
22596 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22599 # configure is writing to config.log, and then calls config.status.
22600 # config.status does its own redirection, appending to config.log.
22601 # Unfortunately, on DOS this fails, as config.log is still kept open
22602 # by configure, so config.status won't be able to write to it; its
22603 # output is simply discarded. So we exec the FD to /dev/null,
22604 # effectively closing config.log, so it can be properly (re)opened and
22605 # appended to by config.status. When coming back to configure, we
22606 # need to make the FD available again.
22607 if test "$no_create" != yes; then
22608 ac_cs_success=:
22609 ac_config_status_args=
22610 test "$silent" = yes &&
22611 ac_config_status_args="$ac_config_status_args --quiet"
22612 exec 5>/dev/null
22613 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22614 exec 5>>config.log
22615 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22616 # would make configure fail if this is the last instruction.
22617 $ac_cs_success || as_fn_exit 1
22619 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22621 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22625 if test "$no_create" = "yes"
22626 then
22627 exit 0
22630 ac_save_IFS="$IFS"
22631 if test "x$wine_notices" != x; then
22632 echo >&6
22633 IFS="|"
22634 for msg in $wine_notices; do
22635 IFS="$ac_save_IFS"
22636 if ${msg:+false} :; then :
22638 else
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22640 $as_echo "$as_me: $msg" >&6;}
22642 done
22644 IFS="|"
22645 for msg in $wine_warnings; do
22646 IFS="$ac_save_IFS"
22647 if ${msg:+false} :; then :
22649 else
22650 echo >&2
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22652 $as_echo "$as_me: WARNING: $msg" >&2;}
22654 done
22655 IFS="$ac_save_IFS"
22657 $as_echo "
22658 $as_me: Finished. Do '${ac_make}' to compile Wine.
22659 " >&6