d3d8: Update the primary stateblock in d3d8_device_MultiplyTransform().
[wine.git] / configure
blob5dc6347ee16a4bf23de31d69f54c0822e2daa4a5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.21.
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='4.21'
584 PACKAGE_STRING='Wine 4.21'
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 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_sane
880 with_sdl
881 with_tiff
882 with_udev
883 with_unwind
884 with_v4l2
885 with_vkd3d
886 with_vulkan
887 with_xcomposite
888 with_xcursor
889 with_xfixes
890 with_xinerama
891 with_xinput
892 with_xinput2
893 with_xml
894 with_xrandr
895 with_xrender
896 with_xshape
897 with_xshm
898 with_xslt
899 with_xxf86vm
900 with_zlib
901 with_wine_tools
902 with_wine64
903 enable_largefile
904 with_x
905 enable_acledit
906 enable_aclui
907 enable_activeds
908 enable_actxprxy
909 enable_adsiid
910 enable_adsldp
911 enable_adsldpc
912 enable_advapi32
913 enable_advpack
914 enable_amsi
915 enable_amstream
916 enable_api_ms_win_appmodel_identity_l1_1_0
917 enable_api_ms_win_appmodel_runtime_l1_1_1
918 enable_api_ms_win_appmodel_runtime_l1_1_2
919 enable_api_ms_win_core_apiquery_l1_1_0
920 enable_api_ms_win_core_appcompat_l1_1_1
921 enable_api_ms_win_core_appinit_l1_1_0
922 enable_api_ms_win_core_atoms_l1_1_0
923 enable_api_ms_win_core_bem_l1_1_0
924 enable_api_ms_win_core_com_l1_1_0
925 enable_api_ms_win_core_com_l1_1_1
926 enable_api_ms_win_core_com_private_l1_1_0
927 enable_api_ms_win_core_comm_l1_1_0
928 enable_api_ms_win_core_console_l1_1_0
929 enable_api_ms_win_core_console_l2_1_0
930 enable_api_ms_win_core_crt_l1_1_0
931 enable_api_ms_win_core_crt_l2_1_0
932 enable_api_ms_win_core_datetime_l1_1_0
933 enable_api_ms_win_core_datetime_l1_1_1
934 enable_api_ms_win_core_debug_l1_1_0
935 enable_api_ms_win_core_debug_l1_1_1
936 enable_api_ms_win_core_delayload_l1_1_0
937 enable_api_ms_win_core_delayload_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_0
939 enable_api_ms_win_core_errorhandling_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_2
941 enable_api_ms_win_core_errorhandling_l1_1_3
942 enable_api_ms_win_core_fibers_l1_1_0
943 enable_api_ms_win_core_fibers_l1_1_1
944 enable_api_ms_win_core_file_l1_1_0
945 enable_api_ms_win_core_file_l1_2_0
946 enable_api_ms_win_core_file_l1_2_1
947 enable_api_ms_win_core_file_l1_2_2
948 enable_api_ms_win_core_file_l2_1_0
949 enable_api_ms_win_core_file_l2_1_1
950 enable_api_ms_win_core_file_l2_1_2
951 enable_api_ms_win_core_handle_l1_1_0
952 enable_api_ms_win_core_heap_l1_1_0
953 enable_api_ms_win_core_heap_l1_2_0
954 enable_api_ms_win_core_heap_l2_1_0
955 enable_api_ms_win_core_heap_obsolete_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_2_0
958 enable_api_ms_win_core_io_l1_1_0
959 enable_api_ms_win_core_io_l1_1_1
960 enable_api_ms_win_core_job_l1_1_0
961 enable_api_ms_win_core_job_l2_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_1
964 enable_api_ms_win_core_kernel32_private_l1_1_1
965 enable_api_ms_win_core_largeinteger_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_1
968 enable_api_ms_win_core_libraryloader_l1_2_0
969 enable_api_ms_win_core_libraryloader_l1_2_1
970 enable_api_ms_win_core_libraryloader_l1_2_2
971 enable_api_ms_win_core_localization_l1_1_0
972 enable_api_ms_win_core_localization_l1_2_0
973 enable_api_ms_win_core_localization_l1_2_1
974 enable_api_ms_win_core_localization_l2_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_2_0
977 enable_api_ms_win_core_localization_obsolete_l1_3_0
978 enable_api_ms_win_core_localization_private_l1_1_0
979 enable_api_ms_win_core_localregistry_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_1
982 enable_api_ms_win_core_memory_l1_1_2
983 enable_api_ms_win_core_misc_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_2_0
986 enable_api_ms_win_core_namespace_l1_1_0
987 enable_api_ms_win_core_normalization_l1_1_0
988 enable_api_ms_win_core_path_l1_1_0
989 enable_api_ms_win_core_privateprofile_l1_1_1
990 enable_api_ms_win_core_processenvironment_l1_1_0
991 enable_api_ms_win_core_processenvironment_l1_2_0
992 enable_api_ms_win_core_processthreads_l1_1_0
993 enable_api_ms_win_core_processthreads_l1_1_1
994 enable_api_ms_win_core_processthreads_l1_1_2
995 enable_api_ms_win_core_processthreads_l1_1_3
996 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
997 enable_api_ms_win_core_profile_l1_1_0
998 enable_api_ms_win_core_psapi_ansi_l1_1_0
999 enable_api_ms_win_core_psapi_l1_1_0
1000 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1001 enable_api_ms_win_core_quirks_l1_1_0
1002 enable_api_ms_win_core_realtime_l1_1_0
1003 enable_api_ms_win_core_registry_l1_1_0
1004 enable_api_ms_win_core_registry_l2_1_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dswave
1267 enable_dwmapi
1268 enable_dwrite
1269 enable_dx8vb
1270 enable_dxdiagn
1271 enable_dxerr8
1272 enable_dxerr9
1273 enable_dxgi
1274 enable_dxguid
1275 enable_dxva2
1276 enable_esent
1277 enable_evr
1278 enable_explorerframe
1279 enable_ext_ms_win_authz_context_l1_1_0
1280 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1281 enable_ext_ms_win_dwmapi_ext_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_1
1284 enable_ext_ms_win_gdi_dc_l1_2_0
1285 enable_ext_ms_win_gdi_devcaps_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_1
1288 enable_ext_ms_win_gdi_font_l1_1_0
1289 enable_ext_ms_win_gdi_font_l1_1_1
1290 enable_ext_ms_win_gdi_render_l1_1_0
1291 enable_ext_ms_win_kernel32_package_current_l1_1_0
1292 enable_ext_ms_win_kernel32_package_l1_1_1
1293 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1294 enable_ext_ms_win_ntuser_draw_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_3_0
1297 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1298 enable_ext_ms_win_ntuser_message_l1_1_0
1299 enable_ext_ms_win_ntuser_message_l1_1_1
1300 enable_ext_ms_win_ntuser_misc_l1_1_0
1301 enable_ext_ms_win_ntuser_misc_l1_2_0
1302 enable_ext_ms_win_ntuser_misc_l1_5_1
1303 enable_ext_ms_win_ntuser_mouse_l1_1_0
1304 enable_ext_ms_win_ntuser_private_l1_1_1
1305 enable_ext_ms_win_ntuser_private_l1_3_1
1306 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_1
1310 enable_ext_ms_win_ntuser_window_l1_1_4
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1313 enable_ext_ms_win_oleacc_l1_1_0
1314 enable_ext_ms_win_ras_rasapi32_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1322 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1325 enable_ext_ms_win_security_credui_l1_1_0
1326 enable_ext_ms_win_security_cryptui_l1_1_0
1327 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1328 enable_ext_ms_win_shell_comdlg32_l1_1_0
1329 enable_ext_ms_win_shell_shell32_l1_2_0
1330 enable_ext_ms_win_uxtheme_themes_l1_1_0
1331 enable_faultrep
1332 enable_feclient
1333 enable_fltlib
1334 enable_fltmgr_sys
1335 enable_fntcache
1336 enable_fontsub
1337 enable_fusion
1338 enable_fwpuclnt
1339 enable_gameux
1340 enable_gdi32
1341 enable_gdiplus
1342 enable_glu32
1343 enable_gphoto2_ds
1344 enable_gpkcsp
1345 enable_hal
1346 enable_hhctrl_ocx
1347 enable_hid
1348 enable_hidclass_sys
1349 enable_hlink
1350 enable_hnetcfg
1351 enable_http_sys
1352 enable_httpapi
1353 enable_iccvid
1354 enable_icmp
1355 enable_ieframe
1356 enable_ieproxy
1357 enable_imaadp32_acm
1358 enable_imagehlp
1359 enable_imm32
1360 enable_inetcomm
1361 enable_inetcpl_cpl
1362 enable_inetmib1
1363 enable_infosoft
1364 enable_initpki
1365 enable_inkobj
1366 enable_inseng
1367 enable_iphlpapi
1368 enable_iprop
1369 enable_irprops_cpl
1370 enable_itircl
1371 enable_itss
1372 enable_joy_cpl
1373 enable_jscript
1374 enable_jsproxy
1375 enable_kerberos
1376 enable_kernel32
1377 enable_kernelbase
1378 enable_ksecdd_sys
1379 enable_ksuser
1380 enable_ktmw32
1381 enable_l3codeca_acm
1382 enable_loadperf
1383 enable_localspl
1384 enable_localui
1385 enable_lz32
1386 enable_mapi32
1387 enable_mapistub
1388 enable_mciavi32
1389 enable_mcicda
1390 enable_mciqtz32
1391 enable_mciseq
1392 enable_mciwave
1393 enable_mf
1394 enable_mf3216
1395 enable_mferror
1396 enable_mfmediaengine
1397 enable_mfplat
1398 enable_mfplay
1399 enable_mfreadwrite
1400 enable_mfuuid
1401 enable_mgmtapi
1402 enable_midimap
1403 enable_mlang
1404 enable_mmcndmgr
1405 enable_mmdevapi
1406 enable_mountmgr_sys
1407 enable_mp3dmod
1408 enable_mpr
1409 enable_mprapi
1410 enable_msacm32_drv
1411 enable_msacm32
1412 enable_msado15
1413 enable_msadp32_acm
1414 enable_msasn1
1415 enable_mscat32
1416 enable_mscms
1417 enable_mscoree
1418 enable_mscorwks
1419 enable_msctf
1420 enable_msctfp
1421 enable_msdaps
1422 enable_msdelta
1423 enable_msdmo
1424 enable_msdrm
1425 enable_msftedit
1426 enable_msg711_acm
1427 enable_msgsm32_acm
1428 enable_mshtml_tlb
1429 enable_mshtml
1430 enable_msi
1431 enable_msident
1432 enable_msimg32
1433 enable_msimsg
1434 enable_msimtf
1435 enable_msisip
1436 enable_msisys_ocx
1437 enable_msls31
1438 enable_msnet32
1439 enable_mspatcha
1440 enable_msports
1441 enable_msrle32
1442 enable_msscript_ocx
1443 enable_mssign32
1444 enable_mssip32
1445 enable_mstask
1446 enable_msvcirt
1447 enable_msvcm80
1448 enable_msvcm90
1449 enable_msvcp100
1450 enable_msvcp110
1451 enable_msvcp120
1452 enable_msvcp120_app
1453 enable_msvcp140
1454 enable_msvcp60
1455 enable_msvcp70
1456 enable_msvcp71
1457 enable_msvcp80
1458 enable_msvcp90
1459 enable_msvcr100
1460 enable_msvcr110
1461 enable_msvcr120
1462 enable_msvcr120_app
1463 enable_msvcr70
1464 enable_msvcr71
1465 enable_msvcr80
1466 enable_msvcr90
1467 enable_msvcrt
1468 enable_msvcrt20
1469 enable_msvcrt40
1470 enable_msvcrtd
1471 enable_msvfw32
1472 enable_msvidc32
1473 enable_mswsock
1474 enable_msxml
1475 enable_msxml2
1476 enable_msxml3
1477 enable_msxml4
1478 enable_msxml6
1479 enable_mtxdm
1480 enable_ncrypt
1481 enable_nddeapi
1482 enable_ndis_sys
1483 enable_netapi32
1484 enable_netcfgx
1485 enable_netprofm
1486 enable_newdev
1487 enable_ninput
1488 enable_normaliz
1489 enable_npmshtml
1490 enable_npptools
1491 enable_ntdll
1492 enable_ntdsapi
1493 enable_ntoskrnl_exe
1494 enable_ntprint
1495 enable_objsel
1496 enable_odbc32
1497 enable_odbccp32
1498 enable_odbccu32
1499 enable_ole32
1500 enable_oleacc
1501 enable_oleaut32
1502 enable_olecli32
1503 enable_oledb32
1504 enable_oledlg
1505 enable_olepro32
1506 enable_olesvr32
1507 enable_olethk32
1508 enable_opcservices
1509 enable_openal32
1510 enable_opencl
1511 enable_opengl32
1512 enable_packager
1513 enable_pdh
1514 enable_photometadatahandler
1515 enable_pidgen
1516 enable_powrprof
1517 enable_printui
1518 enable_prntvpt
1519 enable_propsys
1520 enable_psapi
1521 enable_pstorec
1522 enable_qcap
1523 enable_qedit
1524 enable_qmgr
1525 enable_qmgrprxy
1526 enable_quartz
1527 enable_query
1528 enable_qwave
1529 enable_rasapi32
1530 enable_rasdlg
1531 enable_regapi
1532 enable_resutils
1533 enable_riched20
1534 enable_riched32
1535 enable_rpcrt4
1536 enable_rsabase
1537 enable_rsaenh
1538 enable_rstrtmgr
1539 enable_rtutils
1540 enable_samlib
1541 enable_sane_ds
1542 enable_sapi
1543 enable_sas
1544 enable_scarddlg
1545 enable_sccbase
1546 enable_schannel
1547 enable_schedsvc
1548 enable_scrobj
1549 enable_scrrun
1550 enable_scsiport_sys
1551 enable_secur32
1552 enable_security
1553 enable_sensapi
1554 enable_serialui
1555 enable_setupapi
1556 enable_sfc
1557 enable_sfc_os
1558 enable_shcore
1559 enable_shdoclc
1560 enable_shdocvw
1561 enable_shell32
1562 enable_shfolder
1563 enable_shlwapi
1564 enable_slbcsp
1565 enable_slc
1566 enable_snmpapi
1567 enable_softpub
1568 enable_spoolss
1569 enable_srclient
1570 enable_sspicli
1571 enable_stdole2_tlb
1572 enable_stdole32_tlb
1573 enable_sti
1574 enable_strmbase
1575 enable_strmdll
1576 enable_strmiids
1577 enable_svrapi
1578 enable_sxs
1579 enable_t2embed
1580 enable_tapi32
1581 enable_taskschd
1582 enable_tdh
1583 enable_tdi_sys
1584 enable_traffic
1585 enable_twain_32
1586 enable_tzres
1587 enable_ucrtbase
1588 enable_uianimation
1589 enable_uiautomationcore
1590 enable_uiribbon
1591 enable_unicows
1592 enable_updspapi
1593 enable_url
1594 enable_urlmon
1595 enable_usbd_sys
1596 enable_user32
1597 enable_userenv
1598 enable_usp10
1599 enable_utildll
1600 enable_uuid
1601 enable_uxtheme
1602 enable_vbscript
1603 enable_vcomp
1604 enable_vcomp100
1605 enable_vcomp110
1606 enable_vcomp120
1607 enable_vcomp140
1608 enable_vcomp90
1609 enable_vcruntime140
1610 enable_vdmdbg
1611 enable_version
1612 enable_virtdisk
1613 enable_vssapi
1614 enable_vulkan_1
1615 enable_wbemdisp
1616 enable_wbemprox
1617 enable_wdscore
1618 enable_webservices
1619 enable_wer
1620 enable_wevtapi
1621 enable_wiaservc
1622 enable_wimgapi
1623 enable_windowscodecs
1624 enable_windowscodecsext
1625 enable_winealsa_drv
1626 enable_wineandroid_drv
1627 enable_winebus_sys
1628 enable_winecoreaudio_drv
1629 enable_winecrt0
1630 enable_wined3d
1631 enable_winegstreamer
1632 enable_winehid_sys
1633 enable_winejoystick_drv
1634 enable_winemac_drv
1635 enable_winemapi
1636 enable_wineoss_drv
1637 enable_wineps_drv
1638 enable_winepulse_drv
1639 enable_wineqtdecoder
1640 enable_winevulkan
1641 enable_winex11_drv
1642 enable_wing32
1643 enable_winhttp
1644 enable_wininet
1645 enable_winmm
1646 enable_winnls32
1647 enable_winscard
1648 enable_winspool_drv
1649 enable_winsta
1650 enable_wintab32
1651 enable_wintrust
1652 enable_winusb
1653 enable_wlanapi
1654 enable_wlanui
1655 enable_wldap32
1656 enable_wmasf
1657 enable_wmcodecdspuuid
1658 enable_wmi
1659 enable_wmiutils
1660 enable_wmp
1661 enable_wmphoto
1662 enable_wmvcore
1663 enable_wnaspi32
1664 enable_wpc
1665 enable_wpcap
1666 enable_ws2_32
1667 enable_wsdapi
1668 enable_wshom_ocx
1669 enable_wsnmp32
1670 enable_wsock32
1671 enable_wtsapi32
1672 enable_wuapi
1673 enable_wuaueng
1674 enable_x3daudio1_0
1675 enable_x3daudio1_1
1676 enable_x3daudio1_2
1677 enable_x3daudio1_3
1678 enable_x3daudio1_4
1679 enable_x3daudio1_5
1680 enable_x3daudio1_6
1681 enable_x3daudio1_7
1682 enable_xapofx1_1
1683 enable_xapofx1_2
1684 enable_xapofx1_3
1685 enable_xapofx1_4
1686 enable_xapofx1_5
1687 enable_xaudio2_0
1688 enable_xaudio2_1
1689 enable_xaudio2_2
1690 enable_xaudio2_3
1691 enable_xaudio2_4
1692 enable_xaudio2_5
1693 enable_xaudio2_6
1694 enable_xaudio2_7
1695 enable_xaudio2_8
1696 enable_xaudio2_9
1697 enable_xinput1_1
1698 enable_xinput1_2
1699 enable_xinput1_3
1700 enable_xinput1_4
1701 enable_xinput9_1_0
1702 enable_xmllite
1703 enable_xolehlp
1704 enable_xpsprint
1705 enable_xpssvcs
1706 enable_fonts
1707 enable_include
1708 enable_port
1709 enable_wine
1710 enable_wpp
1711 enable_loader
1712 enable_po
1713 enable_arp
1714 enable_aspnet_regiis
1715 enable_attrib
1716 enable_cabarc
1717 enable_cacls
1718 enable_clock
1719 enable_cmd
1720 enable_conhost
1721 enable_control
1722 enable_cscript
1723 enable_dism
1724 enable_dpnsvr
1725 enable_dxdiag
1726 enable_eject
1727 enable_expand
1728 enable_explorer
1729 enable_extrac32
1730 enable_fc
1731 enable_find
1732 enable_findstr
1733 enable_fsutil
1734 enable_hh
1735 enable_hostname
1736 enable_icacls
1737 enable_icinfo
1738 enable_iexplore
1739 enable_ipconfig
1740 enable_lodctr
1741 enable_mofcomp
1742 enable_mshta
1743 enable_msidb
1744 enable_msiexec
1745 enable_msinfo32
1746 enable_net
1747 enable_netsh
1748 enable_netstat
1749 enable_ngen
1750 enable_notepad
1751 enable_oleview
1752 enable_ping
1753 enable_plugplay
1754 enable_powershell
1755 enable_presentationfontcache
1756 enable_progman
1757 enable_reg
1758 enable_regasm
1759 enable_regedit
1760 enable_regini
1761 enable_regsvcs
1762 enable_regsvr32
1763 enable_rpcss
1764 enable_rundll32
1765 enable_sc
1766 enable_schtasks
1767 enable_sdbinst
1768 enable_secedit
1769 enable_servicemodelreg
1770 enable_services
1771 enable_shutdown
1772 enable_spoolsv
1773 enable_start
1774 enable_subst
1775 enable_svchost
1776 enable_systeminfo
1777 enable_taskkill
1778 enable_tasklist
1779 enable_taskmgr
1780 enable_termsv
1781 enable_uninstaller
1782 enable_unlodctr
1783 enable_view
1784 enable_wevtutil
1785 enable_wineboot
1786 enable_winebrowser
1787 enable_winecfg
1788 enable_wineconsole
1789 enable_winedbg
1790 enable_winedevice
1791 enable_winefile
1792 enable_winemenubuilder
1793 enable_winemine
1794 enable_winemsibuilder
1795 enable_winepath
1796 enable_winetest
1797 enable_winhlp32
1798 enable_winmgmt
1799 enable_winver
1800 enable_wmic
1801 enable_wmplayer
1802 enable_wordpad
1803 enable_write
1804 enable_wscript
1805 enable_wuauserv
1806 enable_wusa
1807 enable_xcopy
1808 enable_server
1809 enable_tools
1810 enable_sfnt2fon
1811 enable_widl
1812 enable_winebuild
1813 enable_winedump
1814 enable_winegcc
1815 enable_winemaker
1816 enable_wmc
1817 enable_wrc
1819 ac_precious_vars='build_alias
1820 host_alias
1821 target_alias
1823 CFLAGS
1824 LDFLAGS
1825 LIBS
1826 CPPFLAGS
1828 CXXFLAGS
1831 OBJC
1832 OBJCFLAGS
1833 OBJCPP
1834 XMKMF
1835 XML2_CFLAGS
1836 XML2_LIBS
1837 XSLT_CFLAGS
1838 XSLT_LIBS
1839 INOTIFY_CFLAGS
1840 INOTIFY_LIBS
1841 DBUS_CFLAGS
1842 DBUS_LIBS
1843 HAL_CFLAGS
1844 HAL_LIBS
1845 GNUTLS_CFLAGS
1846 GNUTLS_LIBS
1847 SANE_CFLAGS
1848 SANE_LIBS
1849 GPHOTO2_CFLAGS
1850 GPHOTO2_LIBS
1851 GPHOTO2_PORT_CFLAGS
1852 GPHOTO2_PORT_LIBS
1853 LCMS2_CFLAGS
1854 LCMS2_LIBS
1855 FREETYPE_CFLAGS
1856 FREETYPE_LIBS
1857 Z_CFLAGS
1858 Z_LIBS
1859 PULSE_CFLAGS
1860 PULSE_LIBS
1861 GSTREAMER_CFLAGS
1862 GSTREAMER_LIBS
1863 UDEV_CFLAGS
1864 UDEV_LIBS
1865 UNWIND_CFLAGS
1866 UNWIND_LIBS
1867 SDL2_CFLAGS
1868 SDL2_LIBS
1869 FAUDIO_CFLAGS
1870 FAUDIO_LIBS
1871 CAPI20_CFLAGS
1872 CAPI20_LIBS
1873 CUPS_CFLAGS
1874 CUPS_LIBS
1875 FONTCONFIG_CFLAGS
1876 FONTCONFIG_LIBS
1877 KRB5_CFLAGS
1878 KRB5_LIBS
1879 GSSAPI_CFLAGS
1880 GSSAPI_LIBS
1881 JPEG_CFLAGS
1882 JPEG_LIBS
1883 PNG_CFLAGS
1884 PNG_LIBS
1885 TIFF_CFLAGS
1886 TIFF_LIBS
1887 MPG123_CFLAGS
1888 MPG123_LIBS
1889 NETAPI_CFLAGS
1890 NETAPI_LIBS
1891 VKD3D_CFLAGS
1892 VKD3D_LIBS
1893 LDAP_CFLAGS
1894 LDAP_LIBS'
1897 # Initialize some variables set by options.
1898 ac_init_help=
1899 ac_init_version=false
1900 ac_unrecognized_opts=
1901 ac_unrecognized_sep=
1902 # The variables have the same names as the options, with
1903 # dashes changed to underlines.
1904 cache_file=/dev/null
1905 exec_prefix=NONE
1906 no_create=
1907 no_recursion=
1908 prefix=NONE
1909 program_prefix=NONE
1910 program_suffix=NONE
1911 program_transform_name=s,x,x,
1912 silent=
1913 site=
1914 srcdir=
1915 verbose=
1916 x_includes=NONE
1917 x_libraries=NONE
1919 # Installation directory options.
1920 # These are left unexpanded so users can "make install exec_prefix=/foo"
1921 # and all the variables that are supposed to be based on exec_prefix
1922 # by default will actually change.
1923 # Use braces instead of parens because sh, perl, etc. also accept them.
1924 # (The list follows the same order as the GNU Coding Standards.)
1925 bindir='${exec_prefix}/bin'
1926 sbindir='${exec_prefix}/sbin'
1927 libexecdir='${exec_prefix}/libexec'
1928 datarootdir='${prefix}/share'
1929 datadir='${datarootdir}'
1930 sysconfdir='${prefix}/etc'
1931 sharedstatedir='${prefix}/com'
1932 localstatedir='${prefix}/var'
1933 runstatedir='${localstatedir}/run'
1934 includedir='${prefix}/include'
1935 oldincludedir='/usr/include'
1936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1937 infodir='${datarootdir}/info'
1938 htmldir='${docdir}'
1939 dvidir='${docdir}'
1940 pdfdir='${docdir}'
1941 psdir='${docdir}'
1942 libdir='${exec_prefix}/lib'
1943 localedir='${datarootdir}/locale'
1944 mandir='${datarootdir}/man'
1946 ac_prev=
1947 ac_dashdash=
1948 for ac_option
1950 # If the previous option needs an argument, assign it.
1951 if test -n "$ac_prev"; then
1952 eval $ac_prev=\$ac_option
1953 ac_prev=
1954 continue
1957 case $ac_option in
1958 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1959 *=) ac_optarg= ;;
1960 *) ac_optarg=yes ;;
1961 esac
1963 # Accept the important Cygnus configure options, so we can diagnose typos.
1965 case $ac_dashdash$ac_option in
1967 ac_dashdash=yes ;;
1969 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1970 ac_prev=bindir ;;
1971 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1972 bindir=$ac_optarg ;;
1974 -build | --build | --buil | --bui | --bu)
1975 ac_prev=build_alias ;;
1976 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1977 build_alias=$ac_optarg ;;
1979 -cache-file | --cache-file | --cache-fil | --cache-fi \
1980 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1981 ac_prev=cache_file ;;
1982 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1983 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1984 cache_file=$ac_optarg ;;
1986 --config-cache | -C)
1987 cache_file=config.cache ;;
1989 -datadir | --datadir | --datadi | --datad)
1990 ac_prev=datadir ;;
1991 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1992 datadir=$ac_optarg ;;
1994 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1995 | --dataroo | --dataro | --datar)
1996 ac_prev=datarootdir ;;
1997 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1998 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1999 datarootdir=$ac_optarg ;;
2001 -disable-* | --disable-*)
2002 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2003 # Reject names that are not valid shell variable names.
2004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2005 as_fn_error $? "invalid feature name: $ac_useropt"
2006 ac_useropt_orig=$ac_useropt
2007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2008 case $ac_user_opts in
2010 "enable_$ac_useropt"
2011 "*) ;;
2012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2013 ac_unrecognized_sep=', ';;
2014 esac
2015 eval enable_$ac_useropt=no ;;
2017 -docdir | --docdir | --docdi | --doc | --do)
2018 ac_prev=docdir ;;
2019 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2020 docdir=$ac_optarg ;;
2022 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2023 ac_prev=dvidir ;;
2024 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2025 dvidir=$ac_optarg ;;
2027 -enable-* | --enable-*)
2028 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2029 # Reject names that are not valid shell variable names.
2030 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2031 as_fn_error $? "invalid feature name: $ac_useropt"
2032 ac_useropt_orig=$ac_useropt
2033 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2034 case $ac_user_opts in
2036 "enable_$ac_useropt"
2037 "*) ;;
2038 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2039 ac_unrecognized_sep=', ';;
2040 esac
2041 eval enable_$ac_useropt=\$ac_optarg ;;
2043 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2044 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2045 | --exec | --exe | --ex)
2046 ac_prev=exec_prefix ;;
2047 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2048 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2049 | --exec=* | --exe=* | --ex=*)
2050 exec_prefix=$ac_optarg ;;
2052 -gas | --gas | --ga | --g)
2053 # Obsolete; use --with-gas.
2054 with_gas=yes ;;
2056 -help | --help | --hel | --he | -h)
2057 ac_init_help=long ;;
2058 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2059 ac_init_help=recursive ;;
2060 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2061 ac_init_help=short ;;
2063 -host | --host | --hos | --ho)
2064 ac_prev=host_alias ;;
2065 -host=* | --host=* | --hos=* | --ho=*)
2066 host_alias=$ac_optarg ;;
2068 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2069 ac_prev=htmldir ;;
2070 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2071 | --ht=*)
2072 htmldir=$ac_optarg ;;
2074 -includedir | --includedir | --includedi | --included | --include \
2075 | --includ | --inclu | --incl | --inc)
2076 ac_prev=includedir ;;
2077 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2078 | --includ=* | --inclu=* | --incl=* | --inc=*)
2079 includedir=$ac_optarg ;;
2081 -infodir | --infodir | --infodi | --infod | --info | --inf)
2082 ac_prev=infodir ;;
2083 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2084 infodir=$ac_optarg ;;
2086 -libdir | --libdir | --libdi | --libd)
2087 ac_prev=libdir ;;
2088 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2089 libdir=$ac_optarg ;;
2091 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2092 | --libexe | --libex | --libe)
2093 ac_prev=libexecdir ;;
2094 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2095 | --libexe=* | --libex=* | --libe=*)
2096 libexecdir=$ac_optarg ;;
2098 -localedir | --localedir | --localedi | --localed | --locale)
2099 ac_prev=localedir ;;
2100 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2101 localedir=$ac_optarg ;;
2103 -localstatedir | --localstatedir | --localstatedi | --localstated \
2104 | --localstate | --localstat | --localsta | --localst | --locals)
2105 ac_prev=localstatedir ;;
2106 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2107 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2108 localstatedir=$ac_optarg ;;
2110 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2111 ac_prev=mandir ;;
2112 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2113 mandir=$ac_optarg ;;
2115 -nfp | --nfp | --nf)
2116 # Obsolete; use --without-fp.
2117 with_fp=no ;;
2119 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2120 | --no-cr | --no-c | -n)
2121 no_create=yes ;;
2123 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2124 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2125 no_recursion=yes ;;
2127 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2128 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2129 | --oldin | --oldi | --old | --ol | --o)
2130 ac_prev=oldincludedir ;;
2131 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2132 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2133 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2134 oldincludedir=$ac_optarg ;;
2136 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2137 ac_prev=prefix ;;
2138 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2139 prefix=$ac_optarg ;;
2141 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2142 | --program-pre | --program-pr | --program-p)
2143 ac_prev=program_prefix ;;
2144 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2145 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2146 program_prefix=$ac_optarg ;;
2148 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2149 | --program-suf | --program-su | --program-s)
2150 ac_prev=program_suffix ;;
2151 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2152 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2153 program_suffix=$ac_optarg ;;
2155 -program-transform-name | --program-transform-name \
2156 | --program-transform-nam | --program-transform-na \
2157 | --program-transform-n | --program-transform- \
2158 | --program-transform | --program-transfor \
2159 | --program-transfo | --program-transf \
2160 | --program-trans | --program-tran \
2161 | --progr-tra | --program-tr | --program-t)
2162 ac_prev=program_transform_name ;;
2163 -program-transform-name=* | --program-transform-name=* \
2164 | --program-transform-nam=* | --program-transform-na=* \
2165 | --program-transform-n=* | --program-transform-=* \
2166 | --program-transform=* | --program-transfor=* \
2167 | --program-transfo=* | --program-transf=* \
2168 | --program-trans=* | --program-tran=* \
2169 | --progr-tra=* | --program-tr=* | --program-t=*)
2170 program_transform_name=$ac_optarg ;;
2172 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2173 ac_prev=pdfdir ;;
2174 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2175 pdfdir=$ac_optarg ;;
2177 -psdir | --psdir | --psdi | --psd | --ps)
2178 ac_prev=psdir ;;
2179 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2180 psdir=$ac_optarg ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2184 silent=yes ;;
2186 -runstatedir | --runstatedir | --runstatedi | --runstated \
2187 | --runstate | --runstat | --runsta | --runst | --runs \
2188 | --run | --ru | --r)
2189 ac_prev=runstatedir ;;
2190 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2191 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2192 | --run=* | --ru=* | --r=*)
2193 runstatedir=$ac_optarg ;;
2195 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2196 ac_prev=sbindir ;;
2197 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2198 | --sbi=* | --sb=*)
2199 sbindir=$ac_optarg ;;
2201 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2202 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2203 | --sharedst | --shareds | --shared | --share | --shar \
2204 | --sha | --sh)
2205 ac_prev=sharedstatedir ;;
2206 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2207 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2208 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2209 | --sha=* | --sh=*)
2210 sharedstatedir=$ac_optarg ;;
2212 -site | --site | --sit)
2213 ac_prev=site ;;
2214 -site=* | --site=* | --sit=*)
2215 site=$ac_optarg ;;
2217 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2218 ac_prev=srcdir ;;
2219 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2220 srcdir=$ac_optarg ;;
2222 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2223 | --syscon | --sysco | --sysc | --sys | --sy)
2224 ac_prev=sysconfdir ;;
2225 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2226 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2227 sysconfdir=$ac_optarg ;;
2229 -target | --target | --targe | --targ | --tar | --ta | --t)
2230 ac_prev=target_alias ;;
2231 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2232 target_alias=$ac_optarg ;;
2234 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2235 verbose=yes ;;
2237 -version | --version | --versio | --versi | --vers | -V)
2238 ac_init_version=: ;;
2240 -with-* | --with-*)
2241 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2242 # Reject names that are not valid shell variable names.
2243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2244 as_fn_error $? "invalid package name: $ac_useropt"
2245 ac_useropt_orig=$ac_useropt
2246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2247 case $ac_user_opts in
2249 "with_$ac_useropt"
2250 "*) ;;
2251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2252 ac_unrecognized_sep=', ';;
2253 esac
2254 eval with_$ac_useropt=\$ac_optarg ;;
2256 -without-* | --without-*)
2257 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2258 # Reject names that are not valid shell variable names.
2259 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2260 as_fn_error $? "invalid package name: $ac_useropt"
2261 ac_useropt_orig=$ac_useropt
2262 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2263 case $ac_user_opts in
2265 "with_$ac_useropt"
2266 "*) ;;
2267 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2268 ac_unrecognized_sep=', ';;
2269 esac
2270 eval with_$ac_useropt=no ;;
2272 --x)
2273 # Obsolete; use --with-x.
2274 with_x=yes ;;
2276 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2277 | --x-incl | --x-inc | --x-in | --x-i)
2278 ac_prev=x_includes ;;
2279 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2280 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2281 x_includes=$ac_optarg ;;
2283 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2284 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2285 ac_prev=x_libraries ;;
2286 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2287 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2288 x_libraries=$ac_optarg ;;
2290 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2291 Try \`$0 --help' for more information"
2294 *=*)
2295 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2296 # Reject names that are not valid shell variable names.
2297 case $ac_envvar in #(
2298 '' | [0-9]* | *[!_$as_cr_alnum]* )
2299 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2300 esac
2301 eval $ac_envvar=\$ac_optarg
2302 export $ac_envvar ;;
2305 # FIXME: should be removed in autoconf 3.0.
2306 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2307 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2308 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2309 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2312 esac
2313 done
2315 if test -n "$ac_prev"; then
2316 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2317 as_fn_error $? "missing argument to $ac_option"
2320 if test -n "$ac_unrecognized_opts"; then
2321 case $enable_option_checking in
2322 no) ;;
2323 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2324 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2325 esac
2328 # Check all directory arguments for consistency.
2329 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2330 datadir sysconfdir sharedstatedir localstatedir includedir \
2331 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2332 libdir localedir mandir runstatedir
2334 eval ac_val=\$$ac_var
2335 # Remove trailing slashes.
2336 case $ac_val in
2337 */ )
2338 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2339 eval $ac_var=\$ac_val;;
2340 esac
2341 # Be sure to have absolute directory names.
2342 case $ac_val in
2343 [\\/$]* | ?:[\\/]* ) continue;;
2344 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2345 esac
2346 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2347 done
2349 # There might be people who depend on the old broken behavior: `$host'
2350 # used to hold the argument of --host etc.
2351 # FIXME: To remove some day.
2352 build=$build_alias
2353 host=$host_alias
2354 target=$target_alias
2356 # FIXME: To remove some day.
2357 if test "x$host_alias" != x; then
2358 if test "x$build_alias" = x; then
2359 cross_compiling=maybe
2360 elif test "x$build_alias" != "x$host_alias"; then
2361 cross_compiling=yes
2365 ac_tool_prefix=
2366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2368 test "$silent" = yes && exec 6>/dev/null
2371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2372 ac_ls_di=`ls -di .` &&
2373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2374 as_fn_error $? "working directory cannot be determined"
2375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2376 as_fn_error $? "pwd does not report name of working directory"
2379 # Find the source files, if location was not specified.
2380 if test -z "$srcdir"; then
2381 ac_srcdir_defaulted=yes
2382 # Try the directory containing this script, then the parent directory.
2383 ac_confdir=`$as_dirname -- "$as_myself" ||
2384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2385 X"$as_myself" : 'X\(//\)[^/]' \| \
2386 X"$as_myself" : 'X\(//\)$' \| \
2387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2388 $as_echo X"$as_myself" |
2389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2390 s//\1/
2393 /^X\(\/\/\)[^/].*/{
2394 s//\1/
2397 /^X\(\/\/\)$/{
2398 s//\1/
2401 /^X\(\/\).*/{
2402 s//\1/
2405 s/.*/./; q'`
2406 srcdir=$ac_confdir
2407 if test ! -r "$srcdir/$ac_unique_file"; then
2408 srcdir=..
2410 else
2411 ac_srcdir_defaulted=no
2413 if test ! -r "$srcdir/$ac_unique_file"; then
2414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2415 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2418 ac_abs_confdir=`(
2419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2420 pwd)`
2421 # When building in place, set srcdir=.
2422 if test "$ac_abs_confdir" = "$ac_pwd"; then
2423 srcdir=.
2425 # Remove unnecessary trailing slashes from srcdir.
2426 # Double slashes in file names in object file debugging info
2427 # mess up M-x gdb in Emacs.
2428 case $srcdir in
2429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2430 esac
2431 for ac_var in $ac_precious_vars; do
2432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2433 eval ac_env_${ac_var}_value=\$${ac_var}
2434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2436 done
2439 # Report the --help message.
2441 if test "$ac_init_help" = "long"; then
2442 # Omit some internal or obsolete options to make the list less imposing.
2443 # This message is too long to be a string in the A/UX 3.1 sh.
2444 cat <<_ACEOF
2445 \`configure' configures Wine 4.21 to adapt to many kinds of systems.
2447 Usage: $0 [OPTION]... [VAR=VALUE]...
2449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2450 VAR=VALUE. See below for descriptions of some of the useful variables.
2452 Defaults for the options are specified in brackets.
2454 Configuration:
2455 -h, --help display this help and exit
2456 --help=short display options specific to this package
2457 --help=recursive display the short help of all the included packages
2458 -V, --version display version information and exit
2459 -q, --quiet, --silent do not print \`checking ...' messages
2460 --cache-file=FILE cache test results in FILE [disabled]
2461 -C, --config-cache alias for \`--cache-file=config.cache'
2462 -n, --no-create do not create output files
2463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2465 Installation directories:
2466 --prefix=PREFIX install architecture-independent files in PREFIX
2467 [$ac_default_prefix]
2468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2469 [PREFIX]
2471 By default, \`make install' will install all the files in
2472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2474 for instance \`--prefix=\$HOME'.
2476 For better control, use the options below.
2478 Fine tuning of the installation directories:
2479 --bindir=DIR user executables [EPREFIX/bin]
2480 --sbindir=DIR system admin executables [EPREFIX/sbin]
2481 --libexecdir=DIR program executables [EPREFIX/libexec]
2482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2485 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2486 --libdir=DIR object code libraries [EPREFIX/lib]
2487 --includedir=DIR C header files [PREFIX/include]
2488 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2489 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2490 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2491 --infodir=DIR info documentation [DATAROOTDIR/info]
2492 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2493 --mandir=DIR man documentation [DATAROOTDIR/man]
2494 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2495 --htmldir=DIR html documentation [DOCDIR]
2496 --dvidir=DIR dvi documentation [DOCDIR]
2497 --pdfdir=DIR pdf documentation [DOCDIR]
2498 --psdir=DIR ps documentation [DOCDIR]
2499 _ACEOF
2501 cat <<\_ACEOF
2503 X features:
2504 --x-includes=DIR X include files are in DIR
2505 --x-libraries=DIR X library files are in DIR
2507 System types:
2508 --build=BUILD configure for building on BUILD [guessed]
2509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2510 _ACEOF
2513 if test -n "$ac_init_help"; then
2514 case $ac_init_help in
2515 short | recursive ) echo "Configuration of Wine 4.21:";;
2516 esac
2517 cat <<\_ACEOF
2519 Optional Features:
2520 --disable-option-checking ignore unrecognized --enable/--with options
2521 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2522 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2523 --disable-win16 do not include Win16 support
2524 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2525 binaries)
2526 --disable-tests do not build the regression tests
2527 --enable-maintainer-mode
2528 enable maintainer-specific build rules
2529 --disable-largefile omit support for large files
2531 Optional Packages:
2532 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2533 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2534 --without-alsa do not use the Alsa sound support
2535 --without-capi do not use CAPI (ISDN support)
2536 --without-cms do not use CMS (color management support)
2537 --without-coreaudio do not use the CoreAudio sound support
2538 --without-cups do not use CUPS
2539 --without-curses do not use (n)curses
2540 --without-dbus do not use DBus (dynamic device support)
2541 --without-faudio do not use FAudio (XAudio2 support)
2542 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2543 --without-fontconfig do not use fontconfig
2544 --without-freetype do not use the FreeType library
2545 --without-gettext do not use gettext
2546 --with-gettextpo use the GetTextPO library to rebuild po files
2547 --without-gphoto do not use gphoto (Digital Camera support)
2548 --without-glu do not use the GLU library
2549 --without-gnutls do not use GnuTLS (schannel support)
2550 --without-gsm do not use libgsm (GSM 06.10 codec support)
2551 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2552 --without-gstreamer do not use GStreamer (codecs support)
2553 --without-hal do not use HAL (dynamic device support)
2554 --without-inotify do not use inotify (filesystem change notifications)
2555 --without-jpeg do not use JPEG
2556 --without-krb5 do not use krb5 (Kerberos)
2557 --without-ldap do not use LDAP
2558 --without-mingw do not use the MinGW cross-compiler
2559 --without-mpg123 do not use the mpg123 library
2560 --without-netapi do not use the Samba NetAPI library
2561 --without-openal do not use OpenAL
2562 --without-opencl do not use OpenCL
2563 --without-opengl do not use OpenGL
2564 --without-osmesa do not use the OSMesa library
2565 --without-oss do not use the OSS sound support
2566 --without-pcap do not use the Packet Capture library
2567 --without-png do not use PNG
2568 --without-pthread do not use the pthread library
2569 --without-pulse do not use PulseAudio sound support
2570 --without-sane do not use SANE (scanner support)
2571 --without-sdl do not use SDL
2572 --without-tiff do not use TIFF
2573 --without-udev do not use udev (plug and play support)
2574 --without-unwind do not use the libunwind library (exception
2575 handling)
2576 --without-v4l2 do not use v4l2 (video capture)
2577 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2578 --without-vulkan do not use Vulkan
2579 --without-xcomposite do not use the Xcomposite extension
2580 --without-xcursor do not use the Xcursor extension
2581 --without-xfixes do not use Xfixes for clipboard change notifications
2582 --without-xinerama do not use Xinerama (multi-monitor support)
2583 --without-xinput do not use the Xinput extension
2584 --without-xinput2 do not use the Xinput 2 extension
2585 --without-xml do not use XML
2586 --without-xrandr do not use Xrandr (resolution changes)
2587 --without-xrender do not use the Xrender extension
2588 --without-xshape do not use the Xshape extension
2589 --without-xshm do not use XShm (shared memory extension)
2590 --without-xslt do not use XSLT
2591 --without-xxf86vm do not use XFree video mode extension
2592 --without-zlib do not use Zlib (data compression)
2593 --with-wine-tools=DIR use Wine tools from directory DIR
2594 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2595 --with-x use the X Window System
2597 Some influential environment variables:
2598 CC C compiler command
2599 CFLAGS C compiler flags
2600 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2601 nonstandard directory <lib dir>
2602 LIBS libraries to pass to the linker, e.g. -l<library>
2603 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2604 you have headers in a nonstandard directory <include dir>
2605 CXX C++ compiler command
2606 CXXFLAGS C++ compiler flags
2607 CPP C preprocessor
2608 OBJC Objective C compiler command
2609 OBJCFLAGS Objective C compiler flags
2610 OBJCPP Objective C preprocessor
2611 XMKMF Path to xmkmf, Makefile generator for X Window System
2612 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2613 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2614 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2615 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2616 INOTIFY_CFLAGS
2617 C compiler flags for libinotify, overriding pkg-config
2618 INOTIFY_LIBS
2619 Linker flags for libinotify, overriding pkg-config
2620 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2621 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2622 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2623 HAL_LIBS Linker flags for hal, overriding pkg-config
2624 GNUTLS_CFLAGS
2625 C compiler flags for gnutls, overriding pkg-config
2626 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2627 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2628 SANE_LIBS Linker flags for libsane, overriding pkg-config
2629 GPHOTO2_CFLAGS
2630 C compiler flags for libgphoto2, overriding pkg-config
2631 GPHOTO2_LIBS
2632 Linker flags for libgphoto2, overriding pkg-config
2633 GPHOTO2_PORT_CFLAGS
2634 C compiler flags for libgphoto2_port, overriding pkg-config
2635 GPHOTO2_PORT_LIBS
2636 Linker flags for libgphoto2_port, overriding pkg-config
2637 LCMS2_CFLAGS
2638 C compiler flags for lcms2, overriding pkg-config
2639 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2640 FREETYPE_CFLAGS
2641 C compiler flags for freetype2, overriding pkg-config
2642 FREETYPE_LIBS
2643 Linker flags for freetype2, overriding pkg-config
2644 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2645 Z_LIBS Linker flags for libz, overriding pkg-config
2646 PULSE_CFLAGS
2647 C compiler flags for libpulse, overriding pkg-config
2648 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2649 GSTREAMER_CFLAGS
2650 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2651 gstreamer-audio-1.0, overriding pkg-config
2652 GSTREAMER_LIBS
2653 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2654 gstreamer-audio-1.0, overriding pkg-config
2655 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2656 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2657 UNWIND_CFLAGS
2658 C compiler flags for libunwind, overriding pkg-config
2659 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2660 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2661 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2662 FAUDIO_CFLAGS
2663 C compiler flags for faudio, overriding pkg-config
2664 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2665 CAPI20_CFLAGS
2666 C compiler flags for capi20, overriding pkg-config
2667 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2668 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2669 CUPS_LIBS Linker flags for cups, overriding pkg-config
2670 FONTCONFIG_CFLAGS
2671 C compiler flags for fontconfig, overriding pkg-config
2672 FONTCONFIG_LIBS
2673 Linker flags for fontconfig, overriding pkg-config
2674 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2675 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2676 GSSAPI_CFLAGS
2677 C compiler flags for krb5-gssapi, overriding pkg-config
2678 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2679 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2680 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2681 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2682 PNG_LIBS Linker flags for libpng, overriding pkg-config
2683 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2684 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2685 MPG123_CFLAGS
2686 C compiler flags for libmpg123, overriding pkg-config
2687 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2688 NETAPI_CFLAGS
2689 C compiler flags for netapi, overriding pkg-config
2690 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2691 VKD3D_CFLAGS
2692 C compiler flags for libvkd3d, overriding pkg-config
2693 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2694 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2695 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2697 Use these variables to override the choices made by `configure' or to help
2698 it to find libraries and programs with nonstandard names/locations.
2700 Report bugs to <wine-devel@winehq.org>.
2701 Wine home page: <https://www.winehq.org>.
2702 _ACEOF
2703 ac_status=$?
2706 if test "$ac_init_help" = "recursive"; then
2707 # If there are subdirs, report their specific --help.
2708 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2709 test -d "$ac_dir" ||
2710 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2711 continue
2712 ac_builddir=.
2714 case "$ac_dir" in
2715 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2717 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2718 # A ".." for each directory in $ac_dir_suffix.
2719 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2720 case $ac_top_builddir_sub in
2721 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2722 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2723 esac ;;
2724 esac
2725 ac_abs_top_builddir=$ac_pwd
2726 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2727 # for backward compatibility:
2728 ac_top_builddir=$ac_top_build_prefix
2730 case $srcdir in
2731 .) # We are building in place.
2732 ac_srcdir=.
2733 ac_top_srcdir=$ac_top_builddir_sub
2734 ac_abs_top_srcdir=$ac_pwd ;;
2735 [\\/]* | ?:[\\/]* ) # Absolute name.
2736 ac_srcdir=$srcdir$ac_dir_suffix;
2737 ac_top_srcdir=$srcdir
2738 ac_abs_top_srcdir=$srcdir ;;
2739 *) # Relative name.
2740 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2741 ac_top_srcdir=$ac_top_build_prefix$srcdir
2742 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2743 esac
2744 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2746 cd "$ac_dir" || { ac_status=$?; continue; }
2747 # Check for guested configure.
2748 if test -f "$ac_srcdir/configure.gnu"; then
2749 echo &&
2750 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2751 elif test -f "$ac_srcdir/configure"; then
2752 echo &&
2753 $SHELL "$ac_srcdir/configure" --help=recursive
2754 else
2755 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2756 fi || ac_status=$?
2757 cd "$ac_pwd" || { ac_status=$?; break; }
2758 done
2761 test -n "$ac_init_help" && exit $ac_status
2762 if $ac_init_version; then
2763 cat <<\_ACEOF
2764 Wine configure 4.21
2765 generated by GNU Autoconf 2.69
2767 Copyright (C) 2012 Free Software Foundation, Inc.
2768 This configure script is free software; the Free Software Foundation
2769 gives unlimited permission to copy, distribute and modify it.
2770 _ACEOF
2771 exit
2774 ## ------------------------ ##
2775 ## Autoconf initialization. ##
2776 ## ------------------------ ##
2778 # ac_fn_c_try_compile LINENO
2779 # --------------------------
2780 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2781 ac_fn_c_try_compile ()
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 rm -f conftest.$ac_objext
2785 if { { ac_try="$ac_compile"
2786 case "(($ac_try" in
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2789 esac
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>conftest.err
2793 ac_status=$?
2794 if test -s conftest.err; then
2795 grep -v '^ *+' conftest.err >conftest.er1
2796 cat conftest.er1 >&5
2797 mv -f conftest.er1 conftest.err
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; } && {
2801 test -z "$ac_c_werror_flag" ||
2802 test ! -s conftest.err
2803 } && test -s conftest.$ac_objext; then :
2804 ac_retval=0
2805 else
2806 $as_echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2809 ac_retval=1
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2812 as_fn_set_status $ac_retval
2814 } # ac_fn_c_try_compile
2816 # ac_fn_cxx_try_compile LINENO
2817 # ----------------------------
2818 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2819 ac_fn_cxx_try_compile ()
2821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 rm -f conftest.$ac_objext
2823 if { { ac_try="$ac_compile"
2824 case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827 esac
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830 (eval "$ac_compile") 2>conftest.err
2831 ac_status=$?
2832 if test -s conftest.err; then
2833 grep -v '^ *+' conftest.err >conftest.er1
2834 cat conftest.er1 >&5
2835 mv -f conftest.er1 conftest.err
2837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2838 test $ac_status = 0; } && {
2839 test -z "$ac_cxx_werror_flag" ||
2840 test ! -s conftest.err
2841 } && test -s conftest.$ac_objext; then :
2842 ac_retval=0
2843 else
2844 $as_echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.$ac_ext >&5
2847 ac_retval=1
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2850 as_fn_set_status $ac_retval
2852 } # ac_fn_cxx_try_compile
2854 # ac_fn_c_try_link LINENO
2855 # -----------------------
2856 # Try to link conftest.$ac_ext, and return whether this succeeded.
2857 ac_fn_c_try_link ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 rm -f conftest.$ac_objext conftest$ac_exeext
2861 if { { ac_try="$ac_link"
2862 case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_link") 2>conftest.err
2869 ac_status=$?
2870 if test -s conftest.err; then
2871 grep -v '^ *+' conftest.err >conftest.er1
2872 cat conftest.er1 >&5
2873 mv -f conftest.er1 conftest.err
2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876 test $ac_status = 0; } && {
2877 test -z "$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2879 } && test -s conftest$ac_exeext && {
2880 test "$cross_compiling" = yes ||
2881 test -x conftest$ac_exeext
2882 }; then :
2883 ac_retval=0
2884 else
2885 $as_echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2888 ac_retval=1
2890 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2891 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2892 # interfere with the next link command; also delete a directory that is
2893 # left behind by Apple's compiler. We do this before executing the actions.
2894 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 as_fn_set_status $ac_retval
2898 } # ac_fn_c_try_link
2900 # ac_fn_c_try_cpp LINENO
2901 # ----------------------
2902 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2903 ac_fn_c_try_cpp ()
2905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2906 if { { ac_try="$ac_cpp conftest.$ac_ext"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2912 $as_echo "$ac_try_echo"; } >&5
2913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2914 ac_status=$?
2915 if test -s conftest.err; then
2916 grep -v '^ *+' conftest.err >conftest.er1
2917 cat conftest.er1 >&5
2918 mv -f conftest.er1 conftest.err
2920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2921 test $ac_status = 0; } > conftest.i && {
2922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2923 test ! -s conftest.err
2924 }; then :
2925 ac_retval=0
2926 else
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2930 ac_retval=1
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 as_fn_set_status $ac_retval
2935 } # ac_fn_c_try_cpp
2937 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2938 # -------------------------------------------------------
2939 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2940 # the include files in INCLUDES and setting the cache variable VAR
2941 # accordingly.
2942 ac_fn_c_check_header_mongrel ()
2944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2945 if eval \${$3+:} false; then :
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2947 $as_echo_n "checking for $2... " >&6; }
2948 if eval \${$3+:} false; then :
2949 $as_echo_n "(cached) " >&6
2951 eval ac_res=\$$3
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2953 $as_echo "$ac_res" >&6; }
2954 else
2955 # Is the header compilable?
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2957 $as_echo_n "checking $2 usability... " >&6; }
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2961 #include <$2>
2962 _ACEOF
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964 ac_header_compiler=yes
2965 else
2966 ac_header_compiler=no
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2970 $as_echo "$ac_header_compiler" >&6; }
2972 # Is the header present?
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2974 $as_echo_n "checking $2 presence... " >&6; }
2975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2976 /* end confdefs.h. */
2977 #include <$2>
2978 _ACEOF
2979 if ac_fn_c_try_cpp "$LINENO"; then :
2980 ac_header_preproc=yes
2981 else
2982 ac_header_preproc=no
2984 rm -f conftest.err conftest.i conftest.$ac_ext
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2986 $as_echo "$ac_header_preproc" >&6; }
2988 # So? What about this header?
2989 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2990 yes:no: )
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2992 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2994 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2996 no:yes:* )
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2998 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3000 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3002 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3004 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3006 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3007 ( $as_echo "## ------------------------------------ ##
3008 ## Report this to wine-devel@winehq.org ##
3009 ## ------------------------------------ ##"
3010 ) | sed "s/^/$as_me: WARNING: /" >&2
3012 esac
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3014 $as_echo_n "checking for $2... " >&6; }
3015 if eval \${$3+:} false; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 eval "$3=\$ac_header_compiler"
3020 eval ac_res=\$$3
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3022 $as_echo "$ac_res" >&6; }
3024 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3026 } # ac_fn_c_check_header_mongrel
3028 # ac_fn_c_try_run LINENO
3029 # ----------------------
3030 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3031 # that executables *can* be run.
3032 ac_fn_c_try_run ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 if { { ac_try="$ac_link"
3036 case "(($ac_try" in
3037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3039 esac
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_link") 2>&5
3043 ac_status=$?
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3046 { { case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_try") 2>&5
3053 ac_status=$?
3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055 test $ac_status = 0; }; }; then :
3056 ac_retval=0
3057 else
3058 $as_echo "$as_me: program exited with status $ac_status" >&5
3059 $as_echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 ac_retval=$ac_status
3064 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_c_try_run
3070 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3071 # -------------------------------------------------------
3072 # Tests whether HEADER exists and can be compiled using the include files in
3073 # INCLUDES, setting the cache variable VAR accordingly.
3074 ac_fn_c_check_header_compile ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080 $as_echo_n "(cached) " >&6
3081 else
3082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3083 /* end confdefs.h. */
3085 #include <$2>
3086 _ACEOF
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 eval "$3=yes"
3089 else
3090 eval "$3=no"
3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094 eval ac_res=\$$3
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3096 $as_echo "$ac_res" >&6; }
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3099 } # ac_fn_c_check_header_compile
3101 # ac_fn_objc_try_compile LINENO
3102 # -----------------------------
3103 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3104 ac_fn_objc_try_compile ()
3106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3107 rm -f conftest.$ac_objext
3108 if { { ac_try="$ac_compile"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114 $as_echo "$ac_try_echo"; } >&5
3115 (eval "$ac_compile") 2>conftest.err
3116 ac_status=$?
3117 if test -s conftest.err; then
3118 grep -v '^ *+' conftest.err >conftest.er1
3119 cat conftest.er1 >&5
3120 mv -f conftest.er1 conftest.err
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; } && {
3124 test -z "$ac_objc_werror_flag" ||
3125 test ! -s conftest.err
3126 } && test -s conftest.$ac_objext; then :
3127 ac_retval=0
3128 else
3129 $as_echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3132 ac_retval=1
3134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 as_fn_set_status $ac_retval
3137 } # ac_fn_objc_try_compile
3139 # ac_fn_objc_try_cpp LINENO
3140 # -------------------------
3141 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3142 ac_fn_objc_try_cpp ()
3144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3145 if { { ac_try="$ac_cpp conftest.$ac_ext"
3146 case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149 esac
3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151 $as_echo "$ac_try_echo"; } >&5
3152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3153 ac_status=$?
3154 if test -s conftest.err; then
3155 grep -v '^ *+' conftest.err >conftest.er1
3156 cat conftest.er1 >&5
3157 mv -f conftest.er1 conftest.err
3159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160 test $ac_status = 0; } > conftest.i && {
3161 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3162 test ! -s conftest.err
3163 }; then :
3164 ac_retval=0
3165 else
3166 $as_echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3169 ac_retval=1
3171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3172 as_fn_set_status $ac_retval
3174 } # ac_fn_objc_try_cpp
3176 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3177 # ----------------------------------------------------------
3178 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3179 # the include files in INCLUDES and setting the cache variable VAR
3180 # accordingly.
3181 ac_fn_objc_check_header_mongrel ()
3183 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3184 if eval \${$3+:} false; then :
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3186 $as_echo_n "checking for $2... " >&6; }
3187 if eval \${$3+:} false; then :
3188 $as_echo_n "(cached) " >&6
3190 eval ac_res=\$$3
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3192 $as_echo "$ac_res" >&6; }
3193 else
3194 # Is the header compilable?
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3196 $as_echo_n "checking $2 usability... " >&6; }
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3200 #include <$2>
3201 _ACEOF
3202 if ac_fn_objc_try_compile "$LINENO"; then :
3203 ac_header_compiler=yes
3204 else
3205 ac_header_compiler=no
3207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3209 $as_echo "$ac_header_compiler" >&6; }
3211 # Is the header present?
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3213 $as_echo_n "checking $2 presence... " >&6; }
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3216 #include <$2>
3217 _ACEOF
3218 if ac_fn_objc_try_cpp "$LINENO"; then :
3219 ac_header_preproc=yes
3220 else
3221 ac_header_preproc=no
3223 rm -f conftest.err conftest.i conftest.$ac_ext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3225 $as_echo "$ac_header_preproc" >&6; }
3227 # So? What about this header?
3228 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3229 yes:no: )
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3231 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3233 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3235 no:yes:* )
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3237 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3239 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3241 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3243 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3245 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3246 ( $as_echo "## ------------------------------------ ##
3247 ## Report this to wine-devel@winehq.org ##
3248 ## ------------------------------------ ##"
3249 ) | sed "s/^/$as_me: WARNING: /" >&2
3251 esac
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3253 $as_echo_n "checking for $2... " >&6; }
3254 if eval \${$3+:} false; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 eval "$3=\$ac_header_compiler"
3259 eval ac_res=\$$3
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3261 $as_echo "$ac_res" >&6; }
3263 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3265 } # ac_fn_objc_check_header_mongrel
3267 # ac_fn_c_check_func LINENO FUNC VAR
3268 # ----------------------------------
3269 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3270 ac_fn_c_check_func ()
3272 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3274 $as_echo_n "checking for $2... " >&6; }
3275 if eval \${$3+:} false; then :
3276 $as_echo_n "(cached) " >&6
3277 else
3278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3279 /* end confdefs.h. */
3280 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3282 #define $2 innocuous_$2
3284 /* System header to define __stub macros and hopefully few prototypes,
3285 which can conflict with char $2 (); below.
3286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3287 <limits.h> exists even on freestanding compilers. */
3289 #ifdef __STDC__
3290 # include <limits.h>
3291 #else
3292 # include <assert.h>
3293 #endif
3295 #undef $2
3297 /* Override any GCC internal prototype to avoid an error.
3298 Use char because int might match the return type of a GCC
3299 builtin and then its argument prototype would still apply. */
3300 #ifdef __cplusplus
3301 extern "C"
3302 #endif
3303 char $2 ();
3304 /* The GNU C library defines this for functions which it implements
3305 to always fail with ENOSYS. Some functions are actually named
3306 something starting with __ and the normal name is an alias. */
3307 #if defined __stub_$2 || defined __stub___$2
3308 choke me
3309 #endif
3312 main ()
3314 return $2 ();
3316 return 0;
3318 _ACEOF
3319 if ac_fn_c_try_link "$LINENO"; then :
3320 eval "$3=yes"
3321 else
3322 eval "$3=no"
3324 rm -f core conftest.err conftest.$ac_objext \
3325 conftest$ac_exeext conftest.$ac_ext
3327 eval ac_res=\$$3
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3329 $as_echo "$ac_res" >&6; }
3330 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3332 } # ac_fn_c_check_func
3334 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3335 # ----------------------------------------------------
3336 # Tries to find if the field MEMBER exists in type AGGR, after including
3337 # INCLUDES, setting cache variable VAR accordingly.
3338 ac_fn_c_check_member ()
3340 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3342 $as_echo_n "checking for $2.$3... " >&6; }
3343 if eval \${$4+:} false; then :
3344 $as_echo_n "(cached) " >&6
3345 else
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3350 main ()
3352 static $2 ac_aggr;
3353 if (ac_aggr.$3)
3354 return 0;
3356 return 0;
3358 _ACEOF
3359 if ac_fn_c_try_compile "$LINENO"; then :
3360 eval "$4=yes"
3361 else
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3366 main ()
3368 static $2 ac_aggr;
3369 if (sizeof ac_aggr.$3)
3370 return 0;
3372 return 0;
3374 _ACEOF
3375 if ac_fn_c_try_compile "$LINENO"; then :
3376 eval "$4=yes"
3377 else
3378 eval "$4=no"
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3384 eval ac_res=\$$4
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3386 $as_echo "$ac_res" >&6; }
3387 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3389 } # ac_fn_c_check_member
3391 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3392 # -------------------------------------------
3393 # Tests whether TYPE exists after having included INCLUDES, setting cache
3394 # variable VAR accordingly.
3395 ac_fn_c_check_type ()
3397 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3399 $as_echo_n "checking for $2... " >&6; }
3400 if eval \${$3+:} false; then :
3401 $as_echo_n "(cached) " >&6
3402 else
3403 eval "$3=no"
3404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3405 /* end confdefs.h. */
3408 main ()
3410 if (sizeof ($2))
3411 return 0;
3413 return 0;
3415 _ACEOF
3416 if ac_fn_c_try_compile "$LINENO"; then :
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3421 main ()
3423 if (sizeof (($2)))
3424 return 0;
3426 return 0;
3428 _ACEOF
3429 if ac_fn_c_try_compile "$LINENO"; then :
3431 else
3432 eval "$3=yes"
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438 eval ac_res=\$$3
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3440 $as_echo "$ac_res" >&6; }
3441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3443 } # ac_fn_c_check_type
3444 cat >config.log <<_ACEOF
3445 This file contains any messages produced by compilers while
3446 running configure, to aid debugging if configure makes a mistake.
3448 It was created by Wine $as_me 4.21, which was
3449 generated by GNU Autoconf 2.69. Invocation command line was
3451 $ $0 $@
3453 _ACEOF
3454 exec 5>>config.log
3456 cat <<_ASUNAME
3457 ## --------- ##
3458 ## Platform. ##
3459 ## --------- ##
3461 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3462 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3463 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3464 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3465 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3467 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3468 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3470 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3471 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3472 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3473 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3474 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3475 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3476 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3478 _ASUNAME
3480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 for as_dir in $PATH
3483 IFS=$as_save_IFS
3484 test -z "$as_dir" && as_dir=.
3485 $as_echo "PATH: $as_dir"
3486 done
3487 IFS=$as_save_IFS
3489 } >&5
3491 cat >&5 <<_ACEOF
3494 ## ----------- ##
3495 ## Core tests. ##
3496 ## ----------- ##
3498 _ACEOF
3501 # Keep a trace of the command line.
3502 # Strip out --no-create and --no-recursion so they do not pile up.
3503 # Strip out --silent because we don't want to record it for future runs.
3504 # Also quote any args containing shell meta-characters.
3505 # Make two passes to allow for proper duplicate-argument suppression.
3506 ac_configure_args=
3507 ac_configure_args0=
3508 ac_configure_args1=
3509 ac_must_keep_next=false
3510 for ac_pass in 1 2
3512 for ac_arg
3514 case $ac_arg in
3515 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3516 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3517 | -silent | --silent | --silen | --sile | --sil)
3518 continue ;;
3519 *\'*)
3520 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3521 esac
3522 case $ac_pass in
3523 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3525 as_fn_append ac_configure_args1 " '$ac_arg'"
3526 if test $ac_must_keep_next = true; then
3527 ac_must_keep_next=false # Got value, back to normal.
3528 else
3529 case $ac_arg in
3530 *=* | --config-cache | -C | -disable-* | --disable-* \
3531 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3532 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3533 | -with-* | --with-* | -without-* | --without-* | --x)
3534 case "$ac_configure_args0 " in
3535 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3536 esac
3538 -* ) ac_must_keep_next=true ;;
3539 esac
3541 as_fn_append ac_configure_args " '$ac_arg'"
3543 esac
3544 done
3545 done
3546 { ac_configure_args0=; unset ac_configure_args0;}
3547 { ac_configure_args1=; unset ac_configure_args1;}
3549 # When interrupted or exit'd, cleanup temporary files, and complete
3550 # config.log. We remove comments because anyway the quotes in there
3551 # would cause problems or look ugly.
3552 # WARNING: Use '\'' to represent an apostrophe within the trap.
3553 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3554 trap 'exit_status=$?
3555 # Save into config.log some information that might help in debugging.
3557 echo
3559 $as_echo "## ---------------- ##
3560 ## Cache variables. ##
3561 ## ---------------- ##"
3562 echo
3563 # The following way of writing the cache mishandles newlines in values,
3565 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3566 eval ac_val=\$$ac_var
3567 case $ac_val in #(
3568 *${as_nl}*)
3569 case $ac_var in #(
3570 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3571 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3572 esac
3573 case $ac_var in #(
3574 _ | IFS | as_nl) ;; #(
3575 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3576 *) { eval $ac_var=; unset $ac_var;} ;;
3577 esac ;;
3578 esac
3579 done
3580 (set) 2>&1 |
3581 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3582 *${as_nl}ac_space=\ *)
3583 sed -n \
3584 "s/'\''/'\''\\\\'\'''\''/g;
3585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3586 ;; #(
3588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3590 esac |
3591 sort
3593 echo
3595 $as_echo "## ----------------- ##
3596 ## Output variables. ##
3597 ## ----------------- ##"
3598 echo
3599 for ac_var in $ac_subst_vars
3601 eval ac_val=\$$ac_var
3602 case $ac_val in
3603 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3604 esac
3605 $as_echo "$ac_var='\''$ac_val'\''"
3606 done | sort
3607 echo
3609 if test -n "$ac_subst_files"; then
3610 $as_echo "## ------------------- ##
3611 ## File substitutions. ##
3612 ## ------------------- ##"
3613 echo
3614 for ac_var in $ac_subst_files
3616 eval ac_val=\$$ac_var
3617 case $ac_val in
3618 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3619 esac
3620 $as_echo "$ac_var='\''$ac_val'\''"
3621 done | sort
3622 echo
3625 if test -s confdefs.h; then
3626 $as_echo "## ----------- ##
3627 ## confdefs.h. ##
3628 ## ----------- ##"
3629 echo
3630 cat confdefs.h
3631 echo
3633 test "$ac_signal" != 0 &&
3634 $as_echo "$as_me: caught signal $ac_signal"
3635 $as_echo "$as_me: exit $exit_status"
3636 } >&5
3637 rm -f core *.core core.conftest.* &&
3638 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3639 exit $exit_status
3641 for ac_signal in 1 2 13 15; do
3642 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3643 done
3644 ac_signal=0
3646 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3647 rm -f -r conftest* confdefs.h
3649 $as_echo "/* confdefs.h */" > confdefs.h
3651 # Predefined preprocessor variables.
3653 cat >>confdefs.h <<_ACEOF
3654 #define PACKAGE_NAME "$PACKAGE_NAME"
3655 _ACEOF
3657 cat >>confdefs.h <<_ACEOF
3658 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3659 _ACEOF
3661 cat >>confdefs.h <<_ACEOF
3662 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3663 _ACEOF
3665 cat >>confdefs.h <<_ACEOF
3666 #define PACKAGE_STRING "$PACKAGE_STRING"
3667 _ACEOF
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3671 _ACEOF
3673 cat >>confdefs.h <<_ACEOF
3674 #define PACKAGE_URL "$PACKAGE_URL"
3675 _ACEOF
3678 # Let the site file select an alternate cache file if it wants to.
3679 # Prefer an explicitly selected file to automatically selected ones.
3680 ac_site_file1=NONE
3681 ac_site_file2=NONE
3682 if test -n "$CONFIG_SITE"; then
3683 # We do not want a PATH search for config.site.
3684 case $CONFIG_SITE in #((
3685 -*) ac_site_file1=./$CONFIG_SITE;;
3686 */*) ac_site_file1=$CONFIG_SITE;;
3687 *) ac_site_file1=./$CONFIG_SITE;;
3688 esac
3689 elif test "x$prefix" != xNONE; then
3690 ac_site_file1=$prefix/share/config.site
3691 ac_site_file2=$prefix/etc/config.site
3692 else
3693 ac_site_file1=$ac_default_prefix/share/config.site
3694 ac_site_file2=$ac_default_prefix/etc/config.site
3696 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3698 test "x$ac_site_file" = xNONE && continue
3699 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3701 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3702 sed 's/^/| /' "$ac_site_file" >&5
3703 . "$ac_site_file" \
3704 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error $? "failed to load site script $ac_site_file
3707 See \`config.log' for more details" "$LINENO" 5; }
3709 done
3711 if test -r "$cache_file"; then
3712 # Some versions of bash will fail to source /dev/null (special files
3713 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3714 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3716 $as_echo "$as_me: loading cache $cache_file" >&6;}
3717 case $cache_file in
3718 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3719 *) . "./$cache_file";;
3720 esac
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3724 $as_echo "$as_me: creating cache $cache_file" >&6;}
3725 >$cache_file
3728 # Check that the precious variables saved in the cache have kept the same
3729 # value.
3730 ac_cache_corrupted=false
3731 for ac_var in $ac_precious_vars; do
3732 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3733 eval ac_new_set=\$ac_env_${ac_var}_set
3734 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3735 eval ac_new_val=\$ac_env_${ac_var}_value
3736 case $ac_old_set,$ac_new_set in
3737 set,)
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3739 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3740 ac_cache_corrupted=: ;;
3741 ,set)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3743 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3744 ac_cache_corrupted=: ;;
3745 ,);;
3747 if test "x$ac_old_val" != "x$ac_new_val"; then
3748 # differences in whitespace do not lead to failure.
3749 ac_old_val_w=`echo x $ac_old_val`
3750 ac_new_val_w=`echo x $ac_new_val`
3751 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3753 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3754 ac_cache_corrupted=:
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3757 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3758 eval $ac_var=\$ac_old_val
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3761 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3763 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3764 fi;;
3765 esac
3766 # Pass precious variables to config.status.
3767 if test "$ac_new_set" = set; then
3768 case $ac_new_val in
3769 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3770 *) ac_arg=$ac_var=$ac_new_val ;;
3771 esac
3772 case " $ac_configure_args " in
3773 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3774 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3775 esac
3777 done
3778 if $ac_cache_corrupted; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3782 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3783 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3785 ## -------------------- ##
3786 ## Main body of script. ##
3787 ## -------------------- ##
3789 ac_ext=c
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3797 ac_config_headers="$ac_config_headers include/config.h"
3799 ac_aux_dir=
3800 for ac_dir in tools "$srcdir"/tools; do
3801 if test -f "$ac_dir/install-sh"; then
3802 ac_aux_dir=$ac_dir
3803 ac_install_sh="$ac_aux_dir/install-sh -c"
3804 break
3805 elif test -f "$ac_dir/install.sh"; then
3806 ac_aux_dir=$ac_dir
3807 ac_install_sh="$ac_aux_dir/install.sh -c"
3808 break
3809 elif test -f "$ac_dir/shtool"; then
3810 ac_aux_dir=$ac_dir
3811 ac_install_sh="$ac_aux_dir/shtool install -c"
3812 break
3814 done
3815 if test -z "$ac_aux_dir"; then
3816 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3819 # These three variables are undocumented and unsupported,
3820 # and are intended to be withdrawn in a future Autoconf release.
3821 # They can cause serious problems if a builder's source tree is in a directory
3822 # whose full name contains unusual characters.
3823 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3824 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3825 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3829 libwine_version="1.0"
3833 # Check whether --enable-win16 was given.
3834 if test "${enable_win16+set}" = set; then :
3835 enableval=$enable_win16;
3838 # Check whether --enable-win64 was given.
3839 if test "${enable_win64+set}" = set; then :
3840 enableval=$enable_win64;
3843 # Check whether --enable-tests was given.
3844 if test "${enable_tests+set}" = set; then :
3845 enableval=$enable_tests;
3848 # Check whether --enable-maintainer-mode was given.
3849 if test "${enable_maintainer_mode+set}" = set; then :
3850 enableval=$enable_maintainer_mode;
3855 # Check whether --with-alsa was given.
3856 if test "${with_alsa+set}" = set; then :
3857 withval=$with_alsa;
3861 # Check whether --with-capi was given.
3862 if test "${with_capi+set}" = set; then :
3863 withval=$with_capi;
3867 # Check whether --with-cms was given.
3868 if test "${with_cms+set}" = set; then :
3869 withval=$with_cms;
3873 # Check whether --with-coreaudio was given.
3874 if test "${with_coreaudio+set}" = set; then :
3875 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3879 # Check whether --with-cups was given.
3880 if test "${with_cups+set}" = set; then :
3881 withval=$with_cups;
3885 # Check whether --with-curses was given.
3886 if test "${with_curses+set}" = set; then :
3887 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3891 # Check whether --with-dbus was given.
3892 if test "${with_dbus+set}" = set; then :
3893 withval=$with_dbus;
3897 # Check whether --with-faudio was given.
3898 if test "${with_faudio+set}" = set; then :
3899 withval=$with_faudio;
3903 # Check whether --with-float-abi was given.
3904 if test "${with_float_abi+set}" = set; then :
3905 withval=$with_float_abi;
3909 # Check whether --with-fontconfig was given.
3910 if test "${with_fontconfig+set}" = set; then :
3911 withval=$with_fontconfig;
3915 # Check whether --with-freetype was given.
3916 if test "${with_freetype+set}" = set; then :
3917 withval=$with_freetype;
3921 # Check whether --with-gettext was given.
3922 if test "${with_gettext+set}" = set; then :
3923 withval=$with_gettext;
3927 # Check whether --with-gettextpo was given.
3928 if test "${with_gettextpo+set}" = set; then :
3929 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3933 # Check whether --with-gphoto was given.
3934 if test "${with_gphoto+set}" = set; then :
3935 withval=$with_gphoto;
3939 # Check whether --with-glu was given.
3940 if test "${with_glu+set}" = set; then :
3941 withval=$with_glu;
3945 # Check whether --with-gnutls was given.
3946 if test "${with_gnutls+set}" = set; then :
3947 withval=$with_gnutls;
3951 # Check whether --with-gsm was given.
3952 if test "${with_gsm+set}" = set; then :
3953 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3957 # Check whether --with-gssapi was given.
3958 if test "${with_gssapi+set}" = set; then :
3959 withval=$with_gssapi;
3963 # Check whether --with-gstreamer was given.
3964 if test "${with_gstreamer+set}" = set; then :
3965 withval=$with_gstreamer;
3969 # Check whether --with-hal was given.
3970 if test "${with_hal+set}" = set; then :
3971 withval=$with_hal;
3975 # Check whether --with-inotify was given.
3976 if test "${with_inotify+set}" = set; then :
3977 withval=$with_inotify;
3981 # Check whether --with-jpeg was given.
3982 if test "${with_jpeg+set}" = set; then :
3983 withval=$with_jpeg;
3987 # Check whether --with-krb5 was given.
3988 if test "${with_krb5+set}" = set; then :
3989 withval=$with_krb5;
3993 # Check whether --with-ldap was given.
3994 if test "${with_ldap+set}" = set; then :
3995 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3999 # Check whether --with-mingw was given.
4000 if test "${with_mingw+set}" = set; then :
4001 withval=$with_mingw;
4005 # Check whether --with-mpg123 was given.
4006 if test "${with_mpg123+set}" = set; then :
4007 withval=$with_mpg123;
4011 # Check whether --with-netapi was given.
4012 if test "${with_netapi+set}" = set; then :
4013 withval=$with_netapi;
4017 # Check whether --with-openal was given.
4018 if test "${with_openal+set}" = set; then :
4019 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4023 # Check whether --with-opencl was given.
4024 if test "${with_opencl+set}" = set; then :
4025 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4029 # Check whether --with-opengl was given.
4030 if test "${with_opengl+set}" = set; then :
4031 withval=$with_opengl;
4035 # Check whether --with-osmesa was given.
4036 if test "${with_osmesa+set}" = set; then :
4037 withval=$with_osmesa;
4041 # Check whether --with-oss was given.
4042 if test "${with_oss+set}" = set; then :
4043 withval=$with_oss;
4047 # Check whether --with-pcap was given.
4048 if test "${with_pcap+set}" = set; then :
4049 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4053 # Check whether --with-png was given.
4054 if test "${with_png+set}" = set; then :
4055 withval=$with_png;
4059 # Check whether --with-pthread was given.
4060 if test "${with_pthread+set}" = set; then :
4061 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4065 # Check whether --with-pulse was given.
4066 if test "${with_pulse+set}" = set; then :
4067 withval=$with_pulse;
4071 # Check whether --with-sane was given.
4072 if test "${with_sane+set}" = set; then :
4073 withval=$with_sane;
4077 # Check whether --with-sdl was given.
4078 if test "${with_sdl+set}" = set; then :
4079 withval=$with_sdl;
4083 # Check whether --with-tiff was given.
4084 if test "${with_tiff+set}" = set; then :
4085 withval=$with_tiff;
4089 # Check whether --with-udev was given.
4090 if test "${with_udev+set}" = set; then :
4091 withval=$with_udev;
4095 # Check whether --with-unwind was given.
4096 if test "${with_unwind+set}" = set; then :
4097 withval=$with_unwind;
4101 # Check whether --with-v4l2 was given.
4102 if test "${with_v4l2+set}" = set; then :
4103 withval=$with_v4l2;
4107 # Check whether --with-vkd3d was given.
4108 if test "${with_vkd3d+set}" = set; then :
4109 withval=$with_vkd3d;
4113 # Check whether --with-vulkan was given.
4114 if test "${with_vulkan+set}" = set; then :
4115 withval=$with_vulkan;
4119 # Check whether --with-xcomposite was given.
4120 if test "${with_xcomposite+set}" = set; then :
4121 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4125 # Check whether --with-xcursor was given.
4126 if test "${with_xcursor+set}" = set; then :
4127 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4131 # Check whether --with-xfixes was given.
4132 if test "${with_xfixes+set}" = set; then :
4133 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4137 # Check whether --with-xinerama was given.
4138 if test "${with_xinerama+set}" = set; then :
4139 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4143 # Check whether --with-xinput was given.
4144 if test "${with_xinput+set}" = set; then :
4145 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4149 # Check whether --with-xinput2 was given.
4150 if test "${with_xinput2+set}" = set; then :
4151 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4155 # Check whether --with-xml was given.
4156 if test "${with_xml+set}" = set; then :
4157 withval=$with_xml;
4161 # Check whether --with-xrandr was given.
4162 if test "${with_xrandr+set}" = set; then :
4163 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4167 # Check whether --with-xrender was given.
4168 if test "${with_xrender+set}" = set; then :
4169 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4173 # Check whether --with-xshape was given.
4174 if test "${with_xshape+set}" = set; then :
4175 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4179 # Check whether --with-xshm was given.
4180 if test "${with_xshm+set}" = set; then :
4181 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4185 # Check whether --with-xslt was given.
4186 if test "${with_xslt+set}" = set; then :
4187 withval=$with_xslt;
4191 # Check whether --with-xxf86vm was given.
4192 if test "${with_xxf86vm+set}" = set; then :
4193 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
4197 # Check whether --with-zlib was given.
4198 if test "${with_zlib+set}" = set; then :
4199 withval=$with_zlib;
4204 # Check whether --with-wine-tools was given.
4205 if test "${with_wine_tools+set}" = set; then :
4206 withval=$with_wine_tools;
4210 # Check whether --with-wine64 was given.
4211 if test "${with_wine64+set}" = set; then :
4212 withval=$with_wine64;
4216 # Make sure we can run config.sub.
4217 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4218 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4221 $as_echo_n "checking build system type... " >&6; }
4222 if ${ac_cv_build+:} false; then :
4223 $as_echo_n "(cached) " >&6
4224 else
4225 ac_build_alias=$build_alias
4226 test "x$ac_build_alias" = x &&
4227 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4228 test "x$ac_build_alias" = x &&
4229 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4230 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4231 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4235 $as_echo "$ac_cv_build" >&6; }
4236 case $ac_cv_build in
4237 *-*-*) ;;
4238 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4239 esac
4240 build=$ac_cv_build
4241 ac_save_IFS=$IFS; IFS='-'
4242 set x $ac_cv_build
4243 shift
4244 build_cpu=$1
4245 build_vendor=$2
4246 shift; shift
4247 # Remember, the first character of IFS is used to create $*,
4248 # except with old shells:
4249 build_os=$*
4250 IFS=$ac_save_IFS
4251 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4255 $as_echo_n "checking host system type... " >&6; }
4256 if ${ac_cv_host+:} false; then :
4257 $as_echo_n "(cached) " >&6
4258 else
4259 if test "x$host_alias" = x; then
4260 ac_cv_host=$ac_cv_build
4261 else
4262 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4263 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4268 $as_echo "$ac_cv_host" >&6; }
4269 case $ac_cv_host in
4270 *-*-*) ;;
4271 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4272 esac
4273 host=$ac_cv_host
4274 ac_save_IFS=$IFS; IFS='-'
4275 set x $ac_cv_host
4276 shift
4277 host_cpu=$1
4278 host_vendor=$2
4279 shift; shift
4280 # Remember, the first character of IFS is used to create $*,
4281 # except with old shells:
4282 host_os=$*
4283 IFS=$ac_save_IFS
4284 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4288 case "$srcdir" in
4289 .) ;;
4290 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4291 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4292 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4293 fi ;;
4294 esac
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4298 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4299 set x ${MAKE-make}
4300 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4301 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4302 $as_echo_n "(cached) " >&6
4303 else
4304 cat >conftest.make <<\_ACEOF
4305 SHELL = /bin/sh
4306 all:
4307 @echo '@@@%%%=$(MAKE)=@@@%%%'
4308 _ACEOF
4309 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4310 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4311 *@@@%%%=?*=@@@%%%*)
4312 eval ac_cv_prog_make_${ac_make}_set=yes;;
4314 eval ac_cv_prog_make_${ac_make}_set=no;;
4315 esac
4316 rm -f conftest.make
4318 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4320 $as_echo "yes" >&6; }
4321 SET_MAKE=
4322 else
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4325 SET_MAKE="MAKE=${MAKE-make}"
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333 if test -n "$ac_tool_prefix"; then
4334 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4335 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4337 $as_echo_n "checking for $ac_word... " >&6; }
4338 if ${ac_cv_prog_CC+:} false; then :
4339 $as_echo_n "(cached) " >&6
4340 else
4341 if test -n "$CC"; then
4342 ac_cv_prog_CC="$CC" # Let the user override the test.
4343 else
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH
4347 IFS=$as_save_IFS
4348 test -z "$as_dir" && as_dir=.
4349 for ac_exec_ext in '' $ac_executable_extensions; do
4350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4351 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 break 2
4355 done
4356 done
4357 IFS=$as_save_IFS
4361 CC=$ac_cv_prog_CC
4362 if test -n "$CC"; then
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4364 $as_echo "$CC" >&6; }
4365 else
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4367 $as_echo "no" >&6; }
4372 if test -z "$ac_cv_prog_CC"; then
4373 ac_ct_CC=$CC
4374 # Extract the first word of "gcc", so it can be a program name with args.
4375 set dummy gcc; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4379 $as_echo_n "(cached) " >&6
4380 else
4381 if test -n "$ac_ct_CC"; then
4382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4383 else
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4385 for as_dir in $PATH
4387 IFS=$as_save_IFS
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4391 ac_cv_prog_ac_ct_CC="gcc"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 break 2
4395 done
4396 done
4397 IFS=$as_save_IFS
4401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4402 if test -n "$ac_ct_CC"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4404 $as_echo "$ac_ct_CC" >&6; }
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4410 if test "x$ac_ct_CC" = x; then
4411 CC=""
4412 else
4413 case $cross_compiling:$ac_tool_warned in
4414 yes:)
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4417 ac_tool_warned=yes ;;
4418 esac
4419 CC=$ac_ct_CC
4421 else
4422 CC="$ac_cv_prog_CC"
4425 if test -z "$CC"; then
4426 if test -n "$ac_tool_prefix"; then
4427 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4428 set dummy ${ac_tool_prefix}cc; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_prog_CC+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 if test -n "$CC"; then
4435 ac_cv_prog_CC="$CC" # Let the user override the test.
4436 else
4437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH
4440 IFS=$as_save_IFS
4441 test -z "$as_dir" && as_dir=.
4442 for ac_exec_ext in '' $ac_executable_extensions; do
4443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444 ac_cv_prog_CC="${ac_tool_prefix}cc"
4445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 break 2
4448 done
4449 done
4450 IFS=$as_save_IFS
4454 CC=$ac_cv_prog_CC
4455 if test -n "$CC"; then
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4457 $as_echo "$CC" >&6; }
4458 else
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460 $as_echo "no" >&6; }
4466 if test -z "$CC"; then
4467 # Extract the first word of "cc", so it can be a program name with args.
4468 set dummy cc; ac_word=$2
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470 $as_echo_n "checking for $ac_word... " >&6; }
4471 if ${ac_cv_prog_CC+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 if test -n "$CC"; then
4475 ac_cv_prog_CC="$CC" # Let the user override the test.
4476 else
4477 ac_prog_rejected=no
4478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 for as_dir in $PATH
4481 IFS=$as_save_IFS
4482 test -z "$as_dir" && as_dir=.
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4485 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4486 ac_prog_rejected=yes
4487 continue
4489 ac_cv_prog_CC="cc"
4490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4491 break 2
4493 done
4494 done
4495 IFS=$as_save_IFS
4497 if test $ac_prog_rejected = yes; then
4498 # We found a bogon in the path, so make sure we never use it.
4499 set dummy $ac_cv_prog_CC
4500 shift
4501 if test $# != 0; then
4502 # We chose a different compiler from the bogus one.
4503 # However, it has the same basename, so the bogon will be chosen
4504 # first if we set CC to just the basename; use the full file name.
4505 shift
4506 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4511 CC=$ac_cv_prog_CC
4512 if test -n "$CC"; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4514 $as_echo "$CC" >&6; }
4515 else
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4517 $as_echo "no" >&6; }
4522 if test -z "$CC"; then
4523 if test -n "$ac_tool_prefix"; then
4524 for ac_prog in cl.exe
4526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4529 $as_echo_n "checking for $ac_word... " >&6; }
4530 if ${ac_cv_prog_CC+:} false; then :
4531 $as_echo_n "(cached) " >&6
4532 else
4533 if test -n "$CC"; then
4534 ac_cv_prog_CC="$CC" # Let the user override the test.
4535 else
4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 for as_dir in $PATH
4539 IFS=$as_save_IFS
4540 test -z "$as_dir" && as_dir=.
4541 for ac_exec_ext in '' $ac_executable_extensions; do
4542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4543 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 break 2
4547 done
4548 done
4549 IFS=$as_save_IFS
4553 CC=$ac_cv_prog_CC
4554 if test -n "$CC"; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4556 $as_echo "$CC" >&6; }
4557 else
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 $as_echo "no" >&6; }
4563 test -n "$CC" && break
4564 done
4566 if test -z "$CC"; then
4567 ac_ct_CC=$CC
4568 for ac_prog in cl.exe
4570 # Extract the first word of "$ac_prog", so it can be a program name with args.
4571 set dummy $ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4575 $as_echo_n "(cached) " >&6
4576 else
4577 if test -n "$ac_ct_CC"; then
4578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4583 IFS=$as_save_IFS
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_prog_ac_ct_CC="$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 break 2
4591 done
4592 done
4593 IFS=$as_save_IFS
4597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4598 if test -n "$ac_ct_CC"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4600 $as_echo "$ac_ct_CC" >&6; }
4601 else
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$ac_ct_CC" && break
4608 done
4610 if test "x$ac_ct_CC" = x; then
4611 CC=""
4612 else
4613 case $cross_compiling:$ac_tool_warned in
4614 yes:)
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4617 ac_tool_warned=yes ;;
4618 esac
4619 CC=$ac_ct_CC
4626 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4628 as_fn_error $? "no acceptable C compiler found in \$PATH
4629 See \`config.log' for more details" "$LINENO" 5; }
4631 # Provide some information about the compiler.
4632 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4633 set X $ac_compile
4634 ac_compiler=$2
4635 for ac_option in --version -v -V -qversion; do
4636 { { ac_try="$ac_compiler $ac_option >&5"
4637 case "(($ac_try" in
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4640 esac
4641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4642 $as_echo "$ac_try_echo"; } >&5
4643 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4644 ac_status=$?
4645 if test -s conftest.err; then
4646 sed '10a\
4647 ... rest of stderr output deleted ...
4648 10q' conftest.err >conftest.er1
4649 cat conftest.er1 >&5
4651 rm -f conftest.er1 conftest.err
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }
4654 done
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 ac_clean_files_save=$ac_clean_files
4668 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4669 # Try to create an executable without -o first, disregard a.out.
4670 # It will help us diagnose broken compilers, and finding out an intuition
4671 # of exeext.
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4673 $as_echo_n "checking whether the C compiler works... " >&6; }
4674 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4676 # The possible output files:
4677 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4679 ac_rmfiles=
4680 for ac_file in $ac_files
4682 case $ac_file in
4683 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4684 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4685 esac
4686 done
4687 rm -f $ac_rmfiles
4689 if { { ac_try="$ac_link_default"
4690 case "(($ac_try" in
4691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4692 *) ac_try_echo=$ac_try;;
4693 esac
4694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4695 $as_echo "$ac_try_echo"; } >&5
4696 (eval "$ac_link_default") 2>&5
4697 ac_status=$?
4698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4699 test $ac_status = 0; }; then :
4700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4703 # so that the user can short-circuit this test for compilers unknown to
4704 # Autoconf.
4705 for ac_file in $ac_files ''
4707 test -f "$ac_file" || continue
4708 case $ac_file in
4709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4711 [ab].out )
4712 # We found the default executable, but exeext='' is most
4713 # certainly right.
4714 break;;
4715 *.* )
4716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4717 then :; else
4718 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4720 # We set ac_cv_exeext here because the later test for it is not
4721 # safe: cross compilers may not add the suffix if given an `-o'
4722 # argument, so we may need to know it at that point already.
4723 # Even if this section looks crufty: it has the advantage of
4724 # actually working.
4725 break;;
4727 break;;
4728 esac
4729 done
4730 test "$ac_cv_exeext" = no && ac_cv_exeext=
4732 else
4733 ac_file=''
4735 if test -z "$ac_file"; then :
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737 $as_echo "no" >&6; }
4738 $as_echo "$as_me: failed program was:" >&5
4739 sed 's/^/| /' conftest.$ac_ext >&5
4741 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4743 as_fn_error 77 "C compiler cannot create executables
4744 See \`config.log' for more details" "$LINENO" 5; }
4745 else
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4747 $as_echo "yes" >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4750 $as_echo_n "checking for C compiler default output file name... " >&6; }
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4752 $as_echo "$ac_file" >&6; }
4753 ac_exeext=$ac_cv_exeext
4755 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4756 ac_clean_files=$ac_clean_files_save
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4758 $as_echo_n "checking for suffix of executables... " >&6; }
4759 if { { ac_try="$ac_link"
4760 case "(($ac_try" in
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4763 esac
4764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4765 $as_echo "$ac_try_echo"; } >&5
4766 (eval "$ac_link") 2>&5
4767 ac_status=$?
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }; then :
4770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4772 # work properly (i.e., refer to `conftest.exe'), while it won't with
4773 # `rm'.
4774 for ac_file in conftest.exe conftest conftest.*; do
4775 test -f "$ac_file" || continue
4776 case $ac_file in
4777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4779 break;;
4780 * ) break;;
4781 esac
4782 done
4783 else
4784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4786 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4787 See \`config.log' for more details" "$LINENO" 5; }
4789 rm -f conftest conftest$ac_cv_exeext
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4791 $as_echo "$ac_cv_exeext" >&6; }
4793 rm -f conftest.$ac_ext
4794 EXEEXT=$ac_cv_exeext
4795 ac_exeext=$EXEEXT
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4798 #include <stdio.h>
4800 main ()
4802 FILE *f = fopen ("conftest.out", "w");
4803 return ferror (f) || fclose (f) != 0;
4806 return 0;
4808 _ACEOF
4809 ac_clean_files="$ac_clean_files conftest.out"
4810 # Check that the compiler produces executables we can run. If not, either
4811 # the compiler is broken, or we cross compile.
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4813 $as_echo_n "checking whether we are cross compiling... " >&6; }
4814 if test "$cross_compiling" != yes; then
4815 { { ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4821 $as_echo "$ac_try_echo"; } >&5
4822 (eval "$ac_link") 2>&5
4823 ac_status=$?
4824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4825 test $ac_status = 0; }
4826 if { ac_try='./conftest$ac_cv_exeext'
4827 { { case "(($ac_try" in
4828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4829 *) ac_try_echo=$ac_try;;
4830 esac
4831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4832 $as_echo "$ac_try_echo"; } >&5
4833 (eval "$ac_try") 2>&5
4834 ac_status=$?
4835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4836 test $ac_status = 0; }; }; then
4837 cross_compiling=no
4838 else
4839 if test "$cross_compiling" = maybe; then
4840 cross_compiling=yes
4841 else
4842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4844 as_fn_error $? "cannot run C compiled programs.
4845 If you meant to cross compile, use \`--host'.
4846 See \`config.log' for more details" "$LINENO" 5; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4851 $as_echo "$cross_compiling" >&6; }
4853 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4854 ac_clean_files=$ac_clean_files_save
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4856 $as_echo_n "checking for suffix of object files... " >&6; }
4857 if ${ac_cv_objext+:} false; then :
4858 $as_echo_n "(cached) " >&6
4859 else
4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4861 /* end confdefs.h. */
4864 main ()
4868 return 0;
4870 _ACEOF
4871 rm -f conftest.o conftest.obj
4872 if { { ac_try="$ac_compile"
4873 case "(($ac_try" in
4874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4875 *) ac_try_echo=$ac_try;;
4876 esac
4877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4878 $as_echo "$ac_try_echo"; } >&5
4879 (eval "$ac_compile") 2>&5
4880 ac_status=$?
4881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4882 test $ac_status = 0; }; then :
4883 for ac_file in conftest.o conftest.obj conftest.*; do
4884 test -f "$ac_file" || continue;
4885 case $ac_file in
4886 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4887 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4888 break;;
4889 esac
4890 done
4891 else
4892 $as_echo "$as_me: failed program was:" >&5
4893 sed 's/^/| /' conftest.$ac_ext >&5
4895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4896 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4897 as_fn_error $? "cannot compute suffix of object files: cannot compile
4898 See \`config.log' for more details" "$LINENO" 5; }
4900 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4903 $as_echo "$ac_cv_objext" >&6; }
4904 OBJEXT=$ac_cv_objext
4905 ac_objext=$OBJEXT
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4907 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4908 if ${ac_cv_c_compiler_gnu+:} false; then :
4909 $as_echo_n "(cached) " >&6
4910 else
4911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4915 main ()
4917 #ifndef __GNUC__
4918 choke me
4919 #endif
4922 return 0;
4924 _ACEOF
4925 if ac_fn_c_try_compile "$LINENO"; then :
4926 ac_compiler_gnu=yes
4927 else
4928 ac_compiler_gnu=no
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4935 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4936 if test $ac_compiler_gnu = yes; then
4937 GCC=yes
4938 else
4939 GCC=
4941 ac_test_CFLAGS=${CFLAGS+set}
4942 ac_save_CFLAGS=$CFLAGS
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4944 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4945 if ${ac_cv_prog_cc_g+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 ac_save_c_werror_flag=$ac_c_werror_flag
4949 ac_c_werror_flag=yes
4950 ac_cv_prog_cc_g=no
4951 CFLAGS="-g"
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4956 main ()
4960 return 0;
4962 _ACEOF
4963 if ac_fn_c_try_compile "$LINENO"; then :
4964 ac_cv_prog_cc_g=yes
4965 else
4966 CFLAGS=""
4967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4971 main ()
4975 return 0;
4977 _ACEOF
4978 if ac_fn_c_try_compile "$LINENO"; then :
4980 else
4981 ac_c_werror_flag=$ac_save_c_werror_flag
4982 CFLAGS="-g"
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4987 main ()
4991 return 0;
4993 _ACEOF
4994 if ac_fn_c_try_compile "$LINENO"; then :
4995 ac_cv_prog_cc_g=yes
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 ac_c_werror_flag=$ac_save_c_werror_flag
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5005 $as_echo "$ac_cv_prog_cc_g" >&6; }
5006 if test "$ac_test_CFLAGS" = set; then
5007 CFLAGS=$ac_save_CFLAGS
5008 elif test $ac_cv_prog_cc_g = yes; then
5009 if test "$GCC" = yes; then
5010 CFLAGS="-g -O2"
5011 else
5012 CFLAGS="-g"
5014 else
5015 if test "$GCC" = yes; then
5016 CFLAGS="-O2"
5017 else
5018 CFLAGS=
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5022 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5023 if ${ac_cv_prog_cc_c89+:} false; then :
5024 $as_echo_n "(cached) " >&6
5025 else
5026 ac_cv_prog_cc_c89=no
5027 ac_save_CC=$CC
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #include <stdarg.h>
5031 #include <stdio.h>
5032 struct stat;
5033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5034 struct buf { int x; };
5035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5036 static char *e (p, i)
5037 char **p;
5038 int i;
5040 return p[i];
5042 static char *f (char * (*g) (char **, int), char **p, ...)
5044 char *s;
5045 va_list v;
5046 va_start (v,p);
5047 s = g (p, va_arg (v,int));
5048 va_end (v);
5049 return s;
5052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5053 function prototypes and stuff, but not '\xHH' hex character constants.
5054 These don't provoke an error unfortunately, instead are silently treated
5055 as 'x'. The following induces an error, until -std is added to get
5056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5057 array size at least. It's necessary to write '\x00'==0 to get something
5058 that's true only with -std. */
5059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5062 inside strings and character constants. */
5063 #define FOO(x) 'x'
5064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5066 int test (int i, double x);
5067 struct s1 {int (*f) (int a);};
5068 struct s2 {int (*f) (double a);};
5069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5070 int argc;
5071 char **argv;
5073 main ()
5075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5077 return 0;
5079 _ACEOF
5080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5081 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5083 CC="$ac_save_CC $ac_arg"
5084 if ac_fn_c_try_compile "$LINENO"; then :
5085 ac_cv_prog_cc_c89=$ac_arg
5087 rm -f core conftest.err conftest.$ac_objext
5088 test "x$ac_cv_prog_cc_c89" != "xno" && break
5089 done
5090 rm -f conftest.$ac_ext
5091 CC=$ac_save_CC
5094 # AC_CACHE_VAL
5095 case "x$ac_cv_prog_cc_c89" in
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5098 $as_echo "none needed" >&6; } ;;
5099 xno)
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5101 $as_echo "unsupported" >&6; } ;;
5103 CC="$CC $ac_cv_prog_cc_c89"
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5105 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5106 esac
5107 if test "x$ac_cv_prog_cc_c89" != xno; then :
5111 ac_ext=c
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117 ac_ext=cpp
5118 ac_cpp='$CXXCPP $CPPFLAGS'
5119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5122 if test -z "$CXX"; then
5123 if test -n "$CCC"; then
5124 CXX=$CCC
5125 else
5126 if test -n "$ac_tool_prefix"; then
5127 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5129 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5130 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if ${ac_cv_prog_CXX+:} false; then :
5134 $as_echo_n "(cached) " >&6
5135 else
5136 if test -n "$CXX"; then
5137 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5138 else
5139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5140 for as_dir in $PATH
5142 IFS=$as_save_IFS
5143 test -z "$as_dir" && as_dir=.
5144 for ac_exec_ext in '' $ac_executable_extensions; do
5145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5146 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 break 2
5150 done
5151 done
5152 IFS=$as_save_IFS
5156 CXX=$ac_cv_prog_CXX
5157 if test -n "$CXX"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5159 $as_echo "$CXX" >&6; }
5160 else
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 test -n "$CXX" && break
5167 done
5169 if test -z "$CXX"; then
5170 ac_ct_CXX=$CXX
5171 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5173 # Extract the first word of "$ac_prog", so it can be a program name with args.
5174 set dummy $ac_prog; ac_word=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5178 $as_echo_n "(cached) " >&6
5179 else
5180 if test -n "$ac_ct_CXX"; then
5181 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5182 else
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 for as_dir in $PATH
5186 IFS=$as_save_IFS
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_ac_ct_CXX="$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 break 2
5194 done
5195 done
5196 IFS=$as_save_IFS
5200 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5201 if test -n "$ac_ct_CXX"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5203 $as_echo "$ac_ct_CXX" >&6; }
5204 else
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$ac_ct_CXX" && break
5211 done
5213 if test "x$ac_ct_CXX" = x; then
5214 CXX="g++"
5215 else
5216 case $cross_compiling:$ac_tool_warned in
5217 yes:)
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220 ac_tool_warned=yes ;;
5221 esac
5222 CXX=$ac_ct_CXX
5228 # Provide some information about the compiler.
5229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5230 set X $ac_compile
5231 ac_compiler=$2
5232 for ac_option in --version -v -V -qversion; do
5233 { { ac_try="$ac_compiler $ac_option >&5"
5234 case "(($ac_try" in
5235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5236 *) ac_try_echo=$ac_try;;
5237 esac
5238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5239 $as_echo "$ac_try_echo"; } >&5
5240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5241 ac_status=$?
5242 if test -s conftest.err; then
5243 sed '10a\
5244 ... rest of stderr output deleted ...
5245 10q' conftest.err >conftest.er1
5246 cat conftest.er1 >&5
5248 rm -f conftest.er1 conftest.err
5249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5250 test $ac_status = 0; }
5251 done
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5254 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5255 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5256 $as_echo_n "(cached) " >&6
5257 else
5258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h. */
5262 main ()
5264 #ifndef __GNUC__
5265 choke me
5266 #endif
5269 return 0;
5271 _ACEOF
5272 if ac_fn_cxx_try_compile "$LINENO"; then :
5273 ac_compiler_gnu=yes
5274 else
5275 ac_compiler_gnu=no
5277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5278 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5282 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5283 if test $ac_compiler_gnu = yes; then
5284 GXX=yes
5285 else
5286 GXX=
5288 ac_test_CXXFLAGS=${CXXFLAGS+set}
5289 ac_save_CXXFLAGS=$CXXFLAGS
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5291 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5292 if ${ac_cv_prog_cxx_g+:} false; then :
5293 $as_echo_n "(cached) " >&6
5294 else
5295 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5296 ac_cxx_werror_flag=yes
5297 ac_cv_prog_cxx_g=no
5298 CXXFLAGS="-g"
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5303 main ()
5307 return 0;
5309 _ACEOF
5310 if ac_fn_cxx_try_compile "$LINENO"; then :
5311 ac_cv_prog_cxx_g=yes
5312 else
5313 CXXFLAGS=""
5314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5318 main ()
5322 return 0;
5324 _ACEOF
5325 if ac_fn_cxx_try_compile "$LINENO"; then :
5327 else
5328 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5329 CXXFLAGS="-g"
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5334 main ()
5338 return 0;
5340 _ACEOF
5341 if ac_fn_cxx_try_compile "$LINENO"; then :
5342 ac_cv_prog_cxx_g=yes
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5352 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5353 if test "$ac_test_CXXFLAGS" = set; then
5354 CXXFLAGS=$ac_save_CXXFLAGS
5355 elif test $ac_cv_prog_cxx_g = yes; then
5356 if test "$GXX" = yes; then
5357 CXXFLAGS="-g -O2"
5358 else
5359 CXXFLAGS="-g"
5361 else
5362 if test "$GXX" = yes; then
5363 CXXFLAGS="-O2"
5364 else
5365 CXXFLAGS=
5368 ac_ext=c
5369 ac_cpp='$CPP $CPPFLAGS'
5370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5374 if test -n "$ac_tool_prefix"; then
5375 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5376 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5378 $as_echo_n "checking for $ac_word... " >&6; }
5379 if ${ac_cv_prog_CPPBIN+:} false; then :
5380 $as_echo_n "(cached) " >&6
5381 else
5382 if test -n "$CPPBIN"; then
5383 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5384 else
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 break 2
5396 done
5397 done
5398 IFS=$as_save_IFS
5402 CPPBIN=$ac_cv_prog_CPPBIN
5403 if test -n "$CPPBIN"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5405 $as_echo "$CPPBIN" >&6; }
5406 else
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5413 if test -z "$ac_cv_prog_CPPBIN"; then
5414 ac_ct_CPPBIN=$CPPBIN
5415 # Extract the first word of "cpp", so it can be a program name with args.
5416 set dummy cpp; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_CPPBIN"; then
5423 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_CPPBIN="cpp"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5443 if test -n "$ac_ct_CPPBIN"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5445 $as_echo "$ac_ct_CPPBIN" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5451 if test "x$ac_ct_CPPBIN" = x; then
5452 CPPBIN="cpp"
5453 else
5454 case $cross_compiling:$ac_tool_warned in
5455 yes:)
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458 ac_tool_warned=yes ;;
5459 esac
5460 CPPBIN=$ac_ct_CPPBIN
5462 else
5463 CPPBIN="$ac_cv_prog_CPPBIN"
5467 cat >>confdefs.h <<_ACEOF
5468 #define EXEEXT "$ac_exeext"
5469 _ACEOF
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}ld; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_LD+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$LD"; then
5480 ac_cv_prog_LD="$LD" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_LD="${ac_tool_prefix}ld"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 LD=$ac_cv_prog_LD
5500 if test -n "$LD"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5502 $as_echo "$LD" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_LD"; then
5511 ac_ct_LD=$LD
5512 # Extract the first word of "ld", so it can be a program name with args.
5513 set dummy ld; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_LD"; then
5520 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_LD="ld"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5540 if test -n "$ac_ct_LD"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5542 $as_echo "$ac_ct_LD" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_LD" = x; then
5549 LD=""
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 LD=$ac_ct_LD
5559 else
5560 LD="$ac_cv_prog_LD"
5564 case $host in
5565 *-darwin*)
5566 with_fontconfig=${with_fontconfig:-no}
5568 *-mingw32*|*-cygwin*)
5569 enable_win16=${enable_win16:-no}
5570 with_mingw=${with_mingw:-no}
5571 CFLAGS="$CFLAGS -D_WIN32"
5573 esac
5575 case $host in
5576 x86_64*|amd64*)
5577 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5578 then
5579 CC="$CC -m32"
5580 CXX="$CXX -m32"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5583 $as_echo_n "checking whether $CC works... " >&6; }
5584 if ${wine_cv_cc_m32+:} false; then :
5585 $as_echo_n "(cached) " >&6
5586 else
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5591 main ()
5595 return 0;
5597 _ACEOF
5598 if ac_fn_c_try_link "$LINENO"; then :
5599 wine_cv_cc_m32=yes
5600 else
5601 wine_cv_cc_m32=no
5603 rm -f core conftest.err conftest.$ac_objext \
5604 conftest$ac_exeext conftest.$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5607 $as_echo "$wine_cv_cc_m32" >&6; }
5608 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
5609 host_cpu="i386"
5610 notice_platform="32-bit "
5611 TARGETFLAGS="-m32"
5613 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5614 export PKG_CONFIG_PATH
5615 enable_win16=${enable_win16:-yes}
5616 with_unwind=${with_unwind:-no}
5617 else
5618 if test "x${GCC}" = "xyes"
5619 then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5621 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5622 if ${wine_cv_builtin_ms_va_list+:} false; then :
5623 $as_echo_n "(cached) " >&6
5624 else
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 #include <stdarg.h>
5629 main ()
5631 void func(__builtin_ms_va_list *args);
5633 return 0;
5635 _ACEOF
5636 if ac_fn_c_try_compile "$LINENO"; then :
5637 wine_cv_builtin_ms_va_list=yes
5638 else
5639 wine_cv_builtin_ms_va_list=no
5641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5644 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5645 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
5647 CC="$CC -m64"
5648 CXX="$CXX -m64"
5649 host_cpu="x86_64"
5650 notice_platform="64-bit "
5651 TARGETFLAGS="-m64"
5655 arm*)
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5657 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5658 if ${wine_cv_thumb+:} false; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5663 int ac_test(int i) { return i; }
5665 main ()
5667 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5669 return 0;
5671 _ACEOF
5672 if ac_fn_c_try_link "$LINENO"; then :
5673 wine_cv_thumb=yes
5674 else
5675 wine_cv_thumb=no
5677 rm -f core conftest.err conftest.$ac_objext \
5678 conftest$ac_exeext conftest.$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5681 $as_echo "$wine_cv_thumb" >&6; }
5682 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5683 case $with_float_abi in
5684 soft|softfp|hard)
5685 float_abi=$with_float_abi ;;
5687 case $host_os in
5688 *eabihf)
5689 float_abi=hard ;;
5691 float_abi=softfp
5692 saved_CFLAGS=$CFLAGS
5693 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5695 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5696 if ${wine_cv_float_abi+:} false; then :
5697 $as_echo_n "(cached) " >&6
5698 else
5699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5703 main ()
5705 asm("vmrs r2,fpscr");
5707 return 0;
5709 _ACEOF
5710 if ac_fn_c_try_link "$LINENO"; then :
5711 wine_cv_float_abi=yes
5712 else
5713 wine_cv_float_abi=no
5715 rm -f core conftest.err conftest.$ac_objext \
5716 conftest$ac_exeext conftest.$ac_ext
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5719 $as_echo "$wine_cv_float_abi" >&6; }
5720 if test $wine_cv_float_abi = no
5721 then
5722 float_abi=soft
5723 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5725 CFLAGS=$saved_CFLAGS
5726 esac
5728 esac
5729 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5730 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5733 aarch64*)
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5735 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5736 if ${wine_cv_builtin_ms_va_list+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740 /* end confdefs.h. */
5741 #include <stdarg.h>
5743 main ()
5745 void func(__builtin_ms_va_list *args);
5747 return 0;
5749 _ACEOF
5750 if ac_fn_c_try_compile "$LINENO"; then :
5751 wine_cv_builtin_ms_va_list=yes
5752 else
5753 wine_cv_builtin_ms_va_list=no
5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5758 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5759 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5761 i[3456789]86*)
5762 enable_win16=${enable_win16:-yes}
5763 with_unwind=${with_unwind:-no}
5765 esac
5767 enable_win16=${enable_win16:-no}
5768 enable_win64=${enable_win64:-no}
5770 enable_winetest=${enable_winetest:-$enable_tests}
5772 if test "x$enable_win64" = "xyes"
5773 then
5774 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5775 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5776 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5780 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5781 if ${wine_cv_toolsdir+:} false; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 wine_cv_toolsdir="$with_wine_tools"
5785 if test -z "$with_wine_tools"; then
5786 if test "$cross_compiling" = "yes"; then
5787 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5788 elif test -n "$with_wine64"; then
5789 wine_cv_toolsdir="$with_wine64"
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5794 $as_echo "$wine_cv_toolsdir" >&6; }
5795 if test -z "$wine_cv_toolsdir"; then
5796 wine_makedep=tools/makedep
5797 TOOLSDIR="\$(top_builddir)"
5799 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5800 wine_makedep=$wine_cv_toolsdir/tools/makedep
5801 case "$wine_cv_toolsdir" in
5802 /*) TOOLSDIR=$wine_cv_toolsdir
5804 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5806 esac
5807 enable_tools=${enable_tools:-no}
5808 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5809 else
5810 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5812 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5813 then
5814 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5818 for ac_prog in flex
5820 # Extract the first word of "$ac_prog", so it can be a program name with args.
5821 set dummy $ac_prog; ac_word=$2
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5823 $as_echo_n "checking for $ac_word... " >&6; }
5824 if ${ac_cv_prog_FLEX+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 if test -n "$FLEX"; then
5828 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5837 ac_cv_prog_FLEX="$ac_prog"
5838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 FLEX=$ac_cv_prog_FLEX
5848 if test -n "$FLEX"; then
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5850 $as_echo "$FLEX" >&6; }
5851 else
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5853 $as_echo "no" >&6; }
5857 test -n "$FLEX" && break
5858 done
5859 test -n "$FLEX" || FLEX="none"
5861 if test "$FLEX" = "none"
5862 then
5863 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5866 $as_echo_n "checking whether flex is recent enough... " >&6; }
5867 if ${wine_cv_recent_flex+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 cat >conftest.l <<EOF
5871 %top{
5872 #include "prediluvian.h"
5876 if $FLEX -t conftest.l >/dev/null 2>&5
5877 then
5878 wine_cv_recent_flex=yes
5879 else
5880 wine_cv_recent_flex=no
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5884 $as_echo "$wine_cv_recent_flex" >&6; }
5885 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
5887 for ac_prog in bison
5889 # Extract the first word of "$ac_prog", so it can be a program name with args.
5890 set dummy $ac_prog; ac_word=$2
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892 $as_echo_n "checking for $ac_word... " >&6; }
5893 if ${ac_cv_prog_BISON+:} false; then :
5894 $as_echo_n "(cached) " >&6
5895 else
5896 if test -n "$BISON"; then
5897 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5898 else
5899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 for as_dir in $PATH
5902 IFS=$as_save_IFS
5903 test -z "$as_dir" && as_dir=.
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5906 ac_cv_prog_BISON="$ac_prog"
5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5908 break 2
5910 done
5911 done
5912 IFS=$as_save_IFS
5916 BISON=$ac_cv_prog_BISON
5917 if test -n "$BISON"; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5919 $as_echo "$BISON" >&6; }
5920 else
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5922 $as_echo "no" >&6; }
5926 test -n "$BISON" && break
5927 done
5928 test -n "$BISON" || BISON="none"
5930 if test "$BISON" = "none"
5931 then
5932 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5935 $as_echo_n "checking whether bison is recent enough... " >&6; }
5936 if ${wine_cv_recent_bison+:} false; then :
5937 $as_echo_n "(cached) " >&6
5938 else
5939 cat >conftest.y <<EOF
5940 %define parse.error verbose
5942 empty: ;
5944 if $BISON conftest.y >/dev/null 2>&5
5945 then
5946 wine_cv_recent_bison=yes
5947 else
5948 wine_cv_recent_bison=no
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5952 $as_echo "$wine_cv_recent_bison" >&6; }
5953 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
5955 if test -n "$ac_tool_prefix"; then
5956 for ac_prog in ar gar
5958 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if ${ac_cv_prog_AR+:} false; then :
5963 $as_echo_n "(cached) " >&6
5964 else
5965 if test -n "$AR"; then
5966 ac_cv_prog_AR="$AR" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5975 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977 break 2
5979 done
5980 done
5981 IFS=$as_save_IFS
5985 AR=$ac_cv_prog_AR
5986 if test -n "$AR"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5988 $as_echo "$AR" >&6; }
5989 else
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5995 test -n "$AR" && break
5996 done
5998 if test -z "$AR"; then
5999 ac_ct_AR=$AR
6000 for ac_prog in ar gar
6002 # Extract the first word of "$ac_prog", so it can be a program name with args.
6003 set dummy $ac_prog; ac_word=$2
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005 $as_echo_n "checking for $ac_word... " >&6; }
6006 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6007 $as_echo_n "(cached) " >&6
6008 else
6009 if test -n "$ac_ct_AR"; then
6010 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 test -z "$as_dir" && as_dir=.
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6019 ac_cv_prog_ac_ct_AR="$ac_prog"
6020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 break 2
6023 done
6024 done
6025 IFS=$as_save_IFS
6029 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6030 if test -n "$ac_ct_AR"; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6032 $as_echo "$ac_ct_AR" >&6; }
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035 $as_echo "no" >&6; }
6039 test -n "$ac_ct_AR" && break
6040 done
6042 if test "x$ac_ct_AR" = x; then
6043 AR="ar"
6044 else
6045 case $cross_compiling:$ac_tool_warned in
6046 yes:)
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6049 ac_tool_warned=yes ;;
6050 esac
6051 AR=$ac_ct_AR
6055 if test -n "$ac_tool_prefix"; then
6056 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6057 set dummy ${ac_tool_prefix}strip; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_STRIP+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 if test -n "$STRIP"; then
6064 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 break 2
6077 done
6078 done
6079 IFS=$as_save_IFS
6083 STRIP=$ac_cv_prog_STRIP
6084 if test -n "$STRIP"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6086 $as_echo "$STRIP" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6094 if test -z "$ac_cv_prog_STRIP"; then
6095 ac_ct_STRIP=$STRIP
6096 # Extract the first word of "strip", so it can be a program name with args.
6097 set dummy strip; ac_word=$2
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6099 $as_echo_n "checking for $ac_word... " >&6; }
6100 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6101 $as_echo_n "(cached) " >&6
6102 else
6103 if test -n "$ac_ct_STRIP"; then
6104 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6105 else
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6107 for as_dir in $PATH
6109 IFS=$as_save_IFS
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6113 ac_cv_prog_ac_ct_STRIP="strip"
6114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 break 2
6117 done
6118 done
6119 IFS=$as_save_IFS
6123 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6124 if test -n "$ac_ct_STRIP"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6126 $as_echo "$ac_ct_STRIP" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6129 $as_echo "no" >&6; }
6132 if test "x$ac_ct_STRIP" = x; then
6133 STRIP="strip"
6134 else
6135 case $cross_compiling:$ac_tool_warned in
6136 yes:)
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6139 ac_tool_warned=yes ;;
6140 esac
6141 STRIP=$ac_ct_STRIP
6143 else
6144 STRIP="$ac_cv_prog_STRIP"
6147 if test -n "$ac_tool_prefix"; then
6148 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_RANLIB+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$RANLIB"; then
6156 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 RANLIB=$ac_cv_prog_RANLIB
6176 if test -n "$RANLIB"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6178 $as_echo "$RANLIB" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6186 if test -z "$ac_cv_prog_RANLIB"; then
6187 ac_ct_RANLIB=$RANLIB
6188 # Extract the first word of "ranlib", so it can be a program name with args.
6189 set dummy ranlib; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6193 $as_echo_n "(cached) " >&6
6194 else
6195 if test -n "$ac_ct_RANLIB"; then
6196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6201 IFS=$as_save_IFS
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_ac_ct_RANLIB="ranlib"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207 break 2
6209 done
6210 done
6211 IFS=$as_save_IFS
6215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6216 if test -n "$ac_ct_RANLIB"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6218 $as_echo "$ac_ct_RANLIB" >&6; }
6219 else
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6224 if test "x$ac_ct_RANLIB" = x; then
6225 RANLIB=":"
6226 else
6227 case $cross_compiling:$ac_tool_warned in
6228 yes:)
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6231 ac_tool_warned=yes ;;
6232 esac
6233 RANLIB=$ac_ct_RANLIB
6235 else
6236 RANLIB="$ac_cv_prog_RANLIB"
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6240 $as_echo_n "checking whether ln -s works... " >&6; }
6241 LN_S=$as_ln_s
6242 if test "$LN_S" = "ln -s"; then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6244 $as_echo "yes" >&6; }
6245 else
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6247 $as_echo "no, using $LN_S" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6251 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6252 if ${ac_cv_path_GREP+:} false; then :
6253 $as_echo_n "(cached) " >&6
6254 else
6255 if test -z "$GREP"; then
6256 ac_path_GREP_found=false
6257 # Loop through the user's path and test for each of PROGNAME-LIST
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6261 IFS=$as_save_IFS
6262 test -z "$as_dir" && as_dir=.
6263 for ac_prog in grep ggrep; do
6264 for ac_exec_ext in '' $ac_executable_extensions; do
6265 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6266 as_fn_executable_p "$ac_path_GREP" || continue
6267 # Check for GNU ac_path_GREP and select it if it is found.
6268 # Check for GNU $ac_path_GREP
6269 case `"$ac_path_GREP" --version 2>&1` in
6270 *GNU*)
6271 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6273 ac_count=0
6274 $as_echo_n 0123456789 >"conftest.in"
6275 while :
6277 cat "conftest.in" "conftest.in" >"conftest.tmp"
6278 mv "conftest.tmp" "conftest.in"
6279 cp "conftest.in" "conftest.nl"
6280 $as_echo 'GREP' >> "conftest.nl"
6281 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6283 as_fn_arith $ac_count + 1 && ac_count=$as_val
6284 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6285 # Best one so far, save it but keep looking for a better one
6286 ac_cv_path_GREP="$ac_path_GREP"
6287 ac_path_GREP_max=$ac_count
6289 # 10*(2^10) chars as input seems more than enough
6290 test $ac_count -gt 10 && break
6291 done
6292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6293 esac
6295 $ac_path_GREP_found && break 3
6296 done
6297 done
6298 done
6299 IFS=$as_save_IFS
6300 if test -z "$ac_cv_path_GREP"; then
6301 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6303 else
6304 ac_cv_path_GREP=$GREP
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6309 $as_echo "$ac_cv_path_GREP" >&6; }
6310 GREP="$ac_cv_path_GREP"
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6314 $as_echo_n "checking for egrep... " >&6; }
6315 if ${ac_cv_path_EGREP+:} false; then :
6316 $as_echo_n "(cached) " >&6
6317 else
6318 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6319 then ac_cv_path_EGREP="$GREP -E"
6320 else
6321 if test -z "$EGREP"; then
6322 ac_path_EGREP_found=false
6323 # Loop through the user's path and test for each of PROGNAME-LIST
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6327 IFS=$as_save_IFS
6328 test -z "$as_dir" && as_dir=.
6329 for ac_prog in egrep; do
6330 for ac_exec_ext in '' $ac_executable_extensions; do
6331 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6332 as_fn_executable_p "$ac_path_EGREP" || continue
6333 # Check for GNU ac_path_EGREP and select it if it is found.
6334 # Check for GNU $ac_path_EGREP
6335 case `"$ac_path_EGREP" --version 2>&1` in
6336 *GNU*)
6337 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6339 ac_count=0
6340 $as_echo_n 0123456789 >"conftest.in"
6341 while :
6343 cat "conftest.in" "conftest.in" >"conftest.tmp"
6344 mv "conftest.tmp" "conftest.in"
6345 cp "conftest.in" "conftest.nl"
6346 $as_echo 'EGREP' >> "conftest.nl"
6347 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6348 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6349 as_fn_arith $ac_count + 1 && ac_count=$as_val
6350 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6351 # Best one so far, save it but keep looking for a better one
6352 ac_cv_path_EGREP="$ac_path_EGREP"
6353 ac_path_EGREP_max=$ac_count
6355 # 10*(2^10) chars as input seems more than enough
6356 test $ac_count -gt 10 && break
6357 done
6358 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6359 esac
6361 $ac_path_EGREP_found && break 3
6362 done
6363 done
6364 done
6365 IFS=$as_save_IFS
6366 if test -z "$ac_cv_path_EGREP"; then
6367 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6369 else
6370 ac_cv_path_EGREP=$EGREP
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6376 $as_echo "$ac_cv_path_EGREP" >&6; }
6377 EGREP="$ac_cv_path_EGREP"
6380 # Extract the first word of "ldconfig", so it can be a program name with args.
6381 set dummy ldconfig; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_path_LDCONFIG+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 case $LDCONFIG in
6388 [\\/]* | ?:[\\/]*)
6389 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 for as_dir in /sbin /usr/sbin $PATH
6395 IFS=$as_save_IFS
6396 test -z "$as_dir" && as_dir=.
6397 for ac_exec_ext in '' $ac_executable_extensions; do
6398 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6399 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 break 2
6403 done
6404 done
6405 IFS=$as_save_IFS
6407 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6409 esac
6411 LDCONFIG=$ac_cv_path_LDCONFIG
6412 if test -n "$LDCONFIG"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6414 $as_echo "$LDCONFIG" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6421 for ac_prog in msgfmt
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if ${ac_cv_prog_MSGFMT+:} false; then :
6428 $as_echo_n "(cached) " >&6
6429 else
6430 if test -n "$MSGFMT"; then
6431 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6440 ac_cv_prog_MSGFMT="$ac_prog"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 MSGFMT=$ac_cv_prog_MSGFMT
6451 if test -n "$MSGFMT"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6453 $as_echo "$MSGFMT" >&6; }
6454 else
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6460 test -n "$MSGFMT" && break
6461 done
6462 test -n "$MSGFMT" || MSGFMT="false"
6464 if ${ac_tool_prefix+:} false; then :
6465 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6466 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$PKG_CONFIG"; then
6473 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6493 if test -n "$PKG_CONFIG"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6495 $as_echo "$PKG_CONFIG" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6503 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6504 if test "x$cross_compiling" = xyes; then :
6506 else
6507 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6508 # Extract the first word of "pkg-config", so it can be a program name with args.
6509 set dummy pkg-config; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 if test -n "$PKG_CONFIG"; then
6516 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_PKG_CONFIG="pkg-config"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6536 if test -n "$PKG_CONFIG"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6538 $as_echo "$PKG_CONFIG" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6546 else
6547 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6550 if test "x$enable_maintainer_mode" != "xyes"
6551 then
6552 FONTFORGE=""
6553 RSVG=""
6554 CONVERT=""
6555 ICOTOOL=""
6556 else
6557 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6558 for ac_prog in fontforge
6560 # Extract the first word of "$ac_prog", so it can be a program name with args.
6561 set dummy $ac_prog; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_FONTFORGE+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6567 if test -n "$FONTFORGE"; then
6568 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6573 IFS=$as_save_IFS
6574 test -z "$as_dir" && as_dir=.
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_FONTFORGE="$ac_prog"
6578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579 break 2
6581 done
6582 done
6583 IFS=$as_save_IFS
6587 FONTFORGE=$ac_cv_prog_FONTFORGE
6588 if test -n "$FONTFORGE"; then
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6590 $as_echo "$FONTFORGE" >&6; }
6591 else
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6597 test -n "$FONTFORGE" && break
6598 done
6599 test -n "$FONTFORGE" || FONTFORGE="false"
6601 for ac_prog in rsvg-convert rsvg
6603 # Extract the first word of "$ac_prog", so it can be a program name with args.
6604 set dummy $ac_prog; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if ${ac_cv_prog_RSVG+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 if test -n "$RSVG"; then
6611 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6612 else
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 for as_dir in $PATH
6616 IFS=$as_save_IFS
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6620 ac_cv_prog_RSVG="$ac_prog"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6622 break 2
6624 done
6625 done
6626 IFS=$as_save_IFS
6630 RSVG=$ac_cv_prog_RSVG
6631 if test -n "$RSVG"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6633 $as_echo "$RSVG" >&6; }
6634 else
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6640 test -n "$RSVG" && break
6641 done
6642 test -n "$RSVG" || RSVG="false"
6644 for ac_prog in convert
6646 # Extract the first word of "$ac_prog", so it can be a program name with args.
6647 set dummy $ac_prog; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_CONVERT+:} false; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$CONVERT"; then
6654 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_CONVERT="$ac_prog"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 CONVERT=$ac_cv_prog_CONVERT
6674 if test -n "$CONVERT"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6676 $as_echo "$CONVERT" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6683 test -n "$CONVERT" && break
6684 done
6685 test -n "$CONVERT" || CONVERT="false"
6687 for ac_prog in icotool
6689 # Extract the first word of "$ac_prog", so it can be a program name with args.
6690 set dummy $ac_prog; ac_word=$2
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6692 $as_echo_n "checking for $ac_word... " >&6; }
6693 if ${ac_cv_prog_ICOTOOL+:} false; then :
6694 $as_echo_n "(cached) " >&6
6695 else
6696 if test -n "$ICOTOOL"; then
6697 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6698 else
6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700 for as_dir in $PATH
6702 IFS=$as_save_IFS
6703 test -z "$as_dir" && as_dir=.
6704 for ac_exec_ext in '' $ac_executable_extensions; do
6705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6706 ac_cv_prog_ICOTOOL="$ac_prog"
6707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6708 break 2
6710 done
6711 done
6712 IFS=$as_save_IFS
6716 ICOTOOL=$ac_cv_prog_ICOTOOL
6717 if test -n "$ICOTOOL"; then
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6719 $as_echo "$ICOTOOL" >&6; }
6720 else
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6722 $as_echo "no" >&6; }
6726 test -n "$ICOTOOL" && break
6727 done
6728 test -n "$ICOTOOL" || ICOTOOL="false"
6730 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6731 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6733 if test "$CONVERT" = false
6734 then
6735 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6736 else
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6738 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6739 convert_version=`convert --version | head -n1`
6740 if test "x$convert_version" != "x"
6741 then
6742 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6743 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6744 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6745 then
6746 CONVERT=false
6749 if test "$CONVERT" = false
6750 then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6753 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6754 else
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6756 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6760 if test "$ICOTOOL" = false
6761 then
6762 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6763 else
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6765 $as_echo_n "checking for recent enough icotool... " >&6; }
6766 icotool_version=`icotool --version | head -n1`
6767 if test "x$icotool_version" != "x"
6768 then
6769 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6770 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6771 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6772 then
6773 ICOTOOL=false
6774 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6777 if test "$ICOTOOL" = false
6778 then
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6781 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6784 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6788 with_gettext=yes
6789 with_gettextpo=yes
6792 test "x$with_gettext" != xno || MSGFMT=false
6793 if test "$MSGFMT" != "false"
6794 then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6796 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6797 if ${wine_cv_msgfmt_contexts+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 cat >conftest.po <<EOF
6801 # comment
6802 msgctxt "ctxt"
6803 msgid "id"
6804 msgstr "str"
6806 if $MSGFMT -o /dev/null conftest.po 2>&5
6807 then
6808 wine_cv_msgfmt_contexts=yes
6809 else
6810 wine_cv_msgfmt_contexts=no
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6814 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6815 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6817 if test "$MSGFMT" = false; then :
6818 case "x$with_gettext" in
6819 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6820 xno) ;;
6821 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6822 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6823 esac
6824 enable_po=${enable_po:-no}
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6829 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6830 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6831 $as_echo_n "(cached) " >&6
6832 else
6833 ac_check_lib_save_LIBS=$LIBS
6834 LIBS="-li386 $LIBS"
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6838 /* Override any GCC internal prototype to avoid an error.
6839 Use char because int might match the return type of a GCC
6840 builtin and then its argument prototype would still apply. */
6841 #ifdef __cplusplus
6842 extern "C"
6843 #endif
6844 char i386_set_ldt ();
6846 main ()
6848 return i386_set_ldt ();
6850 return 0;
6852 _ACEOF
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 ac_cv_lib_i386_i386_set_ldt=yes
6855 else
6856 ac_cv_lib_i386_i386_set_ldt=no
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6860 LIBS=$ac_check_lib_save_LIBS
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6863 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6864 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6865 I386_LIBS="-li386"
6870 OPENGL_LIBS=""
6874 # Check whether --enable-largefile was given.
6875 if test "${enable_largefile+set}" = set; then :
6876 enableval=$enable_largefile;
6879 if test "$enable_largefile" != no; then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6882 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6883 if ${ac_cv_sys_largefile_CC+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 ac_cv_sys_largefile_CC=no
6887 if test "$GCC" != yes; then
6888 ac_save_CC=$CC
6889 while :; do
6890 # IRIX 6.2 and later do not support large files by default,
6891 # so use the C compiler's -n32 option if that helps.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 #include <sys/types.h>
6895 /* Check that off_t can represent 2**63 - 1 correctly.
6896 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6897 since some C++ compilers masquerading as C compilers
6898 incorrectly reject 9223372036854775807. */
6899 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6900 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6901 && LARGE_OFF_T % 2147483647 == 1)
6902 ? 1 : -1];
6904 main ()
6908 return 0;
6910 _ACEOF
6911 if ac_fn_c_try_compile "$LINENO"; then :
6912 break
6914 rm -f core conftest.err conftest.$ac_objext
6915 CC="$CC -n32"
6916 if ac_fn_c_try_compile "$LINENO"; then :
6917 ac_cv_sys_largefile_CC=' -n32'; break
6919 rm -f core conftest.err conftest.$ac_objext
6920 break
6921 done
6922 CC=$ac_save_CC
6923 rm -f conftest.$ac_ext
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6927 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6928 if test "$ac_cv_sys_largefile_CC" != no; then
6929 CC=$CC$ac_cv_sys_largefile_CC
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6933 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6934 if ${ac_cv_sys_file_offset_bits+:} false; then :
6935 $as_echo_n "(cached) " >&6
6936 else
6937 while :; do
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <sys/types.h>
6941 /* Check that off_t can represent 2**63 - 1 correctly.
6942 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6943 since some C++ compilers masquerading as C compilers
6944 incorrectly reject 9223372036854775807. */
6945 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6946 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6947 && LARGE_OFF_T % 2147483647 == 1)
6948 ? 1 : -1];
6950 main ()
6954 return 0;
6956 _ACEOF
6957 if ac_fn_c_try_compile "$LINENO"; then :
6958 ac_cv_sys_file_offset_bits=no; break
6960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #define _FILE_OFFSET_BITS 64
6964 #include <sys/types.h>
6965 /* Check that off_t can represent 2**63 - 1 correctly.
6966 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6967 since some C++ compilers masquerading as C compilers
6968 incorrectly reject 9223372036854775807. */
6969 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6970 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6971 && LARGE_OFF_T % 2147483647 == 1)
6972 ? 1 : -1];
6974 main ()
6978 return 0;
6980 _ACEOF
6981 if ac_fn_c_try_compile "$LINENO"; then :
6982 ac_cv_sys_file_offset_bits=64; break
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 ac_cv_sys_file_offset_bits=unknown
6986 break
6987 done
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6990 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6991 case $ac_cv_sys_file_offset_bits in #(
6992 no | unknown) ;;
6994 cat >>confdefs.h <<_ACEOF
6995 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6996 _ACEOF
6998 esac
6999 rm -rf conftest*
7000 if test $ac_cv_sys_file_offset_bits = unknown; then
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7002 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7003 if ${ac_cv_sys_large_files+:} false; then :
7004 $as_echo_n "(cached) " >&6
7005 else
7006 while :; do
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 /* Check that off_t can represent 2**63 - 1 correctly.
7011 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7012 since some C++ compilers masquerading as C compilers
7013 incorrectly reject 9223372036854775807. */
7014 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7015 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7016 && LARGE_OFF_T % 2147483647 == 1)
7017 ? 1 : -1];
7019 main ()
7023 return 0;
7025 _ACEOF
7026 if ac_fn_c_try_compile "$LINENO"; then :
7027 ac_cv_sys_large_files=no; break
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 /* end confdefs.h. */
7032 #define _LARGE_FILES 1
7033 #include <sys/types.h>
7034 /* Check that off_t can represent 2**63 - 1 correctly.
7035 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7036 since some C++ compilers masquerading as C compilers
7037 incorrectly reject 9223372036854775807. */
7038 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7039 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7040 && LARGE_OFF_T % 2147483647 == 1)
7041 ? 1 : -1];
7043 main ()
7047 return 0;
7049 _ACEOF
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 ac_cv_sys_large_files=1; break
7053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7054 ac_cv_sys_large_files=unknown
7055 break
7056 done
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7059 $as_echo "$ac_cv_sys_large_files" >&6; }
7060 case $ac_cv_sys_large_files in #(
7061 no | unknown) ;;
7063 cat >>confdefs.h <<_ACEOF
7064 #define _LARGE_FILES $ac_cv_sys_large_files
7065 _ACEOF
7067 esac
7068 rm -rf conftest*
7075 ac_ext=c
7076 ac_cpp='$CPP $CPPFLAGS'
7077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7081 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7082 # On Suns, sometimes $CPP names a directory.
7083 if test -n "$CPP" && test -d "$CPP"; then
7084 CPP=
7086 if test -z "$CPP"; then
7087 if ${ac_cv_prog_CPP+:} false; then :
7088 $as_echo_n "(cached) " >&6
7089 else
7090 # Double quotes because CPP needs to be expanded
7091 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7093 ac_preproc_ok=false
7094 for ac_c_preproc_warn_flag in '' yes
7096 # Use a header file that comes with gcc, so configuring glibc
7097 # with a fresh cross-compiler works.
7098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7099 # <limits.h> exists even on freestanding compilers.
7100 # On the NeXT, cc -E runs the code through the compiler's parser,
7101 # not just through cpp. "Syntax error" is here to catch this case.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #ifdef __STDC__
7105 # include <limits.h>
7106 #else
7107 # include <assert.h>
7108 #endif
7109 Syntax error
7110 _ACEOF
7111 if ac_fn_c_try_cpp "$LINENO"; then :
7113 else
7114 # Broken: fails on valid input.
7115 continue
7117 rm -f conftest.err conftest.i conftest.$ac_ext
7119 # OK, works on sane cases. Now check whether nonexistent headers
7120 # can be detected and how.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7123 #include <ac_nonexistent.h>
7124 _ACEOF
7125 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: success on invalid input.
7127 continue
7128 else
7129 # Passes both tests.
7130 ac_preproc_ok=:
7131 break
7133 rm -f conftest.err conftest.i conftest.$ac_ext
7135 done
7136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7137 rm -f conftest.i conftest.err conftest.$ac_ext
7138 if $ac_preproc_ok; then :
7139 break
7142 done
7143 ac_cv_prog_CPP=$CPP
7146 CPP=$ac_cv_prog_CPP
7147 else
7148 ac_cv_prog_CPP=$CPP
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7151 $as_echo "$CPP" >&6; }
7152 ac_preproc_ok=false
7153 for ac_c_preproc_warn_flag in '' yes
7155 # Use a header file that comes with gcc, so configuring glibc
7156 # with a fresh cross-compiler works.
7157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7158 # <limits.h> exists even on freestanding compilers.
7159 # On the NeXT, cc -E runs the code through the compiler's parser,
7160 # not just through cpp. "Syntax error" is here to catch this case.
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7163 #ifdef __STDC__
7164 # include <limits.h>
7165 #else
7166 # include <assert.h>
7167 #endif
7168 Syntax error
7169 _ACEOF
7170 if ac_fn_c_try_cpp "$LINENO"; then :
7172 else
7173 # Broken: fails on valid input.
7174 continue
7176 rm -f conftest.err conftest.i conftest.$ac_ext
7178 # OK, works on sane cases. Now check whether nonexistent headers
7179 # can be detected and how.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7182 #include <ac_nonexistent.h>
7183 _ACEOF
7184 if ac_fn_c_try_cpp "$LINENO"; then :
7185 # Broken: success on invalid input.
7186 continue
7187 else
7188 # Passes both tests.
7189 ac_preproc_ok=:
7190 break
7192 rm -f conftest.err conftest.i conftest.$ac_ext
7194 done
7195 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7196 rm -f conftest.i conftest.err conftest.$ac_ext
7197 if $ac_preproc_ok; then :
7199 else
7200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7202 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7203 See \`config.log' for more details" "$LINENO" 5; }
7206 ac_ext=c
7207 ac_cpp='$CPP $CPPFLAGS'
7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7214 $as_echo_n "checking for ANSI C header files... " >&6; }
7215 if ${ac_cv_header_stdc+:} false; then :
7216 $as_echo_n "(cached) " >&6
7217 else
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7220 #include <stdlib.h>
7221 #include <stdarg.h>
7222 #include <string.h>
7223 #include <float.h>
7226 main ()
7230 return 0;
7232 _ACEOF
7233 if ac_fn_c_try_compile "$LINENO"; then :
7234 ac_cv_header_stdc=yes
7235 else
7236 ac_cv_header_stdc=no
7238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7240 if test $ac_cv_header_stdc = yes; then
7241 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243 /* end confdefs.h. */
7244 #include <string.h>
7246 _ACEOF
7247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7248 $EGREP "memchr" >/dev/null 2>&1; then :
7250 else
7251 ac_cv_header_stdc=no
7253 rm -f conftest*
7257 if test $ac_cv_header_stdc = yes; then
7258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7260 /* end confdefs.h. */
7261 #include <stdlib.h>
7263 _ACEOF
7264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7265 $EGREP "free" >/dev/null 2>&1; then :
7267 else
7268 ac_cv_header_stdc=no
7270 rm -f conftest*
7274 if test $ac_cv_header_stdc = yes; then
7275 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7276 if test "$cross_compiling" = yes; then :
7278 else
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7280 /* end confdefs.h. */
7281 #include <ctype.h>
7282 #include <stdlib.h>
7283 #if ((' ' & 0x0FF) == 0x020)
7284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7286 #else
7287 # define ISLOWER(c) \
7288 (('a' <= (c) && (c) <= 'i') \
7289 || ('j' <= (c) && (c) <= 'r') \
7290 || ('s' <= (c) && (c) <= 'z'))
7291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7292 #endif
7294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7296 main ()
7298 int i;
7299 for (i = 0; i < 256; i++)
7300 if (XOR (islower (i), ISLOWER (i))
7301 || toupper (i) != TOUPPER (i))
7302 return 2;
7303 return 0;
7305 _ACEOF
7306 if ac_fn_c_try_run "$LINENO"; then :
7308 else
7309 ac_cv_header_stdc=no
7311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7312 conftest.$ac_objext conftest.beam conftest.$ac_ext
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7318 $as_echo "$ac_cv_header_stdc" >&6; }
7319 if test $ac_cv_header_stdc = yes; then
7321 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7326 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7327 inttypes.h stdint.h unistd.h
7328 do :
7329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7332 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7333 cat >>confdefs.h <<_ACEOF
7334 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7335 _ACEOF
7339 done
7342 for ac_header in \
7343 AL/al.h \
7344 ApplicationServices/ApplicationServices.h \
7345 AudioToolbox/AudioConverter.h \
7346 AudioUnit/AudioUnit.h \
7347 AudioUnit/AudioComponent.h \
7348 CL/cl.h \
7349 Carbon/Carbon.h \
7350 CommonCrypto/CommonCryptor.h \
7351 CoreAudio/CoreAudio.h \
7352 CoreServices/CoreServices.h \
7353 DiskArbitration/DiskArbitration.h \
7354 EGL/egl.h \
7355 IOKit/IOKitLib.h \
7356 IOKit/hid/IOHIDLib.h \
7357 OpenAL/al.h \
7358 OpenCL/opencl.h \
7359 QuickTime/ImageCompression.h \
7360 Security/Security.h \
7361 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7362 SystemConfiguration/SCNetworkConfiguration.h \
7363 alias.h \
7364 arpa/inet.h \
7365 arpa/nameser.h \
7366 asm/types.h \
7367 asm/user.h \
7368 curses.h \
7369 dirent.h \
7370 dlfcn.h \
7371 elf.h \
7372 float.h \
7373 fnmatch.h \
7374 getopt.h \
7375 gettext-po.h \
7376 grp.h \
7377 gsm.h \
7378 gsm/gsm.h \
7379 ieeefp.h \
7380 inet/mib2.h \
7381 kstat.h \
7382 libproc.h \
7383 link.h \
7384 linux/cdrom.h \
7385 linux/compiler.h \
7386 linux/filter.h \
7387 linux/hdreg.h \
7388 linux/hidraw.h \
7389 linux/input.h \
7390 linux/ioctl.h \
7391 linux/joystick.h \
7392 linux/major.h \
7393 linux/param.h \
7394 linux/serial.h \
7395 linux/types.h \
7396 linux/ucdrom.h \
7397 lwp.h \
7398 mach-o/nlist.h \
7399 mach-o/loader.h \
7400 mach/mach.h \
7401 mach/machine.h \
7402 machine/cpu.h \
7403 machine/limits.h \
7404 machine/sysarch.h \
7405 mntent.h \
7406 ncurses.h \
7407 netdb.h \
7408 netinet/in.h \
7409 netinet/in_systm.h \
7410 netinet/tcp.h \
7411 netinet/tcp_fsm.h \
7412 pcap/pcap.h \
7413 poll.h \
7414 port.h \
7415 pthread.h \
7416 pwd.h \
7417 sched.h \
7418 scsi/scsi.h \
7419 scsi/scsi_ioctl.h \
7420 scsi/sg.h \
7421 stdbool.h \
7422 stdint.h \
7423 stropts.h \
7424 sys/attr.h \
7425 sys/auxv.h \
7426 sys/cdio.h \
7427 sys/elf32.h \
7428 sys/epoll.h \
7429 sys/event.h \
7430 sys/exec_elf.h \
7431 sys/filio.h \
7432 sys/ioctl.h \
7433 sys/ipc.h \
7434 sys/limits.h \
7435 sys/link.h \
7436 sys/mman.h \
7437 sys/modem.h \
7438 sys/msg.h \
7439 sys/mtio.h \
7440 sys/param.h \
7441 sys/poll.h \
7442 sys/prctl.h \
7443 sys/protosw.h \
7444 sys/ptrace.h \
7445 sys/queue.h \
7446 sys/resource.h \
7447 sys/scsiio.h \
7448 sys/shm.h \
7449 sys/signal.h \
7450 sys/socket.h \
7451 sys/socketvar.h \
7452 sys/sockio.h \
7453 sys/statvfs.h \
7454 sys/strtio.h \
7455 sys/syscall.h \
7456 sys/sysinfo.h \
7457 sys/tihdr.h \
7458 sys/time.h \
7459 sys/timeout.h \
7460 sys/times.h \
7461 sys/uio.h \
7462 sys/user.h \
7463 sys/utsname.h \
7464 sys/vnode.h \
7465 sys/wait.h \
7466 syscall.h \
7467 termios.h \
7468 unistd.h \
7469 utime.h \
7470 valgrind/memcheck.h \
7471 valgrind/valgrind.h
7473 do :
7474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7477 cat >>confdefs.h <<_ACEOF
7478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7479 _ACEOF
7483 done
7485 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7486 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7488 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7493 if test $ac_cv_header_sys_mkdev_h = no; then
7494 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7495 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7497 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7504 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7505 if ${ac_cv_header_stat_broken+:} false; then :
7506 $as_echo_n "(cached) " >&6
7507 else
7508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7510 #include <sys/types.h>
7511 #include <sys/stat.h>
7513 #if defined S_ISBLK && defined S_IFDIR
7514 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7515 #endif
7517 #if defined S_ISBLK && defined S_IFCHR
7518 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7519 #endif
7521 #if defined S_ISLNK && defined S_IFREG
7522 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7523 #endif
7525 #if defined S_ISSOCK && defined S_IFREG
7526 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7527 #endif
7529 _ACEOF
7530 if ac_fn_c_try_compile "$LINENO"; then :
7531 ac_cv_header_stat_broken=no
7532 else
7533 ac_cv_header_stat_broken=yes
7535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7538 $as_echo "$ac_cv_header_stat_broken" >&6; }
7539 if test $ac_cv_header_stat_broken = yes; then
7541 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7547 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7548 do :
7549 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7550 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7551 #ifdef HAVE_SYS_PARAM_H
7552 # include <sys/param.h>
7553 #endif
7555 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7556 cat >>confdefs.h <<_ACEOF
7557 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7558 _ACEOF
7562 done
7565 for ac_header in \
7566 netinet/ip.h \
7567 net/if.h \
7568 net/if_arp.h \
7569 net/if_dl.h \
7570 net/if_types.h \
7571 net/route.h \
7572 netinet/if_ether.h \
7573 netinet/if_inarp.h \
7574 netinet/in_pcb.h \
7575 netinet/ip_icmp.h \
7576 netinet/ip_var.h \
7577 netinet/udp.h \
7578 netipx/ipx.h \
7579 sys/un.h \
7581 do :
7582 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7583 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7584 #ifdef HAVE_SYS_SOCKET_H
7585 # include <sys/socket.h>
7586 #endif
7587 #ifdef HAVE_SYS_SOCKETVAR_H
7588 # include <sys/socketvar.h>
7589 #endif
7590 #ifdef HAVE_NET_ROUTE_H
7591 # include <net/route.h>
7592 #endif
7593 #ifdef HAVE_NETINET_IN_H
7594 # include <netinet/in.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IN_SYSTM_H
7597 # include <netinet/in_systm.h>
7598 #endif
7599 #ifdef HAVE_NET_IF_H
7600 # include <net/if.h>
7601 #endif
7602 #ifdef HAVE_NETINET_IP_H
7603 # include <netinet/ip.h>
7604 #endif
7606 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7607 cat >>confdefs.h <<_ACEOF
7608 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7609 _ACEOF
7613 done
7616 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7617 do :
7618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7619 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7620 #ifdef HAVE_ALIAS_H
7621 # include <alias.h>
7622 #endif
7623 #ifdef HAVE_SYS_SOCKET_H
7624 # include <sys/socket.h>
7625 #endif
7626 #ifdef HAVE_SYS_SOCKETVAR_H
7627 # include <sys/socketvar.h>
7628 #endif
7629 #ifdef HAVE_SYS_TIMEOUT_H
7630 # include <sys/timeout.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IN_H
7633 # include <netinet/in.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IN_SYSTM_H
7636 # include <netinet/in_systm.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_H
7639 # include <netinet/ip.h>
7640 #endif
7641 #ifdef HAVE_NETINET_IP_VAR_H
7642 # include <netinet/ip_var.h>
7643 #endif
7644 #ifdef HAVE_NETINET_IP_ICMP_H
7645 # include <netinet/ip_icmp.h>
7646 #endif
7647 #ifdef HAVE_NETINET_UDP_H
7648 # include <netinet/udp.h>
7649 #endif
7650 #ifdef HAVE_NETINET_TCP_H
7651 # include <netinet/tcp.h>
7652 #endif
7653 #ifdef HAVE_NETINET_TCP_TIMER_H
7654 #include <netinet/tcp_timer.h>
7655 #endif
7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7658 cat >>confdefs.h <<_ACEOF
7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7660 _ACEOF
7664 done
7667 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7668 do :
7669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7671 #ifdef HAVE_ASM_TYPES_H
7672 # include <asm/types.h>
7673 #endif
7674 #ifdef HAVE_SYS_SOCKET_H
7675 # include <sys/socket.h>
7676 #endif
7677 #ifdef HAVE_LINUX_TYPES_H
7678 # include <linux/types.h>
7679 #endif
7681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7682 cat >>confdefs.h <<_ACEOF
7683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7684 _ACEOF
7688 done
7691 for ac_header in mach-o/dyld_images.h
7692 do :
7693 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7694 # include <stdbool.h>
7695 #endif
7696 #ifdef HAVE_STDINT_H
7697 # include <stdint.h>
7698 #endif
7700 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7703 _ACEOF
7707 done
7710 for ac_header in resolv.h
7711 do :
7712 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7713 #ifdef HAVE_SYS_SOCKET_H
7714 # include <sys/socket.h>
7715 #endif
7716 #ifdef HAVE_NETINET_IN_H
7717 # include <netinet/in.h>
7718 #endif
7719 #ifdef HAVE_ARPA_NAMESER_H
7720 # include <arpa/nameser.h>
7721 #endif
7723 if test "x$ac_cv_header_resolv_h" = xyes; then :
7724 cat >>confdefs.h <<_ACEOF
7725 #define HAVE_RESOLV_H 1
7726 _ACEOF
7730 done
7733 for ac_header in ifaddrs.h
7734 do :
7735 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7737 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7738 cat >>confdefs.h <<_ACEOF
7739 #define HAVE_IFADDRS_H 1
7740 _ACEOF
7744 done
7747 for ac_header in sys/ucontext.h
7748 do :
7749 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7751 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define HAVE_SYS_UCONTEXT_H 1
7754 _ACEOF
7758 done
7761 for ac_header in sys/thr.h
7762 do :
7763 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7764 #ifdef HAVE_SYS_UCONTEXT_H
7765 #include <sys/ucontext.h>
7766 #endif
7768 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7769 cat >>confdefs.h <<_ACEOF
7770 #define HAVE_SYS_THR_H 1
7771 _ACEOF
7775 done
7778 for ac_header in pthread_np.h
7779 do :
7780 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7781 #include <pthread.h>
7782 #endif
7784 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7785 cat >>confdefs.h <<_ACEOF
7786 #define HAVE_PTHREAD_NP_H 1
7787 _ACEOF
7791 done
7794 for ac_header in linux/videodev2.h
7795 do :
7796 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7797 #include <sys/time.h>
7798 #endif
7799 #include <sys/types.h>
7800 #ifdef HAVE_ASM_TYPES_H
7801 #include <asm/types.h>
7802 #endif
7804 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7805 cat >>confdefs.h <<_ACEOF
7806 #define HAVE_LINUX_VIDEODEV2_H 1
7807 _ACEOF
7811 done
7814 for ac_header in libprocstat.h
7815 do :
7816 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7817 #include <sys/param.h>
7818 #endif
7819 #ifdef HAVE_SYS_QUEUE_H
7820 #include <sys/queue.h>
7821 #endif
7822 #ifdef HAVE_SYS_SOCKET_H
7823 #include <sys/socket.h>
7824 #endif
7826 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_LIBPROCSTAT_H 1
7829 _ACEOF
7833 done
7837 DLLFLAGS="-D_REENTRANT"
7839 LDRPATH_INSTALL=""
7841 LDRPATH_LOCAL=""
7843 LDDLLFLAGS=""
7845 LDEXECFLAGS=""
7847 TOP_INSTALL_LIB=""
7849 TOP_INSTALL_DEV=""
7851 WINELOADER_LDFLAGS=""
7853 WINEPRELOADER_LDFLAGS=""
7855 LIBEXT="so"
7856 DLLEXT=".so"
7857 # Extract the first word of "ldd", so it can be a program name with args.
7858 set dummy ldd; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7860 $as_echo_n "checking for $ac_word... " >&6; }
7861 if ${ac_cv_path_LDD+:} false; then :
7862 $as_echo_n "(cached) " >&6
7863 else
7864 case $LDD in
7865 [\\/]* | ?:[\\/]*)
7866 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 as_dummy="/sbin:/usr/sbin:$PATH"
7871 for as_dir in $as_dummy
7873 IFS=$as_save_IFS
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 break 2
7881 done
7882 done
7883 IFS=$as_save_IFS
7885 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7887 esac
7889 LDD=$ac_cv_path_LDD
7890 if test -n "$LDD"; then
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7892 $as_echo "$LDD" >&6; }
7893 else
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7895 $as_echo "no" >&6; }
7899 if test -n "$ac_tool_prefix"; then
7900 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7901 set dummy ${ac_tool_prefix}otool; ac_word=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903 $as_echo_n "checking for $ac_word... " >&6; }
7904 if ${ac_cv_prog_OTOOL+:} false; then :
7905 $as_echo_n "(cached) " >&6
7906 else
7907 if test -n "$OTOOL"; then
7908 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7909 else
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911 for as_dir in $PATH
7913 IFS=$as_save_IFS
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 break 2
7921 done
7922 done
7923 IFS=$as_save_IFS
7927 OTOOL=$ac_cv_prog_OTOOL
7928 if test -n "$OTOOL"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7930 $as_echo "$OTOOL" >&6; }
7931 else
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 $as_echo "no" >&6; }
7938 if test -z "$ac_cv_prog_OTOOL"; then
7939 ac_ct_OTOOL=$OTOOL
7940 # Extract the first word of "otool", so it can be a program name with args.
7941 set dummy otool; ac_word=$2
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7943 $as_echo_n "checking for $ac_word... " >&6; }
7944 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7945 $as_echo_n "(cached) " >&6
7946 else
7947 if test -n "$ac_ct_OTOOL"; then
7948 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7949 else
7950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7951 for as_dir in $PATH
7953 IFS=$as_save_IFS
7954 test -z "$as_dir" && as_dir=.
7955 for ac_exec_ext in '' $ac_executable_extensions; do
7956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7957 ac_cv_prog_ac_ct_OTOOL="otool"
7958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 break 2
7961 done
7962 done
7963 IFS=$as_save_IFS
7967 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7968 if test -n "$ac_ct_OTOOL"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7970 $as_echo "$ac_ct_OTOOL" >&6; }
7971 else
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7976 if test "x$ac_ct_OTOOL" = x; then
7977 OTOOL="otool"
7978 else
7979 case $cross_compiling:$ac_tool_warned in
7980 yes:)
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7983 ac_tool_warned=yes ;;
7984 esac
7985 OTOOL=$ac_ct_OTOOL
7987 else
7988 OTOOL="$ac_cv_prog_OTOOL"
7991 if test -n "$ac_tool_prefix"; then
7992 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7993 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995 $as_echo_n "checking for $ac_word... " >&6; }
7996 if ${ac_cv_prog_READELF+:} false; then :
7997 $as_echo_n "(cached) " >&6
7998 else
7999 if test -n "$READELF"; then
8000 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8001 else
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 for as_dir in $PATH
8005 IFS=$as_save_IFS
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8009 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 break 2
8013 done
8014 done
8015 IFS=$as_save_IFS
8019 READELF=$ac_cv_prog_READELF
8020 if test -n "$READELF"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8022 $as_echo "$READELF" >&6; }
8023 else
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025 $as_echo "no" >&6; }
8030 if test -z "$ac_cv_prog_READELF"; then
8031 ac_ct_READELF=$READELF
8032 # Extract the first word of "readelf", so it can be a program name with args.
8033 set dummy readelf; ac_word=$2
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8035 $as_echo_n "checking for $ac_word... " >&6; }
8036 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8037 $as_echo_n "(cached) " >&6
8038 else
8039 if test -n "$ac_ct_READELF"; then
8040 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8041 else
8042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8043 for as_dir in $PATH
8045 IFS=$as_save_IFS
8046 test -z "$as_dir" && as_dir=.
8047 for ac_exec_ext in '' $ac_executable_extensions; do
8048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8049 ac_cv_prog_ac_ct_READELF="readelf"
8050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8051 break 2
8053 done
8054 done
8055 IFS=$as_save_IFS
8059 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8060 if test -n "$ac_ct_READELF"; then
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8062 $as_echo "$ac_ct_READELF" >&6; }
8063 else
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065 $as_echo "no" >&6; }
8068 if test "x$ac_ct_READELF" = x; then
8069 READELF="true"
8070 else
8071 case $cross_compiling:$ac_tool_warned in
8072 yes:)
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8075 ac_tool_warned=yes ;;
8076 esac
8077 READELF=$ac_ct_READELF
8079 else
8080 READELF="$ac_cv_prog_READELF"
8083 wine_rules_file=conf$$rules.make
8084 rm -f $wine_rules_file
8085 SUBDIRS=""
8087 DISABLED_SUBDIRS=""
8089 CONFIGURE_TARGETS=""
8092 wine_fn_append_file ()
8094 as_fn_append $1 " \\$as_nl $2"
8097 wine_fn_append_rule ()
8099 $as_echo "$1" >>$wine_rules_file
8102 wine_fn_config_makefile ()
8104 wine_fn_append_file SUBDIRS $1
8105 if eval test \"x\$"$2"\" = x"no"; then :
8106 wine_fn_append_file DISABLED_SUBDIRS $1
8110 wine_fn_config_symlink ()
8112 ac_links=$@
8113 wine_fn_append_rule \
8114 "$ac_links:
8115 @./config.status \$@"
8116 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8119 wine_binary="wine"
8120 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8121 WINELOADER_PROGRAMS="$wine_binary"
8123 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8125 case $host_os in
8126 cygwin*|mingw32*)
8127 if test -n "$ac_tool_prefix"; then
8128 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8129 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131 $as_echo_n "checking for $ac_word... " >&6; }
8132 if ${ac_cv_prog_DLLTOOL+:} false; then :
8133 $as_echo_n "(cached) " >&6
8134 else
8135 if test -n "$DLLTOOL"; then
8136 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8137 else
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 for as_dir in $PATH
8141 IFS=$as_save_IFS
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 break 2
8149 done
8150 done
8151 IFS=$as_save_IFS
8155 DLLTOOL=$ac_cv_prog_DLLTOOL
8156 if test -n "$DLLTOOL"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8158 $as_echo "$DLLTOOL" >&6; }
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8166 if test -z "$ac_cv_prog_DLLTOOL"; then
8167 ac_ct_DLLTOOL=$DLLTOOL
8168 # Extract the first word of "dlltool", so it can be a program name with args.
8169 set dummy dlltool; ac_word=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8171 $as_echo_n "checking for $ac_word... " >&6; }
8172 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8173 $as_echo_n "(cached) " >&6
8174 else
8175 if test -n "$ac_ct_DLLTOOL"; then
8176 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8177 else
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 for as_dir in $PATH
8181 IFS=$as_save_IFS
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8185 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8187 break 2
8189 done
8190 done
8191 IFS=$as_save_IFS
8195 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8196 if test -n "$ac_ct_DLLTOOL"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8198 $as_echo "$ac_ct_DLLTOOL" >&6; }
8199 else
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8201 $as_echo "no" >&6; }
8204 if test "x$ac_ct_DLLTOOL" = x; then
8205 DLLTOOL="false"
8206 else
8207 case $cross_compiling:$ac_tool_warned in
8208 yes:)
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8211 ac_tool_warned=yes ;;
8212 esac
8213 DLLTOOL=$ac_ct_DLLTOOL
8215 else
8216 DLLTOOL="$ac_cv_prog_DLLTOOL"
8219 LIBEXT="dll"
8220 DLLEXT=""
8221 case $host_cpu in
8222 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8223 esac
8224 enable_iphlpapi=${enable_iphlpapi:-no}
8225 enable_kernel32=${enable_kernel32:-no}
8226 enable_ntdll=${enable_ntdll:-no}
8227 enable_ws2_32=${enable_ws2_32:-no}
8228 enable_loader=${enable_loader:-no}
8229 enable_server=${enable_server:-no}
8230 with_x=${with_x:-no}
8231 with_pthread=${with_pthread:-no}
8234 darwin*|macosx*)
8235 ac_ext=m
8236 ac_cpp='$OBJCPP $CPPFLAGS'
8237 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8238 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8239 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8241 ac_ext=m
8242 ac_cpp='$OBJCPP $CPPFLAGS'
8243 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8244 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8245 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8246 if test -n "$ac_tool_prefix"; then
8247 for ac_prog in gcc objcc objc cc CC
8249 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252 $as_echo_n "checking for $ac_word... " >&6; }
8253 if ${ac_cv_prog_OBJC+:} false; then :
8254 $as_echo_n "(cached) " >&6
8255 else
8256 if test -n "$OBJC"; then
8257 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8258 else
8259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 for as_dir in $PATH
8262 IFS=$as_save_IFS
8263 test -z "$as_dir" && as_dir=.
8264 for ac_exec_ext in '' $ac_executable_extensions; do
8265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8266 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 break 2
8270 done
8271 done
8272 IFS=$as_save_IFS
8276 OBJC=$ac_cv_prog_OBJC
8277 if test -n "$OBJC"; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8279 $as_echo "$OBJC" >&6; }
8280 else
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282 $as_echo "no" >&6; }
8286 test -n "$OBJC" && break
8287 done
8289 if test -z "$OBJC"; then
8290 ac_ct_OBJC=$OBJC
8291 for ac_prog in gcc objcc objc cc CC
8293 # Extract the first word of "$ac_prog", so it can be a program name with args.
8294 set dummy $ac_prog; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 if test -n "$ac_ct_OBJC"; then
8301 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8302 else
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 for as_dir in $PATH
8306 IFS=$as_save_IFS
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8310 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8312 break 2
8314 done
8315 done
8316 IFS=$as_save_IFS
8320 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8321 if test -n "$ac_ct_OBJC"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8323 $as_echo "$ac_ct_OBJC" >&6; }
8324 else
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8330 test -n "$ac_ct_OBJC" && break
8331 done
8333 if test "x$ac_ct_OBJC" = x; then
8334 OBJC="gcc"
8335 else
8336 case $cross_compiling:$ac_tool_warned in
8337 yes:)
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8340 ac_tool_warned=yes ;;
8341 esac
8342 OBJC=$ac_ct_OBJC
8346 # Provide some information about the compiler.
8347 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8348 set X $ac_compile
8349 ac_compiler=$2
8350 for ac_option in --version -v -V -qversion; do
8351 { { ac_try="$ac_compiler $ac_option >&5"
8352 case "(($ac_try" in
8353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8354 *) ac_try_echo=$ac_try;;
8355 esac
8356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8357 $as_echo "$ac_try_echo"; } >&5
8358 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8359 ac_status=$?
8360 if test -s conftest.err; then
8361 sed '10a\
8362 ... rest of stderr output deleted ...
8363 10q' conftest.err >conftest.er1
8364 cat conftest.er1 >&5
8366 rm -f conftest.er1 conftest.err
8367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8368 test $ac_status = 0; }
8369 done
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8372 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8373 if ${ac_cv_objc_compiler_gnu+:} false; then :
8374 $as_echo_n "(cached) " >&6
8375 else
8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 /* end confdefs.h. */
8380 main ()
8382 #ifndef __GNUC__
8383 choke me
8384 #endif
8387 return 0;
8389 _ACEOF
8390 if ac_fn_objc_try_compile "$LINENO"; then :
8391 ac_compiler_gnu=yes
8392 else
8393 ac_compiler_gnu=no
8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8396 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8400 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8401 if test $ac_compiler_gnu = yes; then
8402 GOBJC=yes
8403 else
8404 GOBJC=
8406 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8407 ac_save_OBJCFLAGS=$OBJCFLAGS
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8409 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8410 if ${ac_cv_prog_objc_g+:} false; then :
8411 $as_echo_n "(cached) " >&6
8412 else
8413 ac_save_objc_werror_flag=$ac_objc_werror_flag
8414 ac_objc_werror_flag=yes
8415 ac_cv_prog_objc_g=no
8416 OBJCFLAGS="-g"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8421 main ()
8425 return 0;
8427 _ACEOF
8428 if ac_fn_objc_try_compile "$LINENO"; then :
8429 ac_cv_prog_objc_g=yes
8430 else
8431 OBJCFLAGS=""
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 :
8445 else
8446 ac_objc_werror_flag=$ac_save_objc_werror_flag
8447 OBJCFLAGS="-g"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8452 main ()
8456 return 0;
8458 _ACEOF
8459 if ac_fn_objc_try_compile "$LINENO"; then :
8460 ac_cv_prog_objc_g=yes
8462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8467 ac_objc_werror_flag=$ac_save_objc_werror_flag
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8470 $as_echo "$ac_cv_prog_objc_g" >&6; }
8471 if test "$ac_test_OBJCFLAGS" = set; then
8472 OBJCFLAGS=$ac_save_OBJCFLAGS
8473 elif test $ac_cv_prog_objc_g = yes; then
8474 if test "$GOBJC" = yes; then
8475 OBJCFLAGS="-g -O2"
8476 else
8477 OBJCFLAGS="-g"
8479 else
8480 if test "$GOBJC" = yes; then
8481 OBJCFLAGS="-O2"
8482 else
8483 OBJCFLAGS=
8486 ac_ext=m
8487 ac_cpp='$OBJCPP $CPPFLAGS'
8488 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8489 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8490 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8493 ac_ext=m
8494 ac_cpp='$OBJCPP $CPPFLAGS'
8495 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8496 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8497 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8499 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8500 if test -z "$OBJCPP"; then
8501 if ${ac_cv_prog_OBJCPP+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 # Double quotes because OBJCPP needs to be expanded
8505 for OBJCPP in "$OBJC -E" "/lib/cpp"
8507 ac_preproc_ok=false
8508 for ac_objc_preproc_warn_flag in '' yes
8510 # Use a header file that comes with gcc, so configuring glibc
8511 # with a fresh cross-compiler works.
8512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8513 # <limits.h> exists even on freestanding compilers.
8514 # On the NeXT, cc -E runs the code through the compiler's parser,
8515 # not just through cpp. "Syntax error" is here to catch this case.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518 #ifdef __STDC__
8519 # include <limits.h>
8520 #else
8521 # include <assert.h>
8522 #endif
8523 Syntax error
8524 _ACEOF
8525 if ac_fn_objc_try_cpp "$LINENO"; then :
8527 else
8528 # Broken: fails on valid input.
8529 continue
8531 rm -f conftest.err conftest.i conftest.$ac_ext
8533 # OK, works on sane cases. Now check whether nonexistent headers
8534 # can be detected and how.
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <ac_nonexistent.h>
8538 _ACEOF
8539 if ac_fn_objc_try_cpp "$LINENO"; then :
8540 # Broken: success on invalid input.
8541 continue
8542 else
8543 # Passes both tests.
8544 ac_preproc_ok=:
8545 break
8547 rm -f conftest.err conftest.i conftest.$ac_ext
8549 done
8550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8551 rm -f conftest.i conftest.err conftest.$ac_ext
8552 if $ac_preproc_ok; then :
8553 break
8556 done
8557 ac_cv_prog_OBJCPP=$OBJCPP
8560 OBJCPP=$ac_cv_prog_OBJCPP
8561 else
8562 ac_cv_prog_OBJCPP=$OBJCPP
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8565 $as_echo "$OBJCPP" >&6; }
8566 ac_preproc_ok=false
8567 for ac_objc_preproc_warn_flag in '' yes
8569 # Use a header file that comes with gcc, so configuring glibc
8570 # with a fresh cross-compiler works.
8571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8572 # <limits.h> exists even on freestanding compilers.
8573 # On the NeXT, cc -E runs the code through the compiler's parser,
8574 # not just through cpp. "Syntax error" is here to catch this case.
8575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8576 /* end confdefs.h. */
8577 #ifdef __STDC__
8578 # include <limits.h>
8579 #else
8580 # include <assert.h>
8581 #endif
8582 Syntax error
8583 _ACEOF
8584 if ac_fn_objc_try_cpp "$LINENO"; then :
8586 else
8587 # Broken: fails on valid input.
8588 continue
8590 rm -f conftest.err conftest.i conftest.$ac_ext
8592 # OK, works on sane cases. Now check whether nonexistent headers
8593 # can be detected and how.
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 #include <ac_nonexistent.h>
8597 _ACEOF
8598 if ac_fn_objc_try_cpp "$LINENO"; then :
8599 # Broken: success on invalid input.
8600 continue
8601 else
8602 # Passes both tests.
8603 ac_preproc_ok=:
8604 break
8606 rm -f conftest.err conftest.i conftest.$ac_ext
8608 done
8609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8610 rm -f conftest.i conftest.err conftest.$ac_ext
8611 if $ac_preproc_ok; then :
8613 else
8614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8616 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8617 See \`config.log' for more details" "$LINENO" 5; }
8620 ac_ext=m
8621 ac_cpp='$OBJCPP $CPPFLAGS'
8622 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8623 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8624 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8627 for ac_header in Metal/Metal.h
8628 do :
8629 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8630 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8631 cat >>confdefs.h <<_ACEOF
8632 #define HAVE_METAL_METAL_H 1
8633 _ACEOF
8637 done
8639 ac_ext=c
8640 ac_cpp='$CPP $CPPFLAGS'
8641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8645 LIBEXT="dylib"
8646 DLLFLAGS="$DLLFLAGS -fPIC"
8647 LDDLLFLAGS="-fPIC"
8648 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8649 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8650 COREFOUNDATION_LIBS="-framework CoreFoundation"
8652 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8654 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8656 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8658 CORESERVICES_LIBS="-framework CoreServices"
8660 APPKIT_LIBS="-framework AppKit"
8662 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8665 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8667 wine_can_build_preloader=yes
8668 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8670 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8671 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 ac_wine_try_cflags_saved=$CFLAGS
8675 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8677 /* end confdefs.h. */
8678 int main(int argc, char **argv) { return 0; }
8679 _ACEOF
8680 if ac_fn_c_try_link "$LINENO"; then :
8681 ac_cv_cflags__Wl__no_new_main__e__main=yes
8682 else
8683 ac_cv_cflags__Wl__no_new_main__e__main=no
8685 rm -f core conftest.err conftest.$ac_objext \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8690 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8691 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8692 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8694 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8695 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8706 else
8707 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8714 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8715 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8716 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8717 else
8718 { $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
8719 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8720 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8721 $as_echo_n "(cached) " >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8726 /* end confdefs.h. */
8727 int main(int argc, char **argv) { return 0; }
8728 _ACEOF
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8731 else
8732 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { $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
8739 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8740 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8741 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8742 else
8743 wine_can_build_preloader=no
8746 else
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8748 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8749 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8760 else
8761 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8768 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8769 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8770 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8771 else
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8773 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8774 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8785 else
8786 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 CFLAGS=$ac_wine_try_cflags_saved
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8793 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8794 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8795 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8796 else
8797 wine_can_build_preloader=no
8801 if test "$wine_can_build_preloader" = "yes"
8802 then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8804 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8805 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 ac_wine_try_cflags_saved=$CFLAGS
8809 CFLAGS="$CFLAGS -Wl,-no_pie"
8810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8811 /* end confdefs.h. */
8812 int main(int argc, char **argv) { return 0; }
8813 _ACEOF
8814 if ac_fn_c_try_link "$LINENO"; then :
8815 ac_cv_cflags__Wl__no_pie=yes
8816 else
8817 ac_cv_cflags__Wl__no_pie=no
8819 rm -f core conftest.err conftest.$ac_objext \
8820 conftest$ac_exeext conftest.$ac_ext
8821 CFLAGS=$ac_wine_try_cflags_saved
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8824 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8825 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8826 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8828 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8829 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8830 else
8831 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8834 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8835 then
8836 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8839 if test "$ac_cv_header_Security_Security_h" = "yes"
8840 then
8841 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8843 ac_save_LIBS="$LIBS"
8844 LIBS="$LIBS $SECURITY_LIBS"
8845 for ac_func in SSLCopyPeerCertificates
8846 do :
8847 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8848 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8849 cat >>confdefs.h <<_ACEOF
8850 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8851 _ACEOF
8854 done
8856 LIBS="$ac_save_LIBS"
8858 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8859 then
8860 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8861 then
8862 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8864 else
8865 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8868 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8869 ac_save_LIBS="$LIBS"
8870 LIBS="$LIBS $COREAUDIO_LIBS"
8871 for ac_func in AUGraphAddNode
8872 do :
8873 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8874 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8875 cat >>confdefs.h <<_ACEOF
8876 #define HAVE_AUGRAPHADDNODE 1
8877 _ACEOF
8880 done
8882 LIBS="$ac_save_LIBS"
8884 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8885 then
8886 OPENAL_LIBS="-framework OpenAL"
8889 cat >>confdefs.h <<_ACEOF
8890 #define HAVE_OPENAL 1
8891 _ACEOF
8893 ac_cv_lib_openal=yes
8895 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8896 then
8897 OPENCL_LIBS="-framework OpenCL"
8899 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8901 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8902 then
8903 ac_save_LIBS="$LIBS"
8904 LIBS="$LIBS $IOKIT_LIBS"
8905 for ac_func in IOHIDManagerCreate
8906 do :
8907 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8908 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8909 cat >>confdefs.h <<_ACEOF
8910 #define HAVE_IOHIDMANAGERCREATE 1
8911 _ACEOF
8914 done
8916 LIBS="$ac_save_LIBS"
8918 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8919 then
8920 ac_save_LIBS="$LIBS"
8921 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8923 $as_echo_n "checking for the QuickTime framework... " >&6; }
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8926 #include <QuickTime/ImageCompression.h>
8928 main ()
8930 CodecManagerVersion(NULL);
8932 return 0;
8934 _ACEOF
8935 if ac_fn_c_try_link "$LINENO"; then :
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8937 $as_echo "yes" >&6; }
8938 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8940 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8941 else
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8943 $as_echo "no" >&6; }
8944 ac_cv_header_QuickTime_ImageCompression_h=no
8946 rm -f core conftest.err conftest.$ac_objext \
8947 conftest$ac_exeext conftest.$ac_ext
8948 LIBS="$ac_save_LIBS"
8950 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8951 then
8952 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8954 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8955 then
8956 CARBON_LIBS="-framework Carbon"
8959 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8960 then
8961 METAL_LIBS="-framework Metal -framework QuartzCore"
8965 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8966 then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8968 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8969 ac_ext=m
8970 ac_cpp='$OBJCPP $CPPFLAGS'
8971 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8972 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8973 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976 /* end confdefs.h. */
8977 #include <Metal/Metal.h>
8979 main ()
8981 id<MTLDevice> device; device.registryID;
8983 return 0;
8985 _ACEOF
8986 if ac_fn_objc_try_compile "$LINENO"; then :
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8988 $as_echo "yes" >&6; }
8990 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8992 else
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8994 $as_echo "no" >&6; }
8996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8997 ac_ext=c
8998 ac_cpp='$CPP $CPPFLAGS'
8999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9005 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9006 then
9007 ac_save_LIBS="$LIBS"
9008 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9009 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9010 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9011 enable_winemac_drv=${enable_winemac_drv:-yes}
9014 LIBS="$ac_save_LIBS"
9017 if test "x$enable_win16" = "xyes"
9018 then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9020 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9021 if test "$cross_compiling" = yes; then :
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9023 $as_echo "cross-compiling, assuming yes" >&6; }
9024 else
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9027 asm(".text\n"
9028 "bad:\tnop;nop\n"
9029 "good:\tnop;nop\n\t"
9030 ".globl _testfunc\n"
9031 "_testfunc:\tcallw good");
9032 extern void testfunc();
9034 main ()
9036 unsigned short *p = (unsigned short *)testfunc;
9037 return p[0] != 0xe866 || p[1] != 0xfffa
9039 return 0;
9041 _ACEOF
9042 if ac_fn_c_try_run "$LINENO"; then :
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9044 $as_echo "yes" >&6; }
9045 else
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9047 $as_echo "no" >&6; }
9048 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
9050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9051 conftest.$ac_objext conftest.beam conftest.$ac_ext
9056 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9058 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9060 WINELOADER_DEPENDS="wine_info.plist"
9062 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9063 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9066 linux-android*)
9067 DLLFLAGS="$DLLFLAGS -fPIC"
9068 LDDLLFLAGS="-fPIC"
9069 LDEXECFLAGS="-Wl,-pie"
9070 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9072 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9073 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 ac_wine_try_cflags_saved=$CFLAGS
9077 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 int main(int argc, char **argv) { return 0; }
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9084 else
9085 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9087 rm -f core conftest.err conftest.$ac_objext \
9088 conftest$ac_exeext conftest.$ac_ext
9089 CFLAGS=$ac_wine_try_cflags_saved
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9092 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9093 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9094 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9096 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9097 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9099 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9100 if eval \${$as_ac_var+:} false; then :
9101 $as_echo_n "(cached) " >&6
9102 else
9103 ac_wine_try_cflags_saved=$CFLAGS
9104 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9106 /* end confdefs.h. */
9107 int main(int argc, char **argv) { return 0; }
9108 _ACEOF
9109 if ac_fn_c_try_link "$LINENO"; then :
9110 eval "$as_ac_var=yes"
9111 else
9112 eval "$as_ac_var=no"
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 CFLAGS=$ac_wine_try_cflags_saved
9118 eval ac_res=\$$as_ac_var
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9120 $as_echo "$ac_res" >&6; }
9121 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9122 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9123 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9124 else
9125 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9127 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9128 if eval \${$as_ac_var+:} false; then :
9129 $as_echo_n "(cached) " >&6
9130 else
9131 ac_wine_try_cflags_saved=$CFLAGS
9132 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9134 /* end confdefs.h. */
9135 int main(int argc, char **argv) { return 0; }
9136 _ACEOF
9137 if ac_fn_c_try_link "$LINENO"; then :
9138 eval "$as_ac_var=yes"
9139 else
9140 eval "$as_ac_var=no"
9142 rm -f core conftest.err conftest.$ac_objext \
9143 conftest$ac_exeext conftest.$ac_ext
9144 CFLAGS=$ac_wine_try_cflags_saved
9146 eval ac_res=\$$as_ac_var
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9148 $as_echo "$ac_res" >&6; }
9149 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9150 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9151 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9155 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9156 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9157 $as_echo_n "(cached) " >&6
9158 else
9159 ac_wine_try_cflags_saved=$CFLAGS
9160 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9162 /* end confdefs.h. */
9163 int main(int argc, char **argv) { return 0; }
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_cflags__Wl___enable_new_dtags=yes
9167 else
9168 ac_cv_cflags__Wl___enable_new_dtags=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 CFLAGS=$ac_wine_try_cflags_saved
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9175 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9176 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9177 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9180 LIBWINE_SHAREDLIB="libwine.so"
9182 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9184 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9187 $as_echo_n "checking for -lEGL... " >&6; }
9188 if ${ac_cv_lib_soname_EGL+:} false; then :
9189 $as_echo_n "(cached) " >&6
9190 else
9191 ac_check_soname_save_LIBS=$LIBS
9192 LIBS="-lEGL $LIBS"
9193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9194 /* end confdefs.h. */
9196 /* Override any GCC internal prototype to avoid an error.
9197 Use char because int might match the return type of a GCC
9198 builtin and then its argument prototype would still apply. */
9199 #ifdef __cplusplus
9200 extern "C"
9201 #endif
9202 char eglGetProcAddress ();
9204 main ()
9206 return eglGetProcAddress ();
9208 return 0;
9210 _ACEOF
9211 if ac_fn_c_try_link "$LINENO"; then :
9212 case "$LIBEXT" in
9213 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9214 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'` ;;
9215 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9216 if ${ac_cv_lib_soname_EGL:+false} :; then :
9217 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9218 fi ;;
9219 esac
9220 else
9221 ac_cv_lib_soname_EGL=
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_soname_save_LIBS
9227 if ${ac_cv_lib_soname_EGL:+false} :; then :
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9229 $as_echo "not found" >&6; }
9231 else
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9233 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9235 cat >>confdefs.h <<_ACEOF
9236 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9237 _ACEOF
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9242 $as_echo_n "checking for -lGLESv2... " >&6; }
9243 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9244 $as_echo_n "(cached) " >&6
9245 else
9246 ac_check_soname_save_LIBS=$LIBS
9247 LIBS="-lGLESv2 $LIBS"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9249 /* end confdefs.h. */
9251 /* Override any GCC internal prototype to avoid an error.
9252 Use char because int might match the return type of a GCC
9253 builtin and then its argument prototype would still apply. */
9254 #ifdef __cplusplus
9255 extern "C"
9256 #endif
9257 char glFlush ();
9259 main ()
9261 return glFlush ();
9263 return 0;
9265 _ACEOF
9266 if ac_fn_c_try_link "$LINENO"; then :
9267 case "$LIBEXT" in
9268 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9269 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'` ;;
9270 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9271 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9272 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9273 fi ;;
9274 esac
9275 else
9276 ac_cv_lib_soname_GLESv2=
9278 rm -f core conftest.err conftest.$ac_objext \
9279 conftest$ac_exeext conftest.$ac_ext
9280 LIBS=$ac_check_soname_save_LIBS
9282 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9284 $as_echo "not found" >&6; }
9286 else
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9288 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9290 cat >>confdefs.h <<_ACEOF
9291 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9292 _ACEOF
9297 if test "x$exec_prefix" = xNONE
9298 then
9299 case $host_cpu in
9300 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9301 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9302 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9303 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9304 esac
9309 case $host_cpu in
9310 *i[3456789]86*)
9311 DLLFLAGS="$DLLFLAGS -fno-PIC"
9312 LDDLLFLAGS="-fno-PIC" ;;
9314 DLLFLAGS="$DLLFLAGS -fPIC"
9315 LDDLLFLAGS="-fPIC" ;;
9316 esac
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9318 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9319 if ${ac_cv_c_dll_gnuelf+:} false; then :
9320 $as_echo_n "(cached) " >&6
9321 else
9322 ac_wine_try_cflags_saved=$CFLAGS
9323 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9326 void myfunc() {}
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9330 else
9331 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 CFLAGS=$ac_wine_try_cflags_saved
9336 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9337 ac_cv_c_dll_gnuelf="yes"
9338 else
9339 ac_cv_c_dll_gnuelf="no"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9343 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9344 if test "$ac_cv_c_dll_gnuelf" = "yes"
9345 then
9346 LIBWINE_LDFLAGS="-shared"
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9348 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9349 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9350 $as_echo_n "(cached) " >&6
9351 else
9352 ac_wine_try_cflags_saved=$CFLAGS
9353 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355 /* end confdefs.h. */
9356 int main(int argc, char **argv) { return 0; }
9357 _ACEOF
9358 if ac_fn_c_try_link "$LINENO"; then :
9359 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9360 else
9361 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9363 rm -f core conftest.err conftest.$ac_objext \
9364 conftest$ac_exeext conftest.$ac_ext
9365 CFLAGS=$ac_wine_try_cflags_saved
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9368 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9369 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9370 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9371 else
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9373 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9374 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9375 $as_echo_n "(cached) " >&6
9376 else
9377 ac_wine_try_cflags_saved=$CFLAGS
9378 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9381 int main(int argc, char **argv) { return 0; }
9382 _ACEOF
9383 if ac_fn_c_try_link "$LINENO"; then :
9384 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9385 else
9386 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9388 rm -f core conftest.err conftest.$ac_objext \
9389 conftest$ac_exeext conftest.$ac_ext
9390 CFLAGS=$ac_wine_try_cflags_saved
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9393 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9394 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9395 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9399 echo '{ global: *; };' >conftest.map
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9401 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9402 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9403 $as_echo_n "(cached) " >&6
9404 else
9405 ac_wine_try_cflags_saved=$CFLAGS
9406 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9408 /* end confdefs.h. */
9409 int main(int argc, char **argv) { return 0; }
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9413 else
9414 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9416 rm -f core conftest.err conftest.$ac_objext \
9417 conftest$ac_exeext conftest.$ac_ext
9418 CFLAGS=$ac_wine_try_cflags_saved
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9421 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9422 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9423 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9425 rm -f conftest.map
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9428 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9429 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9430 $as_echo_n "(cached) " >&6
9431 else
9432 ac_wine_try_cflags_saved=$CFLAGS
9433 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h. */
9436 int main(int argc, char **argv) { return 0; }
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_cflags__Wl___export_dynamic=yes
9440 else
9441 ac_cv_cflags__Wl___export_dynamic=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 CFLAGS=$ac_wine_try_cflags_saved
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9448 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9449 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9450 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9452 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9454 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9456 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9457 if eval \${$as_ac_var+:} false; then :
9458 $as_echo_n "(cached) " >&6
9459 else
9460 ac_wine_try_cflags_saved=$CFLAGS
9461 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int main(int argc, char **argv) { return 0; }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"; then :
9467 eval "$as_ac_var=yes"
9468 else
9469 eval "$as_ac_var=no"
9471 rm -f core conftest.err conftest.$ac_objext \
9472 conftest$ac_exeext conftest.$ac_ext
9473 CFLAGS=$ac_wine_try_cflags_saved
9475 eval ac_res=\$$as_ac_var
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9477 $as_echo "$ac_res" >&6; }
9478 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9479 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9480 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9481 else
9482 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9484 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9485 if eval \${$as_ac_var+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"; then :
9495 eval "$as_ac_var=yes"
9496 else
9497 eval "$as_ac_var=no"
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9501 CFLAGS=$ac_wine_try_cflags_saved
9503 eval ac_res=\$$as_ac_var
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9505 $as_echo "$ac_res" >&6; }
9506 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9507 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9508 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9513 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9514 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 ac_wine_try_cflags_saved=$CFLAGS
9518 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9521 int main(int argc, char **argv) { return 0; }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524 ac_cv_cflags__Wl___enable_new_dtags=yes
9525 else
9526 ac_cv_cflags__Wl___enable_new_dtags=no
9528 rm -f core conftest.err conftest.$ac_objext \
9529 conftest$ac_exeext conftest.$ac_ext
9530 CFLAGS=$ac_wine_try_cflags_saved
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9533 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9534 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9535 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9538 case $host_cpu in
9539 *i[3456789]86* | x86_64 | *aarch64*)
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9541 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9542 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_wine_try_cflags_saved=$CFLAGS
9546 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9549 int main(int argc, char **argv) { return 0; }
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9553 else
9554 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9556 rm -f core conftest.err conftest.$ac_objext \
9557 conftest$ac_exeext conftest.$ac_ext
9558 CFLAGS=$ac_wine_try_cflags_saved
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9561 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9562 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9563 case $host_os in
9564 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9565 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9566 esac
9567 else
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9569 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9570 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 ac_wine_try_cflags_saved=$CFLAGS
9574 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9577 int main(int argc, char **argv) { return 0; }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9581 else
9582 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 CFLAGS=$ac_wine_try_cflags_saved
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9589 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9590 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9591 case $host_os in
9592 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9593 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9594 esac
9596 # Extract the first word of "prelink", so it can be a program name with args.
9597 set dummy prelink; ac_word=$2
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9599 $as_echo_n "checking for $ac_word... " >&6; }
9600 if ${ac_cv_path_PRELINK+:} false; then :
9601 $as_echo_n "(cached) " >&6
9602 else
9603 case $PRELINK in
9604 [\\/]* | ?:[\\/]*)
9605 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9609 for as_dir in /sbin /usr/sbin $PATH
9611 IFS=$as_save_IFS
9612 test -z "$as_dir" && as_dir=.
9613 for ac_exec_ext in '' $ac_executable_extensions; do
9614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9615 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9617 break 2
9619 done
9620 done
9621 IFS=$as_save_IFS
9623 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9625 esac
9627 PRELINK=$ac_cv_path_PRELINK
9628 if test -n "$PRELINK"; then
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9630 $as_echo "$PRELINK" >&6; }
9631 else
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9633 $as_echo "no" >&6; }
9637 if test "x$PRELINK" = xfalse
9638 then
9639 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9643 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9644 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 ac_wine_try_cflags_saved=$CFLAGS
9648 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9651 int main(int argc, char **argv) { return 0; }
9652 _ACEOF
9653 if ac_fn_c_try_link "$LINENO"; then :
9654 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9655 else
9656 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 CFLAGS=$ac_wine_try_cflags_saved
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9663 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9664 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9665 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9668 esac
9670 else
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9672 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9673 if ${ac_cv_c_dll_unixware+:} false; then :
9674 $as_echo_n "(cached) " >&6
9675 else
9676 ac_wine_try_cflags_saved=$CFLAGS
9677 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9680 void myfunc() {}
9681 _ACEOF
9682 if ac_fn_c_try_link "$LINENO"; then :
9683 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9684 else
9685 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9687 rm -f core conftest.err conftest.$ac_objext \
9688 conftest$ac_exeext conftest.$ac_ext
9689 CFLAGS=$ac_wine_try_cflags_saved
9690 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9691 ac_cv_c_dll_unixware="yes"
9692 else
9693 ac_cv_c_dll_unixware="no"
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9697 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9698 if test "$ac_cv_c_dll_unixware" = "yes"
9699 then
9700 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9703 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9705 LIBWINE_DEPENDS="wine.map"
9707 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9708 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9710 esac
9712 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9713 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9714 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9715 enable_winemac_drv=${enable_winemac_drv:-no}
9716 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9718 CROSSTARGET=""
9720 if test "x$with_mingw" != xno
9721 then
9722 case "x$with_mingw" in
9723 x|xyes) case "$host_cpu" in
9724 aarch64*)
9725 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9726 arm*)
9727 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9728 i[3456789]86*)
9729 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
9730 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9731 mingw32-gcc" ;;
9732 x86_64)
9733 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
9734 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9736 ac_prefix_list="" ;;
9737 esac
9738 for ac_prog in $ac_prefix_list
9740 # Extract the first word of "$ac_prog", so it can be a program name with args.
9741 set dummy $ac_prog; ac_word=$2
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9743 $as_echo_n "checking for $ac_word... " >&6; }
9744 if ${ac_cv_prog_CROSSCC+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 if test -n "$CROSSCC"; then
9748 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9749 else
9750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9751 for as_dir in $PATH
9753 IFS=$as_save_IFS
9754 test -z "$as_dir" && as_dir=.
9755 for ac_exec_ext in '' $ac_executable_extensions; do
9756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9757 ac_cv_prog_CROSSCC="$ac_prog"
9758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9759 break 2
9761 done
9762 done
9763 IFS=$as_save_IFS
9767 CROSSCC=$ac_cv_prog_CROSSCC
9768 if test -n "$CROSSCC"; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9770 $as_echo "$CROSSCC" >&6; }
9771 else
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9773 $as_echo "no" >&6; }
9777 test -n "$CROSSCC" && break
9778 done
9779 test -n "$CROSSCC" || CROSSCC="false"
9781 *) CROSSCC=$with_mingw ;;
9782 esac
9783 if test "$CROSSCC" != "false"
9784 then
9785 ac_save_CC="$CC"
9786 saved_CFLAGS=$CFLAGS
9787 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9789 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9792 CC="$CROSSCC"
9793 CFLAGS=$CROSSCFLAGS
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9795 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9796 if ${wine_cv_crosscc+:} false; then :
9797 $as_echo_n "(cached) " >&6
9798 else
9799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9800 /* end confdefs.h. */
9803 main ()
9807 return 0;
9809 _ACEOF
9810 if ac_fn_c_try_compile "$LINENO"; then :
9811 wine_cv_crosscc=yes
9812 else
9813 wine_cv_crosscc=no
9815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9818 $as_echo "$wine_cv_crosscc" >&6; }
9819 if test $wine_cv_crosscc = yes
9820 then
9821 set x $CROSSCC
9822 shift
9823 while test $# -ge 1
9825 case "$1" in
9826 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9827 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9828 esac
9829 shift
9830 done
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9833 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9834 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9835 $as_echo_n "(cached) " >&6
9836 else
9837 ac_wine_try_cflags_saved=$CFLAGS
9838 ac_wine_try_cflags_saved_cc=$CC
9839 ac_wine_try_cflags_saved_exeext=$ac_exeext
9840 CFLAGS="$CFLAGS -fno-strict-aliasing"
9841 CC="$CROSSCC"
9842 ac_exeext=".exe"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9845 int main(int argc, char **argv) { return 0; }
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 ac_cv_crosscflags__fno_strict_aliasing=yes
9849 else
9850 ac_cv_crosscflags__fno_strict_aliasing=no
9852 rm -f core conftest.err conftest.$ac_objext \
9853 conftest$ac_exeext conftest.$ac_ext
9854 CFLAGS=$ac_wine_try_cflags_saved
9855 CC=$ac_wine_try_cflags_saved_cc
9856 ac_exeext=$ac_wine_try_cflags_saved_exeext
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9859 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9860 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9861 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9864 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9865 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_wine_try_cflags_saved=$CFLAGS
9869 ac_wine_try_cflags_saved_cc=$CC
9870 ac_wine_try_cflags_saved_exeext=$ac_exeext
9871 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9872 CC="$CROSSCC"
9873 ac_exeext=".exe"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9876 int main(int argc, char **argv) { return 0; }
9877 _ACEOF
9878 if ac_fn_c_try_link "$LINENO"; then :
9879 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9880 else
9881 ac_cv_crosscflags__Werror_unknown_warning_option=no
9883 rm -f core conftest.err conftest.$ac_objext \
9884 conftest$ac_exeext conftest.$ac_ext
9885 CFLAGS=$ac_wine_try_cflags_saved
9886 CC=$ac_wine_try_cflags_saved_cc
9887 ac_exeext=$ac_wine_try_cflags_saved_exeext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9890 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9891 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9892 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9895 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9896 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9897 $as_echo_n "(cached) " >&6
9898 else
9899 ac_wine_try_cflags_saved=$CFLAGS
9900 ac_wine_try_cflags_saved_cc=$CC
9901 ac_wine_try_cflags_saved_exeext=$ac_exeext
9902 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9903 CC="$CROSSCC"
9904 ac_exeext=".exe"
9905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9906 /* end confdefs.h. */
9907 int main(int argc, char **argv) { return 0; }
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9911 else
9912 ac_cv_crosscflags__Wdeclaration_after_statement=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 CFLAGS=$ac_wine_try_cflags_saved
9917 CC=$ac_wine_try_cflags_saved_cc
9918 ac_exeext=$ac_wine_try_cflags_saved_exeext
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9921 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9922 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9923 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9926 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9927 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9928 $as_echo_n "(cached) " >&6
9929 else
9930 ac_wine_try_cflags_saved=$CFLAGS
9931 ac_wine_try_cflags_saved_cc=$CC
9932 ac_wine_try_cflags_saved_exeext=$ac_exeext
9933 CFLAGS="$CFLAGS -Wempty-body"
9934 CC="$CROSSCC"
9935 ac_exeext=".exe"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9938 int main(int argc, char **argv) { return 0; }
9939 _ACEOF
9940 if ac_fn_c_try_link "$LINENO"; then :
9941 ac_cv_crosscflags__Wempty_body=yes
9942 else
9943 ac_cv_crosscflags__Wempty_body=no
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 CFLAGS=$ac_wine_try_cflags_saved
9948 CC=$ac_wine_try_cflags_saved_cc
9949 ac_exeext=$ac_wine_try_cflags_saved_exeext
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9952 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9953 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9954 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9957 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9958 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9959 $as_echo_n "(cached) " >&6
9960 else
9961 ac_wine_try_cflags_saved=$CFLAGS
9962 ac_wine_try_cflags_saved_cc=$CC
9963 ac_wine_try_cflags_saved_exeext=$ac_exeext
9964 CFLAGS="$CFLAGS -Wignored-qualifiers"
9965 CC="$CROSSCC"
9966 ac_exeext=".exe"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9969 int main(int argc, char **argv) { return 0; }
9970 _ACEOF
9971 if ac_fn_c_try_link "$LINENO"; then :
9972 ac_cv_crosscflags__Wignored_qualifiers=yes
9973 else
9974 ac_cv_crosscflags__Wignored_qualifiers=no
9976 rm -f core conftest.err conftest.$ac_objext \
9977 conftest$ac_exeext conftest.$ac_ext
9978 CFLAGS=$ac_wine_try_cflags_saved
9979 CC=$ac_wine_try_cflags_saved_cc
9980 ac_exeext=$ac_wine_try_cflags_saved_exeext
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9983 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9984 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9985 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9988 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9989 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9990 $as_echo_n "(cached) " >&6
9991 else
9992 ac_wine_try_cflags_saved=$CFLAGS
9993 ac_wine_try_cflags_saved_cc=$CC
9994 ac_wine_try_cflags_saved_exeext=$ac_exeext
9995 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9996 CC="$CROSSCC"
9997 ac_exeext=".exe"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10000 int main(int argc, char **argv) { return 0; }
10001 _ACEOF
10002 if ac_fn_c_try_link "$LINENO"; then :
10003 ac_cv_crosscflags__Wpacked_not_aligned=yes
10004 else
10005 ac_cv_crosscflags__Wpacked_not_aligned=no
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 CFLAGS=$ac_wine_try_cflags_saved
10010 CC=$ac_wine_try_cflags_saved_cc
10011 ac_exeext=$ac_wine_try_cflags_saved_exeext
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10014 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10015 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10016 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10019 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10020 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_wine_try_cflags_saved=$CFLAGS
10024 ac_wine_try_cflags_saved_cc=$CC
10025 ac_wine_try_cflags_saved_exeext=$ac_exeext
10026 CFLAGS="$CFLAGS -Wpragma-pack"
10027 CC="$CROSSCC"
10028 ac_exeext=".exe"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10031 int main(int argc, char **argv) { return 0; }
10032 _ACEOF
10033 if ac_fn_c_try_link "$LINENO"; then :
10034 ac_cv_crosscflags__Wpragma_pack=yes
10035 else
10036 ac_cv_crosscflags__Wpragma_pack=no
10038 rm -f core conftest.err conftest.$ac_objext \
10039 conftest$ac_exeext conftest.$ac_ext
10040 CFLAGS=$ac_wine_try_cflags_saved
10041 CC=$ac_wine_try_cflags_saved_cc
10042 ac_exeext=$ac_wine_try_cflags_saved_exeext
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10045 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10046 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10047 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10050 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10051 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10052 $as_echo_n "(cached) " >&6
10053 else
10054 ac_wine_try_cflags_saved=$CFLAGS
10055 ac_wine_try_cflags_saved_cc=$CC
10056 ac_wine_try_cflags_saved_exeext=$ac_exeext
10057 CFLAGS="$CFLAGS -Wshift-overflow=2"
10058 CC="$CROSSCC"
10059 ac_exeext=".exe"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10062 int main(int argc, char **argv) { return 0; }
10063 _ACEOF
10064 if ac_fn_c_try_link "$LINENO"; then :
10065 ac_cv_crosscflags__Wshift_overflow_2=yes
10066 else
10067 ac_cv_crosscflags__Wshift_overflow_2=no
10069 rm -f core conftest.err conftest.$ac_objext \
10070 conftest$ac_exeext conftest.$ac_ext
10071 CFLAGS=$ac_wine_try_cflags_saved
10072 CC=$ac_wine_try_cflags_saved_cc
10073 ac_exeext=$ac_wine_try_cflags_saved_exeext
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10076 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10077 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10078 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10081 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10082 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10083 $as_echo_n "(cached) " >&6
10084 else
10085 ac_wine_try_cflags_saved=$CFLAGS
10086 ac_wine_try_cflags_saved_cc=$CC
10087 ac_wine_try_cflags_saved_exeext=$ac_exeext
10088 CFLAGS="$CFLAGS -Wstrict-prototypes"
10089 CC="$CROSSCC"
10090 ac_exeext=".exe"
10091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10092 /* end confdefs.h. */
10093 int main(int argc, char **argv) { return 0; }
10094 _ACEOF
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 ac_cv_crosscflags__Wstrict_prototypes=yes
10097 else
10098 ac_cv_crosscflags__Wstrict_prototypes=no
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 CFLAGS=$ac_wine_try_cflags_saved
10103 CC=$ac_wine_try_cflags_saved_cc
10104 ac_exeext=$ac_wine_try_cflags_saved_exeext
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10107 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10108 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10109 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10112 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10113 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_wine_try_cflags_saved=$CFLAGS
10117 ac_wine_try_cflags_saved_cc=$CC
10118 ac_wine_try_cflags_saved_exeext=$ac_exeext
10119 CFLAGS="$CFLAGS -Wtype-limits"
10120 CC="$CROSSCC"
10121 ac_exeext=".exe"
10122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10124 int main(int argc, char **argv) { return 0; }
10125 _ACEOF
10126 if ac_fn_c_try_link "$LINENO"; then :
10127 ac_cv_crosscflags__Wtype_limits=yes
10128 else
10129 ac_cv_crosscflags__Wtype_limits=no
10131 rm -f core conftest.err conftest.$ac_objext \
10132 conftest$ac_exeext conftest.$ac_ext
10133 CFLAGS=$ac_wine_try_cflags_saved
10134 CC=$ac_wine_try_cflags_saved_cc
10135 ac_exeext=$ac_wine_try_cflags_saved_exeext
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10138 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10139 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10140 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10143 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10144 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_wine_try_cflags_saved=$CFLAGS
10148 ac_wine_try_cflags_saved_cc=$CC
10149 ac_wine_try_cflags_saved_exeext=$ac_exeext
10150 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10151 CC="$CROSSCC"
10152 ac_exeext=".exe"
10153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10154 /* end confdefs.h. */
10155 int main(int argc, char **argv) { return 0; }
10156 _ACEOF
10157 if ac_fn_c_try_link "$LINENO"; then :
10158 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10159 else
10160 ac_cv_crosscflags__Wunused_but_set_parameter=no
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 CFLAGS=$ac_wine_try_cflags_saved
10165 CC=$ac_wine_try_cflags_saved_cc
10166 ac_exeext=$ac_wine_try_cflags_saved_exeext
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10169 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10170 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10171 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10174 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10175 if ${ac_cv_crosscflags__Wvla+:} false; then :
10176 $as_echo_n "(cached) " >&6
10177 else
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 ac_wine_try_cflags_saved_cc=$CC
10180 ac_wine_try_cflags_saved_exeext=$ac_exeext
10181 CFLAGS="$CFLAGS -Wvla"
10182 CC="$CROSSCC"
10183 ac_exeext=".exe"
10184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 int main(int argc, char **argv) { return 0; }
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 ac_cv_crosscflags__Wvla=yes
10190 else
10191 ac_cv_crosscflags__Wvla=no
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 CFLAGS=$ac_wine_try_cflags_saved
10196 CC=$ac_wine_try_cflags_saved_cc
10197 ac_exeext=$ac_wine_try_cflags_saved_exeext
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10200 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10201 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10202 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10205 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10206 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 ac_wine_try_cflags_saved_cc=$CC
10211 ac_wine_try_cflags_saved_exeext=$ac_exeext
10212 CFLAGS="$CFLAGS -Wwrite-strings"
10213 CC="$CROSSCC"
10214 ac_exeext=".exe"
10215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10216 /* end confdefs.h. */
10217 int main(int argc, char **argv) { return 0; }
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_crosscflags__Wwrite_strings=yes
10221 else
10222 ac_cv_crosscflags__Wwrite_strings=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 CFLAGS=$ac_wine_try_cflags_saved
10227 CC=$ac_wine_try_cflags_saved_cc
10228 ac_exeext=$ac_wine_try_cflags_saved_exeext
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10231 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10232 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10233 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10236 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10237 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_wine_try_cflags_saved=$CFLAGS
10241 ac_wine_try_cflags_saved_cc=$CC
10242 ac_wine_try_cflags_saved_exeext=$ac_exeext
10243 CFLAGS="$CFLAGS -Wpointer-arith"
10244 CC="$CROSSCC"
10245 ac_exeext=".exe"
10246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10247 /* end confdefs.h. */
10248 int main(int argc, char **argv) { return 0; }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251 ac_cv_crosscflags__Wpointer_arith=yes
10252 else
10253 ac_cv_crosscflags__Wpointer_arith=no
10255 rm -f core conftest.err conftest.$ac_objext \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10258 CC=$ac_wine_try_cflags_saved_cc
10259 ac_exeext=$ac_wine_try_cflags_saved_exeext
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10262 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10263 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10264 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10267 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10268 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 ac_wine_try_cflags_saved_cc=$CC
10273 ac_wine_try_cflags_saved_exeext=$ac_exeext
10274 CFLAGS="$CFLAGS -Wlogical-op"
10275 CC="$CROSSCC"
10276 ac_exeext=".exe"
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 int main(int argc, char **argv) { return 0; }
10280 _ACEOF
10281 if ac_fn_c_try_link "$LINENO"; then :
10282 ac_cv_crosscflags__Wlogical_op=yes
10283 else
10284 ac_cv_crosscflags__Wlogical_op=no
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 CFLAGS=$ac_wine_try_cflags_saved
10289 CC=$ac_wine_try_cflags_saved_cc
10290 ac_exeext=$ac_wine_try_cflags_saved_exeext
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10293 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10294 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10295 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10298 case $host_cpu in
10299 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10300 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10301 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 ac_wine_try_cflags_saved_cc=$CC
10306 ac_wine_try_cflags_saved_exeext=$ac_exeext
10307 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10308 CC="$CROSSCC"
10309 ac_exeext=".exe"
10310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10312 int main(int argc, char **argv) { return 0; }
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10316 else
10317 ac_cv_crosscflags__fno_omit_frame_pointer=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 CFLAGS=$ac_wine_try_cflags_saved
10322 CC=$ac_wine_try_cflags_saved_cc
10323 ac_exeext=$ac_wine_try_cflags_saved_exeext
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10326 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10327 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10328 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10329 fi ;;
10330 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10331 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10332 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10333 $as_echo_n "(cached) " >&6
10334 else
10335 ac_wine_try_cflags_saved=$CFLAGS
10336 ac_wine_try_cflags_saved_cc=$CC
10337 ac_wine_try_cflags_saved_exeext=$ac_exeext
10338 CFLAGS="$CFLAGS -Wno-format"
10339 CC="$CROSSCC"
10340 ac_exeext=".exe"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10343 int main(int argc, char **argv) { return 0; }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346 ac_cv_crosscflags__Wno_format=yes
10347 else
10348 ac_cv_crosscflags__Wno_format=no
10350 rm -f core conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10352 CFLAGS=$ac_wine_try_cflags_saved
10353 CC=$ac_wine_try_cflags_saved_cc
10354 ac_exeext=$ac_wine_try_cflags_saved_exeext
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10357 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10358 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10359 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10360 fi ;;
10361 esac
10363 for ac_flag in $CROSSCFLAGS; do
10364 case $ac_flag in
10365 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10367 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS -gdwarf-2"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int main(int argc, char **argv) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__gdwarf_2=yes
10382 else
10383 ac_cv_crosscflags__gdwarf_2=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10392 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10393 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10397 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10398 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_wine_try_cflags_saved=$CFLAGS
10402 ac_wine_try_cflags_saved_cc=$CC
10403 ac_wine_try_cflags_saved_exeext=$ac_exeext
10404 CFLAGS="$CFLAGS -gstrict-dwarf"
10405 CC="$CROSSCC"
10406 ac_exeext=".exe"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int main(int argc, char **argv) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 ac_cv_crosscflags__gstrict_dwarf=yes
10413 else
10414 ac_cv_crosscflags__gstrict_dwarf=no
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10419 CC=$ac_wine_try_cflags_saved_cc
10420 ac_exeext=$ac_wine_try_cflags_saved_exeext
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10423 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10424 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10426 fi ;;
10427 esac
10428 done
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10431 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10432 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10433 $as_echo_n "(cached) " >&6
10434 else
10435 ac_wine_try_cflags_saved=$CFLAGS
10436 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int main(int argc, char **argv) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10443 else
10444 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10451 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10452 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10453 DELAYLOADFLAG="-Wl,-delayload,"
10457 if test "x$enable_maintainer_mode" = xyes
10458 then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10461 if ${ac_cv_crosscflags__Werror+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS -Werror"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int main(int argc, char **argv) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__Werror=yes
10476 else
10477 ac_cv_crosscflags__Werror=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10486 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10487 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10492 CFLAGS=$saved_CFLAGS
10493 CC="$ac_save_CC"
10496 if test "x$CROSSTARGET" = "x"; then :
10497 case "x$with_mingw" in
10498 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10499 xno) ;;
10500 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10501 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10502 esac
10507 if test "$ac_cv_header_pthread_h" = "yes"
10508 then
10509 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10510 if test "x$ac_cv_func_pthread_create" = xyes; then :
10512 else
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10514 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10515 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_lib_save_LIBS=$LIBS
10519 LIBS="-lpthread $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char pthread_create ();
10531 main ()
10533 return pthread_create ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 ac_cv_lib_pthread_pthread_create=yes
10540 else
10541 ac_cv_lib_pthread_pthread_create=no
10543 rm -f core conftest.err conftest.$ac_objext \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10548 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10549 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10550 PTHREAD_LIBS="-lpthread"
10557 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10558 case "x$with_pthread" in
10559 xno) ;;
10560 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10561 Wine cannot support threads without libpthread.
10562 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10563 esac
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10569 $as_echo_n "checking for X... " >&6; }
10572 # Check whether --with-x was given.
10573 if test "${with_x+set}" = set; then :
10574 withval=$with_x;
10577 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10578 if test "x$with_x" = xno; then
10579 # The user explicitly disabled X.
10580 have_x=disabled
10581 else
10582 case $x_includes,$x_libraries in #(
10583 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10584 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 # One or both of the vars are not set, and there is no cached value.
10588 ac_x_includes=no ac_x_libraries=no
10589 rm -f -r conftest.dir
10590 if mkdir conftest.dir; then
10591 cd conftest.dir
10592 cat >Imakefile <<'_ACEOF'
10593 incroot:
10594 @echo incroot='${INCROOT}'
10595 usrlibdir:
10596 @echo usrlibdir='${USRLIBDIR}'
10597 libdir:
10598 @echo libdir='${LIBDIR}'
10599 _ACEOF
10600 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10601 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10602 for ac_var in incroot usrlibdir libdir; do
10603 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10604 done
10605 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10606 for ac_extension in a so sl dylib la dll; do
10607 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10608 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10609 ac_im_usrlibdir=$ac_im_libdir; break
10611 done
10612 # Screen out bogus values from the imake configuration. They are
10613 # bogus both because they are the default anyway, and because
10614 # using them would break gcc on systems where it needs fixed includes.
10615 case $ac_im_incroot in
10616 /usr/include) ac_x_includes= ;;
10617 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10618 esac
10619 case $ac_im_usrlibdir in
10620 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10621 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10622 esac
10624 cd ..
10625 rm -f -r conftest.dir
10628 # Standard set of common directories for X headers.
10629 # Check X11 before X11Rn because it is often a symlink to the current release.
10630 ac_x_header_dirs='
10631 /usr/X11/include
10632 /usr/X11R7/include
10633 /usr/X11R6/include
10634 /usr/X11R5/include
10635 /usr/X11R4/include
10637 /usr/include/X11
10638 /usr/include/X11R7
10639 /usr/include/X11R6
10640 /usr/include/X11R5
10641 /usr/include/X11R4
10643 /usr/local/X11/include
10644 /usr/local/X11R7/include
10645 /usr/local/X11R6/include
10646 /usr/local/X11R5/include
10647 /usr/local/X11R4/include
10649 /usr/local/include/X11
10650 /usr/local/include/X11R7
10651 /usr/local/include/X11R6
10652 /usr/local/include/X11R5
10653 /usr/local/include/X11R4
10655 /usr/X386/include
10656 /usr/x386/include
10657 /usr/XFree86/include/X11
10659 /usr/include
10660 /usr/local/include
10661 /usr/unsupported/include
10662 /usr/athena/include
10663 /usr/local/x11r5/include
10664 /usr/lpp/Xamples/include
10666 /usr/openwin/include
10667 /usr/openwin/share/include'
10669 if test "$ac_x_includes" = no; then
10670 # Guess where to find include files, by looking for Xlib.h.
10671 # First, try using that file with no special directory specified.
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10674 #include <X11/Xlib.h>
10675 _ACEOF
10676 if ac_fn_c_try_cpp "$LINENO"; then :
10677 # We can compile using X headers with no special include directory.
10678 ac_x_includes=
10679 else
10680 for ac_dir in $ac_x_header_dirs; do
10681 if test -r "$ac_dir/X11/Xlib.h"; then
10682 ac_x_includes=$ac_dir
10683 break
10685 done
10687 rm -f conftest.err conftest.i conftest.$ac_ext
10688 fi # $ac_x_includes = no
10690 if test "$ac_x_libraries" = no; then
10691 # Check for the libraries.
10692 # See if we find them without any special options.
10693 # Don't add to $LIBS permanently.
10694 ac_save_LIBS=$LIBS
10695 LIBS="-lX11 $LIBS"
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10698 #include <X11/Xlib.h>
10700 main ()
10702 XrmInitialize ()
10704 return 0;
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 LIBS=$ac_save_LIBS
10709 # We can link X programs with no special library path.
10710 ac_x_libraries=
10711 else
10712 LIBS=$ac_save_LIBS
10713 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10715 # Don't even attempt the hair of trying to link an X program!
10716 for ac_extension in a so sl dylib la dll; do
10717 if test -r "$ac_dir/libX11.$ac_extension"; then
10718 ac_x_libraries=$ac_dir
10719 break 2
10721 done
10722 done
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 fi # $ac_x_libraries = no
10728 case $ac_x_includes,$ac_x_libraries in #(
10729 no,* | *,no | *\'*)
10730 # Didn't find X, or a directory has "'" in its name.
10731 ac_cv_have_x="have_x=no";; #(
10733 # Record where we found X for the cache.
10734 ac_cv_have_x="have_x=yes\
10735 ac_x_includes='$ac_x_includes'\
10736 ac_x_libraries='$ac_x_libraries'"
10737 esac
10739 ;; #(
10740 *) have_x=yes;;
10741 esac
10742 eval "$ac_cv_have_x"
10743 fi # $with_x != no
10745 if test "$have_x" != yes; then
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10747 $as_echo "$have_x" >&6; }
10748 no_x=yes
10749 else
10750 # If each of the values was on the command line, it overrides each guess.
10751 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10752 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10753 # Update the cache value to reflect the command line values.
10754 ac_cv_have_x="have_x=yes\
10755 ac_x_includes='$x_includes'\
10756 ac_x_libraries='$x_libraries'"
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10758 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10761 if test "$no_x" = yes; then
10762 # Not all programs may use this symbol, but it does not hurt to define it.
10764 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10766 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10767 else
10768 if test -n "$x_includes"; then
10769 X_CFLAGS="$X_CFLAGS -I$x_includes"
10772 # It would also be nice to do this for all -L options, not just this one.
10773 if test -n "$x_libraries"; then
10774 X_LIBS="$X_LIBS -L$x_libraries"
10775 # For Solaris; some versions of Sun CC require a space after -R and
10776 # others require no space. Words are not sufficient . . . .
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10778 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10779 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10780 ac_xsave_c_werror_flag=$ac_c_werror_flag
10781 ac_c_werror_flag=yes
10782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10786 main ()
10790 return 0;
10792 _ACEOF
10793 if ac_fn_c_try_link "$LINENO"; then :
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10795 $as_echo "no" >&6; }
10796 X_LIBS="$X_LIBS -R$x_libraries"
10797 else
10798 LIBS="$ac_xsave_LIBS -R $x_libraries"
10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10803 main ()
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10812 $as_echo "yes" >&6; }
10813 X_LIBS="$X_LIBS -R $x_libraries"
10814 else
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10816 $as_echo "neither works" >&6; }
10818 rm -f core conftest.err conftest.$ac_objext \
10819 conftest$ac_exeext conftest.$ac_ext
10821 rm -f core conftest.err conftest.$ac_objext \
10822 conftest$ac_exeext conftest.$ac_ext
10823 ac_c_werror_flag=$ac_xsave_c_werror_flag
10824 LIBS=$ac_xsave_LIBS
10827 # Check for system-dependent libraries X programs must link with.
10828 # Do this before checking for the system-independent R6 libraries
10829 # (-lICE), since we may need -lsocket or whatever for X linking.
10831 if test "$ISC" = yes; then
10832 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10833 else
10834 # Martyn Johnson says this is needed for Ultrix, if the X
10835 # libraries were built with DECnet support. And Karl Berry says
10836 # the Alpha needs dnet_stub (dnet does not exist).
10837 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char XOpenDisplay ();
10849 main ()
10851 return XOpenDisplay ();
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10858 else
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10860 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10861 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_lib_save_LIBS=$LIBS
10865 LIBS="-ldnet $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char dnet_ntoa ();
10877 main ()
10879 return dnet_ntoa ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 ac_cv_lib_dnet_dnet_ntoa=yes
10886 else
10887 ac_cv_lib_dnet_dnet_ntoa=no
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_lib_save_LIBS
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10894 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10895 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10896 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10899 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10901 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10902 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10903 $as_echo_n "(cached) " >&6
10904 else
10905 ac_check_lib_save_LIBS=$LIBS
10906 LIBS="-ldnet_stub $LIBS"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10913 #ifdef __cplusplus
10914 extern "C"
10915 #endif
10916 char dnet_ntoa ();
10918 main ()
10920 return dnet_ntoa ();
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10927 else
10928 ac_cv_lib_dnet_stub_dnet_ntoa=no
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10935 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10936 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10937 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10942 rm -f core conftest.err conftest.$ac_objext \
10943 conftest$ac_exeext conftest.$ac_ext
10944 LIBS="$ac_xsave_LIBS"
10946 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10947 # to get the SysV transport functions.
10948 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10949 # needs -lnsl.
10950 # The nsl library prevents programs from opening the X display
10951 # on Irix 5.2, according to T.E. Dickey.
10952 # The functions gethostbyname, getservbyname, and inet_addr are
10953 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10954 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10955 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10959 if test $ac_cv_func_gethostbyname = no; then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10961 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10962 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_lib_save_LIBS=$LIBS
10966 LIBS="-lnsl $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char gethostbyname ();
10978 main ()
10980 return gethostbyname ();
10982 return 0;
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_nsl_gethostbyname=yes
10987 else
10988 ac_cv_lib_nsl_gethostbyname=no
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10995 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10996 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10997 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11000 if test $ac_cv_lib_nsl_gethostbyname = no; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11002 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11003 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11004 $as_echo_n "(cached) " >&6
11005 else
11006 ac_check_lib_save_LIBS=$LIBS
11007 LIBS="-lbsd $LIBS"
11008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11009 /* end confdefs.h. */
11011 /* Override any GCC internal prototype to avoid an error.
11012 Use char because int might match the return type of a GCC
11013 builtin and then its argument prototype would still apply. */
11014 #ifdef __cplusplus
11015 extern "C"
11016 #endif
11017 char gethostbyname ();
11019 main ()
11021 return gethostbyname ();
11023 return 0;
11025 _ACEOF
11026 if ac_fn_c_try_link "$LINENO"; then :
11027 ac_cv_lib_bsd_gethostbyname=yes
11028 else
11029 ac_cv_lib_bsd_gethostbyname=no
11031 rm -f core conftest.err conftest.$ac_objext \
11032 conftest$ac_exeext conftest.$ac_ext
11033 LIBS=$ac_check_lib_save_LIBS
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11036 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11037 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11038 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11044 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11045 # socket/setsockopt and other routines are undefined under SCO ODT
11046 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11047 # on later versions), says Simon Leinen: it contains gethostby*
11048 # variants that don't use the name server (or something). -lsocket
11049 # must be given before -lnsl if both are needed. We assume that
11050 # if connect needs -lnsl, so does gethostbyname.
11051 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11052 if test "x$ac_cv_func_connect" = xyes; then :
11056 if test $ac_cv_func_connect = no; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11058 $as_echo_n "checking for connect in -lsocket... " >&6; }
11059 if ${ac_cv_lib_socket_connect+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char connect ();
11075 main ()
11077 return connect ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_socket_connect=yes
11084 else
11085 ac_cv_lib_socket_connect=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11092 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11093 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11094 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11099 # Guillermo Gomez says -lposix is necessary on A/UX.
11100 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11101 if test "x$ac_cv_func_remove" = xyes; then :
11105 if test $ac_cv_func_remove = no; then
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11107 $as_echo_n "checking for remove in -lposix... " >&6; }
11108 if ${ac_cv_lib_posix_remove+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_lib_save_LIBS=$LIBS
11112 LIBS="-lposix $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char remove ();
11124 main ()
11126 return remove ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 ac_cv_lib_posix_remove=yes
11133 else
11134 ac_cv_lib_posix_remove=no
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11141 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11142 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11148 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11149 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11150 if test "x$ac_cv_func_shmat" = xyes; then :
11154 if test $ac_cv_func_shmat = no; then
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11156 $as_echo_n "checking for shmat in -lipc... " >&6; }
11157 if ${ac_cv_lib_ipc_shmat+:} false; then :
11158 $as_echo_n "(cached) " >&6
11159 else
11160 ac_check_lib_save_LIBS=$LIBS
11161 LIBS="-lipc $LIBS"
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11163 /* end confdefs.h. */
11165 /* Override any GCC internal prototype to avoid an error.
11166 Use char because int might match the return type of a GCC
11167 builtin and then its argument prototype would still apply. */
11168 #ifdef __cplusplus
11169 extern "C"
11170 #endif
11171 char shmat ();
11173 main ()
11175 return shmat ();
11177 return 0;
11179 _ACEOF
11180 if ac_fn_c_try_link "$LINENO"; then :
11181 ac_cv_lib_ipc_shmat=yes
11182 else
11183 ac_cv_lib_ipc_shmat=no
11185 rm -f core conftest.err conftest.$ac_objext \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_lib_save_LIBS
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11190 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11191 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11192 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11198 # Check for libraries that X11R6 Xt/Xaw programs need.
11199 ac_save_LDFLAGS=$LDFLAGS
11200 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11201 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11202 # check for ICE first), but we must link in the order -lSM -lICE or
11203 # we get undefined symbols. So assume we have SM if we have ICE.
11204 # These have to be linked with before -lX11, unlike the other
11205 # libraries we check for below, so use a different variable.
11206 # John Interrante, Karl Berry
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11208 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11209 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_lib_save_LIBS=$LIBS
11213 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char IceConnectionNumber ();
11225 main ()
11227 return IceConnectionNumber ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 ac_cv_lib_ICE_IceConnectionNumber=yes
11234 else
11235 ac_cv_lib_ICE_IceConnectionNumber=no
11237 rm -f core conftest.err conftest.$ac_objext \
11238 conftest$ac_exeext conftest.$ac_ext
11239 LIBS=$ac_check_lib_save_LIBS
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11242 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11243 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11244 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11247 LDFLAGS=$ac_save_LDFLAGS
11252 if test "$have_x" = "yes"
11253 then
11254 ac_save_CPPFLAGS="$CPPFLAGS"
11255 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11258 $as_echo_n "checking for -lX11... " >&6; }
11259 if ${ac_cv_lib_soname_X11+:} false; then :
11260 $as_echo_n "(cached) " >&6
11261 else
11262 ac_check_soname_save_LIBS=$LIBS
11263 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char XCreateWindow ();
11275 main ()
11277 return XCreateWindow ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 case "$LIBEXT" in
11284 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11285 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'` ;;
11286 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11287 if ${ac_cv_lib_soname_X11:+false} :; then :
11288 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11289 fi ;;
11290 esac
11291 else
11292 ac_cv_lib_soname_X11=
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 LIBS=$ac_check_soname_save_LIBS
11298 if ${ac_cv_lib_soname_X11:+false} :; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11300 $as_echo "not found" >&6; }
11302 else
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11304 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11306 cat >>confdefs.h <<_ACEOF
11307 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11308 _ACEOF
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11313 $as_echo_n "checking for -lXext... " >&6; }
11314 if ${ac_cv_lib_soname_Xext+:} false; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_soname_save_LIBS=$LIBS
11318 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char XextCreateExtension ();
11330 main ()
11332 return XextCreateExtension ();
11334 return 0;
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"; then :
11338 case "$LIBEXT" in
11339 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11340 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'` ;;
11341 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11342 if ${ac_cv_lib_soname_Xext:+false} :; then :
11343 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11344 fi ;;
11345 esac
11346 else
11347 ac_cv_lib_soname_Xext=
11349 rm -f core conftest.err conftest.$ac_objext \
11350 conftest$ac_exeext conftest.$ac_ext
11351 LIBS=$ac_check_soname_save_LIBS
11353 if ${ac_cv_lib_soname_Xext:+false} :; then :
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11355 $as_echo "not found" >&6; }
11357 else
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11359 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11361 cat >>confdefs.h <<_ACEOF
11362 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11363 _ACEOF
11365 X_LIBS="$X_LIBS -lXext"
11367 X_LIBS="$X_LIBS -lX11"
11369 for ac_header in X11/Xlib.h \
11370 X11/XKBlib.h \
11371 X11/Xutil.h \
11372 X11/Xcursor/Xcursor.h \
11373 X11/extensions/shape.h \
11374 X11/extensions/XInput.h \
11375 X11/extensions/XInput2.h \
11376 X11/extensions/XShm.h \
11377 X11/extensions/Xcomposite.h \
11378 X11/extensions/Xfixes.h \
11379 X11/extensions/Xinerama.h \
11380 X11/extensions/Xrandr.h \
11381 X11/extensions/Xrender.h \
11382 X11/extensions/xf86vmode.h \
11383 X11/extensions/xf86vmproto.h
11384 do :
11385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11386 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11387 # include <X11/Xlib.h>
11388 #endif
11389 #ifdef HAVE_X11_XUTIL_H
11390 # include <X11/Xutil.h>
11391 #endif
11393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11394 cat >>confdefs.h <<_ACEOF
11395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11396 _ACEOF
11400 done
11403 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11404 then
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11406 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11407 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11408 $as_echo_n "(cached) " >&6
11409 else
11410 ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char XkbQueryExtension ();
11423 main ()
11425 return XkbQueryExtension ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_X11_XkbQueryExtension=yes
11432 else
11433 ac_cv_lib_X11_XkbQueryExtension=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11440 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11441 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11443 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11449 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11450 then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11452 $as_echo_n "checking for -lXcursor... " >&6; }
11453 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_soname_save_LIBS=$LIBS
11457 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11464 #ifdef __cplusplus
11465 extern "C"
11466 #endif
11467 char XcursorImageLoadCursor ();
11469 main ()
11471 return XcursorImageLoadCursor ();
11473 return 0;
11475 _ACEOF
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 case "$LIBEXT" in
11478 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11479 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'` ;;
11480 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11481 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11482 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 fi ;;
11484 esac
11485 else
11486 ac_cv_lib_soname_Xcursor=
11488 rm -f core conftest.err conftest.$ac_objext \
11489 conftest$ac_exeext conftest.$ac_ext
11490 LIBS=$ac_check_soname_save_LIBS
11492 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11494 $as_echo "not found" >&6; }
11496 else
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11498 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11500 cat >>confdefs.h <<_ACEOF
11501 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11502 _ACEOF
11507 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11508 case "x$with_xcursor" in
11509 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11510 xno) ;;
11511 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11512 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11513 esac
11517 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11518 then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11520 $as_echo_n "checking for -lXi... " >&6; }
11521 if ${ac_cv_lib_soname_Xi+:} false; then :
11522 $as_echo_n "(cached) " >&6
11523 else
11524 ac_check_soname_save_LIBS=$LIBS
11525 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char XOpenDevice ();
11537 main ()
11539 return XOpenDevice ();
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 case "$LIBEXT" in
11546 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11547 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'` ;;
11548 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11549 if ${ac_cv_lib_soname_Xi:+false} :; then :
11550 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11551 fi ;;
11552 esac
11553 else
11554 ac_cv_lib_soname_Xi=
11556 rm -f core conftest.err conftest.$ac_objext \
11557 conftest$ac_exeext conftest.$ac_ext
11558 LIBS=$ac_check_soname_save_LIBS
11560 if ${ac_cv_lib_soname_Xi:+false} :; then :
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11562 $as_echo "not found" >&6; }
11564 else
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11566 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11568 cat >>confdefs.h <<_ACEOF
11569 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11570 _ACEOF
11575 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11576 case "x$with_xinput" in
11577 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11578 xno) ;;
11579 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11580 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11581 esac
11585 if test "x$ac_cv_lib_soname_Xi" != x
11586 then
11587 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11588 case "x$with_xinput2" in
11589 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11590 xno) ;;
11591 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11592 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11593 esac
11598 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11599 then
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11601 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11602 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11603 $as_echo_n "(cached) " >&6
11604 else
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11610 /* Override any GCC internal prototype to avoid an error.
11611 Use char because int might match the return type of a GCC
11612 builtin and then its argument prototype would still apply. */
11613 #ifdef __cplusplus
11614 extern "C"
11615 #endif
11616 char XShmQueryExtension ();
11618 main ()
11620 return XShmQueryExtension ();
11622 return 0;
11624 _ACEOF
11625 if ac_fn_c_try_link "$LINENO"; then :
11626 ac_cv_lib_Xext_XShmQueryExtension=yes
11627 else
11628 ac_cv_lib_Xext_XShmQueryExtension=no
11630 rm -f core conftest.err conftest.$ac_objext \
11631 conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11635 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11636 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11638 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11643 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11644 case "x$with_xshm" in
11645 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11646 xno) ;;
11647 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11648 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11649 esac
11653 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11654 then
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11656 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11657 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11658 $as_echo_n "(cached) " >&6
11659 else
11660 ac_check_lib_save_LIBS=$LIBS
11661 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 /* Override any GCC internal prototype to avoid an error.
11666 Use char because int might match the return type of a GCC
11667 builtin and then its argument prototype would still apply. */
11668 #ifdef __cplusplus
11669 extern "C"
11670 #endif
11671 char XShapeQueryExtension ();
11673 main ()
11675 return XShapeQueryExtension ();
11677 return 0;
11679 _ACEOF
11680 if ac_fn_c_try_link "$LINENO"; then :
11681 ac_cv_lib_Xext_XShapeQueryExtension=yes
11682 else
11683 ac_cv_lib_Xext_XShapeQueryExtension=no
11685 rm -f core conftest.err conftest.$ac_objext \
11686 conftest$ac_exeext conftest.$ac_ext
11687 LIBS=$ac_check_lib_save_LIBS
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11690 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11691 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11693 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11698 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11699 case "x$with_xshape" in
11700 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11701 xno) ;;
11702 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11703 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11704 esac
11708 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11709 then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11711 $as_echo_n "checking for -lXxf86vm... " >&6; }
11712 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_soname_save_LIBS=$LIBS
11716 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char XF86VidModeQueryExtension ();
11728 main ()
11730 return XF86VidModeQueryExtension ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 case "$LIBEXT" in
11737 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11740 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11741 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 fi ;;
11743 esac
11744 else
11745 ac_cv_lib_soname_Xxf86vm=
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LIBS=$ac_check_soname_save_LIBS
11751 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11753 $as_echo "not found" >&6; }
11755 else
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11757 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11759 cat >>confdefs.h <<_ACEOF
11760 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11761 _ACEOF
11766 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11767 case "x$with_xxf86vm" in
11768 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11769 xno) ;;
11770 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11771 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11772 esac
11776 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11777 then
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11779 $as_echo_n "checking for -lXrender... " >&6; }
11780 if ${ac_cv_lib_soname_Xrender+:} false; then :
11781 $as_echo_n "(cached) " >&6
11782 else
11783 ac_check_soname_save_LIBS=$LIBS
11784 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 /* end confdefs.h. */
11788 /* Override any GCC internal prototype to avoid an error.
11789 Use char because int might match the return type of a GCC
11790 builtin and then its argument prototype would still apply. */
11791 #ifdef __cplusplus
11792 extern "C"
11793 #endif
11794 char XRenderQueryExtension ();
11796 main ()
11798 return XRenderQueryExtension ();
11800 return 0;
11802 _ACEOF
11803 if ac_fn_c_try_link "$LINENO"; then :
11804 case "$LIBEXT" in
11805 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11806 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'` ;;
11807 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11808 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11809 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11810 fi ;;
11811 esac
11812 else
11813 ac_cv_lib_soname_Xrender=
11815 rm -f core conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 LIBS=$ac_check_soname_save_LIBS
11819 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11821 $as_echo "not found" >&6; }
11823 else
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11825 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11827 cat >>confdefs.h <<_ACEOF
11828 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11829 _ACEOF
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11832 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11833 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11834 $as_echo_n "(cached) " >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11841 /* Override any GCC internal prototype to avoid an error.
11842 Use char because int might match the return type of a GCC
11843 builtin and then its argument prototype would still apply. */
11844 #ifdef __cplusplus
11845 extern "C"
11846 #endif
11847 char XRenderSetPictureTransform ();
11849 main ()
11851 return XRenderSetPictureTransform ();
11853 return 0;
11855 _ACEOF
11856 if ac_fn_c_try_link "$LINENO"; then :
11857 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11858 else
11859 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_lib_save_LIBS
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11866 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11867 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11869 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11874 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11875 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11876 $as_echo_n "(cached) " >&6
11877 else
11878 ac_check_lib_save_LIBS=$LIBS
11879 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11881 /* end confdefs.h. */
11883 /* Override any GCC internal prototype to avoid an error.
11884 Use char because int might match the return type of a GCC
11885 builtin and then its argument prototype would still apply. */
11886 #ifdef __cplusplus
11887 extern "C"
11888 #endif
11889 char XRenderCreateLinearGradient ();
11891 main ()
11893 return XRenderCreateLinearGradient ();
11895 return 0;
11897 _ACEOF
11898 if ac_fn_c_try_link "$LINENO"; then :
11899 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11900 else
11901 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11903 rm -f core conftest.err conftest.$ac_objext \
11904 conftest$ac_exeext conftest.$ac_ext
11905 LIBS=$ac_check_lib_save_LIBS
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11908 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11909 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11911 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11918 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11919 case "x$with_xrender" in
11920 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11921 xno) ;;
11922 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11923 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11924 esac
11928 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11929 then
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #include <X11/Xlib.h>
11933 #include <X11/extensions/Xrandr.h>
11935 main ()
11937 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11939 return 0;
11941 _ACEOF
11942 if ac_fn_c_try_compile "$LINENO"; then :
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11944 $as_echo_n "checking for -lXrandr... " >&6; }
11945 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 ac_check_soname_save_LIBS=$LIBS
11949 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11956 #ifdef __cplusplus
11957 extern "C"
11958 #endif
11959 char XRRQueryExtension ();
11961 main ()
11963 return XRRQueryExtension ();
11965 return 0;
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"; then :
11969 case "$LIBEXT" in
11970 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11971 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'` ;;
11972 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11973 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11974 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11975 fi ;;
11976 esac
11977 else
11978 ac_cv_lib_soname_Xrandr=
11980 rm -f core conftest.err conftest.$ac_objext \
11981 conftest$ac_exeext conftest.$ac_ext
11982 LIBS=$ac_check_soname_save_LIBS
11984 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11986 $as_echo "not found" >&6; }
11988 else
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11990 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11992 cat >>confdefs.h <<_ACEOF
11993 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11994 _ACEOF
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11998 #include <X11/Xlib.h>
11999 #include <X11/extensions/Xrandr.h>
12001 main ()
12003 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12005 return 0;
12007 _ACEOF
12008 if ac_fn_c_try_compile "$LINENO"; then :
12010 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12016 #include <X11/Xlib.h>
12017 #include <X11/extensions/Xrandr.h>
12019 main ()
12021 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12023 return 0;
12025 _ACEOF
12026 if ac_fn_c_try_compile "$LINENO"; then :
12028 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12030 else
12031 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12038 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12039 case "x$with_xrandr" in
12040 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12041 xno) ;;
12042 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12043 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12044 esac
12048 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12049 then
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12052 #include <X11/Xlib.h>
12053 #include <X11/extensions/Xfixes.h>
12055 main ()
12057 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12059 return 0;
12061 _ACEOF
12062 if ac_fn_c_try_compile "$LINENO"; then :
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12064 $as_echo_n "checking for -lXfixes... " >&6; }
12065 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_soname_save_LIBS=$LIBS
12069 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12076 #ifdef __cplusplus
12077 extern "C"
12078 #endif
12079 char XFixesQueryVersion ();
12081 main ()
12083 return XFixesQueryVersion ();
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_link "$LINENO"; then :
12089 case "$LIBEXT" in
12090 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12091 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'` ;;
12092 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12093 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12094 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12095 fi ;;
12096 esac
12097 else
12098 ac_cv_lib_soname_Xfixes=
12100 rm -f core conftest.err conftest.$ac_objext \
12101 conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_soname_save_LIBS
12104 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12106 $as_echo "not found" >&6; }
12108 else
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12110 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12112 cat >>confdefs.h <<_ACEOF
12113 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12114 _ACEOF
12119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12121 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12122 case "x$with_xfixes" in
12123 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12124 xno) ;;
12125 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12126 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12127 esac
12131 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12132 then
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 #include <X11/Xlib.h>
12136 #include <X11/extensions/Xinerama.h>
12138 main ()
12140 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_compile "$LINENO"; then :
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12147 $as_echo_n "checking for -lXinerama... " >&6; }
12148 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12149 $as_echo_n "(cached) " >&6
12150 else
12151 ac_check_soname_save_LIBS=$LIBS
12152 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154 /* end confdefs.h. */
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char XineramaQueryScreens ();
12164 main ()
12166 return XineramaQueryScreens ();
12168 return 0;
12170 _ACEOF
12171 if ac_fn_c_try_link "$LINENO"; then :
12172 case "$LIBEXT" in
12173 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12174 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'` ;;
12175 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12176 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12177 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12178 fi ;;
12179 esac
12180 else
12181 ac_cv_lib_soname_Xinerama=
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_soname_save_LIBS
12187 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12189 $as_echo "not found" >&6; }
12191 else
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12193 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12195 cat >>confdefs.h <<_ACEOF
12196 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12197 _ACEOF
12202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12204 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12205 case "x$with_xinerama" in
12206 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12209 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12210 esac
12214 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12215 then
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12217 $as_echo_n "checking for -lXcomposite... " >&6; }
12218 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12219 $as_echo_n "(cached) " >&6
12220 else
12221 ac_check_soname_save_LIBS=$LIBS
12222 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char XCompositeRedirectWindow ();
12234 main ()
12236 return XCompositeRedirectWindow ();
12238 return 0;
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242 case "$LIBEXT" in
12243 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12244 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'` ;;
12245 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12246 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12247 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12248 fi ;;
12249 esac
12250 else
12251 ac_cv_lib_soname_Xcomposite=
12253 rm -f core conftest.err conftest.$ac_objext \
12254 conftest$ac_exeext conftest.$ac_ext
12255 LIBS=$ac_check_soname_save_LIBS
12257 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12259 $as_echo "not found" >&6; }
12261 else
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12263 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12265 cat >>confdefs.h <<_ACEOF
12266 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12267 _ACEOF
12272 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12273 case "x$with_xcomposite" in
12274 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12275 xno) ;;
12276 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12277 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12278 esac
12282 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12283 #include <X11/Xlib.h>
12284 #endif
12286 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12288 cat >>confdefs.h <<_ACEOF
12289 #define HAVE_XICCALLBACK_CALLBACK 1
12290 _ACEOF
12294 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12295 #include <X11/Xlib.h>
12296 #endif
12298 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12300 cat >>confdefs.h <<_ACEOF
12301 #define HAVE_XEVENT_XCOOKIE 1
12302 _ACEOF
12309 opengl_msg=""
12310 if test "x$with_opengl" != "xno"
12311 then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12313 $as_echo_n "checking for -lGL... " >&6; }
12314 if ${ac_cv_lib_soname_GL+:} false; then :
12315 $as_echo_n "(cached) " >&6
12316 else
12317 ac_check_soname_save_LIBS=$LIBS
12318 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12322 /* Override any GCC internal prototype to avoid an error.
12323 Use char because int might match the return type of a GCC
12324 builtin and then its argument prototype would still apply. */
12325 #ifdef __cplusplus
12326 extern "C"
12327 #endif
12328 char glXCreateContext ();
12330 main ()
12332 return glXCreateContext ();
12334 return 0;
12336 _ACEOF
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 case "$LIBEXT" in
12339 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12340 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'` ;;
12341 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12342 if ${ac_cv_lib_soname_GL:+false} :; then :
12343 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12344 fi ;;
12345 esac
12346 else
12347 ac_cv_lib_soname_GL=
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_GL:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12357 $as_echo_n "checking for -lGL... " >&6; }
12358 if ${ac_cv_lib_soname_GL+:} false; then :
12359 $as_echo_n "(cached) " >&6
12360 else
12361 ac_check_soname_save_LIBS=$LIBS
12362 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"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12369 #ifdef __cplusplus
12370 extern "C"
12371 #endif
12372 char glXCreateContext ();
12374 main ()
12376 return glXCreateContext ();
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_link "$LINENO"; then :
12382 case "$LIBEXT" in
12383 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12384 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'` ;;
12385 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12386 if ${ac_cv_lib_soname_GL:+false} :; then :
12387 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12388 fi ;;
12389 esac
12390 else
12391 ac_cv_lib_soname_GL=
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 LIBS=$ac_check_soname_save_LIBS
12397 if ${ac_cv_lib_soname_GL:+false} :; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12399 $as_echo "not found" >&6; }
12400 if test -f /usr/X11R6/lib/libGL.a
12401 then
12402 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12403 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12404 else
12405 opengl_msg="No OpenGL library found on this system."
12407 else
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12409 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12411 cat >>confdefs.h <<_ACEOF
12412 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12413 _ACEOF
12415 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"
12417 else
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12419 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12421 cat >>confdefs.h <<_ACEOF
12422 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12423 _ACEOF
12425 OPENGL_LIBS="-lGL"
12427 if test "x$with_glu" != "xno"
12428 then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12430 $as_echo_n "checking for -lGLU... " >&6; }
12431 if ${ac_cv_lib_soname_GLU+:} false; then :
12432 $as_echo_n "(cached) " >&6
12433 else
12434 ac_check_soname_save_LIBS=$LIBS
12435 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12439 /* Override any GCC internal prototype to avoid an error.
12440 Use char because int might match the return type of a GCC
12441 builtin and then its argument prototype would still apply. */
12442 #ifdef __cplusplus
12443 extern "C"
12444 #endif
12445 char gluLookAt ();
12447 main ()
12449 return gluLookAt ();
12451 return 0;
12453 _ACEOF
12454 if ac_fn_c_try_link "$LINENO"; then :
12455 case "$LIBEXT" in
12456 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12457 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'` ;;
12458 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12459 if ${ac_cv_lib_soname_GLU:+false} :; then :
12460 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12461 fi ;;
12462 esac
12463 else
12464 ac_cv_lib_soname_GLU=
12466 rm -f core conftest.err conftest.$ac_objext \
12467 conftest$ac_exeext conftest.$ac_ext
12468 LIBS=$ac_check_soname_save_LIBS
12470 if ${ac_cv_lib_soname_GLU:+false} :; then :
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12472 $as_echo "not found" >&6; }
12474 else
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12476 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12478 cat >>confdefs.h <<_ACEOF
12479 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12480 _ACEOF
12484 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12485 case "x$with_glu" in
12486 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12487 xno) ;;
12488 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12489 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12490 esac
12495 if test "x$with_osmesa" != "xno"
12496 then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12498 $as_echo_n "checking for -lOSMesa... " >&6; }
12499 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12500 $as_echo_n "(cached) " >&6
12501 else
12502 ac_check_soname_save_LIBS=$LIBS
12503 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12507 /* Override any GCC internal prototype to avoid an error.
12508 Use char because int might match the return type of a GCC
12509 builtin and then its argument prototype would still apply. */
12510 #ifdef __cplusplus
12511 extern "C"
12512 #endif
12513 char OSMesaGetProcAddress ();
12515 main ()
12517 return OSMesaGetProcAddress ();
12519 return 0;
12521 _ACEOF
12522 if ac_fn_c_try_link "$LINENO"; then :
12523 case "$LIBEXT" in
12524 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12525 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'` ;;
12526 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12527 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12528 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12529 fi ;;
12530 esac
12531 else
12532 ac_cv_lib_soname_OSMesa=
12534 rm -f core conftest.err conftest.$ac_objext \
12535 conftest$ac_exeext conftest.$ac_ext
12536 LIBS=$ac_check_soname_save_LIBS
12538 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12540 $as_echo "not found" >&6; }
12542 else
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12544 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12546 cat >>confdefs.h <<_ACEOF
12547 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12548 _ACEOF
12552 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12553 case "x$with_osmesa" in
12554 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12555 xno) ;;
12556 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12557 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12558 esac
12563 if test -n "$opengl_msg"; then :
12564 case "x$with_opengl" in
12565 x) as_fn_append wine_warnings "|$opengl_msg
12566 OpenGL and Direct3D won't be supported." ;;
12567 xno) ;;
12568 *) as_fn_error $? "$opengl_msg
12569 OpenGL and Direct3D won't be supported.
12570 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12571 esac
12575 CPPFLAGS="$ac_save_CPPFLAGS"
12576 else
12577 X_CFLAGS=""
12578 X_LIBS=""
12581 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12582 then
12583 if test "x$X_LIBS" = "x"; then :
12584 case "x$with_x" in
12585 xno) ;;
12586 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12587 without X support, which probably isn't what you want. You will need
12588 to install ${notice_platform}development packages of Xlib at the very least.
12589 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12590 esac
12591 enable_winex11_drv=${enable_winex11_drv:-no}
12593 else
12594 if test "x$X_LIBS" = "x"; then :
12595 case "x$with_x" in
12596 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12597 xno) ;;
12598 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12599 This is an error since --with-x was requested." "$LINENO" 5 ;;
12600 esac
12601 enable_winex11_drv=${enable_winex11_drv:-no}
12605 if test "$ac_cv_header_CL_cl_h" = "yes"
12606 then
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12608 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12609 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lOpenCL $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char clGetPlatformInfo ();
12625 main ()
12627 return clGetPlatformInfo ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12634 else
12635 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12642 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12643 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12644 OPENCL_LIBS="-lOpenCL"
12649 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12650 case "x$with_opencl" in
12651 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12652 xno) ;;
12653 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12654 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12655 esac
12656 enable_opencl=${enable_opencl:-no}
12659 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12660 then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12662 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12663 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_check_lib_save_LIBS=$LIBS
12667 LIBS="-lpcap $LIBS"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12674 #ifdef __cplusplus
12675 extern "C"
12676 #endif
12677 char pcap_create ();
12679 main ()
12681 return pcap_create ();
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 ac_cv_lib_pcap_pcap_create=yes
12688 else
12689 ac_cv_lib_pcap_pcap_create=no
12691 rm -f core conftest.err conftest.$ac_objext \
12692 conftest$ac_exeext conftest.$ac_ext
12693 LIBS=$ac_check_lib_save_LIBS
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12696 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12697 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12698 PCAP_LIBS="-lpcap"
12703 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12704 case "x$with_pcap" in
12705 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12706 xno) ;;
12707 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12708 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12709 esac
12710 enable_wpcap=${enable_wpcap:-no}
12714 if test "x$with_xml" != "xno"
12715 then
12716 if ${XML2_CFLAGS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12721 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12722 if ${XML2_LIBS:+false} :; then :
12723 if ${PKG_CONFIG+:} false; then :
12724 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12727 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12728 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12729 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12731 ac_save_CPPFLAGS=$CPPFLAGS
12732 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12733 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12734 do :
12735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12736 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12738 cat >>confdefs.h <<_ACEOF
12739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12740 _ACEOF
12744 done
12746 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"
12747 then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12749 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12750 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12751 $as_echo_n "(cached) " >&6
12752 else
12753 ac_check_lib_save_LIBS=$LIBS
12754 LIBS="-lxml2 $XML2_LIBS $LIBS"
12755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12758 /* Override any GCC internal prototype to avoid an error.
12759 Use char because int might match the return type of a GCC
12760 builtin and then its argument prototype would still apply. */
12761 #ifdef __cplusplus
12762 extern "C"
12763 #endif
12764 char xmlParseMemory ();
12766 main ()
12768 return xmlParseMemory ();
12770 return 0;
12772 _ACEOF
12773 if ac_fn_c_try_link "$LINENO"; then :
12774 ac_cv_lib_xml2_xmlParseMemory=yes
12775 else
12776 ac_cv_lib_xml2_xmlParseMemory=no
12778 rm -f core conftest.err conftest.$ac_objext \
12779 conftest$ac_exeext conftest.$ac_ext
12780 LIBS=$ac_check_lib_save_LIBS
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12783 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12784 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12786 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12788 else
12789 XML2_LIBS=""
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12793 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12794 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 ac_check_lib_save_LIBS=$LIBS
12798 LIBS="-lxml2 $XML2_LIBS $LIBS"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 #endif
12808 char xmlReadMemory ();
12810 main ()
12812 return xmlReadMemory ();
12814 return 0;
12816 _ACEOF
12817 if ac_fn_c_try_link "$LINENO"; then :
12818 ac_cv_lib_xml2_xmlReadMemory=yes
12819 else
12820 ac_cv_lib_xml2_xmlReadMemory=no
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12827 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12828 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12830 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12835 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12836 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12837 $as_echo_n "(cached) " >&6
12838 else
12839 ac_check_lib_save_LIBS=$LIBS
12840 LIBS="-lxml2 $XML2_LIBS $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 #ifdef __cplusplus
12848 extern "C"
12849 #endif
12850 char xmlNewDocPI ();
12852 main ()
12854 return xmlNewDocPI ();
12856 return 0;
12858 _ACEOF
12859 if ac_fn_c_try_link "$LINENO"; then :
12860 ac_cv_lib_xml2_xmlNewDocPI=yes
12861 else
12862 ac_cv_lib_xml2_xmlNewDocPI=no
12864 rm -f core conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_lib_save_LIBS
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12869 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12870 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12872 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12877 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12878 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12879 $as_echo_n "(cached) " >&6
12880 else
12881 ac_check_lib_save_LIBS=$LIBS
12882 LIBS="-lxml2 $XML2_LIBS $LIBS"
12883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char xmlSchemaSetParserStructuredErrors ();
12894 main ()
12896 return xmlSchemaSetParserStructuredErrors ();
12898 return 0;
12900 _ACEOF
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12903 else
12904 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12911 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12912 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12914 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12919 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12920 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12921 $as_echo_n "(cached) " >&6
12922 else
12923 ac_check_lib_save_LIBS=$LIBS
12924 LIBS="-lxml2 $XML2_LIBS $LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12931 #ifdef __cplusplus
12932 extern "C"
12933 #endif
12934 char xmlSchemaSetValidStructuredErrors ();
12936 main ()
12938 return xmlSchemaSetValidStructuredErrors ();
12940 return 0;
12942 _ACEOF
12943 if ac_fn_c_try_link "$LINENO"; then :
12944 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12945 else
12946 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12950 LIBS=$ac_check_lib_save_LIBS
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12953 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12954 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12956 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12961 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12962 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12963 $as_echo_n "(cached) " >&6
12964 else
12965 ac_check_lib_save_LIBS=$LIBS
12966 LIBS="-lxml2 $XML2_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 #ifdef __cplusplus
12974 extern "C"
12975 #endif
12976 char xmlFirstElementChild ();
12978 main ()
12980 return xmlFirstElementChild ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"; then :
12986 ac_cv_lib_xml2_xmlFirstElementChild=yes
12987 else
12988 ac_cv_lib_xml2_xmlFirstElementChild=no
12990 rm -f core conftest.err conftest.$ac_objext \
12991 conftest$ac_exeext conftest.$ac_ext
12992 LIBS=$ac_check_lib_save_LIBS
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12995 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12996 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12998 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13002 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13004 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13006 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13010 else
13011 XML2_CFLAGS=""
13012 XML2_LIBS=""
13014 CPPFLAGS=$ac_save_CPPFLAGS
13015 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13016 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13019 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13020 case "x$with_xml" in
13021 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13022 xno) ;;
13023 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13024 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13025 esac
13029 if test "x$with_xslt" != "xno"
13030 then
13031 if ${XSLT_CFLAGS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13036 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13037 if ${XSLT_LIBS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13042 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13043 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13046 ac_save_CPPFLAGS=$CPPFLAGS
13047 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13048 for ac_header in libxslt/pattern.h libxslt/transform.h
13049 do :
13050 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13051 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13052 # include <libxslt/pattern.h>
13053 #endif
13055 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13056 cat >>confdefs.h <<_ACEOF
13057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13058 _ACEOF
13062 done
13064 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13065 then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13067 $as_echo_n "checking for -lxslt... " >&6; }
13068 if ${ac_cv_lib_soname_xslt+:} false; then :
13069 $as_echo_n "(cached) " >&6
13070 else
13071 ac_check_soname_save_LIBS=$LIBS
13072 LIBS="-lxslt $XSLT_LIBS $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13074 /* end confdefs.h. */
13076 /* Override any GCC internal prototype to avoid an error.
13077 Use char because int might match the return type of a GCC
13078 builtin and then its argument prototype would still apply. */
13079 #ifdef __cplusplus
13080 extern "C"
13081 #endif
13082 char xsltCompilePattern ();
13084 main ()
13086 return xsltCompilePattern ();
13088 return 0;
13090 _ACEOF
13091 if ac_fn_c_try_link "$LINENO"; then :
13092 case "$LIBEXT" in
13093 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13094 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'` ;;
13095 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13096 if ${ac_cv_lib_soname_xslt:+false} :; then :
13097 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13098 fi ;;
13099 esac
13100 else
13101 ac_cv_lib_soname_xslt=
13103 rm -f core conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13105 LIBS=$ac_check_soname_save_LIBS
13107 if ${ac_cv_lib_soname_xslt:+false} :; then :
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13109 $as_echo "not found" >&6; }
13111 else
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13113 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13115 cat >>confdefs.h <<_ACEOF
13116 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13117 _ACEOF
13121 else
13122 XSLT_CFLAGS=""
13124 CPPFLAGS=$ac_save_CPPFLAGS
13125 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13126 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13129 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13130 case "x$with_xslt" in
13131 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13132 xno) ;;
13133 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13134 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13135 esac
13139 if test "x$with_inotify" != "xno"
13140 then
13141 if ${INOTIFY_CFLAGS:+false} :; then :
13142 if ${PKG_CONFIG+:} false; then :
13143 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13147 if ${INOTIFY_LIBS:+false} :; then :
13148 if ${PKG_CONFIG+:} false; then :
13149 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13155 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13156 ac_save_CPPFLAGS=$CPPFLAGS
13157 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13158 for ac_header in sys/inotify.h
13159 do :
13160 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13161 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13162 cat >>confdefs.h <<_ACEOF
13163 #define HAVE_SYS_INOTIFY_H 1
13164 _ACEOF
13168 done
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13171 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13172 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13173 $as_echo_n "(cached) " >&6
13174 else
13175 ac_check_lib_save_LIBS=$LIBS
13176 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 #ifdef __cplusplus
13184 extern "C"
13185 #endif
13186 char inotify_add_watch ();
13188 main ()
13190 return inotify_add_watch ();
13192 return 0;
13194 _ACEOF
13195 if ac_fn_c_try_link "$LINENO"; then :
13196 ac_cv_lib_inotify_inotify_add_watch=yes
13197 else
13198 ac_cv_lib_inotify_inotify_add_watch=no
13200 rm -f core conftest.err conftest.$ac_objext \
13201 conftest$ac_exeext conftest.$ac_ext
13202 LIBS=$ac_check_lib_save_LIBS
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13205 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13206 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13208 else
13209 INOTIFY_LIBS=""
13212 CPPFLAGS=$ac_save_CPPFLAGS
13213 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13214 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13217 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13218 case "x$with_inotify" in
13219 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13220 xno) ;;
13221 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13222 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13223 esac
13227 if test "x$with_dbus" != "xno"
13228 then
13229 if ${DBUS_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13235 if ${DBUS_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13242 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13244 ac_save_CPPFLAGS=$CPPFLAGS
13245 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13246 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13247 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13249 $as_echo_n "checking for -ldbus-1... " >&6; }
13250 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_soname_save_LIBS=$LIBS
13254 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char dbus_connection_close ();
13266 main ()
13268 return dbus_connection_close ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 case "$LIBEXT" in
13275 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13276 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'` ;;
13277 *) 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'`
13278 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13279 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13280 fi ;;
13281 esac
13282 else
13283 ac_cv_lib_soname_dbus_1=
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13292 DBUS_CFLAGS=""
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13295 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13299 _ACEOF
13303 else
13304 DBUS_CFLAGS=""
13308 CPPFLAGS=$ac_save_CPPFLAGS
13309 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13310 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13313 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13314 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13315 case "x$with_dbus" in
13316 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13317 xno) ;;
13318 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13319 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13320 esac
13324 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13325 then
13326 if ${HAL_CFLAGS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13332 if ${HAL_LIBS:+false} :; then :
13333 if ${PKG_CONFIG+:} false; then :
13334 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13338 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13339 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13340 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13341 ac_save_CPPFLAGS=$CPPFLAGS
13342 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13343 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13344 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13346 $as_echo_n "checking for -lhal... " >&6; }
13347 if ${ac_cv_lib_soname_hal+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_soname_save_LIBS=$LIBS
13351 LIBS="-lhal $HAL_LIBS $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char libhal_ctx_new ();
13363 main ()
13365 return libhal_ctx_new ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 case "$LIBEXT" in
13372 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13373 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'` ;;
13374 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13375 if ${ac_cv_lib_soname_hal:+false} :; then :
13376 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13377 fi ;;
13378 esac
13379 else
13380 ac_cv_lib_soname_hal=
13382 rm -f core conftest.err conftest.$ac_objext \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_soname_save_LIBS
13386 if ${ac_cv_lib_soname_hal:+false} :; then :
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13388 $as_echo "not found" >&6; }
13389 HAL_CFLAGS=""
13390 else
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13392 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13394 cat >>confdefs.h <<_ACEOF
13395 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13396 _ACEOF
13400 else
13401 HAL_CFLAGS=""
13405 CPPFLAGS=$ac_save_CPPFLAGS
13406 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13407 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13409 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13410 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13411 case "x$with_hal" in
13412 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13413 xno) ;;
13414 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13415 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13416 esac
13421 if test "x$with_gnutls" != "xno"
13422 then
13423 if ${GNUTLS_CFLAGS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13429 if ${GNUTLS_LIBS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13436 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13437 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13438 ac_save_CPPFLAGS=$CPPFLAGS
13439 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13440 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13441 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13443 /* end confdefs.h. */
13444 #include <gnutls/gnutls.h>
13445 #include <gnutls/crypto.h>
13447 main ()
13449 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_compile "$LINENO"; then :
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13456 $as_echo_n "checking for -lgnutls... " >&6; }
13457 if ${ac_cv_lib_soname_gnutls+:} false; then :
13458 $as_echo_n "(cached) " >&6
13459 else
13460 ac_check_soname_save_LIBS=$LIBS
13461 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 #ifdef __cplusplus
13469 extern "C"
13470 #endif
13471 char gnutls_global_init ();
13473 main ()
13475 return gnutls_global_init ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 case "$LIBEXT" in
13482 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13483 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'` ;;
13484 *) 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'`
13485 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13486 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'`
13487 fi ;;
13488 esac
13489 else
13490 ac_cv_lib_soname_gnutls=
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS=$ac_check_soname_save_LIBS
13496 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13498 $as_echo "not found" >&6; }
13499 GNUTLS_CFLAGS=""
13500 else
13501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13502 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13504 cat >>confdefs.h <<_ACEOF
13505 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13506 _ACEOF
13510 ac_wine_check_funcs_save_LIBS="$LIBS"
13511 LIBS="$LIBS $GNUTLS_LIBS"
13512 for ac_func in gnutls_cipher_init
13513 do :
13514 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13515 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13516 cat >>confdefs.h <<_ACEOF
13517 #define HAVE_GNUTLS_CIPHER_INIT 1
13518 _ACEOF
13520 else
13521 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13523 done
13525 LIBS="$ac_wine_check_funcs_save_LIBS"
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 else
13529 GNUTLS_CFLAGS=""
13533 CPPFLAGS=$ac_save_CPPFLAGS
13534 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13535 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13538 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13539 case "x$with_gnutls" in
13540 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13541 xno) ;;
13542 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13543 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13544 esac
13548 CURSES_LIBS=""
13549 if test "$ac_cv_header_ncurses_h" = "yes"
13550 then
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13552 $as_echo_n "checking for -lncurses... " >&6; }
13553 if ${ac_cv_lib_soname_ncurses+:} false; then :
13554 $as_echo_n "(cached) " >&6
13555 else
13556 ac_check_soname_save_LIBS=$LIBS
13557 LIBS="-lncurses $LIBS"
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13559 /* end confdefs.h. */
13561 /* Override any GCC internal prototype to avoid an error.
13562 Use char because int might match the return type of a GCC
13563 builtin and then its argument prototype would still apply. */
13564 #ifdef __cplusplus
13565 extern "C"
13566 #endif
13567 char waddch ();
13569 main ()
13571 return waddch ();
13573 return 0;
13575 _ACEOF
13576 if ac_fn_c_try_link "$LINENO"; then :
13577 case "$LIBEXT" in
13578 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13579 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'` ;;
13580 *) 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'`
13581 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13582 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13583 fi ;;
13584 esac
13585 else
13586 ac_cv_lib_soname_ncurses=
13588 rm -f core conftest.err conftest.$ac_objext \
13589 conftest$ac_exeext conftest.$ac_ext
13590 LIBS=$ac_check_soname_save_LIBS
13592 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13594 $as_echo "not found" >&6; }
13596 else
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13598 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13600 cat >>confdefs.h <<_ACEOF
13601 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13602 _ACEOF
13604 CURSES_LIBS="-lncurses"
13606 elif test "$ac_cv_header_curses_h" = "yes"
13607 then
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13609 $as_echo_n "checking for -lcurses... " >&6; }
13610 if ${ac_cv_lib_soname_curses+:} false; then :
13611 $as_echo_n "(cached) " >&6
13612 else
13613 ac_check_soname_save_LIBS=$LIBS
13614 LIBS="-lcurses $LIBS"
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13618 /* Override any GCC internal prototype to avoid an error.
13619 Use char because int might match the return type of a GCC
13620 builtin and then its argument prototype would still apply. */
13621 #ifdef __cplusplus
13622 extern "C"
13623 #endif
13624 char waddch ();
13626 main ()
13628 return waddch ();
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_link "$LINENO"; then :
13634 case "$LIBEXT" in
13635 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13636 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'` ;;
13637 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13638 if ${ac_cv_lib_soname_curses:+false} :; then :
13639 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13640 fi ;;
13641 esac
13642 else
13643 ac_cv_lib_soname_curses=
13645 rm -f core conftest.err conftest.$ac_objext \
13646 conftest$ac_exeext conftest.$ac_ext
13647 LIBS=$ac_check_soname_save_LIBS
13649 if ${ac_cv_lib_soname_curses:+false} :; then :
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13651 $as_echo "not found" >&6; }
13653 else
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13655 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13657 cat >>confdefs.h <<_ACEOF
13658 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13659 _ACEOF
13661 CURSES_LIBS="-lcurses"
13664 ac_save_LIBS="$LIBS"
13665 LIBS="$LIBS $CURSES_LIBS"
13666 for ac_func in mousemask
13667 do :
13668 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13669 if test "x$ac_cv_func_mousemask" = xyes; then :
13670 cat >>confdefs.h <<_ACEOF
13671 #define HAVE_MOUSEMASK 1
13672 _ACEOF
13675 done
13677 LIBS="$ac_save_LIBS"
13678 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13679 case "x$with_curses" in
13680 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13681 xno) ;;
13682 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13683 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13684 esac
13688 if test "x$with_sane" != "xno"
13689 then
13690 if ${SANE_CFLAGS:+false} :; then :
13691 if ${PKG_CONFIG+:} false; then :
13692 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13695 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13696 if ${SANE_LIBS:+false} :; then :
13697 if ${PKG_CONFIG+:} false; then :
13698 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13701 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13703 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13704 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13705 ac_save_CPPFLAGS=$CPPFLAGS
13706 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13707 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13708 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13710 $as_echo_n "checking for -lsane... " >&6; }
13711 if ${ac_cv_lib_soname_sane+:} false; then :
13712 $as_echo_n "(cached) " >&6
13713 else
13714 ac_check_soname_save_LIBS=$LIBS
13715 LIBS="-lsane $SANE_LIBS $LIBS"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13719 /* Override any GCC internal prototype to avoid an error.
13720 Use char because int might match the return type of a GCC
13721 builtin and then its argument prototype would still apply. */
13722 #ifdef __cplusplus
13723 extern "C"
13724 #endif
13725 char sane_init ();
13727 main ()
13729 return sane_init ();
13731 return 0;
13733 _ACEOF
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 case "$LIBEXT" in
13736 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13737 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'` ;;
13738 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13739 if ${ac_cv_lib_soname_sane:+false} :; then :
13740 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13741 fi ;;
13742 esac
13743 else
13744 ac_cv_lib_soname_sane=
13746 rm -f core conftest.err conftest.$ac_objext \
13747 conftest$ac_exeext conftest.$ac_ext
13748 LIBS=$ac_check_soname_save_LIBS
13750 if ${ac_cv_lib_soname_sane:+false} :; then :
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13752 $as_echo "not found" >&6; }
13753 SANE_CFLAGS=""
13754 else
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13756 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13758 cat >>confdefs.h <<_ACEOF
13759 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13760 _ACEOF
13764 else
13765 SANE_CFLAGS=""
13769 CPPFLAGS=$ac_save_CPPFLAGS
13770 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13771 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13774 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13775 case "x$with_sane" in
13776 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13777 xno) ;;
13778 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13779 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13780 esac
13784 if test "x$with_v4l2" != "xno"
13785 then
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13787 $as_echo_n "checking for -lv4l2... " >&6; }
13788 if ${ac_cv_lib_soname_v4l2+:} false; then :
13789 $as_echo_n "(cached) " >&6
13790 else
13791 ac_check_soname_save_LIBS=$LIBS
13792 LIBS="-lv4l2 $LIBS"
13793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13794 /* end confdefs.h. */
13796 /* Override any GCC internal prototype to avoid an error.
13797 Use char because int might match the return type of a GCC
13798 builtin and then its argument prototype would still apply. */
13799 #ifdef __cplusplus
13800 extern "C"
13801 #endif
13802 char v4l2_open ();
13804 main ()
13806 return v4l2_open ();
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"; then :
13812 case "$LIBEXT" in
13813 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13814 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'` ;;
13815 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13816 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13817 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13818 fi ;;
13819 esac
13820 else
13821 ac_cv_lib_soname_v4l2=
13823 rm -f core conftest.err conftest.$ac_objext \
13824 conftest$ac_exeext conftest.$ac_ext
13825 LIBS=$ac_check_soname_save_LIBS
13827 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13829 $as_echo "not found" >&6; }
13831 else
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13833 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13835 cat >>confdefs.h <<_ACEOF
13836 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13837 _ACEOF
13842 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13843 case "x$with_v4l2" in
13844 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13845 xno) ;;
13846 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13847 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13848 esac
13852 if test "x$with_gphoto" != "xno"
13853 then
13854 if ${GPHOTO2_CFLAGS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13859 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13860 if ${GPHOTO2_LIBS:+false} :; then :
13861 if ${PKG_CONFIG+:} false; then :
13862 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13865 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13866 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13867 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13869 ac_save_CPPFLAGS=$CPPFLAGS
13870 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13871 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13872 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13874 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13875 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 ac_check_lib_save_LIBS=$LIBS
13879 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 #ifdef __cplusplus
13887 extern "C"
13888 #endif
13889 char gp_camera_new ();
13891 main ()
13893 return gp_camera_new ();
13895 return 0;
13897 _ACEOF
13898 if ac_fn_c_try_link "$LINENO"; then :
13899 ac_cv_lib_gphoto2_gp_camera_new=yes
13900 else
13901 ac_cv_lib_gphoto2_gp_camera_new=no
13903 rm -f core conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13905 LIBS=$ac_check_lib_save_LIBS
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13908 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13909 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13911 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13913 else
13914 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13917 else
13918 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13922 CPPFLAGS=$ac_save_CPPFLAGS
13923 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13924 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13926 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13931 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13932 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13933 if ${PKG_CONFIG+:} false; then :
13934 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13937 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13938 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13941 ac_save_CPPFLAGS=$CPPFLAGS
13942 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13943 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13944 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13946 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13947 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13948 $as_echo_n "(cached) " >&6
13949 else
13950 ac_check_lib_save_LIBS=$LIBS
13951 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13953 /* end confdefs.h. */
13955 /* Override any GCC internal prototype to avoid an error.
13956 Use char because int might match the return type of a GCC
13957 builtin and then its argument prototype would still apply. */
13958 #ifdef __cplusplus
13959 extern "C"
13960 #endif
13961 char gp_port_info_list_new ();
13963 main ()
13965 return gp_port_info_list_new ();
13967 return 0;
13969 _ACEOF
13970 if ac_fn_c_try_link "$LINENO"; then :
13971 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13972 else
13973 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_lib_save_LIBS
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13980 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13981 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13983 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13985 else
13986 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13989 else
13990 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13994 CPPFLAGS=$ac_save_CPPFLAGS
13995 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13996 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13999 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14000 case "x$with_gphoto" in
14001 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14002 xno) ;;
14003 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14004 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14005 esac
14008 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14009 case "x$with_gphoto" in
14010 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14011 xno) ;;
14012 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14013 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14014 esac
14019 if test "$ac_cv_header_resolv_h" = "yes"
14020 then
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14022 $as_echo_n "checking for resolver library... " >&6; }
14023 if ${ac_cv_have_resolv+:} false; then :
14024 $as_echo_n "(cached) " >&6
14025 else
14026 ac_save_LIBS="$LIBS"
14027 for lib in '' -lresolv
14029 LIBS="$lib $ac_save_LIBS"
14030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14031 /* end confdefs.h. */
14032 #ifdef HAVE_NETINET_IN_H
14033 #include <netinet/in.h>
14034 #endif
14035 #include <resolv.h>
14037 main ()
14039 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14041 return 0;
14043 _ACEOF
14044 if ac_fn_c_try_link "$LINENO"; then :
14045 ac_cv_have_resolv=${lib:-"none required"}
14046 else
14047 ac_cv_have_resolv="not found"
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14051 test "x$ac_cv_have_resolv" = "xnot found" || break
14052 done
14053 LIBS="$ac_save_LIBS"
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14056 $as_echo "$ac_cv_have_resolv" >&6; }
14058 case "$ac_cv_have_resolv" in
14059 "not found") ;;
14060 "none required")
14062 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14065 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14067 RESOLV_LIBS=$ac_cv_have_resolv
14069 esac
14072 if test "x$with_cms" != "xno"
14073 then
14074 if ${LCMS2_CFLAGS:+false} :; then :
14075 if ${PKG_CONFIG+:} false; then :
14076 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14080 if ${LCMS2_LIBS:+false} :; then :
14081 if ${PKG_CONFIG+:} false; then :
14082 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14086 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14087 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14088 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14089 ac_save_CPPFLAGS=$CPPFLAGS
14090 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14091 for ac_header in lcms2.h
14092 do :
14093 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14094 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14095 cat >>confdefs.h <<_ACEOF
14096 #define HAVE_LCMS2_H 1
14097 _ACEOF
14101 done
14103 if test "$ac_cv_header_lcms2_h" = "yes"
14104 then
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14106 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14107 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14108 $as_echo_n "(cached) " >&6
14109 else
14110 ac_check_lib_save_LIBS=$LIBS
14111 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14115 /* Override any GCC internal prototype to avoid an error.
14116 Use char because int might match the return type of a GCC
14117 builtin and then its argument prototype would still apply. */
14118 #ifdef __cplusplus
14119 extern "C"
14120 #endif
14121 char cmsOpenProfileFromFile ();
14123 main ()
14125 return cmsOpenProfileFromFile ();
14127 return 0;
14129 _ACEOF
14130 if ac_fn_c_try_link "$LINENO"; then :
14131 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14132 else
14133 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14135 rm -f core conftest.err conftest.$ac_objext \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS=$ac_check_lib_save_LIBS
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14140 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14141 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14143 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14145 else
14146 LCMS2_LIBS=""
14149 else
14150 LCMS2_CFLAGS=""
14151 LCMS2_LIBS=""
14153 CPPFLAGS=$ac_save_CPPFLAGS
14154 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14155 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14158 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14159 case "x$with_cms" in
14160 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14161 xno) ;;
14162 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14163 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14164 esac
14168 if test "x$with_freetype" != "xno"
14169 then
14170 if ${FREETYPE_CFLAGS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14175 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14176 if ${FREETYPE_LIBS:+false} :; then :
14177 if ${PKG_CONFIG+:} false; then :
14178 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14181 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14182 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14183 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14184 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14185 ac_save_CPPFLAGS=$CPPFLAGS
14186 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14187 for ac_header in ft2build.h
14188 do :
14189 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14190 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_FT2BUILD_H 1
14193 _ACEOF
14197 done
14199 if test "$ac_cv_header_ft2build_h" = "yes"
14200 then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14202 $as_echo_n "checking for -lfreetype... " >&6; }
14203 if ${ac_cv_lib_soname_freetype+:} false; then :
14204 $as_echo_n "(cached) " >&6
14205 else
14206 ac_check_soname_save_LIBS=$LIBS
14207 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 char FT_Init_FreeType ();
14219 main ()
14221 return FT_Init_FreeType ();
14223 return 0;
14225 _ACEOF
14226 if ac_fn_c_try_link "$LINENO"; then :
14227 case "$LIBEXT" in
14228 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14229 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'` ;;
14230 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14231 if ${ac_cv_lib_soname_freetype:+false} :; then :
14232 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14233 fi ;;
14234 esac
14235 else
14236 ac_cv_lib_soname_freetype=
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 LIBS=$ac_check_soname_save_LIBS
14242 if ${ac_cv_lib_soname_freetype:+false} :; then :
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14244 $as_echo "not found" >&6; }
14245 FREETYPE_LIBS=""
14246 else
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14248 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14250 cat >>confdefs.h <<_ACEOF
14251 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14252 _ACEOF
14255 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14257 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14258 #include FT_MODULE_H
14260 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14262 cat >>confdefs.h <<_ACEOF
14263 #define HAVE_FT_TRUETYPEENGINETYPE 1
14264 _ACEOF
14270 else
14271 FREETYPE_CFLAGS=""
14272 FREETYPE_LIBS=""
14274 CPPFLAGS=$ac_save_CPPFLAGS
14275 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14276 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14279 if test "x$ac_cv_lib_soname_freetype" = x; then :
14280 case "x$with_freetype" in
14281 xno) ;;
14282 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14283 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14284 esac
14285 enable_fonts=${enable_fonts:-no}
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14289 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14290 if ${ac_cv_c_ppdev+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 #ifdef HAVE_SYS_IOCTL_H
14296 # include <sys/ioctl.h>
14297 #endif
14298 #include <linux/ppdev.h>
14300 main ()
14302 ioctl (1,PPCLAIM,0)
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_compile "$LINENO"; then :
14308 ac_cv_c_ppdev="yes"
14309 else
14310 ac_cv_c_ppdev="no"
14312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14315 $as_echo "$ac_cv_c_ppdev" >&6; }
14316 if test "$ac_cv_c_ppdev" = "yes"
14317 then
14319 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14323 ac_wine_check_funcs_save_LIBS="$LIBS"
14324 LIBS="$LIBS $PTHREAD_LIBS"
14325 for ac_func in \
14326 pthread_getthreadid_np
14327 do :
14328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14331 cat >>confdefs.h <<_ACEOF
14332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14333 _ACEOF
14336 done
14338 LIBS="$ac_wine_check_funcs_save_LIBS"
14340 if test "x$with_zlib" != "xno"
14341 then
14342 if ${Z_CFLAGS:+false} :; then :
14343 if ${PKG_CONFIG+:} false; then :
14344 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14348 if ${Z_LIBS:+false} :; then :
14349 if ${PKG_CONFIG+:} false; then :
14350 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14354 Z_LIBS=${Z_LIBS:-"-lz"}
14355 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14356 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14357 ac_save_CPPFLAGS=$CPPFLAGS
14358 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14359 for ac_header in zlib.h
14360 do :
14361 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14362 if test "x$ac_cv_header_zlib_h" = xyes; then :
14363 cat >>confdefs.h <<_ACEOF
14364 #define HAVE_ZLIB_H 1
14365 _ACEOF
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14367 $as_echo_n "checking for inflate in -lz... " >&6; }
14368 if ${ac_cv_lib_z_inflate+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_check_lib_save_LIBS=$LIBS
14372 LIBS="-lz $Z_LIBS $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14376 /* Override any GCC internal prototype to avoid an error.
14377 Use char because int might match the return type of a GCC
14378 builtin and then its argument prototype would still apply. */
14379 #ifdef __cplusplus
14380 extern "C"
14381 #endif
14382 char inflate ();
14384 main ()
14386 return inflate ();
14388 return 0;
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_lib_z_inflate=yes
14393 else
14394 ac_cv_lib_z_inflate=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 LIBS=$ac_check_lib_save_LIBS
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14401 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14402 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14404 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14406 else
14407 Z_LIBS=""
14410 else
14411 Z_LIBS=""
14414 done
14416 CPPFLAGS=$ac_save_CPPFLAGS
14417 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14418 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14421 if test "x$Z_LIBS" = "x"; then :
14422 case "x$with_zlib" in
14423 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14424 xno) ;;
14425 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14426 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14427 esac
14431 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14432 then
14433 if test "$ac_cv_header_gettext_po_h" = "yes"
14434 then
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14436 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14437 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14438 $as_echo_n "(cached) " >&6
14439 else
14440 ac_check_lib_save_LIBS=$LIBS
14441 LIBS="-lgettextpo $LIBS"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14448 #ifdef __cplusplus
14449 extern "C"
14450 #endif
14451 char po_message_msgctxt ();
14453 main ()
14455 return po_message_msgctxt ();
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_link "$LINENO"; then :
14461 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14462 else
14463 ac_cv_lib_gettextpo_po_message_msgctxt=no
14465 rm -f core conftest.err conftest.$ac_objext \
14466 conftest$ac_exeext conftest.$ac_ext
14467 LIBS=$ac_check_lib_save_LIBS
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14470 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14471 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14473 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14475 GETTEXTPO_LIBS="-lgettextpo"
14480 if test "x$GETTEXTPO_LIBS" = "x"; then :
14481 case "x$with_gettextpo" in
14482 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14483 xno) ;;
14484 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14485 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14486 esac
14489 if test "$srcdir" != .; then :
14490 case "x$with_gettextpo" in
14491 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14492 xno) ;;
14493 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14494 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14495 esac
14500 if test "x$with_pulse" != "xno";
14501 then
14502 if ${PULSE_CFLAGS:+false} :; then :
14503 if ${PKG_CONFIG+:} false; then :
14504 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14508 if ${PULSE_LIBS:+false} :; then :
14509 if ${PKG_CONFIG+:} false; then :
14510 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14515 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14516 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14517 ac_save_CPPFLAGS=$CPPFLAGS
14518 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14519 for ac_header in pulse/pulseaudio.h
14520 do :
14521 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14522 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14523 cat >>confdefs.h <<_ACEOF
14524 #define HAVE_PULSE_PULSEAUDIO_H 1
14525 _ACEOF
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14527 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14528 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 ac_check_lib_save_LIBS=$LIBS
14532 LIBS="-lpulse $PULSE_LIBS $LIBS"
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14536 /* Override any GCC internal prototype to avoid an error.
14537 Use char because int might match the return type of a GCC
14538 builtin and then its argument prototype would still apply. */
14539 #ifdef __cplusplus
14540 extern "C"
14541 #endif
14542 char pa_stream_is_corked ();
14544 main ()
14546 return pa_stream_is_corked ();
14548 return 0;
14550 _ACEOF
14551 if ac_fn_c_try_link "$LINENO"; then :
14552 ac_cv_lib_pulse_pa_stream_is_corked=yes
14553 else
14554 ac_cv_lib_pulse_pa_stream_is_corked=no
14556 rm -f core conftest.err conftest.$ac_objext \
14557 conftest$ac_exeext conftest.$ac_ext
14558 LIBS=$ac_check_lib_save_LIBS
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14561 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14562 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14564 else
14565 PULSE_LIBS=""
14568 else
14569 PULSE_LIBS=""
14572 done
14574 CPPFLAGS=$ac_save_CPPFLAGS
14575 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14576 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14579 if test -z "$PULSE_LIBS"; then :
14580 case "x$with_pulse" in
14581 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14582 xno) ;;
14583 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14584 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14585 esac
14586 enable_winepulse_drv=${enable_winepulse_drv:-no}
14589 if test "x$with_gstreamer" != "xno"
14590 then
14591 if ${GSTREAMER_CFLAGS:+false} :; then :
14592 if ${PKG_CONFIG+:} false; then :
14593 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14597 if ${GSTREAMER_LIBS:+false} :; then :
14598 if ${PKG_CONFIG+:} false; then :
14599 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14604 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14605 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14606 ac_save_CPPFLAGS=$CPPFLAGS
14607 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14608 ac_gst_incl=""
14609 for i in $GSTREAMER_CFLAGS
14611 case "$i" in
14612 -I*) ac_gst_incl="$ac_gst_incl $i";;
14613 esac
14614 done
14615 GSTREAMER_CFLAGS=$ac_gst_incl
14616 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14617 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14618 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14620 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 #include <gst/gst.h>
14625 main ()
14627 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14629 return 0;
14631 _ACEOF
14632 if ac_fn_c_try_compile "$LINENO"; then :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14634 $as_echo "yes" >&6; }
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14636 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14637 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char gst_pad_new ();
14653 main ()
14655 return gst_pad_new ();
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14662 else
14663 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14670 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14671 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14675 else
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14677 $as_echo "no" >&6; }
14678 ac_glib2_broken=yes
14679 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14685 CPPFLAGS=$ac_save_CPPFLAGS
14686 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14687 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14690 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 :
14691 case "x$with_gstreamer" in
14692 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14693 xno) ;;
14694 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14695 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14696 esac
14699 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14701 ALSA_LIBS=""
14703 if test "x$with_alsa" != "xno"
14704 then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14706 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14707 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14708 $as_echo_n "(cached) " >&6
14709 else
14710 ac_check_lib_save_LIBS=$LIBS
14711 LIBS="-lasound $LIBS"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 #ifdef __cplusplus
14719 extern "C"
14720 #endif
14721 char snd_pcm_hw_params_get_access_mask ();
14723 main ()
14725 return snd_pcm_hw_params_get_access_mask ();
14727 return 0;
14729 _ACEOF
14730 if ac_fn_c_try_link "$LINENO"; then :
14731 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14732 else
14733 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14735 rm -f core conftest.err conftest.$ac_objext \
14736 conftest$ac_exeext conftest.$ac_ext
14737 LIBS=$ac_check_lib_save_LIBS
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14740 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14741 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14744 #include <alsa/asoundlib.h>
14746 main ()
14748 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_compile "$LINENO"; then :
14754 ALSA_LIBS="-lasound"
14756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14762 if test "x$with_oss" != xno
14763 then
14764 ac_save_CPPFLAGS="$CPPFLAGS"
14765 if test -f /etc/oss.conf
14766 then
14767 . /etc/oss.conf
14769 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14770 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14771 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14772 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14773 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14775 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14777 cat >>confdefs.h <<_ACEOF
14778 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14779 _ACEOF
14781 OSS4_CFLAGS="$ac_oss_incl"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14784 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14785 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_check_lib_save_LIBS=$LIBS
14789 LIBS="-lossaudio $LIBS"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14793 /* Override any GCC internal prototype to avoid an error.
14794 Use char because int might match the return type of a GCC
14795 builtin and then its argument prototype would still apply. */
14796 #ifdef __cplusplus
14797 extern "C"
14798 #endif
14799 char _oss_ioctl ();
14801 main ()
14803 return _oss_ioctl ();
14805 return 0;
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 ac_cv_lib_ossaudio__oss_ioctl=yes
14810 else
14811 ac_cv_lib_ossaudio__oss_ioctl=no
14813 rm -f core conftest.err conftest.$ac_objext \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14818 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14819 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14820 OSS4_LIBS="-lossaudio"
14829 CPPFLAGS="$ac_save_CPPFLAGS"
14831 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14832 case "x$with_oss" in
14833 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14834 xno) ;;
14835 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14836 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14837 esac
14838 enable_wineoss_drv=${enable_wineoss_drv:-no}
14841 if test "x$with_udev" != "xno"
14842 then
14843 if ${UDEV_CFLAGS:+false} :; then :
14844 if ${PKG_CONFIG+:} false; then :
14845 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14849 if ${UDEV_LIBS:+false} :; then :
14850 if ${PKG_CONFIG+:} false; then :
14851 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14855 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14856 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14857 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14858 ac_save_CPPFLAGS=$CPPFLAGS
14859 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14860 for ac_header in libudev.h
14861 do :
14862 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14863 if test "x$ac_cv_header_libudev_h" = xyes; then :
14864 cat >>confdefs.h <<_ACEOF
14865 #define HAVE_LIBUDEV_H 1
14866 _ACEOF
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14868 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14869 if ${ac_cv_lib_udev_udev_new+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_check_lib_save_LIBS=$LIBS
14873 LIBS="-ludev $UDEV_LIBS $LIBS"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char udev_new ();
14885 main ()
14887 return udev_new ();
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 ac_cv_lib_udev_udev_new=yes
14894 else
14895 ac_cv_lib_udev_udev_new=no
14897 rm -f core conftest.err conftest.$ac_objext \
14898 conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14902 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14903 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14905 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14907 else
14908 UDEV_LIBS=""
14911 else
14912 UDEV_LIBS=""
14915 done
14917 CPPFLAGS=$ac_save_CPPFLAGS
14918 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14919 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14922 if test "x$UDEV_LIBS" = "x"; then :
14923 case "x$with_udev" in
14924 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14925 xno) ;;
14926 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14927 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14928 esac
14932 if test "x$with_unwind" != xno
14933 then
14934 if ${UNWIND_CFLAGS:+false} :; then :
14935 if ${PKG_CONFIG+:} false; then :
14936 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14940 if ${UNWIND_LIBS:+false} :; then :
14941 if ${PKG_CONFIG+:} false; then :
14942 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14946 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14947 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14948 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14949 ac_save_CPPFLAGS=$CPPFLAGS
14950 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14952 $as_echo_n "checking for unw_step... " >&6; }
14953 if ${wine_cv_have_unw_step+:} false; then :
14954 $as_echo_n "(cached) " >&6
14955 else
14956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14957 /* end confdefs.h. */
14958 #define UNW_LOCAL_ONLY
14959 #include <libunwind.h>
14961 main ()
14963 unw_cursor_t cursor; unw_step( &cursor );
14965 return 0;
14967 _ACEOF
14968 if ac_fn_c_try_link "$LINENO"; then :
14969 wine_cv_have_unw_step="yes"
14970 else
14971 wine_cv_have_unw_step="no"
14973 rm -f core conftest.err conftest.$ac_objext \
14974 conftest$ac_exeext conftest.$ac_ext
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14977 $as_echo "$wine_cv_have_unw_step" >&6; }
14978 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14979 then
14980 save_libs=$LIBS
14981 LIBS="$UNWIND_LIBS $LIBS"
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14983 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14984 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14985 $as_echo_n "(cached) " >&6
14986 else
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14989 #define UNW_LOCAL_ONLY
14990 #include <libunwind.h>
14992 main ()
14994 unw_cursor_t cursor; unw_step( &cursor );
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"; then :
15000 wine_cv_have_libunwind_unw_step="yes"
15001 else
15002 wine_cv_have_libunwind_unw_step="no"
15004 rm -f core conftest.err conftest.$ac_objext \
15005 conftest$ac_exeext conftest.$ac_ext
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15008 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15009 LIBS=$save_libs
15011 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15012 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15013 then
15015 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15018 CPPFLAGS=$ac_save_CPPFLAGS
15019 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15020 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15023 case $host in
15024 aarch64*|*-darwin*)
15025 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15026 case "x$with_unwind" in
15027 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15028 xno) ;;
15029 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15030 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15031 esac
15033 fi ;;
15034 esac
15036 if test "x$with_sdl" != "xno"
15037 then
15038 if ${SDL2_CFLAGS:+false} :; then :
15039 if ${PKG_CONFIG+:} false; then :
15040 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15044 if ${SDL2_LIBS:+false} :; then :
15045 if ${PKG_CONFIG+:} false; then :
15046 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15050 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15051 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15053 ac_save_CPPFLAGS=$CPPFLAGS
15054 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15055 for ac_header in SDL2/SDL.h
15056 do :
15057 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15058 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15059 cat >>confdefs.h <<_ACEOF
15060 #define HAVE_SDL2_SDL_H 1
15061 _ACEOF
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15063 $as_echo_n "checking for -lSDL2... " >&6; }
15064 if ${ac_cv_lib_soname_SDL2+:} false; then :
15065 $as_echo_n "(cached) " >&6
15066 else
15067 ac_check_soname_save_LIBS=$LIBS
15068 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 #ifdef __cplusplus
15076 extern "C"
15077 #endif
15078 char SDL_Init ();
15080 main ()
15082 return SDL_Init ();
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 case "$LIBEXT" in
15089 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15090 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'` ;;
15091 *) 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'`
15092 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15093 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15094 fi ;;
15095 esac
15096 else
15097 ac_cv_lib_soname_SDL2=
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_soname_save_LIBS
15103 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15105 $as_echo "not found" >&6; }
15107 else
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15109 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15111 cat >>confdefs.h <<_ACEOF
15112 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15113 _ACEOF
15119 done
15121 CPPFLAGS=$ac_save_CPPFLAGS
15122 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15123 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15126 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15127 case "x$with_sdl" in
15128 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15129 xno) ;;
15130 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15131 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15132 esac
15136 if test "x$with_faudio" != "xno"
15137 then
15138 if ${FAUDIO_CFLAGS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15144 if ${FAUDIO_LIBS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15150 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15151 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15152 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15153 ac_save_CPPFLAGS=$CPPFLAGS
15154 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15155 for ac_header in FAudio.h
15156 do :
15157 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15158 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15159 cat >>confdefs.h <<_ACEOF
15160 #define HAVE_FAUDIO_H 1
15161 _ACEOF
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15163 $as_echo_n "checking for -lFAudio... " >&6; }
15164 if ${ac_cv_lib_soname_FAudio+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15172 /* Override any GCC internal prototype to avoid an error.
15173 Use char because int might match the return type of a GCC
15174 builtin and then its argument prototype would still apply. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 char FAudioCreate ();
15180 main ()
15182 return FAudioCreate ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 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'` ;;
15191 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15192 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15193 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15194 fi ;;
15195 esac
15196 else
15197 ac_cv_lib_soname_FAudio=
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_soname_save_LIBS
15203 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15205 $as_echo "not found" >&6; }
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15209 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15213 _ACEOF
15219 done
15221 ac_wine_check_funcs_save_LIBS="$LIBS"
15222 LIBS="$LIBS $FAUDIO_LIBS"
15223 for ac_func in FAudio_CommitOperationSet \
15224 F3DAudioInitialize8
15225 do :
15226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15228 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15229 cat >>confdefs.h <<_ACEOF
15230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15231 _ACEOF
15234 done
15236 LIBS="$ac_wine_check_funcs_save_LIBS"
15238 CPPFLAGS=$ac_save_CPPFLAGS
15239 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15240 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15243 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15244 case "x$with_faudio" in
15245 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15246 xno) ;;
15247 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15248 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15249 esac
15253 if test "x$with_capi" != "xno"
15254 then
15255 if ${CAPI20_CFLAGS:+false} :; then :
15256 if ${PKG_CONFIG+:} false; then :
15257 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15261 if ${CAPI20_LIBS:+false} :; then :
15262 if ${PKG_CONFIG+:} false; then :
15263 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15269 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15270 ac_save_CPPFLAGS=$CPPFLAGS
15271 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15272 for ac_header in capi20.h linux/capi.h
15273 do :
15274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15280 _ACEOF
15284 done
15286 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15287 then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15289 $as_echo_n "checking for -lcapi20... " >&6; }
15290 if ${ac_cv_lib_soname_capi20+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char capi20_register ();
15306 main ()
15308 return capi20_register ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 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'` ;;
15317 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_capi20:+false} :; then :
15319 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else
15323 ac_cv_lib_soname_capi20=
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_capi20:+false} :; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 $as_echo "not found" >&6; }
15333 else
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15335 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15339 _ACEOF
15344 CPPFLAGS=$ac_save_CPPFLAGS
15345 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15346 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15349 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15350 case "x$with_capi" in
15351 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15354 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "x$with_cups" != "xno"
15360 then
15361 if ${CUPS_CFLAGS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15366 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15367 if ${CUPS_LIBS:+false} :; then :
15368 if ${PKG_CONFIG+:} false; then :
15369 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15372 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15373 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15374 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15376 ac_save_CPPFLAGS=$CPPFLAGS
15377 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15378 for ac_header in cups/cups.h cups/ppd.h
15379 do :
15380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15385 _ACEOF
15389 done
15391 if test "$ac_cv_header_cups_cups_h" = "yes"
15392 then
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15394 $as_echo_n "checking for -lcups... " >&6; }
15395 if ${ac_cv_lib_soname_cups+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lcups $CUPS_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 #ifdef __cplusplus
15407 extern "C"
15408 #endif
15409 char cupsGetDefault ();
15411 main ()
15413 return cupsGetDefault ();
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_cups:+false} :; then :
15424 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 fi ;;
15426 esac
15427 else
15428 ac_cv_lib_soname_cups=
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_cups:+false} :; then :
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 $as_echo "not found" >&6; }
15437 CUPS_LIBS=""
15438 else
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15440 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15442 cat >>confdefs.h <<_ACEOF
15443 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15444 _ACEOF
15448 else
15449 CUPS_CFLAGS=""
15450 CUPS_LIBS=""
15452 CPPFLAGS=$ac_save_CPPFLAGS
15453 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15454 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15457 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15458 case "x$with_cups" in
15459 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15460 xno) ;;
15461 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15462 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15463 esac
15467 if test "x$with_fontconfig" != "xno"
15468 then
15469 if ${FONTCONFIG_CFLAGS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15475 if ${FONTCONFIG_LIBS:+false} :; then :
15476 if ${PKG_CONFIG+:} false; then :
15477 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15480 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15483 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15484 ac_save_CPPFLAGS=$CPPFLAGS
15485 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15486 for ac_header in fontconfig/fontconfig.h
15487 do :
15488 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15489 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15490 cat >>confdefs.h <<_ACEOF
15491 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15492 _ACEOF
15496 done
15498 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15499 then
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15501 $as_echo_n "checking for -lfontconfig... " >&6; }
15502 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15503 $as_echo_n "(cached) " >&6
15504 else
15505 ac_check_soname_save_LIBS=$LIBS
15506 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15513 #ifdef __cplusplus
15514 extern "C"
15515 #endif
15516 char FcInit ();
15518 main ()
15520 return FcInit ();
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 case "$LIBEXT" in
15527 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15528 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'` ;;
15529 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15530 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15531 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15532 fi ;;
15533 esac
15534 else
15535 ac_cv_lib_soname_fontconfig=
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15539 LIBS=$ac_check_soname_save_LIBS
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15543 $as_echo "not found" >&6; }
15544 FONTCONFIG_CFLAGS=""
15545 else
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15547 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15549 cat >>confdefs.h <<_ACEOF
15550 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15551 _ACEOF
15555 else
15556 FONTCONFIG_CFLAGS=""
15558 CPPFLAGS=$ac_save_CPPFLAGS
15559 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15560 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15563 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15564 case "x$with_fontconfig" in
15565 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15566 xno) ;;
15567 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15568 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15569 esac
15573 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15574 then
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15576 $as_echo_n "checking for -lgsm... " >&6; }
15577 if ${ac_cv_lib_soname_gsm+:} false; then :
15578 $as_echo_n "(cached) " >&6
15579 else
15580 ac_check_soname_save_LIBS=$LIBS
15581 LIBS="-lgsm $LIBS"
15582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15588 #ifdef __cplusplus
15589 extern "C"
15590 #endif
15591 char gsm_create ();
15593 main ()
15595 return gsm_create ();
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 case "$LIBEXT" in
15602 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15603 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'` ;;
15604 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15605 if ${ac_cv_lib_soname_gsm:+false} :; then :
15606 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15607 fi ;;
15608 esac
15609 else
15610 ac_cv_lib_soname_gsm=
15612 rm -f core conftest.err conftest.$ac_objext \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_check_soname_save_LIBS
15616 if ${ac_cv_lib_soname_gsm:+false} :; then :
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15618 $as_echo "not found" >&6; }
15620 else
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15622 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15624 cat >>confdefs.h <<_ACEOF
15625 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15626 _ACEOF
15631 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15632 case "x$with_gsm" in
15633 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15634 xno) ;;
15635 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15636 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15637 esac
15641 if test "x$with_krb5" != "xno"
15642 then
15643 if ${KRB5_CFLAGS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15648 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15649 if ${KRB5_LIBS:+false} :; then :
15650 if ${PKG_CONFIG+:} false; then :
15651 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15654 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15656 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15657 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15658 ac_save_CPPFLAGS=$CPPFLAGS
15659 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15660 for ac_header in krb5/krb5.h
15661 do :
15662 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15663 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_KRB5_KRB5_H 1
15666 _ACEOF
15670 done
15672 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15673 then
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15675 $as_echo_n "checking for -lkrb5... " >&6; }
15676 if ${ac_cv_lib_soname_krb5+:} false; then :
15677 $as_echo_n "(cached) " >&6
15678 else
15679 ac_check_soname_save_LIBS=$LIBS
15680 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15684 /* Override any GCC internal prototype to avoid an error.
15685 Use char because int might match the return type of a GCC
15686 builtin and then its argument prototype would still apply. */
15687 #ifdef __cplusplus
15688 extern "C"
15689 #endif
15690 char krb5_is_config_principal ();
15692 main ()
15694 return krb5_is_config_principal ();
15696 return 0;
15698 _ACEOF
15699 if ac_fn_c_try_link "$LINENO"; then :
15700 case "$LIBEXT" in
15701 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15702 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'` ;;
15703 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15704 if ${ac_cv_lib_soname_krb5:+false} :; then :
15705 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15706 fi ;;
15707 esac
15708 else
15709 ac_cv_lib_soname_krb5=
15711 rm -f core conftest.err conftest.$ac_objext \
15712 conftest$ac_exeext conftest.$ac_ext
15713 LIBS=$ac_check_soname_save_LIBS
15715 if ${ac_cv_lib_soname_krb5:+false} :; then :
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15717 $as_echo "not found" >&6; }
15718 KRB5_CFLAGS=""
15719 else
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15721 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15723 cat >>confdefs.h <<_ACEOF
15724 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15725 _ACEOF
15729 else
15730 KRB5_CFLAGS=""
15732 CPPFLAGS=$ac_save_CPPFLAGS
15733 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15734 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15736 else
15737 with_gssapi=${with_gssapi:-no}
15739 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15740 case "x$with_krb5" in
15741 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15742 xno) ;;
15743 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15744 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15745 esac
15749 if test "x$with_gssapi" != "xno"
15750 then
15751 if ${GSSAPI_CFLAGS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15756 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15757 if ${GSSAPI_LIBS:+false} :; then :
15758 if ${PKG_CONFIG+:} false; then :
15759 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15762 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15764 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15765 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15766 ac_save_CPPFLAGS=$CPPFLAGS
15767 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15768 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15769 do :
15770 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15771 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15773 cat >>confdefs.h <<_ACEOF
15774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15775 _ACEOF
15779 done
15781 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15782 then
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15784 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15785 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15786 $as_echo_n "(cached) " >&6
15787 else
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15793 /* Override any GCC internal prototype to avoid an error.
15794 Use char because int might match the return type of a GCC
15795 builtin and then its argument prototype would still apply. */
15796 #ifdef __cplusplus
15797 extern "C"
15798 #endif
15799 char gss_init_sec_context ();
15801 main ()
15803 return gss_init_sec_context ();
15805 return 0;
15807 _ACEOF
15808 if ac_fn_c_try_link "$LINENO"; then :
15809 case "$LIBEXT" in
15810 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15811 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'` ;;
15812 *) 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'`
15813 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15814 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15815 fi ;;
15816 esac
15817 else
15818 ac_cv_lib_soname_gssapi_krb5=
15820 rm -f core conftest.err conftest.$ac_objext \
15821 conftest$ac_exeext conftest.$ac_ext
15822 LIBS=$ac_check_soname_save_LIBS
15824 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15826 $as_echo "not found" >&6; }
15827 GSSAPI_CFLAGS=""
15828 else
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15830 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15832 cat >>confdefs.h <<_ACEOF
15833 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15834 _ACEOF
15838 else
15839 GSSAPI_CFLAGS=""
15841 CPPFLAGS=$ac_save_CPPFLAGS
15842 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15843 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15846 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15847 case "x$with_gssapi" in
15848 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15849 xno) ;;
15850 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15851 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15852 esac
15856 if test "x$with_jpeg" != "xno"
15857 then
15858 if ${JPEG_CFLAGS:+false} :; then :
15859 if ${PKG_CONFIG+:} false; then :
15860 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15864 if ${JPEG_LIBS:+false} :; then :
15865 if ${PKG_CONFIG+:} false; then :
15866 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15871 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15872 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15873 ac_save_CPPFLAGS=$CPPFLAGS
15874 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15875 for ac_header in jpeglib.h
15876 do :
15877 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15878 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15879 cat >>confdefs.h <<_ACEOF
15880 #define HAVE_JPEGLIB_H 1
15881 _ACEOF
15885 done
15887 if test "$ac_cv_header_jpeglib_h" = "yes"
15888 then
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15890 $as_echo_n "checking for -ljpeg... " >&6; }
15891 if ${ac_cv_lib_soname_jpeg+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 ac_check_soname_save_LIBS=$LIBS
15895 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 #ifdef __cplusplus
15903 extern "C"
15904 #endif
15905 char jpeg_start_decompress ();
15907 main ()
15909 return jpeg_start_decompress ();
15911 return 0;
15913 _ACEOF
15914 if ac_fn_c_try_link "$LINENO"; then :
15915 case "$LIBEXT" in
15916 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15917 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'` ;;
15918 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15920 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15921 fi ;;
15922 esac
15923 else
15924 ac_cv_lib_soname_jpeg=
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15928 LIBS=$ac_check_soname_save_LIBS
15930 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15932 $as_echo "not found" >&6; }
15933 JPEG_CFLAGS=""
15934 else
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15936 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15938 cat >>confdefs.h <<_ACEOF
15939 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15940 _ACEOF
15944 else
15945 JPEG_CFLAGS=""
15947 CPPFLAGS=$ac_save_CPPFLAGS
15948 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15949 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15952 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15953 case "x$with_jpeg" in
15954 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15955 xno) ;;
15956 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15957 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15958 esac
15962 if test "x$with_png" != "xno"
15963 then
15964 if ${PNG_CFLAGS:+false} :; then :
15965 if ${PKG_CONFIG+:} false; then :
15966 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15969 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15970 if ${PNG_LIBS:+false} :; then :
15971 if ${PKG_CONFIG+:} false; then :
15972 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15975 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15977 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15978 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15979 ac_save_CPPFLAGS=$CPPFLAGS
15980 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15981 for ac_header in png.h
15982 do :
15983 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15984 if test "x$ac_cv_header_png_h" = xyes; then :
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_PNG_H 1
15987 _ACEOF
15991 done
15993 if test "$ac_cv_header_png_h" = "yes"
15994 then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15996 $as_echo_n "checking for -lpng... " >&6; }
15997 if ${ac_cv_lib_soname_png+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 ac_check_soname_save_LIBS=$LIBS
16001 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char png_create_read_struct ();
16013 main ()
16015 return png_create_read_struct ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"; then :
16021 case "$LIBEXT" in
16022 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16023 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'` ;;
16024 *) 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'`
16025 if ${ac_cv_lib_soname_png:+false} :; then :
16026 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16027 fi ;;
16028 esac
16029 else
16030 ac_cv_lib_soname_png=
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext conftest.$ac_ext
16034 LIBS=$ac_check_soname_save_LIBS
16036 if ${ac_cv_lib_soname_png:+false} :; then :
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16038 $as_echo "not found" >&6; }
16039 PNG_CFLAGS=""
16040 else
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16042 $as_echo "$ac_cv_lib_soname_png" >&6; }
16044 cat >>confdefs.h <<_ACEOF
16045 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16046 _ACEOF
16050 else
16051 PNG_CFLAGS=""
16053 CPPFLAGS=$ac_save_CPPFLAGS
16054 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16055 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16058 if test "x$ac_cv_lib_soname_png" = "x"; then :
16059 case "x$with_png" in
16060 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16061 xno) ;;
16062 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16063 This is an error since --with-png was requested." "$LINENO" 5 ;;
16064 esac
16068 if test "x$with_tiff" != "xno"
16069 then
16070 if ${TIFF_CFLAGS:+false} :; then :
16071 if ${PKG_CONFIG+:} false; then :
16072 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16076 if ${TIFF_LIBS:+false} :; then :
16077 if ${PKG_CONFIG+:} false; then :
16078 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16083 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16085 ac_save_CPPFLAGS=$CPPFLAGS
16086 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16087 for ac_header in tiffio.h
16088 do :
16089 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16090 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_TIFFIO_H 1
16093 _ACEOF
16097 done
16099 if test "$ac_cv_header_tiffio_h" = "yes"
16100 then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16102 $as_echo_n "checking for -ltiff... " >&6; }
16103 if ${ac_cv_lib_soname_tiff+:} false; then :
16104 $as_echo_n "(cached) " >&6
16105 else
16106 ac_check_soname_save_LIBS=$LIBS
16107 LIBS="-ltiff $TIFF_LIBS $LIBS"
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char TIFFClientOpen ();
16119 main ()
16121 return TIFFClientOpen ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 case "$LIBEXT" in
16128 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16129 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'` ;;
16130 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16131 if ${ac_cv_lib_soname_tiff:+false} :; then :
16132 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16133 fi ;;
16134 esac
16135 else
16136 ac_cv_lib_soname_tiff=
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_soname_save_LIBS
16142 if ${ac_cv_lib_soname_tiff:+false} :; then :
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16144 $as_echo "not found" >&6; }
16146 else
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16148 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16150 cat >>confdefs.h <<_ACEOF
16151 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16152 _ACEOF
16157 CPPFLAGS=$ac_save_CPPFLAGS
16158 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16159 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16162 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16163 case "x$with_tiff" in
16164 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16167 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_mpg123" != "xno"
16173 then
16174 if ${MPG123_CFLAGS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16180 if ${MPG123_LIBS:+false} :; then :
16181 if ${PKG_CONFIG+:} false; then :
16182 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16186 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16187 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16189 ac_save_CPPFLAGS=$CPPFLAGS
16190 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16191 for ac_header in mpg123.h
16192 do :
16193 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_MPG123_H 1
16197 _ACEOF
16201 done
16203 if test "$ac_cv_header_mpg123_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16206 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16207 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_lib_save_LIBS=$LIBS
16211 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char mpg123_feed ();
16223 main ()
16225 return mpg123_feed ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 ac_cv_lib_mpg123_mpg123_feed=yes
16232 else
16233 ac_cv_lib_mpg123_mpg123_feed=no
16235 rm -f core conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_lib_save_LIBS
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16240 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16241 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16243 else
16244 MPG123_LIBS=""
16247 else
16248 MPG123_CFLAGS=""
16249 MPG123_LIBS=""
16251 CPPFLAGS=$ac_save_CPPFLAGS
16252 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16253 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16256 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16257 case "x$with_mpg123" in
16258 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16259 xno) ;;
16260 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16261 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16262 esac
16263 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16265 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16267 if test "$ac_cv_header_AL_al_h" = "yes"
16268 then
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16270 $as_echo_n "checking for -lopenal... " >&6; }
16271 if ${ac_cv_lib_soname_openal+:} false; then :
16272 $as_echo_n "(cached) " >&6
16273 else
16274 ac_check_soname_save_LIBS=$LIBS
16275 LIBS="-lopenal $LIBS"
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16279 /* Override any GCC internal prototype to avoid an error.
16280 Use char because int might match the return type of a GCC
16281 builtin and then its argument prototype would still apply. */
16282 #ifdef __cplusplus
16283 extern "C"
16284 #endif
16285 char alGetSource3i ();
16287 main ()
16289 return alGetSource3i ();
16291 return 0;
16293 _ACEOF
16294 if ac_fn_c_try_link "$LINENO"; then :
16295 case "$LIBEXT" in
16296 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16297 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'` ;;
16298 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16299 if ${ac_cv_lib_soname_openal:+false} :; then :
16300 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16301 fi ;;
16302 esac
16303 else
16304 ac_cv_lib_soname_openal=
16306 rm -f core conftest.err conftest.$ac_objext \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_soname_save_LIBS
16310 if ${ac_cv_lib_soname_openal:+false} :; then :
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16312 $as_echo "not found" >&6; }
16314 else
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16316 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16318 cat >>confdefs.h <<_ACEOF
16319 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16320 _ACEOF
16322 OPENAL_LIBS="-lopenal"
16324 ac_cv_lib_openal=yes
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_OPENAL 1
16328 _ACEOF
16332 if test "x$ac_cv_lib_openal" != xyes; then :
16333 case "x$with_openal" in
16334 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16335 xno) ;;
16336 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16337 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16338 esac
16339 enable_openal32=${enable_openal32:-no}
16342 if test "x$ac_cv_lib_soname_FAudio" = "x"
16343 then
16344 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16345 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16346 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16347 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16348 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16349 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16350 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16351 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16352 enable_xapofx1_1=${enable_xapofx1_1:-no}
16353 enable_xapofx1_2=${enable_xapofx1_2:-no}
16354 enable_xapofx1_3=${enable_xapofx1_3:-no}
16355 enable_xapofx1_4=${enable_xapofx1_4:-no}
16356 enable_xapofx1_5=${enable_xapofx1_5:-no}
16357 enable_xaudio2_0=${enable_xaudio2_0:-no}
16358 enable_xaudio2_1=${enable_xaudio2_1:-no}
16359 enable_xaudio2_2=${enable_xaudio2_2:-no}
16360 enable_xaudio2_3=${enable_xaudio2_3:-no}
16361 enable_xaudio2_4=${enable_xaudio2_4:-no}
16362 enable_xaudio2_5=${enable_xaudio2_5:-no}
16363 enable_xaudio2_6=${enable_xaudio2_6:-no}
16364 enable_xaudio2_7=${enable_xaudio2_7:-no}
16365 enable_xaudio2_8=${enable_xaudio2_8:-no}
16366 enable_xaudio2_9=${enable_xaudio2_9:-no}
16369 if test "$ac_cv_header_kstat_h" = "yes"
16370 then
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16372 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16373 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16374 $as_echo_n "(cached) " >&6
16375 else
16376 ac_check_lib_save_LIBS=$LIBS
16377 LIBS="-lkstat $LIBS"
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char kstat_open ();
16389 main ()
16391 return kstat_open ();
16393 return 0;
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397 ac_cv_lib_kstat_kstat_open=yes
16398 else
16399 ac_cv_lib_kstat_kstat_open=no
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16406 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16407 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16409 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16411 KSTAT_LIBS="-lkstat"
16417 if test "$ac_cv_header_libprocstat_h" = "yes"
16418 then
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16420 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16421 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16422 $as_echo_n "(cached) " >&6
16423 else
16424 ac_check_lib_save_LIBS=$LIBS
16425 LIBS="-lprocstat $LIBS"
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16429 /* Override any GCC internal prototype to avoid an error.
16430 Use char because int might match the return type of a GCC
16431 builtin and then its argument prototype would still apply. */
16432 #ifdef __cplusplus
16433 extern "C"
16434 #endif
16435 char procstat_open_sysctl ();
16437 main ()
16439 return procstat_open_sysctl ();
16441 return 0;
16443 _ACEOF
16444 if ac_fn_c_try_link "$LINENO"; then :
16445 ac_cv_lib_procstat_procstat_open_sysctl=yes
16446 else
16447 ac_cv_lib_procstat_procstat_open_sysctl=no
16449 rm -f core conftest.err conftest.$ac_objext \
16450 conftest$ac_exeext conftest.$ac_ext
16451 LIBS=$ac_check_lib_save_LIBS
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16454 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16455 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16457 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16459 PROCSTAT_LIBS="-lprocstat"
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16466 $as_echo_n "checking for -lodbc... " >&6; }
16467 if ${ac_cv_lib_soname_odbc+:} false; then :
16468 $as_echo_n "(cached) " >&6
16469 else
16470 ac_check_soname_save_LIBS=$LIBS
16471 LIBS="-lodbc $LIBS"
16472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16475 /* Override any GCC internal prototype to avoid an error.
16476 Use char because int might match the return type of a GCC
16477 builtin and then its argument prototype would still apply. */
16478 #ifdef __cplusplus
16479 extern "C"
16480 #endif
16481 char SQLConnect ();
16483 main ()
16485 return SQLConnect ();
16487 return 0;
16489 _ACEOF
16490 if ac_fn_c_try_link "$LINENO"; then :
16491 case "$LIBEXT" in
16492 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16493 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'` ;;
16494 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16495 if ${ac_cv_lib_soname_odbc:+false} :; then :
16496 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16497 fi ;;
16498 esac
16499 else
16500 ac_cv_lib_soname_odbc=
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_soname_save_LIBS
16506 if ${ac_cv_lib_soname_odbc:+false} :; then :
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16508 $as_echo "not found" >&6; }
16509 cat >>confdefs.h <<_ACEOF
16510 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16511 _ACEOF
16513 else
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16515 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16517 cat >>confdefs.h <<_ACEOF
16518 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16519 _ACEOF
16524 if test "x$with_netapi" != "xno"
16525 then
16526 if ${NETAPI_CFLAGS:+false} :; then :
16527 if ${PKG_CONFIG+:} false; then :
16528 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16532 if ${NETAPI_LIBS:+false} :; then :
16533 if ${PKG_CONFIG+:} false; then :
16534 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16539 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16540 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16541 ac_save_CPPFLAGS=$CPPFLAGS
16542 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16544 $as_echo_n "checking for -lnetapi... " >&6; }
16545 if ${ac_cv_lib_soname_netapi+:} false; then :
16546 $as_echo_n "(cached) " >&6
16547 else
16548 ac_check_soname_save_LIBS=$LIBS
16549 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char libnetapi_init ();
16561 main ()
16563 return libnetapi_init ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_link "$LINENO"; then :
16569 case "$LIBEXT" in
16570 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16571 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'` ;;
16572 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16573 if ${ac_cv_lib_soname_netapi:+false} :; then :
16574 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16575 fi ;;
16576 esac
16577 else
16578 ac_cv_lib_soname_netapi=
16580 rm -f core conftest.err conftest.$ac_objext \
16581 conftest$ac_exeext conftest.$ac_ext
16582 LIBS=$ac_check_soname_save_LIBS
16584 if ${ac_cv_lib_soname_netapi:+false} :; then :
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16586 $as_echo "not found" >&6; }
16587 cat >>confdefs.h <<_ACEOF
16588 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16589 _ACEOF
16591 else
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16593 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16595 cat >>confdefs.h <<_ACEOF
16596 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16597 _ACEOF
16601 CPPFLAGS=$ac_save_CPPFLAGS
16602 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16603 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16607 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16608 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16609 then
16610 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16613 if test "x$with_vulkan" != "xno"
16614 then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16616 $as_echo_n "checking for -lvulkan... " >&6; }
16617 if ${ac_cv_lib_soname_vulkan+:} false; then :
16618 $as_echo_n "(cached) " >&6
16619 else
16620 ac_check_soname_save_LIBS=$LIBS
16621 LIBS="-lvulkan $LIBS"
16622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 /* end confdefs.h. */
16625 /* Override any GCC internal prototype to avoid an error.
16626 Use char because int might match the return type of a GCC
16627 builtin and then its argument prototype would still apply. */
16628 #ifdef __cplusplus
16629 extern "C"
16630 #endif
16631 char vkGetInstanceProcAddr ();
16633 main ()
16635 return vkGetInstanceProcAddr ();
16637 return 0;
16639 _ACEOF
16640 if ac_fn_c_try_link "$LINENO"; then :
16641 case "$LIBEXT" in
16642 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16643 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'` ;;
16644 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16645 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16646 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16647 fi ;;
16648 esac
16649 else
16650 ac_cv_lib_soname_vulkan=
16652 rm -f core conftest.err conftest.$ac_objext \
16653 conftest$ac_exeext conftest.$ac_ext
16654 LIBS=$ac_check_soname_save_LIBS
16656 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16658 $as_echo "not found" >&6; }
16660 else
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16662 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16664 cat >>confdefs.h <<_ACEOF
16665 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16666 _ACEOF
16670 if test "x$ac_cv_lib_soname_vulkan" = "x"
16671 then
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16673 $as_echo_n "checking for -lMoltenVK... " >&6; }
16674 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 ac_check_soname_save_LIBS=$LIBS
16678 LIBS="-lMoltenVK $LIBS"
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 /* Override any GCC internal prototype to avoid an error.
16683 Use char because int might match the return type of a GCC
16684 builtin and then its argument prototype would still apply. */
16685 #ifdef __cplusplus
16686 extern "C"
16687 #endif
16688 char vkGetInstanceProcAddr ();
16690 main ()
16692 return vkGetInstanceProcAddr ();
16694 return 0;
16696 _ACEOF
16697 if ac_fn_c_try_link "$LINENO"; then :
16698 case "$LIBEXT" in
16699 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16700 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'` ;;
16701 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16702 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16703 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16704 fi ;;
16705 esac
16706 else
16707 ac_cv_lib_soname_MoltenVK=
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 LIBS=$ac_check_soname_save_LIBS
16713 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16715 $as_echo "not found" >&6; }
16717 else
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16719 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16721 cat >>confdefs.h <<_ACEOF
16722 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16723 _ACEOF
16729 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16730 case "x$with_vulkan" in
16731 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16732 xno) ;;
16733 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16734 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16735 esac
16739 if test "x$with_vkd3d" != "xno"
16740 then
16741 if ${VKD3D_CFLAGS:+false} :; then :
16742 if ${PKG_CONFIG+:} false; then :
16743 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16747 if ${VKD3D_LIBS:+false} :; then :
16748 if ${PKG_CONFIG+:} false; then :
16749 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16754 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16755 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16756 ac_save_CPPFLAGS=$CPPFLAGS
16757 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16759 $as_echo_n "checking for -lvkd3d... " >&6; }
16760 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16761 $as_echo_n "(cached) " >&6
16762 else
16763 ac_check_soname_save_LIBS=$LIBS
16764 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16768 /* Override any GCC internal prototype to avoid an error.
16769 Use char because int might match the return type of a GCC
16770 builtin and then its argument prototype would still apply. */
16771 #ifdef __cplusplus
16772 extern "C"
16773 #endif
16774 char vkd3d_get_dxgi_format ();
16776 main ()
16778 return vkd3d_get_dxgi_format ();
16780 return 0;
16782 _ACEOF
16783 if ac_fn_c_try_link "$LINENO"; then :
16784 case "$LIBEXT" in
16785 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16786 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'` ;;
16787 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16788 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16789 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16790 fi ;;
16791 esac
16792 else
16793 ac_cv_lib_soname_vkd3d=
16795 rm -f core conftest.err conftest.$ac_objext \
16796 conftest$ac_exeext conftest.$ac_ext
16797 LIBS=$ac_check_soname_save_LIBS
16799 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16801 $as_echo "not found" >&6; }
16803 else
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16805 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16807 cat >>confdefs.h <<_ACEOF
16808 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16809 _ACEOF
16813 CPPFLAGS=$ac_save_CPPFLAGS
16814 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16815 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16818 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16819 case "x$with_vkd3d" in
16820 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16821 xno) ;;
16822 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16823 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16824 esac
16827 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16830 EXTRACFLAGS=""
16832 if test "x${GCC}" = "xyes"
16833 then
16834 EXTRACFLAGS="-Wall -pipe"
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16837 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16838 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16839 $as_echo_n "(cached) " >&6
16840 else
16841 if test "$cross_compiling" = yes; then :
16842 ac_cv_c_gcc_strength_bug="no"
16843 else
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16846 int L[4] = {0,1,2,3};
16848 main ()
16850 static int Array[3];
16851 unsigned int B = 3;
16852 int i;
16853 for(i=0; i<B; i++) Array[i] = i - 3;
16854 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16855 L[i] = 4;
16856 return (Array[1] != -2 || L[2] != 3)
16858 return 0;
16860 _ACEOF
16861 if ac_fn_c_try_run "$LINENO"; then :
16862 ac_cv_c_gcc_strength_bug="no"
16863 else
16864 ac_cv_c_gcc_strength_bug="yes"
16866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16867 conftest.$ac_objext conftest.beam conftest.$ac_ext
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16872 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16873 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16874 then
16875 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16879 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16880 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16881 $as_echo_n "(cached) " >&6
16882 else
16883 ac_wine_try_cflags_saved=$CFLAGS
16884 CFLAGS="$CFLAGS -fno-strict-aliasing"
16885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 /* end confdefs.h. */
16887 int main(int argc, char **argv) { return 0; }
16888 _ACEOF
16889 if ac_fn_c_try_link "$LINENO"; then :
16890 ac_cv_cflags__fno_strict_aliasing=yes
16891 else
16892 ac_cv_cflags__fno_strict_aliasing=no
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16896 CFLAGS=$ac_wine_try_cflags_saved
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16899 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16900 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16901 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16904 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16905 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 ac_wine_try_cflags_saved=$CFLAGS
16909 CFLAGS="$CFLAGS -fexcess-precision=standard"
16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911 /* end confdefs.h. */
16912 int main(int argc, char **argv) { return 0; }
16913 _ACEOF
16914 if ac_fn_c_try_link "$LINENO"; then :
16915 ac_cv_cflags__fexcess_precision_standard=yes
16916 else
16917 ac_cv_cflags__fexcess_precision_standard=no
16919 rm -f core conftest.err conftest.$ac_objext \
16920 conftest$ac_exeext conftest.$ac_ext
16921 CFLAGS=$ac_wine_try_cflags_saved
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16924 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16925 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16926 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16929 saved_CFLAGS=$CFLAGS
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16931 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16932 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16933 $as_echo_n "(cached) " >&6
16934 else
16935 ac_wine_try_cflags_saved=$CFLAGS
16936 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16938 /* end confdefs.h. */
16939 int main(int argc, char **argv) { return 0; }
16940 _ACEOF
16941 if ac_fn_c_try_link "$LINENO"; then :
16942 ac_cv_cflags__Werror_unknown_warning_option=yes
16943 else
16944 ac_cv_cflags__Werror_unknown_warning_option=no
16946 rm -f core conftest.err conftest.$ac_objext \
16947 conftest$ac_exeext conftest.$ac_ext
16948 CFLAGS=$ac_wine_try_cflags_saved
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16951 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16952 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16953 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16956 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16957 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16958 $as_echo_n "(cached) " >&6
16959 else
16960 ac_wine_try_cflags_saved=$CFLAGS
16961 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 int main(int argc, char **argv) { return 0; }
16965 _ACEOF
16966 if ac_fn_c_try_link "$LINENO"; then :
16967 ac_cv_cflags__Werror_unused_command_line_argument=yes
16968 else
16969 ac_cv_cflags__Werror_unused_command_line_argument=no
16971 rm -f core conftest.err conftest.$ac_objext \
16972 conftest$ac_exeext conftest.$ac_ext
16973 CFLAGS=$ac_wine_try_cflags_saved
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16976 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16977 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16978 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16981 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16982 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985 ac_wine_try_cflags_saved=$CFLAGS
16986 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 int main(int argc, char **argv) { return 0; }
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_cflags__Wdeclaration_after_statement=yes
16993 else
16994 ac_cv_cflags__Wdeclaration_after_statement=no
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 CFLAGS=$ac_wine_try_cflags_saved
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17001 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17002 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17003 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17006 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17007 if ${ac_cv_cflags__Wempty_body+:} false; then :
17008 $as_echo_n "(cached) " >&6
17009 else
17010 ac_wine_try_cflags_saved=$CFLAGS
17011 CFLAGS="$CFLAGS -Wempty-body"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17014 int main(int argc, char **argv) { return 0; }
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017 ac_cv_cflags__Wempty_body=yes
17018 else
17019 ac_cv_cflags__Wempty_body=no
17021 rm -f core conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 CFLAGS=$ac_wine_try_cflags_saved
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17026 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17027 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17028 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17031 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17032 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 ac_wine_try_cflags_saved=$CFLAGS
17036 CFLAGS="$CFLAGS -Wignored-qualifiers"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 int main(int argc, char **argv) { return 0; }
17040 _ACEOF
17041 if ac_fn_c_try_link "$LINENO"; then :
17042 ac_cv_cflags__Wignored_qualifiers=yes
17043 else
17044 ac_cv_cflags__Wignored_qualifiers=no
17046 rm -f core conftest.err conftest.$ac_objext \
17047 conftest$ac_exeext conftest.$ac_ext
17048 CFLAGS=$ac_wine_try_cflags_saved
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17051 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17052 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17053 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17056 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17057 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 ac_wine_try_cflags_saved=$CFLAGS
17061 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 int main(int argc, char **argv) { return 0; }
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_cflags__Wpacked_not_aligned=yes
17068 else
17069 ac_cv_cflags__Wpacked_not_aligned=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 CFLAGS=$ac_wine_try_cflags_saved
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17076 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17077 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17078 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17081 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17082 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17083 $as_echo_n "(cached) " >&6
17084 else
17085 ac_wine_try_cflags_saved=$CFLAGS
17086 CFLAGS="$CFLAGS -Wpragma-pack"
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 int main(int argc, char **argv) { return 0; }
17090 _ACEOF
17091 if ac_fn_c_try_link "$LINENO"; then :
17092 ac_cv_cflags__Wpragma_pack=yes
17093 else
17094 ac_cv_cflags__Wpragma_pack=no
17096 rm -f core conftest.err conftest.$ac_objext \
17097 conftest$ac_exeext conftest.$ac_ext
17098 CFLAGS=$ac_wine_try_cflags_saved
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17101 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17102 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17103 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17106 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17107 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17108 $as_echo_n "(cached) " >&6
17109 else
17110 ac_wine_try_cflags_saved=$CFLAGS
17111 CFLAGS="$CFLAGS -Wshift-overflow=2"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 int main(int argc, char **argv) { return 0; }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117 ac_cv_cflags__Wshift_overflow_2=yes
17118 else
17119 ac_cv_cflags__Wshift_overflow_2=no
17121 rm -f core conftest.err conftest.$ac_objext \
17122 conftest$ac_exeext conftest.$ac_ext
17123 CFLAGS=$ac_wine_try_cflags_saved
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17126 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17127 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17128 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17131 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17132 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17133 $as_echo_n "(cached) " >&6
17134 else
17135 ac_wine_try_cflags_saved=$CFLAGS
17136 CFLAGS="$CFLAGS -Wstrict-prototypes"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 int main(int argc, char **argv) { return 0; }
17140 _ACEOF
17141 if ac_fn_c_try_link "$LINENO"; then :
17142 ac_cv_cflags__Wstrict_prototypes=yes
17143 else
17144 ac_cv_cflags__Wstrict_prototypes=no
17146 rm -f core conftest.err conftest.$ac_objext \
17147 conftest$ac_exeext conftest.$ac_ext
17148 CFLAGS=$ac_wine_try_cflags_saved
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17151 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17152 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17153 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17156 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17157 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 ac_wine_try_cflags_saved=$CFLAGS
17161 CFLAGS="$CFLAGS -Wtype-limits"
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 int main(int argc, char **argv) { return 0; }
17165 _ACEOF
17166 if ac_fn_c_try_link "$LINENO"; then :
17167 ac_cv_cflags__Wtype_limits=yes
17168 else
17169 ac_cv_cflags__Wtype_limits=no
17171 rm -f core conftest.err conftest.$ac_objext \
17172 conftest$ac_exeext conftest.$ac_ext
17173 CFLAGS=$ac_wine_try_cflags_saved
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17176 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17177 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17178 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17181 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17182 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17183 $as_echo_n "(cached) " >&6
17184 else
17185 ac_wine_try_cflags_saved=$CFLAGS
17186 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17188 /* end confdefs.h. */
17189 int main(int argc, char **argv) { return 0; }
17190 _ACEOF
17191 if ac_fn_c_try_link "$LINENO"; then :
17192 ac_cv_cflags__Wunused_but_set_parameter=yes
17193 else
17194 ac_cv_cflags__Wunused_but_set_parameter=no
17196 rm -f core conftest.err conftest.$ac_objext \
17197 conftest$ac_exeext conftest.$ac_ext
17198 CFLAGS=$ac_wine_try_cflags_saved
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17201 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17202 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17203 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17206 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17207 if ${ac_cv_cflags__Wvla+:} false; then :
17208 $as_echo_n "(cached) " >&6
17209 else
17210 ac_wine_try_cflags_saved=$CFLAGS
17211 CFLAGS="$CFLAGS -Wvla"
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h. */
17214 int main(int argc, char **argv) { return 0; }
17215 _ACEOF
17216 if ac_fn_c_try_link "$LINENO"; then :
17217 ac_cv_cflags__Wvla=yes
17218 else
17219 ac_cv_cflags__Wvla=no
17221 rm -f core conftest.err conftest.$ac_objext \
17222 conftest$ac_exeext conftest.$ac_ext
17223 CFLAGS=$ac_wine_try_cflags_saved
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17226 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17227 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17228 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17231 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17232 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 ac_wine_try_cflags_saved=$CFLAGS
17236 CFLAGS="$CFLAGS -Wwrite-strings"
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17239 int main(int argc, char **argv) { return 0; }
17240 _ACEOF
17241 if ac_fn_c_try_link "$LINENO"; then :
17242 ac_cv_cflags__Wwrite_strings=yes
17243 else
17244 ac_cv_cflags__Wwrite_strings=no
17246 rm -f core conftest.err conftest.$ac_objext \
17247 conftest$ac_exeext conftest.$ac_ext
17248 CFLAGS=$ac_wine_try_cflags_saved
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17251 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17252 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17253 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17257 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17258 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 ac_wine_try_cflags_saved=$CFLAGS
17262 CFLAGS="$CFLAGS -Wpointer-arith"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 int main(int argc, char **argv) { return 0; }
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_cflags__Wpointer_arith=yes
17269 else
17270 ac_cv_cflags__Wpointer_arith=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 CFLAGS=$ac_wine_try_cflags_saved
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17277 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17278 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17279 saved_string_h_CFLAGS=$CFLAGS
17280 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17282 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17283 if ${ac_cv_c_string_h_warnings+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17288 #include <string.h>
17290 main ()
17294 return 0;
17296 _ACEOF
17297 if ac_fn_c_try_compile "$LINENO"; then :
17298 ac_cv_c_string_h_warnings=no
17299 else
17300 ac_cv_c_string_h_warnings=yes
17302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17305 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17306 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17307 CFLAGS=$saved_string_h_CFLAGS
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17311 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17312 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17313 $as_echo_n "(cached) " >&6
17314 else
17315 ac_wine_try_cflags_saved=$CFLAGS
17316 CFLAGS="$CFLAGS -Wlogical-op"
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 int main(int argc, char **argv) { return 0; }
17320 _ACEOF
17321 if ac_fn_c_try_link "$LINENO"; then :
17322 ac_cv_cflags__Wlogical_op=yes
17323 else
17324 ac_cv_cflags__Wlogical_op=no
17326 rm -f core conftest.err conftest.$ac_objext \
17327 conftest$ac_exeext conftest.$ac_ext
17328 CFLAGS=$ac_wine_try_cflags_saved
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17331 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17332 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17333 saved_string_h_CFLAGS=$CFLAGS
17334 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17336 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17337 if ${ac_cv_c_logicalop_noisy+:} false; then :
17338 $as_echo_n "(cached) " >&6
17339 else
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 #include <string.h>
17343 char*f(const char *h,char n) {return strchr(h,n);}
17345 main ()
17349 return 0;
17351 _ACEOF
17352 if ac_fn_c_try_compile "$LINENO"; then :
17353 ac_cv_c_logicalop_noisy=no
17354 else
17355 ac_cv_c_logicalop_noisy=yes
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17360 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17361 CFLAGS=$saved_string_h_CFLAGS
17362 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17365 for ac_flag in $CFLAGS; do
17366 case $ac_flag in
17367 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17368 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17369 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17370 $as_echo_n "(cached) " >&6
17371 else
17372 ac_wine_try_cflags_saved=$CFLAGS
17373 CFLAGS="$CFLAGS -gdwarf-2"
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 int main(int argc, char **argv) { return 0; }
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"; then :
17379 ac_cv_cflags__gdwarf_2=yes
17380 else
17381 ac_cv_cflags__gdwarf_2=no
17383 rm -f core conftest.err conftest.$ac_objext \
17384 conftest$ac_exeext conftest.$ac_ext
17385 CFLAGS=$ac_wine_try_cflags_saved
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17388 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17389 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17390 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17393 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17394 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 ac_wine_try_cflags_saved=$CFLAGS
17398 CFLAGS="$CFLAGS -gstrict-dwarf"
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 int main(int argc, char **argv) { return 0; }
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"; then :
17404 ac_cv_cflags__gstrict_dwarf=yes
17405 else
17406 ac_cv_cflags__gstrict_dwarf=no
17408 rm -f core conftest.err conftest.$ac_objext \
17409 conftest$ac_exeext conftest.$ac_ext
17410 CFLAGS=$ac_wine_try_cflags_saved
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17413 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17414 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17415 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17416 fi ;;
17417 esac
17418 done
17420 MSVCRTFLAGS=""
17422 case $host_os in
17423 cygwin*|mingw32*) ;;
17424 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17425 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17426 if ${ac_cv_cflags__fno_builtin+:} false; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429 ac_wine_try_cflags_saved=$CFLAGS
17430 CFLAGS="$CFLAGS -fno-builtin"
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17433 int main(int argc, char **argv) { return 0; }
17434 _ACEOF
17435 if ac_fn_c_try_link "$LINENO"; then :
17436 ac_cv_cflags__fno_builtin=yes
17437 else
17438 ac_cv_cflags__fno_builtin=no
17440 rm -f core conftest.err conftest.$ac_objext \
17441 conftest$ac_exeext conftest.$ac_ext
17442 CFLAGS=$ac_wine_try_cflags_saved
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17445 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17446 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17447 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17450 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17451 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17454 ac_wine_try_cflags_saved=$CFLAGS
17455 CFLAGS="$CFLAGS -fshort-wchar"
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 int main(int argc, char **argv) { return 0; }
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"; then :
17461 ac_cv_cflags__fshort_wchar=yes
17462 else
17463 ac_cv_cflags__fshort_wchar=no
17465 rm -f core conftest.err conftest.$ac_objext \
17466 conftest$ac_exeext conftest.$ac_ext
17467 CFLAGS=$ac_wine_try_cflags_saved
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17470 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17471 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17472 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17473 fi ;;
17474 esac
17476 case $host_cpu in
17477 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17478 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17479 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17480 $as_echo_n "(cached) " >&6
17481 else
17482 ac_wine_try_cflags_saved=$CFLAGS
17483 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 int main(int argc, char **argv) { return 0; }
17487 _ACEOF
17488 if ac_fn_c_try_link "$LINENO"; then :
17489 ac_cv_cflags__fno_omit_frame_pointer=yes
17490 else
17491 ac_cv_cflags__fno_omit_frame_pointer=no
17493 rm -f core conftest.err conftest.$ac_objext \
17494 conftest$ac_exeext conftest.$ac_ext
17495 CFLAGS=$ac_wine_try_cflags_saved
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17498 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17499 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17500 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17501 fi ;;
17502 *x86_64*)
17503 case $host_os in
17504 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17505 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17506 if ${ac_cv_cflags__Wno_format+:} false; then :
17507 $as_echo_n "(cached) " >&6
17508 else
17509 ac_wine_try_cflags_saved=$CFLAGS
17510 CFLAGS="$CFLAGS -Wno-format"
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 int main(int argc, char **argv) { return 0; }
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 ac_cv_cflags__Wno_format=yes
17517 else
17518 ac_cv_cflags__Wno_format=no
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17522 CFLAGS=$ac_wine_try_cflags_saved
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17525 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17526 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17527 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17528 fi ;;
17529 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17530 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17531 if ${ac_cv_cflags__mabi_ms+:} false; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534 ac_wine_try_cflags_saved=$CFLAGS
17535 CFLAGS="$CFLAGS -mabi=ms"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 int main(int argc, char **argv) { return 0; }
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_cflags__mabi_ms=yes
17542 else
17543 ac_cv_cflags__mabi_ms=no
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17547 CFLAGS=$ac_wine_try_cflags_saved
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17550 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17551 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17552 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17553 fi ;;
17554 esac ;;
17555 esac
17557 CFLAGS=$saved_CFLAGS
17559 if test "x$enable_maintainer_mode" = "xyes"
17560 then
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17562 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17563 if ${ac_cv_cflags__Werror+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_wine_try_cflags_saved=$CFLAGS
17567 CFLAGS="$CFLAGS -Werror"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 int main(int argc, char **argv) { return 0; }
17571 _ACEOF
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 ac_cv_cflags__Werror=yes
17574 else
17575 ac_cv_cflags__Werror=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 CFLAGS=$ac_wine_try_cflags_saved
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17582 $as_echo "$ac_cv_cflags__Werror" >&6; }
17583 if test "x$ac_cv_cflags__Werror" = xyes; then :
17584 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17591 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17592 if ${ac_cv_c_fortify_enabled+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <string.h>
17599 main ()
17601 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17602 #error Fortify enabled
17603 #endif
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 ac_cv_c_fortify_enabled=no
17610 else
17611 ac_cv_c_fortify_enabled=yes
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17616 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17617 if test "$ac_cv_c_fortify_enabled" = yes
17618 then
17619 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17624 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17625 if ${ac_cv_c_cfi_support+:} false; then :
17626 $as_echo_n "(cached) " >&6
17627 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17632 main ()
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 ac_cv_c_cfi_support="yes"
17641 else
17642 ac_cv_c_cfi_support="no"
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17647 $as_echo "$ac_cv_c_cfi_support" >&6; }
17648 if test "$ac_cv_c_cfi_support" = "yes"
17649 then
17650 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17651 else
17652 if test "x$enable_win64" = "xyes"
17653 then
17654 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17659 case $build_os in
17660 cygwin*|mingw32*) TOOLSEXT=".exe"
17662 esac
17664 case $host_os in
17665 linux*)
17666 case $host_cpu in
17667 *i[3456789]86*|x86_64*|*aarch64*)
17668 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17669 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17671 esac
17673 esac
17676 ac_save_CFLAGS="$CFLAGS"
17677 CFLAGS="$CFLAGS $BUILTINFLAG"
17678 for ac_func in \
17679 __res_get_state \
17680 __res_getservers \
17681 _spawnvp \
17682 dlopen \
17683 epoll_create \
17684 ffs \
17685 finitef \
17686 fnmatch \
17687 fork \
17688 fpclass \
17689 fstatfs \
17690 fstatvfs \
17691 futimens \
17692 futimes \
17693 futimesat \
17694 getattrlist \
17695 getauxval \
17696 getifaddrs \
17697 getopt_long_only \
17698 kqueue \
17699 lstat \
17700 mach_continuous_time \
17701 pipe2 \
17702 poll \
17703 port_create \
17704 prctl \
17705 pread \
17706 proc_pidinfo \
17707 pwrite \
17708 readdir \
17709 readlink \
17710 sched_yield \
17711 select \
17712 setproctitle \
17713 setprogname \
17714 settimeofday \
17715 sigprocmask \
17716 statfs \
17717 statvfs \
17718 strnlen \
17719 strtold \
17720 symlink \
17721 sysinfo \
17722 tcdrain \
17723 thr_kill2 \
17724 timegm \
17725 usleep
17727 do :
17728 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17729 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17730 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17731 cat >>confdefs.h <<_ACEOF
17732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17733 _ACEOF
17736 done
17738 CFLAGS="$ac_save_CFLAGS"
17740 if test "$ac_cv_func_dlopen" = no
17741 then
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17743 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17744 if ${ac_cv_lib_dl_dlopen+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 ac_check_lib_save_LIBS=$LIBS
17748 LIBS="-ldl $LIBS"
17749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h. */
17752 /* Override any GCC internal prototype to avoid an error.
17753 Use char because int might match the return type of a GCC
17754 builtin and then its argument prototype would still apply. */
17755 #ifdef __cplusplus
17756 extern "C"
17757 #endif
17758 char dlopen ();
17760 main ()
17762 return dlopen ();
17764 return 0;
17766 _ACEOF
17767 if ac_fn_c_try_link "$LINENO"; then :
17768 ac_cv_lib_dl_dlopen=yes
17769 else
17770 ac_cv_lib_dl_dlopen=no
17772 rm -f core conftest.err conftest.$ac_objext \
17773 conftest$ac_exeext conftest.$ac_ext
17774 LIBS=$ac_check_lib_save_LIBS
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17778 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17779 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17780 DL_LIBS="-ldl"
17785 ac_wine_check_funcs_save_LIBS="$LIBS"
17786 LIBS="$LIBS $DL_LIBS"
17787 for ac_func in dladdr
17788 do :
17789 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17790 if test "x$ac_cv_func_dladdr" = xyes; then :
17791 cat >>confdefs.h <<_ACEOF
17792 #define HAVE_DLADDR 1
17793 _ACEOF
17796 done
17798 LIBS="$ac_wine_check_funcs_save_LIBS"
17800 if test "$ac_cv_func_poll" = no
17801 then
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17803 $as_echo_n "checking for poll in -lpoll... " >&6; }
17804 if ${ac_cv_lib_poll_poll+:} false; then :
17805 $as_echo_n "(cached) " >&6
17806 else
17807 ac_check_lib_save_LIBS=$LIBS
17808 LIBS="-lpoll $LIBS"
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17812 /* Override any GCC internal prototype to avoid an error.
17813 Use char because int might match the return type of a GCC
17814 builtin and then its argument prototype would still apply. */
17815 #ifdef __cplusplus
17816 extern "C"
17817 #endif
17818 char poll ();
17820 main ()
17822 return poll ();
17824 return 0;
17826 _ACEOF
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 ac_cv_lib_poll_poll=yes
17829 else
17830 ac_cv_lib_poll_poll=no
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17834 LIBS=$ac_check_lib_save_LIBS
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17837 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17838 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17839 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17840 POLL_LIBS="-lpoll"
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17847 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17848 if ${ac_cv_search_gethostbyname+:} false; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17851 ac_func_search_save_LIBS=$LIBS
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17855 /* Override any GCC internal prototype to avoid an error.
17856 Use char because int might match the return type of a GCC
17857 builtin and then its argument prototype would still apply. */
17858 #ifdef __cplusplus
17859 extern "C"
17860 #endif
17861 char gethostbyname ();
17863 main ()
17865 return gethostbyname ();
17867 return 0;
17869 _ACEOF
17870 for ac_lib in '' nsl; do
17871 if test -z "$ac_lib"; then
17872 ac_res="none required"
17873 else
17874 ac_res=-l$ac_lib
17875 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17877 if ac_fn_c_try_link "$LINENO"; then :
17878 ac_cv_search_gethostbyname=$ac_res
17880 rm -f core conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext
17882 if ${ac_cv_search_gethostbyname+:} false; then :
17883 break
17885 done
17886 if ${ac_cv_search_gethostbyname+:} false; then :
17888 else
17889 ac_cv_search_gethostbyname=no
17891 rm conftest.$ac_ext
17892 LIBS=$ac_func_search_save_LIBS
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17895 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17896 ac_res=$ac_cv_search_gethostbyname
17897 if test "$ac_res" != no; then :
17898 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17904 $as_echo_n "checking for library containing connect... " >&6; }
17905 if ${ac_cv_search_connect+:} false; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17908 ac_func_search_save_LIBS=$LIBS
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h. */
17912 /* Override any GCC internal prototype to avoid an error.
17913 Use char because int might match the return type of a GCC
17914 builtin and then its argument prototype would still apply. */
17915 #ifdef __cplusplus
17916 extern "C"
17917 #endif
17918 char connect ();
17920 main ()
17922 return connect ();
17924 return 0;
17926 _ACEOF
17927 for ac_lib in '' socket; do
17928 if test -z "$ac_lib"; then
17929 ac_res="none required"
17930 else
17931 ac_res=-l$ac_lib
17932 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17934 if ac_fn_c_try_link "$LINENO"; then :
17935 ac_cv_search_connect=$ac_res
17937 rm -f core conftest.err conftest.$ac_objext \
17938 conftest$ac_exeext
17939 if ${ac_cv_search_connect+:} false; then :
17940 break
17942 done
17943 if ${ac_cv_search_connect+:} false; then :
17945 else
17946 ac_cv_search_connect=no
17948 rm conftest.$ac_ext
17949 LIBS=$ac_func_search_save_LIBS
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17952 $as_echo "$ac_cv_search_connect" >&6; }
17953 ac_res=$ac_cv_search_connect
17954 if test "$ac_res" != no; then :
17955 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17961 $as_echo_n "checking for library containing inet_aton... " >&6; }
17962 if ${ac_cv_search_inet_aton+:} false; then :
17963 $as_echo_n "(cached) " >&6
17964 else
17965 ac_func_search_save_LIBS=$LIBS
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17969 /* Override any GCC internal prototype to avoid an error.
17970 Use char because int might match the return type of a GCC
17971 builtin and then its argument prototype would still apply. */
17972 #ifdef __cplusplus
17973 extern "C"
17974 #endif
17975 char inet_aton ();
17977 main ()
17979 return inet_aton ();
17981 return 0;
17983 _ACEOF
17984 for ac_lib in '' resolv; do
17985 if test -z "$ac_lib"; then
17986 ac_res="none required"
17987 else
17988 ac_res=-l$ac_lib
17989 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17991 if ac_fn_c_try_link "$LINENO"; then :
17992 ac_cv_search_inet_aton=$ac_res
17994 rm -f core conftest.err conftest.$ac_objext \
17995 conftest$ac_exeext
17996 if ${ac_cv_search_inet_aton+:} false; then :
17997 break
17999 done
18000 if ${ac_cv_search_inet_aton+:} false; then :
18002 else
18003 ac_cv_search_inet_aton=no
18005 rm conftest.$ac_ext
18006 LIBS=$ac_func_search_save_LIBS
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18009 $as_echo "$ac_cv_search_inet_aton" >&6; }
18010 ac_res=$ac_cv_search_inet_aton
18011 if test "$ac_res" != no; then :
18012 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18017 for ac_func in \
18018 getaddrinfo \
18019 getnameinfo \
18020 getnetbyname \
18021 getprotobyname \
18022 getprotobynumber \
18023 getservbyport \
18024 inet_addr \
18025 inet_network \
18026 inet_ntop \
18027 inet_pton \
18029 do :
18030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18032 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18033 cat >>confdefs.h <<_ACEOF
18034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18035 _ACEOF
18038 done
18041 case $host_os in
18042 darwin*|macosx*) ;;
18043 *) ac_save_LIBS=$LIBS
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18045 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18046 if ${ac_cv_search_clock_gettime+:} false; then :
18047 $as_echo_n "(cached) " >&6
18048 else
18049 ac_func_search_save_LIBS=$LIBS
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18053 /* Override any GCC internal prototype to avoid an error.
18054 Use char because int might match the return type of a GCC
18055 builtin and then its argument prototype would still apply. */
18056 #ifdef __cplusplus
18057 extern "C"
18058 #endif
18059 char clock_gettime ();
18061 main ()
18063 return clock_gettime ();
18065 return 0;
18067 _ACEOF
18068 for ac_lib in '' rt; do
18069 if test -z "$ac_lib"; then
18070 ac_res="none required"
18071 else
18072 ac_res=-l$ac_lib
18073 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18075 if ac_fn_c_try_link "$LINENO"; then :
18076 ac_cv_search_clock_gettime=$ac_res
18078 rm -f core conftest.err conftest.$ac_objext \
18079 conftest$ac_exeext
18080 if ${ac_cv_search_clock_gettime+:} false; then :
18081 break
18083 done
18084 if ${ac_cv_search_clock_gettime+:} false; then :
18086 else
18087 ac_cv_search_clock_gettime=no
18089 rm conftest.$ac_ext
18090 LIBS=$ac_func_search_save_LIBS
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18093 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18094 ac_res=$ac_cv_search_clock_gettime
18095 if test "$ac_res" != no; then :
18096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18098 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18100 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18104 LIBS=$ac_save_LIBS
18106 esac
18108 if test "x$with_ldap" != "xno"
18109 then
18110 if ${LDAP_CFLAGS:+false} :; then :
18111 if ${PKG_CONFIG+:} false; then :
18112 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18116 if ${LDAP_LIBS:+false} :; then :
18117 if ${PKG_CONFIG+:} false; then :
18118 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18122 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18123 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18124 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18125 ac_save_CPPFLAGS=$CPPFLAGS
18126 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18127 for ac_header in ldap.h lber.h
18128 do :
18129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18130 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18132 cat >>confdefs.h <<_ACEOF
18133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18134 _ACEOF
18138 done
18140 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18141 then
18142 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18144 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18146 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18147 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18148 $as_echo_n "(cached) " >&6
18149 else
18150 ac_check_lib_save_LIBS=$LIBS
18151 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 /* Override any GCC internal prototype to avoid an error.
18156 Use char because int might match the return type of a GCC
18157 builtin and then its argument prototype would still apply. */
18158 #ifdef __cplusplus
18159 extern "C"
18160 #endif
18161 char ldap_initialize ();
18163 main ()
18165 return ldap_initialize ();
18167 return 0;
18169 _ACEOF
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_lib_ldap_r_ldap_initialize=yes
18172 else
18173 ac_cv_lib_ldap_r_ldap_initialize=no
18175 rm -f core conftest.err conftest.$ac_objext \
18176 conftest$ac_exeext conftest.$ac_ext
18177 LIBS=$ac_check_lib_save_LIBS
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18180 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18181 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18183 $as_echo_n "checking for ber_init in -llber... " >&6; }
18184 if ${ac_cv_lib_lber_ber_init+:} false; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18187 ac_check_lib_save_LIBS=$LIBS
18188 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18192 /* Override any GCC internal prototype to avoid an error.
18193 Use char because int might match the return type of a GCC
18194 builtin and then its argument prototype would still apply. */
18195 #ifdef __cplusplus
18196 extern "C"
18197 #endif
18198 char ber_init ();
18200 main ()
18202 return ber_init ();
18204 return 0;
18206 _ACEOF
18207 if ac_fn_c_try_link "$LINENO"; then :
18208 ac_cv_lib_lber_ber_init=yes
18209 else
18210 ac_cv_lib_lber_ber_init=no
18212 rm -f core conftest.err conftest.$ac_objext \
18213 conftest$ac_exeext conftest.$ac_ext
18214 LIBS=$ac_check_lib_save_LIBS
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18217 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18218 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18220 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18222 else
18223 LDAP_LIBS=""
18226 else
18227 LDAP_LIBS=""
18230 else
18231 LDAP_LIBS=""
18234 ac_wine_check_funcs_save_LIBS="$LIBS"
18235 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18236 for ac_func in \
18237 ldap_count_references \
18238 ldap_first_reference \
18239 ldap_next_reference \
18240 ldap_parse_reference \
18241 ldap_parse_sort_control \
18242 ldap_parse_sortresponse_control \
18243 ldap_parse_vlv_control \
18244 ldap_parse_vlvresponse_control
18245 do :
18246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18248 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18249 cat >>confdefs.h <<_ACEOF
18250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18251 _ACEOF
18254 done
18256 LIBS="$ac_wine_check_funcs_save_LIBS"
18257 else
18258 LDAP_LIBS=""
18260 CPPFLAGS=$ac_save_CPPFLAGS
18261 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18262 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18265 if test "x$LDAP_LIBS" = "x"; then :
18266 case "x$with_ldap" in
18267 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18268 xno) ;;
18269 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18270 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18271 esac
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18276 $as_echo_n "checking for sched_setaffinity... " >&6; }
18277 if ${wine_cv_have_sched_setaffinity+:} false; then :
18278 $as_echo_n "(cached) " >&6
18279 else
18280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18282 #define _GNU_SOURCE
18283 #include <sched.h>
18285 main ()
18287 sched_setaffinity(0, 0, 0);
18289 return 0;
18291 _ACEOF
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 wine_cv_have_sched_setaffinity=yes
18294 else
18295 wine_cv_have_sched_setaffinity=no
18297 rm -f core conftest.err conftest.$ac_objext \
18298 conftest$ac_exeext conftest.$ac_ext
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18301 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18302 if test "$wine_cv_have_sched_setaffinity" = "yes"
18303 then
18305 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18310 $as_echo_n "checking for fallocate... " >&6; }
18311 if ${wine_cv_have_fallocate+:} false; then :
18312 $as_echo_n "(cached) " >&6
18313 else
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18316 #define _GNU_SOURCE
18317 #include <fcntl.h>
18319 main ()
18321 fallocate(-1, 0, 0, 0);
18323 return 0;
18325 _ACEOF
18326 if ac_fn_c_try_link "$LINENO"; then :
18327 wine_cv_have_fallocate=yes
18328 else
18329 wine_cv_have_fallocate=no
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18335 $as_echo "$wine_cv_have_fallocate" >&6; }
18336 if test "$wine_cv_have_fallocate" = "yes"
18337 then
18339 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18345 $as_echo_n "checking for inline... " >&6; }
18346 if ${ac_cv_c_inline+:} false; then :
18347 $as_echo_n "(cached) " >&6
18348 else
18349 ac_cv_c_inline=no
18350 for ac_kw in inline __inline__ __inline; do
18351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18352 /* end confdefs.h. */
18353 #ifndef __cplusplus
18354 typedef int foo_t;
18355 static $ac_kw foo_t static_foo () {return 0; }
18356 $ac_kw foo_t foo () {return 0; }
18357 #endif
18359 _ACEOF
18360 if ac_fn_c_try_compile "$LINENO"; then :
18361 ac_cv_c_inline=$ac_kw
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18364 test "$ac_cv_c_inline" != no && break
18365 done
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18369 $as_echo "$ac_cv_c_inline" >&6; }
18371 case $ac_cv_c_inline in
18372 inline | yes) ;;
18374 case $ac_cv_c_inline in
18375 no) ac_val=;;
18376 *) ac_val=$ac_cv_c_inline;;
18377 esac
18378 cat >>confdefs.h <<_ACEOF
18379 #ifndef __cplusplus
18380 #define inline $ac_val
18381 #endif
18382 _ACEOF
18384 esac
18386 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18387 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18389 cat >>confdefs.h <<_ACEOF
18390 #define HAVE_FSBLKCNT_T 1
18391 _ACEOF
18395 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18396 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_FSFILCNT_T 1
18400 _ACEOF
18405 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18406 #include <signal.h>
18408 if test "x$ac_cv_type_sigset_t" = xyes; then :
18410 cat >>confdefs.h <<_ACEOF
18411 #define HAVE_SIGSET_T 1
18412 _ACEOF
18417 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18419 if test "x$ac_cv_type_request_sense" = xyes; then :
18421 cat >>confdefs.h <<_ACEOF
18422 #define HAVE_REQUEST_SENSE 1
18423 _ACEOF
18429 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18430 #ifdef HAVE_SYS_SOCKET_H
18431 #include <sys/socket.h>
18432 #endif
18433 #ifdef HAVE_SYS_SOCKETVAR_H
18434 #include <sys/socketvar.h>
18435 #endif
18436 #ifdef HAVE_NET_ROUTE_H
18437 #include <net/route.h>
18438 #endif
18439 #ifdef HAVE_NETINET_IN_H
18440 #include <netinet/in.h>
18441 #endif
18442 #ifdef HAVE_NETINET_IN_SYSTM_H
18443 #include <netinet/in_systm.h>
18444 #endif
18445 #ifdef HAVE_NETINET_IP_H
18446 #include <netinet/ip.h>
18447 #endif
18448 #ifdef HAVE_NETINET_IN_PCB_H
18449 #include <netinet/in_pcb.h>
18450 #endif
18452 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18454 cat >>confdefs.h <<_ACEOF
18455 #define HAVE_STRUCT_XINPGEN 1
18456 _ACEOF
18462 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18463 #include <link.h>
18464 #endif
18465 #ifdef HAVE_SYS_LINK_H
18466 #include <sys/link.h>
18467 #endif
18469 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18471 cat >>confdefs.h <<_ACEOF
18472 #define HAVE_STRUCT_R_DEBUG 1
18473 _ACEOF
18477 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18478 #include <link.h>
18479 #endif
18480 #ifdef HAVE_SYS_LINK_H
18481 #include <sys/link.h>
18482 #endif
18484 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18486 cat >>confdefs.h <<_ACEOF
18487 #define HAVE_STRUCT_LINK_MAP 1
18488 _ACEOF
18494 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18495 #include <linux/input.h>
18496 #endif
18498 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18502 _ACEOF
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18509 $as_echo_n "checking for if_nameindex... " >&6; }
18510 if ${wine_cv_have_if_nameindex+:} false; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #ifdef HAVE_SYS_TYPES_H
18516 #include <sys/types.h>
18517 #endif
18518 #ifdef HAVE_SYS_SOCKET_H
18519 #include <sys/socket.h>
18520 #endif
18521 #ifdef HAVE_NET_IF_H
18522 # include <net/if.h>
18523 #endif
18525 main ()
18527 struct if_nameindex *p = if_nameindex(); return p->if_index;
18529 return 0;
18531 _ACEOF
18532 if ac_fn_c_try_link "$LINENO"; then :
18533 wine_cv_have_if_nameindex=yes
18534 else
18535 wine_cv_have_if_nameindex=no
18537 rm -f core conftest.err conftest.$ac_objext \
18538 conftest$ac_exeext conftest.$ac_ext
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18541 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18542 if test "$wine_cv_have_if_nameindex" = "yes"
18543 then
18545 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18550 $as_echo_n "checking for sigaddset... " >&6; }
18551 if ${wine_cv_have_sigaddset+:} false; then :
18552 $as_echo_n "(cached) " >&6
18553 else
18554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18555 /* end confdefs.h. */
18556 #include <signal.h>
18558 main ()
18560 sigset_t set; sigaddset(&set,SIGTERM);
18562 return 0;
18564 _ACEOF
18565 if ac_fn_c_try_link "$LINENO"; then :
18566 wine_cv_have_sigaddset=yes
18567 else
18568 wine_cv_have_sigaddset=no
18570 rm -f core conftest.err conftest.$ac_objext \
18571 conftest$ac_exeext conftest.$ac_ext
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18574 $as_echo "$wine_cv_have_sigaddset" >&6; }
18575 if test "$wine_cv_have_sigaddset" = "yes"
18576 then
18578 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18584 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18585 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18586 $as_echo_n "(cached) " >&6
18587 else
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18589 /* end confdefs.h. */
18590 #include <netdb.h>
18592 main ()
18595 char *name=0;
18596 struct hostent he;
18597 struct hostent *result;
18598 char *buf=0;
18599 int bufsize=0;
18600 int errnr;
18601 char *addr=0;
18602 int addrlen=0;
18603 int addrtype=0;
18604 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18605 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18608 return 0;
18610 _ACEOF
18611 if ac_fn_c_try_link "$LINENO"; then :
18612 wine_cv_linux_gethostbyname_r_6=yes
18613 else
18614 wine_cv_linux_gethostbyname_r_6=no
18617 rm -f core conftest.err conftest.$ac_objext \
18618 conftest$ac_exeext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18622 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18623 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18624 then
18626 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18630 if test "$ac_cv_header_linux_joystick_h" = "yes"
18631 then
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18633 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18634 if ${wine_cv_linux_joystick_22_api+:} false; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18640 #include <sys/ioctl.h>
18641 #include <sys/types.h>
18642 #include <linux/joystick.h>
18644 struct js_event blub;
18645 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18646 #error "no 2.2 header"
18647 #endif
18650 main ()
18652 /*empty*/
18654 return 0;
18656 _ACEOF
18657 if ac_fn_c_try_compile "$LINENO"; then :
18658 wine_cv_linux_joystick_22_api=yes
18659 else
18660 wine_cv_linux_joystick_22_api=no
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18666 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18667 if test "$wine_cv_linux_joystick_22_api" = "yes"
18668 then
18670 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18676 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18677 #ifdef HAVE_SYS_PARAM_H
18678 # include <sys/param.h>
18679 #endif
18680 #ifdef HAVE_SYS_MOUNT_H
18681 # include <sys/mount.h>
18682 #endif
18683 #ifdef HAVE_SYS_VFS_H
18684 # include <sys/vfs.h>
18685 #endif
18686 #ifdef HAVE_SYS_STATFS_H
18687 # include <sys/statfs.h>
18688 #endif
18690 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18692 cat >>confdefs.h <<_ACEOF
18693 #define HAVE_STRUCT_STATFS_F_BFREE 1
18694 _ACEOF
18698 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18699 #ifdef HAVE_SYS_PARAM_H
18700 # include <sys/param.h>
18701 #endif
18702 #ifdef HAVE_SYS_MOUNT_H
18703 # include <sys/mount.h>
18704 #endif
18705 #ifdef HAVE_SYS_VFS_H
18706 # include <sys/vfs.h>
18707 #endif
18708 #ifdef HAVE_SYS_STATFS_H
18709 # include <sys/statfs.h>
18710 #endif
18712 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18714 cat >>confdefs.h <<_ACEOF
18715 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18716 _ACEOF
18720 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18721 #ifdef HAVE_SYS_PARAM_H
18722 # include <sys/param.h>
18723 #endif
18724 #ifdef HAVE_SYS_MOUNT_H
18725 # include <sys/mount.h>
18726 #endif
18727 #ifdef HAVE_SYS_VFS_H
18728 # include <sys/vfs.h>
18729 #endif
18730 #ifdef HAVE_SYS_STATFS_H
18731 # include <sys/statfs.h>
18732 #endif
18734 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18736 cat >>confdefs.h <<_ACEOF
18737 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18738 _ACEOF
18742 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18743 #ifdef HAVE_SYS_PARAM_H
18744 # include <sys/param.h>
18745 #endif
18746 #ifdef HAVE_SYS_MOUNT_H
18747 # include <sys/mount.h>
18748 #endif
18749 #ifdef HAVE_SYS_VFS_H
18750 # include <sys/vfs.h>
18751 #endif
18752 #ifdef HAVE_SYS_STATFS_H
18753 # include <sys/statfs.h>
18754 #endif
18756 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_STRUCT_STATFS_F_FFREE 1
18760 _ACEOF
18764 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18765 #ifdef HAVE_SYS_PARAM_H
18766 # include <sys/param.h>
18767 #endif
18768 #ifdef HAVE_SYS_MOUNT_H
18769 # include <sys/mount.h>
18770 #endif
18771 #ifdef HAVE_SYS_VFS_H
18772 # include <sys/vfs.h>
18773 #endif
18774 #ifdef HAVE_SYS_STATFS_H
18775 # include <sys/statfs.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18782 _ACEOF
18786 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18787 #ifdef HAVE_SYS_PARAM_H
18788 # include <sys/param.h>
18789 #endif
18790 #ifdef HAVE_SYS_MOUNT_H
18791 # include <sys/mount.h>
18792 #endif
18793 #ifdef HAVE_SYS_VFS_H
18794 # include <sys/vfs.h>
18795 #endif
18796 #ifdef HAVE_SYS_STATFS_H
18797 # include <sys/statfs.h>
18798 #endif
18800 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18802 cat >>confdefs.h <<_ACEOF
18803 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18804 _ACEOF
18810 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18811 #include <sys/statvfs.h>
18812 #endif
18814 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18816 cat >>confdefs.h <<_ACEOF
18817 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18818 _ACEOF
18824 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18825 #include <dirent.h>
18826 #endif
18828 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18832 _ACEOF
18838 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18839 #ifdef HAVE_SYS_SOCKET_H
18840 # include <sys/socket.h>
18841 #endif
18842 #ifdef HAVE_SYS_UN_H
18843 # include <sys/un.h>
18844 #endif
18846 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18850 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18855 #ifdef HAVE_SYS_SOCKET_H
18856 # include <sys/socket.h>
18857 #endif
18858 #ifdef HAVE_SYS_UN_H
18859 # include <sys/un.h>
18860 #endif
18862 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18866 _ACEOF
18870 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18871 #ifdef HAVE_SYS_SOCKET_H
18872 # include <sys/socket.h>
18873 #endif
18874 #ifdef HAVE_SYS_UN_H
18875 # include <sys/un.h>
18876 #endif
18878 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18882 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18889 #ifdef HAVE_SCSI_SG_H
18890 #include <scsi/sg.h>
18891 #endif
18893 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_SCSIREQ_T_CMD 1
18897 _ACEOF
18901 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>
18902 #ifdef HAVE_SCSI_SG_H
18903 #include <scsi/sg.h>
18904 #endif
18906 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18908 cat >>confdefs.h <<_ACEOF
18909 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18910 _ACEOF
18916 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18918 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18920 cat >>confdefs.h <<_ACEOF
18921 #define HAVE_SIGINFO_T_SI_FD 1
18922 _ACEOF
18928 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18929 #ifdef HAVE_SYS_MTIO_H
18930 #include <sys/mtio.h>
18931 #endif
18933 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18937 _ACEOF
18941 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18942 #ifdef HAVE_SYS_MTIO_H
18943 #include <sys/mtio.h>
18944 #endif
18946 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18950 _ACEOF
18954 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18955 #ifdef HAVE_SYS_MTIO_H
18956 #include <sys/mtio.h>
18957 #endif
18959 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18961 cat >>confdefs.h <<_ACEOF
18962 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18963 _ACEOF
18969 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18970 #include <getopt.h>
18971 #endif
18973 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18975 cat >>confdefs.h <<_ACEOF
18976 #define HAVE_STRUCT_OPTION_NAME 1
18977 _ACEOF
18983 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18984 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18988 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18993 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STAT_ST_MTIM 1
18997 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19002 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19006 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19011 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_STAT_ST_CTIM 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19020 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19029 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STAT_ST_ATIM 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19038 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19042 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19047 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19051 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19056 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19065 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19087 _ACEOF
19093 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
19094 #include <sys/types.h>
19095 #endif
19096 #ifdef HAVE_NETINET_IN_H
19097 #include <netinet/in.h>
19098 #endif
19100 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19104 _ACEOF
19110 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19111 #include <sys/types.h>
19112 #endif
19113 #ifdef HAVE_NETINET_IN_H
19114 #include <netinet/in.h>
19115 #endif
19116 #ifdef HAVE_RESOLV_H
19117 #include <resolv.h>
19118 #endif
19120 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_STRUCT___RES_STATE 1
19124 _ACEOF
19130 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
19131 #include <resolv.h>
19132 #endif
19134 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19136 cat >>confdefs.h <<_ACEOF
19137 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19138 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19145 #include <sys/types.h>
19146 #endif
19147 #ifdef HAVE_NETINET_IN_H
19148 # include <netinet/in.h>
19149 #endif
19150 #ifdef HAVE_ARPA_NAMESER_H
19151 # include <arpa/nameser.h>
19152 #endif
19154 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_NS_MSG__MSG_PTR 1
19158 _ACEOF
19164 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19165 #include <sys/types.h>
19166 #endif
19167 #ifdef HAVE_NETINET_IN_H
19168 #include <netinet/in.h>
19169 #endif
19170 #ifdef HAVE_NETINET_IP_H
19171 #include <netinet/ip.h>
19172 #endif
19173 #ifdef HAVE_NETINET_IP_ICMP_H
19174 #include <netinet/ip_icmp.h>
19175 #endif
19176 #ifdef HAVE_NETINET_ICMP_VAR_H
19177 #include <netinet/icmp_var.h>
19178 #endif
19180 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19184 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19191 #include <sys/types.h>
19192 #endif
19193 #ifdef HAVE_ALIAS_H
19194 #include <alias.h>
19195 #endif
19196 #ifdef HAVE_SYS_SOCKET_H
19197 #include <sys/socket.h>
19198 #endif
19199 #ifdef HAVE_SYS_SOCKETVAR_H
19200 #include <sys/socketvar.h>
19201 #endif
19202 #ifdef HAVE_SYS_TIMEOUT_H
19203 #include <sys/timeout.h>
19204 #endif
19205 #ifdef HAVE_NETINET_IN_H
19206 #include <netinet/in.h>
19207 #endif
19208 #ifdef HAVE_NETINET_IN_SYSTM_H
19209 #include <netinet/in_systm.h>
19210 #endif
19211 #ifdef HAVE_NETINET_IP_H
19212 #include <netinet/ip.h>
19213 #endif
19214 #ifdef HAVE_NETINET_IP_VAR_H
19215 #include <netinet/ip_var.h>
19216 #endif
19217 #ifdef HAVE_NETINET_IP_ICMP_H
19218 #include <netinet/ip_icmp.h>
19219 #endif
19220 #ifdef HAVE_NETINET_ICMP_VAR_H
19221 #include <netinet/icmp_var.h>
19222 #endif
19224 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19228 _ACEOF
19234 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_SYS_SOCKETVAR_H
19238 #include <sys/socketvar.h>
19239 #endif
19240 #ifdef HAVE_NETINET_IN_H
19241 #include <netinet/in.h>
19242 #endif
19243 #ifdef HAVE_NETINET_IP_VAR_H
19244 #include <netinet/ip_var.h>
19245 #endif
19247 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19251 _ACEOF
19257 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
19258 #include <netinet/ip_var.h>
19259 #endif
19261 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19265 _ACEOF
19271 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19272 #include <sys/types.h>
19273 #endif
19274 #ifdef HAVE_SYS_SOCKETVAR_H
19275 #include <sys/socketvar.h>
19276 #endif
19277 #ifdef HAVE_NETINET_IN_H
19278 #include <netinet/in.h>
19279 #endif
19280 #ifdef HAVE_NETINET_TCP_H
19281 #include <netinet/tcp.h>
19282 #endif
19283 #ifdef HAVE_NETINET_TCP_VAR_H
19284 #include <netinet/tcp_var.h>
19285 #endif
19287 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19289 cat >>confdefs.h <<_ACEOF
19290 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19291 _ACEOF
19297 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
19298 #include <netinet/tcp_var.h>
19299 #endif
19301 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19303 cat >>confdefs.h <<_ACEOF
19304 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19305 _ACEOF
19311 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19312 #include <sys/types.h>
19313 #endif
19314 #ifdef HAVE_NETINET_IN_H
19315 #include <netinet/in.h>
19316 #endif
19317 #ifdef HAVE_NETINET_IP_VAR_H
19318 #include <netinet/ip_var.h>
19319 #endif
19320 #ifdef HAVE_NETINET_UDP_H
19321 #include <netinet/udp.h>
19322 #endif
19323 #ifdef HAVE_NETINET_UDP_VAR_H
19324 #include <netinet/udp_var.h>
19325 #endif
19327 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19329 cat >>confdefs.h <<_ACEOF
19330 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19331 _ACEOF
19337 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19338 #include <sys/types.h>
19339 #endif
19340 #ifdef HAVE_NET_IF_H
19341 # include <net/if.h>
19342 #endif
19344 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19346 cat >>confdefs.h <<_ACEOF
19347 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19348 _ACEOF
19354 ac_save_LIBS="$LIBS"
19355 LIBS="$LIBS -lm"
19356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19357 $as_echo_n "checking for isfinite... " >&6; }
19358 if ${ac_cv_have_isfinite+:} false; then :
19359 $as_echo_n "(cached) " >&6
19360 else
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #define _GNU_SOURCE
19364 #include <math.h>
19366 main ()
19368 float f = 0.0; return isfinite(f)
19370 return 0;
19372 _ACEOF
19373 if ac_fn_c_try_link "$LINENO"; then :
19374 ac_cv_have_isfinite="yes"
19375 else
19376 ac_cv_have_isfinite="no"
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19382 $as_echo "$ac_cv_have_isfinite" >&6; }
19383 if test "$ac_cv_have_isfinite" = "yes"
19384 then
19386 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19391 $as_echo_n "checking for isinf... " >&6; }
19392 if ${ac_cv_have_isinf+:} false; then :
19393 $as_echo_n "(cached) " >&6
19394 else
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <math.h>
19399 main ()
19401 float f = 0.0; return isinf(f)
19403 return 0;
19405 _ACEOF
19406 if ac_fn_c_try_link "$LINENO"; then :
19407 ac_cv_have_isinf="yes"
19408 else
19409 ac_cv_have_isinf="no"
19411 rm -f core conftest.err conftest.$ac_objext \
19412 conftest$ac_exeext conftest.$ac_ext
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19415 $as_echo "$ac_cv_have_isinf" >&6; }
19416 if test "$ac_cv_have_isinf" = "yes"
19417 then
19419 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19424 $as_echo_n "checking for isnan... " >&6; }
19425 if ${ac_cv_have_isnan+:} false; then :
19426 $as_echo_n "(cached) " >&6
19427 else
19428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19429 /* end confdefs.h. */
19430 #include <math.h>
19432 main ()
19434 float f = 0.0; return isnan(f)
19436 return 0;
19438 _ACEOF
19439 if ac_fn_c_try_link "$LINENO"; then :
19440 ac_cv_have_isnan="yes"
19441 else
19442 ac_cv_have_isnan="no"
19444 rm -f core conftest.err conftest.$ac_objext \
19445 conftest$ac_exeext conftest.$ac_ext
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19448 $as_echo "$ac_cv_have_isnan" >&6; }
19449 if test "$ac_cv_have_isnan" = "yes"
19450 then
19452 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19456 for ac_func in \
19457 acosh \
19458 acoshf \
19459 asinh \
19460 asinhf \
19461 atanh \
19462 atanhf \
19463 cbrt \
19464 cbrtf \
19465 erf \
19466 erfc \
19467 erfcf \
19468 erff \
19469 exp2 \
19470 exp2f \
19471 expm1 \
19472 expm1f \
19473 fma \
19474 fmaf \
19475 ilogb \
19476 ilogbf \
19477 j0 \
19478 j1 \
19479 jn \
19480 lgamma \
19481 lgammaf \
19482 llrint \
19483 llrintf \
19484 llround \
19485 llroundf \
19486 log1p \
19487 log1pf \
19488 log2 \
19489 log2f \
19490 lrint \
19491 lrintf \
19492 lround \
19493 lroundf \
19494 nearbyint \
19495 nearbyintf \
19496 nexttoward \
19497 nexttowardf \
19498 powl \
19499 remainder \
19500 remainderf \
19501 remquo \
19502 remquof \
19503 rint \
19504 rintf \
19505 round \
19506 roundf \
19507 tgamma \
19508 tgammaf \
19509 trunc \
19510 truncf \
19511 y0 \
19512 y1 \
19515 do :
19516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19519 cat >>confdefs.h <<_ACEOF
19520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19521 _ACEOF
19524 done
19526 LIBS="$ac_save_LIBS"
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19529 $as_echo_n "checking for __builtin_popcount... " >&6; }
19530 if ${ac_cv_have___builtin_popcount+:} false; then :
19531 $as_echo_n "(cached) " >&6
19532 else
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19537 main ()
19539 return __builtin_popcount(1)
19541 return 0;
19543 _ACEOF
19544 if ac_fn_c_try_link "$LINENO"; then :
19545 ac_cv_have___builtin_popcount="yes"
19546 else
19547 ac_cv_have___builtin_popcount="no"
19549 rm -f core conftest.err conftest.$ac_objext \
19550 conftest$ac_exeext conftest.$ac_ext
19552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19553 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19554 if test "$ac_cv_have___builtin_popcount" = "yes"
19555 then
19557 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19562 $as_echo_n "checking for __clear_cache... " >&6; }
19563 if ${ac_cv_have___clear_cache+:} false; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19567 /* end confdefs.h. */
19570 main ()
19572 __clear_cache((void*)0, (void*)0); return 0;
19574 return 0;
19576 _ACEOF
19577 if ac_fn_c_try_link "$LINENO"; then :
19578 ac_cv_have___clear_cache="yes"
19579 else
19580 ac_cv_have___clear_cache="no"
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19586 $as_echo "$ac_cv_have___clear_cache" >&6; }
19587 if test "$ac_cv_have___clear_cache" = "yes"
19588 then
19590 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19595 case $host_cpu in
19596 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19597 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19598 if ${ac_cv_cpp_def___i386__+:} false; then :
19599 $as_echo_n "(cached) " >&6
19600 else
19601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19602 /* end confdefs.h. */
19603 #ifndef __i386__
19605 #endif
19606 _ACEOF
19607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19608 $EGREP "yes" >/dev/null 2>&1; then :
19609 ac_cv_cpp_def___i386__=yes
19610 else
19611 ac_cv_cpp_def___i386__=no
19613 rm -f conftest*
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19617 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19618 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19619 CFLAGS="$CFLAGS -D__i386__"
19620 LINTFLAGS="$LINTFLAGS -D__i386__"
19621 fi ;;
19622 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19623 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19624 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19625 $as_echo_n "(cached) " >&6
19626 else
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19629 #ifndef __x86_64__
19631 #endif
19632 _ACEOF
19633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19634 $EGREP "yes" >/dev/null 2>&1; then :
19635 ac_cv_cpp_def___x86_64__=yes
19636 else
19637 ac_cv_cpp_def___x86_64__=no
19639 rm -f conftest*
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19643 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19644 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19645 CFLAGS="$CFLAGS -D__x86_64__"
19646 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19647 fi ;;
19648 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19649 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19650 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19651 $as_echo_n "(cached) " >&6
19652 else
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19655 #ifndef __sparc64__
19657 #endif
19658 _ACEOF
19659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19660 $EGREP "yes" >/dev/null 2>&1; then :
19661 ac_cv_cpp_def___sparc64__=yes
19662 else
19663 ac_cv_cpp_def___sparc64__=no
19665 rm -f conftest*
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19669 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19670 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19671 CFLAGS="$CFLAGS -D__sparc64__"
19672 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19673 fi ;;
19674 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19675 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19676 if ${ac_cv_cpp_def___sparc__+:} false; then :
19677 $as_echo_n "(cached) " >&6
19678 else
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19681 #ifndef __sparc__
19683 #endif
19684 _ACEOF
19685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19686 $EGREP "yes" >/dev/null 2>&1; then :
19687 ac_cv_cpp_def___sparc__=yes
19688 else
19689 ac_cv_cpp_def___sparc__=no
19691 rm -f conftest*
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19695 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19696 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19697 CFLAGS="$CFLAGS -D__sparc__"
19698 LINTFLAGS="$LINTFLAGS -D__sparc__"
19699 fi ;;
19700 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19701 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19702 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19703 $as_echo_n "(cached) " >&6
19704 else
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19707 #ifndef __powerpc64__
19709 #endif
19710 _ACEOF
19711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19712 $EGREP "yes" >/dev/null 2>&1; then :
19713 ac_cv_cpp_def___powerpc64__=yes
19714 else
19715 ac_cv_cpp_def___powerpc64__=no
19717 rm -f conftest*
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19721 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19722 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19723 CFLAGS="$CFLAGS -D__powerpc64__"
19724 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19725 fi ;;
19726 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19727 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19728 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19729 $as_echo_n "(cached) " >&6
19730 else
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 #ifndef __powerpc__
19735 #endif
19736 _ACEOF
19737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19738 $EGREP "yes" >/dev/null 2>&1; then :
19739 ac_cv_cpp_def___powerpc__=yes
19740 else
19741 ac_cv_cpp_def___powerpc__=no
19743 rm -f conftest*
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19747 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19748 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19749 CFLAGS="$CFLAGS -D__powerpc__"
19750 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19751 fi ;;
19752 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19753 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19754 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19755 $as_echo_n "(cached) " >&6
19756 else
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19759 #ifndef __aarch64__
19761 #endif
19762 _ACEOF
19763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19764 $EGREP "yes" >/dev/null 2>&1; then :
19765 ac_cv_cpp_def___aarch64__=yes
19766 else
19767 ac_cv_cpp_def___aarch64__=no
19769 rm -f conftest*
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19773 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19774 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19775 CFLAGS="$CFLAGS -D__aarch64__"
19776 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19777 fi ;;
19778 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19779 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19780 if ${ac_cv_cpp_def___arm__+:} false; then :
19781 $as_echo_n "(cached) " >&6
19782 else
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19785 #ifndef __arm__
19787 #endif
19788 _ACEOF
19789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19790 $EGREP "yes" >/dev/null 2>&1; then :
19791 ac_cv_cpp_def___arm__=yes
19792 else
19793 ac_cv_cpp_def___arm__=no
19795 rm -f conftest*
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19799 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19800 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19801 CFLAGS="$CFLAGS -D__arm__"
19802 LINTFLAGS="$LINTFLAGS -D__arm__"
19803 fi ;;
19804 esac
19806 case $host_vendor in
19807 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19808 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19809 if ${ac_cv_cpp_def___sun__+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 #ifndef __sun__
19816 #endif
19817 _ACEOF
19818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19819 $EGREP "yes" >/dev/null 2>&1; then :
19820 ac_cv_cpp_def___sun__=yes
19821 else
19822 ac_cv_cpp_def___sun__=no
19824 rm -f conftest*
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19828 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19829 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19830 CFLAGS="$CFLAGS -D__sun__"
19831 LINTFLAGS="$LINTFLAGS -D__sun__"
19832 fi ;;
19833 esac
19839 ac_config_commands="$ac_config_commands include/stamp-h"
19841 $as_echo_n "creating Makefile rules..." >&6
19843 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19844 OPENGL_LIBS = $OPENGL_LIBS
19845 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19846 IOKIT_LIBS = $IOKIT_LIBS
19847 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19848 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19849 CORESERVICES_LIBS = $CORESERVICES_LIBS
19850 APPKIT_LIBS = $APPKIT_LIBS
19851 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19852 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19853 SECURITY_LIBS = $SECURITY_LIBS
19854 COREAUDIO_LIBS = $COREAUDIO_LIBS
19855 OPENAL_LIBS = $OPENAL_LIBS
19856 OPENCL_LIBS = $OPENCL_LIBS
19857 QUICKTIME_LIBS = $QUICKTIME_LIBS
19858 CARBON_LIBS = $CARBON_LIBS
19859 METAL_LIBS = $METAL_LIBS
19860 PTHREAD_LIBS = $PTHREAD_LIBS
19861 X_CFLAGS = $X_CFLAGS
19862 X_PRE_LIBS = $X_PRE_LIBS
19863 X_LIBS = $X_LIBS
19864 X_EXTRA_LIBS = $X_EXTRA_LIBS
19865 PCAP_LIBS = $PCAP_LIBS
19866 XML2_CFLAGS = $XML2_CFLAGS
19867 XML2_LIBS = $XML2_LIBS
19868 XSLT_CFLAGS = $XSLT_CFLAGS
19869 XSLT_LIBS = $XSLT_LIBS
19870 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19871 INOTIFY_LIBS = $INOTIFY_LIBS
19872 DBUS_CFLAGS = $DBUS_CFLAGS
19873 DBUS_LIBS = $DBUS_LIBS
19874 HAL_CFLAGS = $HAL_CFLAGS
19875 HAL_LIBS = $HAL_LIBS
19876 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19877 GNUTLS_LIBS = $GNUTLS_LIBS
19878 SANE_CFLAGS = $SANE_CFLAGS
19879 SANE_LIBS = $SANE_LIBS
19880 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19881 GPHOTO2_LIBS = $GPHOTO2_LIBS
19882 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19883 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19884 RESOLV_LIBS = $RESOLV_LIBS
19885 LCMS2_CFLAGS = $LCMS2_CFLAGS
19886 LCMS2_LIBS = $LCMS2_LIBS
19887 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19888 FREETYPE_LIBS = $FREETYPE_LIBS
19889 Z_CFLAGS = $Z_CFLAGS
19890 Z_LIBS = $Z_LIBS
19891 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19892 PULSE_CFLAGS = $PULSE_CFLAGS
19893 PULSE_LIBS = $PULSE_LIBS
19894 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19895 GSTREAMER_LIBS = $GSTREAMER_LIBS
19896 ALSA_LIBS = $ALSA_LIBS
19897 OSS4_CFLAGS = $OSS4_CFLAGS
19898 OSS4_LIBS = $OSS4_LIBS
19899 UDEV_CFLAGS = $UDEV_CFLAGS
19900 UDEV_LIBS = $UDEV_LIBS
19901 UNWIND_CFLAGS = $UNWIND_CFLAGS
19902 UNWIND_LIBS = $UNWIND_LIBS
19903 SDL2_CFLAGS = $SDL2_CFLAGS
19904 SDL2_LIBS = $SDL2_LIBS
19905 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19906 FAUDIO_LIBS = $FAUDIO_LIBS
19907 CAPI20_CFLAGS = $CAPI20_CFLAGS
19908 CAPI20_LIBS = $CAPI20_LIBS
19909 CUPS_CFLAGS = $CUPS_CFLAGS
19910 CUPS_LIBS = $CUPS_LIBS
19911 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19912 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19913 KRB5_CFLAGS = $KRB5_CFLAGS
19914 KRB5_LIBS = $KRB5_LIBS
19915 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19916 GSSAPI_LIBS = $GSSAPI_LIBS
19917 JPEG_CFLAGS = $JPEG_CFLAGS
19918 JPEG_LIBS = $JPEG_LIBS
19919 PNG_CFLAGS = $PNG_CFLAGS
19920 PNG_LIBS = $PNG_LIBS
19921 TIFF_CFLAGS = $TIFF_CFLAGS
19922 TIFF_LIBS = $TIFF_LIBS
19923 MPG123_CFLAGS = $MPG123_CFLAGS
19924 MPG123_LIBS = $MPG123_LIBS
19925 KSTAT_LIBS = $KSTAT_LIBS
19926 PROCSTAT_LIBS = $PROCSTAT_LIBS
19927 NETAPI_CFLAGS = $NETAPI_CFLAGS
19928 NETAPI_LIBS = $NETAPI_LIBS
19929 VKD3D_CFLAGS = $VKD3D_CFLAGS
19930 VKD3D_LIBS = $VKD3D_LIBS
19931 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19932 DL_LIBS = $DL_LIBS
19933 POLL_LIBS = $POLL_LIBS
19934 RT_LIBS = $RT_LIBS
19935 LDAP_CFLAGS = $LDAP_CFLAGS
19936 LDAP_LIBS = $LDAP_LIBS
19941 wine_fn_append_rule "
19942 # Rules automatically generated by configure
19944 .INIT: Makefile
19945 .MAKEFILEDEPS:
19946 all: Makefile
19947 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19948 @./config.status Make.tmp Makefile
19949 depend: \$(MAKEDEP) dummy
19950 \$(MAKEDEP)"
19952 ac_config_links="$ac_config_links wine:tools/winewrapper"
19953 wine_fn_config_symlink wine
19954 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19955 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19956 wine_fn_config_symlink wine64
19959 wine_fn_config_makefile dlls/acledit enable_acledit
19960 wine_fn_config_makefile dlls/aclui enable_aclui
19961 wine_fn_config_makefile dlls/activeds enable_activeds
19962 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19963 wine_fn_config_makefile dlls/adsiid enable_adsiid
19964 wine_fn_config_makefile dlls/adsldp enable_adsldp
19965 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19966 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19967 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19968 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19969 wine_fn_config_makefile dlls/advpack enable_advpack
19970 wine_fn_config_makefile dlls/advpack/tests enable_tests
19971 wine_fn_config_makefile dlls/amsi enable_amsi
19972 wine_fn_config_makefile dlls/amstream enable_amstream
19973 wine_fn_config_makefile dlls/amstream/tests enable_tests
19974 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19975 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19976 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19977 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19979 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19984 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19999 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20000 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20005 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20006 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20009 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20022 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20029 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20040 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20041 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20048 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20052 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20053 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20054 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20076 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20080 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20083 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20093 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20156 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20160 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20183 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20189 wine_fn_config_makefile dlls/apphelp enable_apphelp
20190 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20191 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20192 wine_fn_config_makefile dlls/atl enable_atl
20193 wine_fn_config_makefile dlls/atl/tests enable_tests
20194 wine_fn_config_makefile dlls/atl100 enable_atl100
20195 wine_fn_config_makefile dlls/atl100/tests enable_tests
20196 wine_fn_config_makefile dlls/atl110 enable_atl110
20197 wine_fn_config_makefile dlls/atl80 enable_atl80
20198 wine_fn_config_makefile dlls/atl80/tests enable_tests
20199 wine_fn_config_makefile dlls/atl90 enable_atl90
20200 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20201 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20202 wine_fn_config_makefile dlls/atmlib enable_atmlib
20203 wine_fn_config_makefile dlls/authz enable_authz
20204 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20205 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20206 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20207 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20208 wine_fn_config_makefile dlls/avrt enable_avrt
20209 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20210 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20211 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20212 wine_fn_config_makefile dlls/browseui enable_browseui
20213 wine_fn_config_makefile dlls/browseui/tests enable_tests
20214 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20215 wine_fn_config_makefile dlls/cabinet enable_cabinet
20216 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20217 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20218 wine_fn_config_makefile dlls/cards enable_cards
20219 wine_fn_config_makefile dlls/cdosys enable_cdosys
20220 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20221 wine_fn_config_makefile dlls/clusapi enable_clusapi
20222 wine_fn_config_makefile dlls/combase enable_combase
20223 wine_fn_config_makefile dlls/combase/tests enable_tests
20224 wine_fn_config_makefile dlls/comcat enable_comcat
20225 wine_fn_config_makefile dlls/comcat/tests enable_tests
20226 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20227 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20228 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20229 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20230 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20231 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20232 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20233 wine_fn_config_makefile dlls/compstui enable_compstui
20234 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20235 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20236 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20237 wine_fn_config_makefile dlls/connect enable_connect
20238 wine_fn_config_makefile dlls/credui enable_credui
20239 wine_fn_config_makefile dlls/credui/tests enable_tests
20240 wine_fn_config_makefile dlls/crtdll enable_crtdll
20241 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20242 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20243 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20244 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20245 wine_fn_config_makefile dlls/cryptext enable_cryptext
20246 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20247 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20248 wine_fn_config_makefile dlls/cryptui enable_cryptui
20249 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20250 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20251 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20252 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20253 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20254 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20255 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20256 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20257 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20258 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20259 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20260 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20261 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20262 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20263 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20264 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20265 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20266 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20267 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20268 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20269 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20270 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20271 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20272 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20273 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20274 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20275 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20276 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20277 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20278 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20279 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20280 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20281 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20282 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20283 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20284 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20285 wine_fn_config_makefile dlls/d3dim enable_d3dim
20286 wine_fn_config_makefile dlls/d3drm enable_d3drm
20287 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20288 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20289 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20290 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20291 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20292 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20293 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20294 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20295 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20296 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20297 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20298 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20299 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20300 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20301 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20302 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20303 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20304 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20305 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20306 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20307 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20308 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20309 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20310 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20311 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20312 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20313 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20314 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20315 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20316 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20317 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20318 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20319 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20320 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20321 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20322 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20323 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20324 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20325 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20326 wine_fn_config_makefile dlls/davclnt enable_davclnt
20327 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20328 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20329 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20330 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20331 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20332 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20333 wine_fn_config_makefile dlls/ddraw enable_ddraw
20334 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20335 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20336 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20337 wine_fn_config_makefile dlls/devenum enable_devenum
20338 wine_fn_config_makefile dlls/devenum/tests enable_tests
20339 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20340 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20341 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20342 wine_fn_config_makefile dlls/difxapi enable_difxapi
20343 wine_fn_config_makefile dlls/dinput enable_dinput
20344 wine_fn_config_makefile dlls/dinput/tests enable_tests
20345 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20346 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20347 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20348 wine_fn_config_makefile dlls/dispex enable_dispex
20349 wine_fn_config_makefile dlls/dispex/tests enable_tests
20350 wine_fn_config_makefile dlls/display.drv16 enable_win16
20351 wine_fn_config_makefile dlls/dmband enable_dmband
20352 wine_fn_config_makefile dlls/dmband/tests enable_tests
20353 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20354 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20355 wine_fn_config_makefile dlls/dmime enable_dmime
20356 wine_fn_config_makefile dlls/dmime/tests enable_tests
20357 wine_fn_config_makefile dlls/dmloader enable_dmloader
20358 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20359 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20360 wine_fn_config_makefile dlls/dmscript enable_dmscript
20361 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20362 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20363 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20364 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20365 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20366 wine_fn_config_makefile dlls/dmusic enable_dmusic
20367 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20368 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20369 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20370 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20371 wine_fn_config_makefile dlls/dplay enable_dplay
20372 wine_fn_config_makefile dlls/dplayx enable_dplayx
20373 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20374 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20375 wine_fn_config_makefile dlls/dpnet enable_dpnet
20376 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20377 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20378 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20379 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20380 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20381 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20382 wine_fn_config_makefile dlls/drmclien enable_drmclien
20383 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20384 wine_fn_config_makefile dlls/dsound enable_dsound
20385 wine_fn_config_makefile dlls/dsound/tests enable_tests
20386 wine_fn_config_makefile dlls/dsquery enable_dsquery
20387 wine_fn_config_makefile dlls/dssenh enable_dssenh
20388 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20389 wine_fn_config_makefile dlls/dswave enable_dswave
20390 wine_fn_config_makefile dlls/dswave/tests enable_tests
20391 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20392 wine_fn_config_makefile dlls/dwrite enable_dwrite
20393 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20394 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20395 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20396 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20397 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20398 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20399 wine_fn_config_makefile dlls/dxgi enable_dxgi
20400 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20401 wine_fn_config_makefile dlls/dxguid enable_dxguid
20402 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20403 wine_fn_config_makefile dlls/esent enable_esent
20404 wine_fn_config_makefile dlls/evr enable_evr
20405 wine_fn_config_makefile dlls/evr/tests enable_tests
20406 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20407 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20408 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20411 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20412 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20413 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20414 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20415 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20417 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20419 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20420 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20442 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20448 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
20449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20459 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20460 wine_fn_config_makefile dlls/faultrep enable_faultrep
20461 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20462 wine_fn_config_makefile dlls/feclient enable_feclient
20463 wine_fn_config_makefile dlls/fltlib enable_fltlib
20464 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20465 wine_fn_config_makefile dlls/fntcache enable_fntcache
20466 wine_fn_config_makefile dlls/fontsub enable_fontsub
20467 wine_fn_config_makefile dlls/fusion enable_fusion
20468 wine_fn_config_makefile dlls/fusion/tests enable_tests
20469 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20470 wine_fn_config_makefile dlls/gameux enable_gameux
20471 wine_fn_config_makefile dlls/gameux/tests enable_tests
20472 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20473 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20474 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20475 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20476 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20477 wine_fn_config_makefile dlls/glu32 enable_glu32
20478 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20479 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20480 wine_fn_config_makefile dlls/hal enable_hal
20481 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20482 wine_fn_config_makefile dlls/hid enable_hid
20483 wine_fn_config_makefile dlls/hid/tests enable_tests
20484 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20485 wine_fn_config_makefile dlls/hlink enable_hlink
20486 wine_fn_config_makefile dlls/hlink/tests enable_tests
20487 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20488 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20489 wine_fn_config_makefile dlls/http.sys enable_http_sys
20490 wine_fn_config_makefile dlls/httpapi enable_httpapi
20491 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20492 wine_fn_config_makefile dlls/iccvid enable_iccvid
20493 wine_fn_config_makefile dlls/icmp enable_icmp
20494 wine_fn_config_makefile dlls/ieframe enable_ieframe
20495 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20496 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20497 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20498 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20499 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20500 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20501 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20502 wine_fn_config_makefile dlls/imm32 enable_imm32
20503 wine_fn_config_makefile dlls/imm32/tests enable_tests
20504 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20505 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20506 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20507 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20508 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20509 wine_fn_config_makefile dlls/infosoft enable_infosoft
20510 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20511 wine_fn_config_makefile dlls/initpki enable_initpki
20512 wine_fn_config_makefile dlls/inkobj enable_inkobj
20513 wine_fn_config_makefile dlls/inseng enable_inseng
20514 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20515 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20516 wine_fn_config_makefile dlls/iprop enable_iprop
20517 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20518 wine_fn_config_makefile dlls/itircl enable_itircl
20519 wine_fn_config_makefile dlls/itss enable_itss
20520 wine_fn_config_makefile dlls/itss/tests enable_tests
20521 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20522 wine_fn_config_makefile dlls/jscript enable_jscript
20523 wine_fn_config_makefile dlls/jscript/tests enable_tests
20524 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20525 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20526 wine_fn_config_makefile dlls/kerberos enable_kerberos
20527 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20528 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20529 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20530 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20531 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20532 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20533 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20534 wine_fn_config_makefile dlls/ksuser enable_ksuser
20535 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20536 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20537 wine_fn_config_makefile dlls/loadperf enable_loadperf
20538 wine_fn_config_makefile dlls/localspl enable_localspl
20539 wine_fn_config_makefile dlls/localspl/tests enable_tests
20540 wine_fn_config_makefile dlls/localui enable_localui
20541 wine_fn_config_makefile dlls/localui/tests enable_tests
20542 wine_fn_config_makefile dlls/lz32 enable_lz32
20543 wine_fn_config_makefile dlls/lz32/tests enable_tests
20544 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20545 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20546 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20547 wine_fn_config_makefile dlls/mapistub enable_mapistub
20548 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20549 wine_fn_config_makefile dlls/mcicda enable_mcicda
20550 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20551 wine_fn_config_makefile dlls/mciseq enable_mciseq
20552 wine_fn_config_makefile dlls/mciwave enable_mciwave
20553 wine_fn_config_makefile dlls/mf enable_mf
20554 wine_fn_config_makefile dlls/mf/tests enable_tests
20555 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20556 wine_fn_config_makefile dlls/mferror enable_mferror
20557 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20558 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20559 wine_fn_config_makefile dlls/mfplat enable_mfplat
20560 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20561 wine_fn_config_makefile dlls/mfplay enable_mfplay
20562 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20563 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20564 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20565 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20566 wine_fn_config_makefile dlls/midimap enable_midimap
20567 wine_fn_config_makefile dlls/mlang enable_mlang
20568 wine_fn_config_makefile dlls/mlang/tests enable_tests
20569 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20570 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20571 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20572 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20573 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20574 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20575 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20576 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20577 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20578 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20579 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20580 wine_fn_config_makefile dlls/mpr enable_mpr
20581 wine_fn_config_makefile dlls/mpr/tests enable_tests
20582 wine_fn_config_makefile dlls/mprapi enable_mprapi
20583 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20584 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20585 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20586 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20587 wine_fn_config_makefile dlls/msado15 enable_msado15
20588 wine_fn_config_makefile dlls/msado15/tests enable_tests
20589 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20590 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20591 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20592 wine_fn_config_makefile dlls/mscms enable_mscms
20593 wine_fn_config_makefile dlls/mscms/tests enable_tests
20594 wine_fn_config_makefile dlls/mscoree enable_mscoree
20595 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20596 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20597 wine_fn_config_makefile dlls/msctf enable_msctf
20598 wine_fn_config_makefile dlls/msctf/tests enable_tests
20599 wine_fn_config_makefile dlls/msctfp enable_msctfp
20600 wine_fn_config_makefile dlls/msdaps enable_msdaps
20601 wine_fn_config_makefile dlls/msdelta enable_msdelta
20602 wine_fn_config_makefile dlls/msdmo enable_msdmo
20603 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20604 wine_fn_config_makefile dlls/msdrm enable_msdrm
20605 wine_fn_config_makefile dlls/msftedit enable_msftedit
20606 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20607 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20608 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20609 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20610 wine_fn_config_makefile dlls/mshtml enable_mshtml
20611 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20612 wine_fn_config_makefile dlls/msi enable_msi
20613 wine_fn_config_makefile dlls/msi/tests enable_tests
20614 wine_fn_config_makefile dlls/msident enable_msident
20615 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20616 wine_fn_config_makefile dlls/msimsg enable_msimsg
20617 wine_fn_config_makefile dlls/msimtf enable_msimtf
20618 wine_fn_config_makefile dlls/msisip enable_msisip
20619 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20620 wine_fn_config_makefile dlls/msls31 enable_msls31
20621 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20622 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20623 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20624 wine_fn_config_makefile dlls/msports enable_msports
20625 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20626 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20627 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20628 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20629 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20630 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20631 wine_fn_config_makefile dlls/mstask enable_mstask
20632 wine_fn_config_makefile dlls/mstask/tests enable_tests
20633 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20634 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20635 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20636 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20637 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20638 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20639 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20640 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20641 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20642 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20643 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20644 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20645 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20646 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20647 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20649 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20650 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20651 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20652 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20653 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20654 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20656 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20658 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20659 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20660 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20661 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20662 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20663 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20664 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20665 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20666 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20667 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20668 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20669 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20670 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20671 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20672 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20673 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20674 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20675 wine_fn_config_makefile dlls/mswsock enable_mswsock
20676 wine_fn_config_makefile dlls/msxml enable_msxml
20677 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20678 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20679 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20680 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20681 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20682 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20683 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20684 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20685 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20686 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20687 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20688 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20689 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20690 wine_fn_config_makefile dlls/netprofm enable_netprofm
20691 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20692 wine_fn_config_makefile dlls/newdev enable_newdev
20693 wine_fn_config_makefile dlls/ninput enable_ninput
20694 wine_fn_config_makefile dlls/ninput/tests enable_tests
20695 wine_fn_config_makefile dlls/normaliz enable_normaliz
20696 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20697 wine_fn_config_makefile dlls/npptools enable_npptools
20698 wine_fn_config_makefile dlls/ntdll enable_ntdll
20699 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20700 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20701 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20702 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20703 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20704 wine_fn_config_makefile dlls/ntprint enable_ntprint
20705 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20706 wine_fn_config_makefile dlls/objsel enable_objsel
20707 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20708 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20709 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20710 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20711 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20712 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20713 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20714 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20715 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20716 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20717 wine_fn_config_makefile dlls/ole32 enable_ole32
20718 wine_fn_config_makefile dlls/ole32/tests enable_tests
20719 wine_fn_config_makefile dlls/oleacc enable_oleacc
20720 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20721 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20722 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20723 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20724 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20725 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20726 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20727 wine_fn_config_makefile dlls/oledlg enable_oledlg
20728 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20729 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20730 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20731 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20732 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20733 wine_fn_config_makefile dlls/opcservices enable_opcservices
20734 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20735 wine_fn_config_makefile dlls/openal32 enable_openal32
20736 wine_fn_config_makefile dlls/opencl enable_opencl
20737 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20738 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20739 wine_fn_config_makefile dlls/packager enable_packager
20740 wine_fn_config_makefile dlls/packager/tests enable_tests
20741 wine_fn_config_makefile dlls/pdh enable_pdh
20742 wine_fn_config_makefile dlls/pdh/tests enable_tests
20743 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20744 wine_fn_config_makefile dlls/pidgen enable_pidgen
20745 wine_fn_config_makefile dlls/powrprof enable_powrprof
20746 wine_fn_config_makefile dlls/printui enable_printui
20747 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20748 wine_fn_config_makefile dlls/propsys enable_propsys
20749 wine_fn_config_makefile dlls/propsys/tests enable_tests
20750 wine_fn_config_makefile dlls/psapi enable_psapi
20751 wine_fn_config_makefile dlls/psapi/tests enable_tests
20752 wine_fn_config_makefile dlls/pstorec enable_pstorec
20753 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20754 wine_fn_config_makefile dlls/qcap enable_qcap
20755 wine_fn_config_makefile dlls/qcap/tests enable_tests
20756 wine_fn_config_makefile dlls/qedit enable_qedit
20757 wine_fn_config_makefile dlls/qedit/tests enable_tests
20758 wine_fn_config_makefile dlls/qmgr enable_qmgr
20759 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20760 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20761 wine_fn_config_makefile dlls/quartz enable_quartz
20762 wine_fn_config_makefile dlls/quartz/tests enable_tests
20763 wine_fn_config_makefile dlls/query enable_query
20764 wine_fn_config_makefile dlls/qwave enable_qwave
20765 wine_fn_config_makefile dlls/qwave/tests enable_tests
20766 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20767 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20768 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20769 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20770 wine_fn_config_makefile dlls/regapi enable_regapi
20771 wine_fn_config_makefile dlls/resutils enable_resutils
20772 wine_fn_config_makefile dlls/riched20 enable_riched20
20773 wine_fn_config_makefile dlls/riched20/tests enable_tests
20774 wine_fn_config_makefile dlls/riched32 enable_riched32
20775 wine_fn_config_makefile dlls/riched32/tests enable_tests
20776 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20777 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20778 wine_fn_config_makefile dlls/rsabase enable_rsabase
20779 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20780 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20781 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20782 wine_fn_config_makefile dlls/rtutils enable_rtutils
20783 wine_fn_config_makefile dlls/samlib enable_samlib
20784 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20785 wine_fn_config_makefile dlls/sapi enable_sapi
20786 wine_fn_config_makefile dlls/sapi/tests enable_tests
20787 wine_fn_config_makefile dlls/sas enable_sas
20788 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20789 wine_fn_config_makefile dlls/sccbase enable_sccbase
20790 wine_fn_config_makefile dlls/schannel enable_schannel
20791 wine_fn_config_makefile dlls/schannel/tests enable_tests
20792 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20793 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20794 wine_fn_config_makefile dlls/scrobj enable_scrobj
20795 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20796 wine_fn_config_makefile dlls/scrrun enable_scrrun
20797 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20798 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20799 wine_fn_config_makefile dlls/secur32 enable_secur32
20800 wine_fn_config_makefile dlls/secur32/tests enable_tests
20801 wine_fn_config_makefile dlls/security enable_security
20802 wine_fn_config_makefile dlls/sensapi enable_sensapi
20803 wine_fn_config_makefile dlls/serialui enable_serialui
20804 wine_fn_config_makefile dlls/serialui/tests enable_tests
20805 wine_fn_config_makefile dlls/setupapi enable_setupapi
20806 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20807 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20808 wine_fn_config_makefile dlls/sfc enable_sfc
20809 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20810 wine_fn_config_makefile dlls/shcore enable_shcore
20811 wine_fn_config_makefile dlls/shcore/tests enable_tests
20812 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20813 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20814 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20815 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20816 wine_fn_config_makefile dlls/shell32 enable_shell32
20817 wine_fn_config_makefile dlls/shell32/tests enable_tests
20818 wine_fn_config_makefile dlls/shfolder enable_shfolder
20819 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20820 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20821 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20822 wine_fn_config_makefile dlls/slc enable_slc
20823 wine_fn_config_makefile dlls/slc/tests enable_tests
20824 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20825 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20826 wine_fn_config_makefile dlls/softpub enable_softpub
20827 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20828 wine_fn_config_makefile dlls/spoolss enable_spoolss
20829 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20830 wine_fn_config_makefile dlls/srclient enable_srclient
20831 wine_fn_config_makefile dlls/sspicli enable_sspicli
20832 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20833 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20834 wine_fn_config_makefile dlls/sti enable_sti
20835 wine_fn_config_makefile dlls/sti/tests enable_tests
20836 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20837 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20838 wine_fn_config_makefile dlls/strmbase enable_strmbase
20839 wine_fn_config_makefile dlls/strmdll enable_strmdll
20840 wine_fn_config_makefile dlls/strmiids enable_strmiids
20841 wine_fn_config_makefile dlls/svrapi enable_svrapi
20842 wine_fn_config_makefile dlls/sxs enable_sxs
20843 wine_fn_config_makefile dlls/sxs/tests enable_tests
20844 wine_fn_config_makefile dlls/system.drv16 enable_win16
20845 wine_fn_config_makefile dlls/t2embed enable_t2embed
20846 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20847 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20848 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20849 wine_fn_config_makefile dlls/taskschd enable_taskschd
20850 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20851 wine_fn_config_makefile dlls/tdh enable_tdh
20852 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20853 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20854 wine_fn_config_makefile dlls/traffic enable_traffic
20855 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20856 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20857 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20858 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20859 wine_fn_config_makefile dlls/tzres enable_tzres
20860 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20861 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20862 wine_fn_config_makefile dlls/uianimation enable_uianimation
20863 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20864 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20865 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20866 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20867 wine_fn_config_makefile dlls/unicows enable_unicows
20868 wine_fn_config_makefile dlls/updspapi enable_updspapi
20869 wine_fn_config_makefile dlls/url enable_url
20870 wine_fn_config_makefile dlls/urlmon enable_urlmon
20871 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20872 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20873 wine_fn_config_makefile dlls/user.exe16 enable_win16
20874 wine_fn_config_makefile dlls/user32 enable_user32
20875 wine_fn_config_makefile dlls/user32/tests enable_tests
20876 wine_fn_config_makefile dlls/userenv enable_userenv
20877 wine_fn_config_makefile dlls/userenv/tests enable_tests
20878 wine_fn_config_makefile dlls/usp10 enable_usp10
20879 wine_fn_config_makefile dlls/usp10/tests enable_tests
20880 wine_fn_config_makefile dlls/utildll enable_utildll
20881 wine_fn_config_makefile dlls/uuid enable_uuid
20882 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20883 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20884 wine_fn_config_makefile dlls/vbscript enable_vbscript
20885 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20886 wine_fn_config_makefile dlls/vcomp enable_vcomp
20887 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20888 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20889 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20890 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20891 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20892 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20893 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20894 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20895 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20896 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20897 wine_fn_config_makefile dlls/version enable_version
20898 wine_fn_config_makefile dlls/version/tests enable_tests
20899 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20900 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20901 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20902 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20903 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20904 wine_fn_config_makefile dlls/vssapi enable_vssapi
20905 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20906 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20907 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20908 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20909 wine_fn_config_makefile dlls/w32skrnl enable_win16
20910 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20911 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20912 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20913 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20914 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20915 wine_fn_config_makefile dlls/wdscore enable_wdscore
20916 wine_fn_config_makefile dlls/webservices enable_webservices
20917 wine_fn_config_makefile dlls/webservices/tests enable_tests
20918 wine_fn_config_makefile dlls/wer enable_wer
20919 wine_fn_config_makefile dlls/wer/tests enable_tests
20920 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20921 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20922 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20923 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20924 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20925 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20926 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20927 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20928 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20929 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20930 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20931 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20932 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20933 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20934 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20935 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20936 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20937 wine_fn_config_makefile dlls/wined3d enable_wined3d
20938 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20939 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20940 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20941 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20942 wine_fn_config_makefile dlls/winemapi enable_winemapi
20943 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20944 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20945 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20946 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20947 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20948 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20949 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20950 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20951 wine_fn_config_makefile dlls/wing32 enable_wing32
20952 wine_fn_config_makefile dlls/winhttp enable_winhttp
20953 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20954 wine_fn_config_makefile dlls/wininet enable_wininet
20955 wine_fn_config_makefile dlls/wininet/tests enable_tests
20956 wine_fn_config_makefile dlls/winmm enable_winmm
20957 wine_fn_config_makefile dlls/winmm/tests enable_tests
20958 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20959 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20960 wine_fn_config_makefile dlls/winscard enable_winscard
20961 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20962 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20963 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20964 wine_fn_config_makefile dlls/winsta enable_winsta
20965 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20966 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20967 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20968 wine_fn_config_makefile dlls/wintrust enable_wintrust
20969 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20970 wine_fn_config_makefile dlls/winusb enable_winusb
20971 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20972 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20973 wine_fn_config_makefile dlls/wlanui enable_wlanui
20974 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20975 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20976 wine_fn_config_makefile dlls/wmasf enable_wmasf
20977 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20978 wine_fn_config_makefile dlls/wmi enable_wmi
20979 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20980 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20981 wine_fn_config_makefile dlls/wmp enable_wmp
20982 wine_fn_config_makefile dlls/wmp/tests enable_tests
20983 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20984 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20985 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20986 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20987 wine_fn_config_makefile dlls/wow32 enable_win16
20988 wine_fn_config_makefile dlls/wpc enable_wpc
20989 wine_fn_config_makefile dlls/wpc/tests enable_tests
20990 wine_fn_config_makefile dlls/wpcap enable_wpcap
20991 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20992 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20993 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20994 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20995 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20996 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20997 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20998 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20999 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21000 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21001 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21002 wine_fn_config_makefile dlls/wuapi enable_wuapi
21003 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21004 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21005 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21006 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21007 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21008 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21009 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21010 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21011 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21012 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21013 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21014 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21015 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21016 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21017 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21018 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21019 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21020 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21021 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21022 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21023 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21024 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21025 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21026 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21027 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21028 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21029 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21030 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21031 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21032 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21033 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21034 wine_fn_config_makefile dlls/xmllite enable_xmllite
21035 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21036 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21037 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21038 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21039 wine_fn_config_makefile fonts enable_fonts
21040 wine_fn_config_makefile include enable_include
21041 wine_fn_config_makefile libs/port enable_port
21042 wine_fn_config_makefile libs/wine enable_wine
21043 wine_fn_config_makefile libs/wpp enable_wpp
21044 wine_fn_config_makefile loader enable_loader
21045 wine_fn_config_makefile po enable_po
21046 wine_fn_config_makefile programs/arp enable_arp
21047 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21048 wine_fn_config_makefile programs/attrib enable_attrib
21049 wine_fn_config_makefile programs/cabarc enable_cabarc
21050 wine_fn_config_makefile programs/cacls enable_cacls
21051 wine_fn_config_makefile programs/clock enable_clock
21052 wine_fn_config_makefile programs/cmd enable_cmd
21053 wine_fn_config_makefile programs/cmd/tests enable_tests
21054 wine_fn_config_makefile programs/conhost enable_conhost
21055 wine_fn_config_makefile programs/control enable_control
21056 wine_fn_config_makefile programs/cscript enable_cscript
21057 wine_fn_config_makefile programs/dism enable_dism
21058 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21059 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21060 wine_fn_config_makefile programs/eject enable_eject
21061 wine_fn_config_makefile programs/expand enable_expand
21062 wine_fn_config_makefile programs/explorer enable_explorer
21063 wine_fn_config_makefile programs/extrac32 enable_extrac32
21064 wine_fn_config_makefile programs/fc enable_fc
21065 wine_fn_config_makefile programs/find enable_find
21066 wine_fn_config_makefile programs/find/tests enable_tests
21067 wine_fn_config_makefile programs/findstr enable_findstr
21068 wine_fn_config_makefile programs/fsutil enable_fsutil
21069 wine_fn_config_makefile programs/hh enable_hh
21070 wine_fn_config_makefile programs/hostname enable_hostname
21071 wine_fn_config_makefile programs/icacls enable_icacls
21072 wine_fn_config_makefile programs/icinfo enable_icinfo
21073 wine_fn_config_makefile programs/iexplore enable_iexplore
21074 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21075 wine_fn_config_makefile programs/lodctr enable_lodctr
21076 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21077 wine_fn_config_makefile programs/mshta enable_mshta
21078 wine_fn_config_makefile programs/msidb enable_msidb
21079 wine_fn_config_makefile programs/msiexec enable_msiexec
21080 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21081 wine_fn_config_makefile programs/net enable_net
21082 wine_fn_config_makefile programs/netsh enable_netsh
21083 wine_fn_config_makefile programs/netstat enable_netstat
21084 wine_fn_config_makefile programs/ngen enable_ngen
21085 wine_fn_config_makefile programs/notepad enable_notepad
21086 wine_fn_config_makefile programs/oleview enable_oleview
21087 wine_fn_config_makefile programs/ping enable_ping
21088 wine_fn_config_makefile programs/plugplay enable_plugplay
21089 wine_fn_config_makefile programs/powershell enable_powershell
21090 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21091 wine_fn_config_makefile programs/progman enable_progman
21092 wine_fn_config_makefile programs/reg enable_reg
21093 wine_fn_config_makefile programs/reg/tests enable_tests
21094 wine_fn_config_makefile programs/regasm enable_regasm
21095 wine_fn_config_makefile programs/regedit enable_regedit
21096 wine_fn_config_makefile programs/regedit/tests enable_tests
21097 wine_fn_config_makefile programs/regini enable_regini
21098 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21099 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21100 wine_fn_config_makefile programs/rpcss enable_rpcss
21101 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21102 wine_fn_config_makefile programs/rundll32 enable_rundll32
21103 wine_fn_config_makefile programs/sc enable_sc
21104 wine_fn_config_makefile programs/schtasks enable_schtasks
21105 wine_fn_config_makefile programs/schtasks/tests enable_tests
21106 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21107 wine_fn_config_makefile programs/secedit enable_secedit
21108 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21109 wine_fn_config_makefile programs/services enable_services
21110 wine_fn_config_makefile programs/services/tests enable_tests
21111 wine_fn_config_makefile programs/shutdown enable_shutdown
21112 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21113 wine_fn_config_makefile programs/start enable_start
21114 wine_fn_config_makefile programs/subst enable_subst
21115 wine_fn_config_makefile programs/svchost enable_svchost
21116 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21117 wine_fn_config_makefile programs/taskkill enable_taskkill
21118 wine_fn_config_makefile programs/tasklist enable_tasklist
21119 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21120 wine_fn_config_makefile programs/termsv enable_termsv
21121 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21122 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21123 wine_fn_config_makefile programs/view enable_view
21124 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21125 wine_fn_config_makefile programs/wineboot enable_wineboot
21126 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21127 wine_fn_config_makefile programs/winecfg enable_winecfg
21128 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21129 wine_fn_config_makefile programs/winedbg enable_winedbg
21130 wine_fn_config_makefile programs/winedevice enable_winedevice
21131 wine_fn_config_makefile programs/winefile enable_winefile
21132 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21133 wine_fn_config_makefile programs/winemine enable_winemine
21134 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21135 wine_fn_config_makefile programs/winepath enable_winepath
21136 wine_fn_config_makefile programs/winetest enable_winetest
21137 wine_fn_config_makefile programs/winevdm enable_win16
21138 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21139 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21140 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21141 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21142 wine_fn_config_makefile programs/winver enable_winver
21143 wine_fn_config_makefile programs/wmic enable_wmic
21144 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21145 wine_fn_config_makefile programs/wordpad enable_wordpad
21146 wine_fn_config_makefile programs/write enable_write
21147 wine_fn_config_makefile programs/wscript enable_wscript
21148 wine_fn_config_makefile programs/wscript/tests enable_tests
21149 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21150 wine_fn_config_makefile programs/wusa enable_wusa
21151 wine_fn_config_makefile programs/xcopy enable_xcopy
21152 wine_fn_config_makefile programs/xcopy/tests enable_tests
21153 wine_fn_config_makefile server enable_server
21154 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21159 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21160 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21161 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21162 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21165 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21166 wine_fn_append_file CONFIGURE_TARGETS "tags"
21167 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21168 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21169 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21170 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21171 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21172 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21174 if test "x$enable_tools" != xno
21175 then
21176 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21177 ac_config_commands="$ac_config_commands tools/makedep"
21181 ac_config_commands="$ac_config_commands Makefile"
21184 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21188 if test "x$enable_maintainer_mode" = xyes
21189 then
21190 wine_fn_append_rule "configure: configure.ac aclocal.m4
21191 autoconf --warnings=all
21192 include/config.h.in: include/stamp-h.in
21193 include/stamp-h.in: configure.ac aclocal.m4
21194 autoheader --warnings=all
21195 @echo timestamp > \$@"
21198 if test "x$enable_tools" != xno
21199 then
21200 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21201 @./config.status tools/makedep
21202 Makefile: tools/makedep$ac_exeext
21203 fonts: tools/sfnt2fon
21204 include: tools tools/widl"
21205 else
21206 wine_fn_append_rule "\$(MAKEDEP):
21207 @echo \"You need to run make in $TOOLSDIR first\" && false"
21210 if test -n "$with_wine64"
21211 then
21212 case "$with_wine64" in
21213 /*) reldir="" ;;
21214 *) reldir="../" ;;
21215 esac
21216 rm -f fonts server 2>/dev/null
21217 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21218 loader/wine64 loader/wine64-preloader:
21219 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21220 $with_wine64/loader/wine:
21221 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21222 $with_wine64/loader/wine-preloader:
21223 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21224 clean::
21225 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21226 else
21227 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21228 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21229 fonts \
21230 loader/l_intl.nls \
21231 loader/wine.inf \
21232 loader/winebus.inf \
21233 loader/winehid.inf \
21234 programs/msidb/msidb \
21235 programs/msiexec/msiexec \
21236 programs/notepad/notepad \
21237 programs/regedit/regedit \
21238 programs/regsvr32/regsvr32 \
21239 programs/wineboot/wineboot \
21240 programs/winecfg/winecfg \
21241 programs/wineconsole/wineconsole \
21242 programs/winedbg/winedbg \
21243 programs/winefile/winefile \
21244 programs/winemine/winemine \
21245 programs/winepath/winepath \
21246 server/wineserver"
21248 case $host_os in
21249 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21250 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21251 esac
21254 $as_echo " done" >&6
21255 cat >confcache <<\_ACEOF
21256 # This file is a shell script that caches the results of configure
21257 # tests run on this system so they can be shared between configure
21258 # scripts and configure runs, see configure's option --config-cache.
21259 # It is not useful on other systems. If it contains results you don't
21260 # want to keep, you may remove or edit it.
21262 # config.status only pays attention to the cache file if you give it
21263 # the --recheck option to rerun configure.
21265 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21266 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21267 # following values.
21269 _ACEOF
21271 # The following way of writing the cache mishandles newlines in values,
21272 # but we know of no workaround that is simple, portable, and efficient.
21273 # So, we kill variables containing newlines.
21274 # Ultrix sh set writes to stderr and can't be redirected directly,
21275 # and sets the high bit in the cache file unless we assign to the vars.
21277 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21278 eval ac_val=\$$ac_var
21279 case $ac_val in #(
21280 *${as_nl}*)
21281 case $ac_var in #(
21282 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21283 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21284 esac
21285 case $ac_var in #(
21286 _ | IFS | as_nl) ;; #(
21287 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21288 *) { eval $ac_var=; unset $ac_var;} ;;
21289 esac ;;
21290 esac
21291 done
21293 (set) 2>&1 |
21294 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21295 *${as_nl}ac_space=\ *)
21296 # `set' does not quote correctly, so add quotes: double-quote
21297 # substitution turns \\\\ into \\, and sed turns \\ into \.
21298 sed -n \
21299 "s/'/'\\\\''/g;
21300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21301 ;; #(
21303 # `set' quotes correctly as required by POSIX, so do not add quotes.
21304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21306 esac |
21307 sort
21309 sed '
21310 /^ac_cv_env_/b end
21311 t clear
21312 :clear
21313 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21314 t end
21315 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21316 :end' >>confcache
21317 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21318 if test -w "$cache_file"; then
21319 if test "x$cache_file" != "x/dev/null"; then
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21321 $as_echo "$as_me: updating cache $cache_file" >&6;}
21322 if test ! -f "$cache_file" || test -h "$cache_file"; then
21323 cat confcache >"$cache_file"
21324 else
21325 case $cache_file in #(
21326 */* | ?:*)
21327 mv -f confcache "$cache_file"$$ &&
21328 mv -f "$cache_file"$$ "$cache_file" ;; #(
21330 mv -f confcache "$cache_file" ;;
21331 esac
21334 else
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21336 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21339 rm -f confcache
21341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21342 # Let make expand exec_prefix.
21343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21345 DEFS=-DHAVE_CONFIG_H
21347 ac_libobjs=
21348 ac_ltlibobjs=
21350 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21351 # 1. Remove the extension, and $U if already installed.
21352 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21353 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21354 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21355 # will be set to the directory where LIBOBJS objects are built.
21356 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21357 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21358 done
21359 LIBOBJS=$ac_libobjs
21361 LTLIBOBJS=$ac_ltlibobjs
21365 : "${CONFIG_STATUS=./config.status}"
21366 ac_write_fail=0
21367 ac_clean_files_save=$ac_clean_files
21368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21370 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21371 as_write_fail=0
21372 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21373 #! $SHELL
21374 # Generated by $as_me.
21375 # Run this file to recreate the current configuration.
21376 # Compiler output produced by configure, useful for debugging
21377 # configure, is in config.log if it exists.
21379 debug=false
21380 ac_cs_recheck=false
21381 ac_cs_silent=false
21383 SHELL=\${CONFIG_SHELL-$SHELL}
21384 export SHELL
21385 _ASEOF
21386 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21387 ## -------------------- ##
21388 ## M4sh Initialization. ##
21389 ## -------------------- ##
21391 # Be more Bourne compatible
21392 DUALCASE=1; export DUALCASE # for MKS sh
21393 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21394 emulate sh
21395 NULLCMD=:
21396 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21397 # is contrary to our usage. Disable this feature.
21398 alias -g '${1+"$@"}'='"$@"'
21399 setopt NO_GLOB_SUBST
21400 else
21401 case `(set -o) 2>/dev/null` in #(
21402 *posix*) :
21403 set -o posix ;; #(
21404 *) :
21406 esac
21410 as_nl='
21412 export as_nl
21413 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21414 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21415 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21416 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21417 # Prefer a ksh shell builtin over an external printf program on Solaris,
21418 # but without wasting forks for bash or zsh.
21419 if test -z "$BASH_VERSION$ZSH_VERSION" \
21420 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21421 as_echo='print -r --'
21422 as_echo_n='print -rn --'
21423 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21424 as_echo='printf %s\n'
21425 as_echo_n='printf %s'
21426 else
21427 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21428 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21429 as_echo_n='/usr/ucb/echo -n'
21430 else
21431 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21432 as_echo_n_body='eval
21433 arg=$1;
21434 case $arg in #(
21435 *"$as_nl"*)
21436 expr "X$arg" : "X\\(.*\\)$as_nl";
21437 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21438 esac;
21439 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21441 export as_echo_n_body
21442 as_echo_n='sh -c $as_echo_n_body as_echo'
21444 export as_echo_body
21445 as_echo='sh -c $as_echo_body as_echo'
21448 # The user is always right.
21449 if test "${PATH_SEPARATOR+set}" != set; then
21450 PATH_SEPARATOR=:
21451 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21452 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21453 PATH_SEPARATOR=';'
21458 # IFS
21459 # We need space, tab and new line, in precisely that order. Quoting is
21460 # there to prevent editors from complaining about space-tab.
21461 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21462 # splitting by setting IFS to empty value.)
21463 IFS=" "" $as_nl"
21465 # Find who we are. Look in the path if we contain no directory separator.
21466 as_myself=
21467 case $0 in #((
21468 *[\\/]* ) as_myself=$0 ;;
21469 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21470 for as_dir in $PATH
21472 IFS=$as_save_IFS
21473 test -z "$as_dir" && as_dir=.
21474 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21475 done
21476 IFS=$as_save_IFS
21479 esac
21480 # We did not find ourselves, most probably we were run as `sh COMMAND'
21481 # in which case we are not to be found in the path.
21482 if test "x$as_myself" = x; then
21483 as_myself=$0
21485 if test ! -f "$as_myself"; then
21486 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21487 exit 1
21490 # Unset variables that we do not need and which cause bugs (e.g. in
21491 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21492 # suppresses any "Segmentation fault" message there. '((' could
21493 # trigger a bug in pdksh 5.2.14.
21494 for as_var in BASH_ENV ENV MAIL MAILPATH
21495 do eval test x\${$as_var+set} = xset \
21496 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21497 done
21498 PS1='$ '
21499 PS2='> '
21500 PS4='+ '
21502 # NLS nuisances.
21503 LC_ALL=C
21504 export LC_ALL
21505 LANGUAGE=C
21506 export LANGUAGE
21508 # CDPATH.
21509 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21512 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21513 # ----------------------------------------
21514 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21515 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21516 # script with STATUS, using 1 if that was 0.
21517 as_fn_error ()
21519 as_status=$1; test $as_status -eq 0 && as_status=1
21520 if test "$4"; then
21521 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21522 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21524 $as_echo "$as_me: error: $2" >&2
21525 as_fn_exit $as_status
21526 } # as_fn_error
21529 # as_fn_set_status STATUS
21530 # -----------------------
21531 # Set $? to STATUS, without forking.
21532 as_fn_set_status ()
21534 return $1
21535 } # as_fn_set_status
21537 # as_fn_exit STATUS
21538 # -----------------
21539 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21540 as_fn_exit ()
21542 set +e
21543 as_fn_set_status $1
21544 exit $1
21545 } # as_fn_exit
21547 # as_fn_unset VAR
21548 # ---------------
21549 # Portably unset VAR.
21550 as_fn_unset ()
21552 { eval $1=; unset $1;}
21554 as_unset=as_fn_unset
21555 # as_fn_append VAR VALUE
21556 # ----------------------
21557 # Append the text in VALUE to the end of the definition contained in VAR. Take
21558 # advantage of any shell optimizations that allow amortized linear growth over
21559 # repeated appends, instead of the typical quadratic growth present in naive
21560 # implementations.
21561 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21562 eval 'as_fn_append ()
21564 eval $1+=\$2
21566 else
21567 as_fn_append ()
21569 eval $1=\$$1\$2
21571 fi # as_fn_append
21573 # as_fn_arith ARG...
21574 # ------------------
21575 # Perform arithmetic evaluation on the ARGs, and store the result in the
21576 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21577 # must be portable across $(()) and expr.
21578 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21579 eval 'as_fn_arith ()
21581 as_val=$(( $* ))
21583 else
21584 as_fn_arith ()
21586 as_val=`expr "$@" || test $? -eq 1`
21588 fi # as_fn_arith
21591 if expr a : '\(a\)' >/dev/null 2>&1 &&
21592 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21593 as_expr=expr
21594 else
21595 as_expr=false
21598 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21599 as_basename=basename
21600 else
21601 as_basename=false
21604 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21605 as_dirname=dirname
21606 else
21607 as_dirname=false
21610 as_me=`$as_basename -- "$0" ||
21611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21612 X"$0" : 'X\(//\)$' \| \
21613 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21614 $as_echo X/"$0" |
21615 sed '/^.*\/\([^/][^/]*\)\/*$/{
21616 s//\1/
21619 /^X\/\(\/\/\)$/{
21620 s//\1/
21623 /^X\/\(\/\).*/{
21624 s//\1/
21627 s/.*/./; q'`
21629 # Avoid depending upon Character Ranges.
21630 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21631 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21632 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21633 as_cr_digits='0123456789'
21634 as_cr_alnum=$as_cr_Letters$as_cr_digits
21636 ECHO_C= ECHO_N= ECHO_T=
21637 case `echo -n x` in #(((((
21638 -n*)
21639 case `echo 'xy\c'` in
21640 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21641 xy) ECHO_C='\c';;
21642 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21643 ECHO_T=' ';;
21644 esac;;
21646 ECHO_N='-n';;
21647 esac
21649 rm -f conf$$ conf$$.exe conf$$.file
21650 if test -d conf$$.dir; then
21651 rm -f conf$$.dir/conf$$.file
21652 else
21653 rm -f conf$$.dir
21654 mkdir conf$$.dir 2>/dev/null
21656 if (echo >conf$$.file) 2>/dev/null; then
21657 if ln -s conf$$.file conf$$ 2>/dev/null; then
21658 as_ln_s='ln -s'
21659 # ... but there are two gotchas:
21660 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21661 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21662 # In both cases, we have to default to `cp -pR'.
21663 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21664 as_ln_s='cp -pR'
21665 elif ln conf$$.file conf$$ 2>/dev/null; then
21666 as_ln_s=ln
21667 else
21668 as_ln_s='cp -pR'
21670 else
21671 as_ln_s='cp -pR'
21673 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21674 rmdir conf$$.dir 2>/dev/null
21677 # as_fn_mkdir_p
21678 # -------------
21679 # Create "$as_dir" as a directory, including parents if necessary.
21680 as_fn_mkdir_p ()
21683 case $as_dir in #(
21684 -*) as_dir=./$as_dir;;
21685 esac
21686 test -d "$as_dir" || eval $as_mkdir_p || {
21687 as_dirs=
21688 while :; do
21689 case $as_dir in #(
21690 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21691 *) as_qdir=$as_dir;;
21692 esac
21693 as_dirs="'$as_qdir' $as_dirs"
21694 as_dir=`$as_dirname -- "$as_dir" ||
21695 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21696 X"$as_dir" : 'X\(//\)[^/]' \| \
21697 X"$as_dir" : 'X\(//\)$' \| \
21698 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21699 $as_echo X"$as_dir" |
21700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21701 s//\1/
21704 /^X\(\/\/\)[^/].*/{
21705 s//\1/
21708 /^X\(\/\/\)$/{
21709 s//\1/
21712 /^X\(\/\).*/{
21713 s//\1/
21716 s/.*/./; q'`
21717 test -d "$as_dir" && break
21718 done
21719 test -z "$as_dirs" || eval "mkdir $as_dirs"
21720 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21723 } # as_fn_mkdir_p
21724 if mkdir -p . 2>/dev/null; then
21725 as_mkdir_p='mkdir -p "$as_dir"'
21726 else
21727 test -d ./-p && rmdir ./-p
21728 as_mkdir_p=false
21732 # as_fn_executable_p FILE
21733 # -----------------------
21734 # Test if FILE is an executable regular file.
21735 as_fn_executable_p ()
21737 test -f "$1" && test -x "$1"
21738 } # as_fn_executable_p
21739 as_test_x='test -x'
21740 as_executable_p=as_fn_executable_p
21742 # Sed expression to map a string onto a valid CPP name.
21743 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21745 # Sed expression to map a string onto a valid variable name.
21746 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21749 exec 6>&1
21750 ## ----------------------------------- ##
21751 ## Main body of $CONFIG_STATUS script. ##
21752 ## ----------------------------------- ##
21753 _ASEOF
21754 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21757 # Save the log message, to keep $0 and so on meaningful, and to
21758 # report actual input values of CONFIG_FILES etc. instead of their
21759 # values after options handling.
21760 ac_log="
21761 This file was extended by Wine $as_me 4.21, which was
21762 generated by GNU Autoconf 2.69. Invocation command line was
21764 CONFIG_FILES = $CONFIG_FILES
21765 CONFIG_HEADERS = $CONFIG_HEADERS
21766 CONFIG_LINKS = $CONFIG_LINKS
21767 CONFIG_COMMANDS = $CONFIG_COMMANDS
21768 $ $0 $@
21770 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21773 _ACEOF
21775 case $ac_config_files in *"
21776 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21777 esac
21779 case $ac_config_headers in *"
21780 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21781 esac
21784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21785 # Files that config.status was made for.
21786 config_files="$ac_config_files"
21787 config_headers="$ac_config_headers"
21788 config_links="$ac_config_links"
21789 config_commands="$ac_config_commands"
21791 _ACEOF
21793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21794 ac_cs_usage="\
21795 \`$as_me' instantiates files and other configuration actions
21796 from templates according to the current configuration. Unless the files
21797 and actions are specified as TAGs, all are instantiated by default.
21799 Usage: $0 [OPTION]... [TAG]...
21801 -h, --help print this help, then exit
21802 -V, --version print version number and configuration settings, then exit
21803 --config print configuration, then exit
21804 -q, --quiet, --silent
21805 do not print progress messages
21806 -d, --debug don't remove temporary files
21807 --recheck update $as_me by reconfiguring in the same conditions
21808 --file=FILE[:TEMPLATE]
21809 instantiate the configuration file FILE
21810 --header=FILE[:TEMPLATE]
21811 instantiate the configuration header FILE
21813 Configuration files:
21814 $config_files
21816 Configuration headers:
21817 $config_headers
21819 Configuration links:
21820 $config_links
21822 Configuration commands:
21823 $config_commands
21825 Report bugs to <wine-devel@winehq.org>.
21826 Wine home page: <https://www.winehq.org>."
21828 _ACEOF
21829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21830 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21831 ac_cs_version="\\
21832 Wine config.status 4.21
21833 configured by $0, generated by GNU Autoconf 2.69,
21834 with options \\"\$ac_cs_config\\"
21836 Copyright (C) 2012 Free Software Foundation, Inc.
21837 This config.status script is free software; the Free Software Foundation
21838 gives unlimited permission to copy, distribute and modify it."
21840 ac_pwd='$ac_pwd'
21841 srcdir='$srcdir'
21842 test -n "\$AWK" || AWK=awk
21843 _ACEOF
21845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21846 # The default lists apply if the user does not specify any file.
21847 ac_need_defaults=:
21848 while test $# != 0
21850 case $1 in
21851 --*=?*)
21852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21853 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21854 ac_shift=:
21856 --*=)
21857 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21858 ac_optarg=
21859 ac_shift=:
21862 ac_option=$1
21863 ac_optarg=$2
21864 ac_shift=shift
21866 esac
21868 case $ac_option in
21869 # Handling of the options.
21870 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21871 ac_cs_recheck=: ;;
21872 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21873 $as_echo "$ac_cs_version"; exit ;;
21874 --config | --confi | --conf | --con | --co | --c )
21875 $as_echo "$ac_cs_config"; exit ;;
21876 --debug | --debu | --deb | --de | --d | -d )
21877 debug=: ;;
21878 --file | --fil | --fi | --f )
21879 $ac_shift
21880 case $ac_optarg in
21881 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21882 '') as_fn_error $? "missing file argument" ;;
21883 esac
21884 as_fn_append CONFIG_FILES " '$ac_optarg'"
21885 ac_need_defaults=false;;
21886 --header | --heade | --head | --hea )
21887 $ac_shift
21888 case $ac_optarg in
21889 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21890 esac
21891 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21892 ac_need_defaults=false;;
21893 --he | --h)
21894 # Conflict between --help and --header
21895 as_fn_error $? "ambiguous option: \`$1'
21896 Try \`$0 --help' for more information.";;
21897 --help | --hel | -h )
21898 $as_echo "$ac_cs_usage"; exit ;;
21899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21900 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21901 ac_cs_silent=: ;;
21903 # This is an error.
21904 -*) as_fn_error $? "unrecognized option: \`$1'
21905 Try \`$0 --help' for more information." ;;
21907 *) as_fn_append ac_config_targets " $1"
21908 ac_need_defaults=false ;;
21910 esac
21911 shift
21912 done
21914 ac_configure_extra_args=
21916 if $ac_cs_silent; then
21917 exec 6>/dev/null
21918 ac_configure_extra_args="$ac_configure_extra_args --silent"
21921 _ACEOF
21922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21923 if \$ac_cs_recheck; then
21924 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21925 shift
21926 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21927 CONFIG_SHELL='$SHELL'
21928 export CONFIG_SHELL
21929 exec "\$@"
21932 _ACEOF
21933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21934 exec 5>>config.log
21936 echo
21937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21938 ## Running $as_me. ##
21939 _ASBOX
21940 $as_echo "$ac_log"
21941 } >&5
21943 _ACEOF
21944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21946 # INIT-COMMANDS
21948 wine_fn_output_makedep ()
21950 as_dir=tools; as_fn_mkdir_p
21951 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21953 wine_fn_output_makefile ()
21955 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21956 `cat $wine_rules_file`
21957 _WINE_EOF
21958 as_fn_error $? "could not create Makefile" "$LINENO" 5
21961 _ACEOF
21963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21965 # Handling of arguments.
21966 for ac_config_target in $ac_config_targets
21968 case $ac_config_target in
21969 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21970 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21971 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21972 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21973 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21974 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21975 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21977 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21978 esac
21979 done
21982 # If the user did not use the arguments to specify the items to instantiate,
21983 # then the envvar interface is used. Set only those that are not.
21984 # We use the long form for the default assignment because of an extremely
21985 # bizarre bug on SunOS 4.1.3.
21986 if $ac_need_defaults; then
21987 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21988 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21989 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21990 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21993 # Have a temporary directory for convenience. Make it in the build tree
21994 # simply because there is no reason against having it here, and in addition,
21995 # creating and moving files from /tmp can sometimes cause problems.
21996 # Hook for its removal unless debugging.
21997 # Note that there is a small window in which the directory will not be cleaned:
21998 # after its creation but before its name has been assigned to `$tmp'.
21999 $debug ||
22001 tmp= ac_tmp=
22002 trap 'exit_status=$?
22003 : "${ac_tmp:=$tmp}"
22004 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22006 trap 'as_fn_exit 1' 1 2 13 15
22008 # Create a (secure) tmp directory for tmp files.
22011 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22012 test -d "$tmp"
22013 } ||
22015 tmp=./conf$$-$RANDOM
22016 (umask 077 && mkdir "$tmp")
22017 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22018 ac_tmp=$tmp
22020 # Set up the scripts for CONFIG_FILES section.
22021 # No need to generate them if there are no CONFIG_FILES.
22022 # This happens for instance with `./config.status config.h'.
22023 if test -n "$CONFIG_FILES"; then
22026 ac_cr=`echo X | tr X '\015'`
22027 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22028 # But we know of no other shell where ac_cr would be empty at this
22029 # point, so we can use a bashism as a fallback.
22030 if test "x$ac_cr" = x; then
22031 eval ac_cr=\$\'\\r\'
22033 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22034 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22035 ac_cs_awk_cr='\\r'
22036 else
22037 ac_cs_awk_cr=$ac_cr
22040 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22041 _ACEOF
22045 echo "cat >conf$$subs.awk <<_ACEOF" &&
22046 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22047 echo "_ACEOF"
22048 } >conf$$subs.sh ||
22049 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22050 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22051 ac_delim='%!_!# '
22052 for ac_last_try in false false false false false :; do
22053 . ./conf$$subs.sh ||
22054 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22056 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22057 if test $ac_delim_n = $ac_delim_num; then
22058 break
22059 elif $ac_last_try; then
22060 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22061 else
22062 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22064 done
22065 rm -f conf$$subs.sh
22067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22068 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22069 _ACEOF
22070 sed -n '
22072 s/^/S["/; s/!.*/"]=/
22075 s/^[^!]*!//
22076 :repl
22077 t repl
22078 s/'"$ac_delim"'$//
22079 t delim
22082 s/\(.\{148\}\)..*/\1/
22083 t more1
22084 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22087 b repl
22088 :more1
22089 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22092 s/.\{148\}//
22093 t nl
22094 :delim
22096 s/\(.\{148\}\)..*/\1/
22097 t more2
22098 s/["\\]/\\&/g; s/^/"/; s/$/"/
22101 :more2
22102 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22105 s/.\{148\}//
22106 t delim
22107 ' <conf$$subs.awk | sed '
22108 /^[^""]/{
22110 s/\n//
22112 ' >>$CONFIG_STATUS || ac_write_fail=1
22113 rm -f conf$$subs.awk
22114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22115 _ACAWK
22116 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22117 for (key in S) S_is_set[key] = 1
22118 FS = "\a"
22122 line = $ 0
22123 nfields = split(line, field, "@")
22124 substed = 0
22125 len = length(field[1])
22126 for (i = 2; i < nfields; i++) {
22127 key = field[i]
22128 keylen = length(key)
22129 if (S_is_set[key]) {
22130 value = S[key]
22131 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22132 len += length(value) + length(field[++i])
22133 substed = 1
22134 } else
22135 len += 1 + keylen
22138 print line
22141 _ACAWK
22142 _ACEOF
22143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22144 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22145 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22146 else
22148 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22149 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22150 _ACEOF
22152 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22153 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22154 # trailing colons and then remove the whole line if VPATH becomes empty
22155 # (actually we leave an empty line to preserve line numbers).
22156 if test "x$srcdir" = x.; then
22157 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22159 s///
22160 s/^/:/
22161 s/[ ]*$/:/
22162 s/:\$(srcdir):/:/g
22163 s/:\${srcdir}:/:/g
22164 s/:@srcdir@:/:/g
22165 s/^:*//
22166 s/:*$//
22168 s/\(=[ ]*\).*/\1/
22170 s/\n//
22171 s/^[^=]*=[ ]*$//
22175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22176 fi # test -n "$CONFIG_FILES"
22178 # Set up the scripts for CONFIG_HEADERS section.
22179 # No need to generate them if there are no CONFIG_HEADERS.
22180 # This happens for instance with `./config.status Makefile'.
22181 if test -n "$CONFIG_HEADERS"; then
22182 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22183 BEGIN {
22184 _ACEOF
22186 # Transform confdefs.h into an awk script `defines.awk', embedded as
22187 # here-document in config.status, that substitutes the proper values into
22188 # config.h.in to produce config.h.
22190 # Create a delimiter string that does not exist in confdefs.h, to ease
22191 # handling of long lines.
22192 ac_delim='%!_!# '
22193 for ac_last_try in false false :; do
22194 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22195 if test -z "$ac_tt"; then
22196 break
22197 elif $ac_last_try; then
22198 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22199 else
22200 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22202 done
22204 # For the awk script, D is an array of macro values keyed by name,
22205 # likewise P contains macro parameters if any. Preserve backslash
22206 # newline sequences.
22208 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22209 sed -n '
22210 s/.\{148\}/&'"$ac_delim"'/g
22211 t rset
22212 :rset
22213 s/^[ ]*#[ ]*define[ ][ ]*/ /
22214 t def
22216 :def
22217 s/\\$//
22218 t bsnl
22219 s/["\\]/\\&/g
22220 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22221 D["\1"]=" \3"/p
22222 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22224 :bsnl
22225 s/["\\]/\\&/g
22226 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22227 D["\1"]=" \3\\\\\\n"\\/p
22228 t cont
22229 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22230 t cont
22232 :cont
22234 s/.\{148\}/&'"$ac_delim"'/g
22235 t clear
22236 :clear
22237 s/\\$//
22238 t bsnlc
22239 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22241 :bsnlc
22242 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22243 b cont
22244 ' <confdefs.h | sed '
22245 s/'"$ac_delim"'/"\\\
22246 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22249 for (key in D) D_is_set[key] = 1
22250 FS = "\a"
22252 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22253 line = \$ 0
22254 split(line, arg, " ")
22255 if (arg[1] == "#") {
22256 defundef = arg[2]
22257 mac1 = arg[3]
22258 } else {
22259 defundef = substr(arg[1], 2)
22260 mac1 = arg[2]
22262 split(mac1, mac2, "(") #)
22263 macro = mac2[1]
22264 prefix = substr(line, 1, index(line, defundef) - 1)
22265 if (D_is_set[macro]) {
22266 # Preserve the white space surrounding the "#".
22267 print prefix "define", macro P[macro] D[macro]
22268 next
22269 } else {
22270 # Replace #undef with comments. This is necessary, for example,
22271 # in the case of _POSIX_SOURCE, which is predefined and required
22272 # on some systems where configure will not decide to define it.
22273 if (defundef == "undef") {
22274 print "/*", prefix defundef, macro, "*/"
22275 next
22279 { print }
22280 _ACAWK
22281 _ACEOF
22282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22283 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22284 fi # test -n "$CONFIG_HEADERS"
22287 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22288 shift
22289 for ac_tag
22291 case $ac_tag in
22292 :[FHLC]) ac_mode=$ac_tag; continue;;
22293 esac
22294 case $ac_mode$ac_tag in
22295 :[FHL]*:*);;
22296 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22297 :[FH]-) ac_tag=-:-;;
22298 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22299 esac
22300 ac_save_IFS=$IFS
22301 IFS=:
22302 set x $ac_tag
22303 IFS=$ac_save_IFS
22304 shift
22305 ac_file=$1
22306 shift
22308 case $ac_mode in
22309 :L) ac_source=$1;;
22310 :[FH])
22311 ac_file_inputs=
22312 for ac_f
22314 case $ac_f in
22315 -) ac_f="$ac_tmp/stdin";;
22316 *) # Look for the file first in the build tree, then in the source tree
22317 # (if the path is not absolute). The absolute path cannot be DOS-style,
22318 # because $ac_f cannot contain `:'.
22319 test -f "$ac_f" ||
22320 case $ac_f in
22321 [\\/$]*) false;;
22322 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22323 esac ||
22324 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22325 esac
22326 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22327 as_fn_append ac_file_inputs " '$ac_f'"
22328 done
22330 # Let's still pretend it is `configure' which instantiates (i.e., don't
22331 # use $as_me), people would be surprised to read:
22332 # /* config.h. Generated by config.status. */
22333 configure_input='Generated from '`
22334 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22335 `' by configure.'
22336 if test x"$ac_file" != x-; then
22337 configure_input="$ac_file. $configure_input"
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22339 $as_echo "$as_me: creating $ac_file" >&6;}
22341 # Neutralize special characters interpreted by sed in replacement strings.
22342 case $configure_input in #(
22343 *\&* | *\|* | *\\* )
22344 ac_sed_conf_input=`$as_echo "$configure_input" |
22345 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22346 *) ac_sed_conf_input=$configure_input;;
22347 esac
22349 case $ac_tag in
22350 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22352 esac
22354 esac
22356 ac_dir=`$as_dirname -- "$ac_file" ||
22357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22358 X"$ac_file" : 'X\(//\)[^/]' \| \
22359 X"$ac_file" : 'X\(//\)$' \| \
22360 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22361 $as_echo X"$ac_file" |
22362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22363 s//\1/
22366 /^X\(\/\/\)[^/].*/{
22367 s//\1/
22370 /^X\(\/\/\)$/{
22371 s//\1/
22374 /^X\(\/\).*/{
22375 s//\1/
22378 s/.*/./; q'`
22379 as_dir="$ac_dir"; as_fn_mkdir_p
22380 ac_builddir=.
22382 case "$ac_dir" in
22383 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22385 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22386 # A ".." for each directory in $ac_dir_suffix.
22387 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22388 case $ac_top_builddir_sub in
22389 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22390 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22391 esac ;;
22392 esac
22393 ac_abs_top_builddir=$ac_pwd
22394 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22395 # for backward compatibility:
22396 ac_top_builddir=$ac_top_build_prefix
22398 case $srcdir in
22399 .) # We are building in place.
22400 ac_srcdir=.
22401 ac_top_srcdir=$ac_top_builddir_sub
22402 ac_abs_top_srcdir=$ac_pwd ;;
22403 [\\/]* | ?:[\\/]* ) # Absolute name.
22404 ac_srcdir=$srcdir$ac_dir_suffix;
22405 ac_top_srcdir=$srcdir
22406 ac_abs_top_srcdir=$srcdir ;;
22407 *) # Relative name.
22408 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22409 ac_top_srcdir=$ac_top_build_prefix$srcdir
22410 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22411 esac
22412 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22415 case $ac_mode in
22418 # CONFIG_FILE
22421 _ACEOF
22423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22424 # If the template does not know about datarootdir, expand it.
22425 # FIXME: This hack should be removed a few years after 2.60.
22426 ac_datarootdir_hack=; ac_datarootdir_seen=
22427 ac_sed_dataroot='
22428 /datarootdir/ {
22432 /@datadir@/p
22433 /@docdir@/p
22434 /@infodir@/p
22435 /@localedir@/p
22436 /@mandir@/p'
22437 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22438 *datarootdir*) ac_datarootdir_seen=yes;;
22439 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22441 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22442 _ACEOF
22443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22444 ac_datarootdir_hack='
22445 s&@datadir@&$datadir&g
22446 s&@docdir@&$docdir&g
22447 s&@infodir@&$infodir&g
22448 s&@localedir@&$localedir&g
22449 s&@mandir@&$mandir&g
22450 s&\\\${datarootdir}&$datarootdir&g' ;;
22451 esac
22452 _ACEOF
22454 # Neutralize VPATH when `$srcdir' = `.'.
22455 # Shell code in configure.ac might set extrasub.
22456 # FIXME: do we really want to maintain this feature?
22457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22458 ac_sed_extra="$ac_vpsub
22459 $extrasub
22460 _ACEOF
22461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22464 s|@configure_input@|$ac_sed_conf_input|;t t
22465 s&@top_builddir@&$ac_top_builddir_sub&;t t
22466 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22467 s&@srcdir@&$ac_srcdir&;t t
22468 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22469 s&@top_srcdir@&$ac_top_srcdir&;t t
22470 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22471 s&@builddir@&$ac_builddir&;t t
22472 s&@abs_builddir@&$ac_abs_builddir&;t t
22473 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22474 $ac_datarootdir_hack
22476 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22477 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22479 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22480 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22481 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22482 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22484 which seems to be undefined. Please make sure it is defined" >&5
22485 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22486 which seems to be undefined. Please make sure it is defined" >&2;}
22488 rm -f "$ac_tmp/stdin"
22489 case $ac_file in
22490 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22491 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22492 esac \
22493 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22497 # CONFIG_HEADER
22499 if test x"$ac_file" != x-; then
22501 $as_echo "/* $configure_input */" \
22502 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22503 } >"$ac_tmp/config.h" \
22504 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22505 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22507 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22508 else
22509 rm -f "$ac_file"
22510 mv "$ac_tmp/config.h" "$ac_file" \
22511 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22513 else
22514 $as_echo "/* $configure_input */" \
22515 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22516 || as_fn_error $? "could not create -" "$LINENO" 5
22521 # CONFIG_LINK
22524 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22526 else
22527 # Prefer the file from the source tree if names are identical.
22528 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22529 ac_source=$srcdir/$ac_source
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22533 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22535 if test ! -r "$ac_source"; then
22536 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22538 rm -f "$ac_file"
22540 # Try a relative symlink, then a hard link, then a copy.
22541 case $ac_source in
22542 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22543 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22544 esac
22545 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22546 ln "$ac_source" "$ac_file" 2>/dev/null ||
22547 cp -p "$ac_source" "$ac_file" ||
22548 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22551 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22552 $as_echo "$as_me: executing $ac_file commands" >&6;}
22554 esac
22557 case $ac_file$ac_mode in
22558 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22559 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22560 "Makefile":C) wine_fn_output_makefile Makefile ;;
22562 esac
22563 done # for ac_tag
22566 as_fn_exit 0
22567 _ACEOF
22568 ac_clean_files=$ac_clean_files_save
22570 test $ac_write_fail = 0 ||
22571 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22574 # configure is writing to config.log, and then calls config.status.
22575 # config.status does its own redirection, appending to config.log.
22576 # Unfortunately, on DOS this fails, as config.log is still kept open
22577 # by configure, so config.status won't be able to write to it; its
22578 # output is simply discarded. So we exec the FD to /dev/null,
22579 # effectively closing config.log, so it can be properly (re)opened and
22580 # appended to by config.status. When coming back to configure, we
22581 # need to make the FD available again.
22582 if test "$no_create" != yes; then
22583 ac_cs_success=:
22584 ac_config_status_args=
22585 test "$silent" = yes &&
22586 ac_config_status_args="$ac_config_status_args --quiet"
22587 exec 5>/dev/null
22588 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22589 exec 5>>config.log
22590 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22591 # would make configure fail if this is the last instruction.
22592 $ac_cs_success || as_fn_exit 1
22594 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22596 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22600 if test "$no_create" = "yes"
22601 then
22602 exit 0
22605 ac_save_IFS="$IFS"
22606 if test "x$wine_notices" != x; then
22607 echo >&6
22608 IFS="|"
22609 for msg in $wine_notices; do
22610 IFS="$ac_save_IFS"
22611 if ${msg:+false} :; then :
22613 else
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22615 $as_echo "$as_me: $msg" >&6;}
22617 done
22619 IFS="|"
22620 for msg in $wine_warnings; do
22621 IFS="$ac_save_IFS"
22622 if ${msg:+false} :; then :
22624 else
22625 echo >&2
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22627 $as_echo "$as_me: WARNING: $msg" >&2;}
22629 done
22630 IFS="$ac_save_IFS"
22632 $as_echo "
22633 $as_me: Finished. Do '${ac_make}' to compile Wine.
22634 " >&6