vbscript: Get rid of no longer needed ITypeInfo in BuiltinDisp.
[wine.git] / configure
blobe3ade280be6c1df0af7631f76b89d07db501e9c6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.17.
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.17'
584 PACKAGE_STRING='Wine 4.17'
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 EXTRACROSSCFLAGS
710 CROSSCFLAGS
711 CROSSCC
712 CROSSTARGET
713 LIBWINE_DEPENDS
714 PRELINK
715 WINELOADER_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_SHAREDLIB
718 METAL_LIBS
719 CARBON_LIBS
720 QUICKTIME_LIBS
721 OPENCL_LIBS
722 OPENAL_LIBS
723 COREAUDIO_LIBS
724 SECURITY_LIBS
725 DISKARBITRATION_LIBS
726 APPKIT_LIBS
727 CORESERVICES_LIBS
728 APPLICATIONSERVICES_LIBS
729 FORCEFEEDBACK_LIBS
730 IOKIT_LIBS
731 COREFOUNDATION_LIBS
732 OBJCPP
733 ac_ct_OBJC
734 OBJCFLAGS
735 OBJC
736 DLLTOOL
737 WINELOADER_PROGRAMS
738 CONFIGURE_TARGETS
739 DISABLED_SUBDIRS
740 SUBDIRS
741 READELF
742 OTOOL
744 WINEPRELOADER_LDFLAGS
745 WINELOADER_LDFLAGS
746 TOP_INSTALL_DEV
747 TOP_INSTALL_LIB
748 LDEXECFLAGS
749 LDDLLFLAGS
750 LDRPATH_LOCAL
751 LDRPATH_INSTALL
752 DLLFLAGS
754 OPENGL_LIBS
755 I386_LIBS
756 ICOTOOL
757 CONVERT
758 RSVG
759 FONTFORGE
760 PKG_CONFIG
761 MSGFMT
762 LDCONFIG
763 EGREP
764 GREP
765 LN_S
766 RANLIB
767 STRIP
768 ac_ct_AR
770 BISON
771 FLEX
772 TOOLSDIR
773 TARGETFLAGS
775 CPPBIN
776 ac_ct_CXX
777 CXXFLAGS
779 OBJEXT
780 EXEEXT
781 ac_ct_CC
782 CPPFLAGS
783 LDFLAGS
784 CFLAGS
786 SET_MAKE
787 host_os
788 host_vendor
789 host_cpu
790 host
791 build_os
792 build_vendor
793 build_cpu
794 build
795 target_alias
796 host_alias
797 build_alias
798 LIBS
799 ECHO_T
800 ECHO_N
801 ECHO_C
802 DEFS
803 mandir
804 localedir
805 libdir
806 psdir
807 pdfdir
808 dvidir
809 htmldir
810 infodir
811 docdir
812 oldincludedir
813 includedir
814 runstatedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_win16
838 enable_win64
839 enable_tests
840 enable_maintainer_mode
841 with_alsa
842 with_capi
843 with_cms
844 with_coreaudio
845 with_cups
846 with_curses
847 with_dbus
848 with_faudio
849 with_float_abi
850 with_fontconfig
851 with_freetype
852 with_gettext
853 with_gettextpo
854 with_gphoto
855 with_glu
856 with_gnutls
857 with_gsm
858 with_gssapi
859 with_gstreamer
860 with_hal
861 with_inotify
862 with_jpeg
863 with_krb5
864 with_ldap
865 with_mingw
866 with_mpg123
867 with_netapi
868 with_openal
869 with_opencl
870 with_opengl
871 with_osmesa
872 with_oss
873 with_pcap
874 with_png
875 with_pthread
876 with_pulse
877 with_sane
878 with_sdl
879 with_tiff
880 with_udev
881 with_unwind
882 with_v4l2
883 with_vkd3d
884 with_vulkan
885 with_xcomposite
886 with_xcursor
887 with_xfixes
888 with_xinerama
889 with_xinput
890 with_xinput2
891 with_xml
892 with_xrandr
893 with_xrender
894 with_xshape
895 with_xshm
896 with_xslt
897 with_xxf86vm
898 with_zlib
899 with_wine_tools
900 with_wine64
901 enable_largefile
902 with_x
903 enable_acledit
904 enable_aclui
905 enable_activeds
906 enable_actxprxy
907 enable_adsiid
908 enable_adsldp
909 enable_adsldpc
910 enable_advapi32
911 enable_advpack
912 enable_amsi
913 enable_amstream
914 enable_api_ms_win_appmodel_identity_l1_1_0
915 enable_api_ms_win_appmodel_runtime_l1_1_1
916 enable_api_ms_win_appmodel_runtime_l1_1_2
917 enable_api_ms_win_core_apiquery_l1_1_0
918 enable_api_ms_win_core_appcompat_l1_1_1
919 enable_api_ms_win_core_appinit_l1_1_0
920 enable_api_ms_win_core_atoms_l1_1_0
921 enable_api_ms_win_core_bem_l1_1_0
922 enable_api_ms_win_core_com_l1_1_0
923 enable_api_ms_win_core_com_l1_1_1
924 enable_api_ms_win_core_com_private_l1_1_0
925 enable_api_ms_win_core_comm_l1_1_0
926 enable_api_ms_win_core_console_l1_1_0
927 enable_api_ms_win_core_console_l2_1_0
928 enable_api_ms_win_core_crt_l1_1_0
929 enable_api_ms_win_core_crt_l2_1_0
930 enable_api_ms_win_core_datetime_l1_1_0
931 enable_api_ms_win_core_datetime_l1_1_1
932 enable_api_ms_win_core_debug_l1_1_0
933 enable_api_ms_win_core_debug_l1_1_1
934 enable_api_ms_win_core_delayload_l1_1_0
935 enable_api_ms_win_core_delayload_l1_1_1
936 enable_api_ms_win_core_errorhandling_l1_1_0
937 enable_api_ms_win_core_errorhandling_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_2
939 enable_api_ms_win_core_errorhandling_l1_1_3
940 enable_api_ms_win_core_fibers_l1_1_0
941 enable_api_ms_win_core_fibers_l1_1_1
942 enable_api_ms_win_core_file_l1_1_0
943 enable_api_ms_win_core_file_l1_2_0
944 enable_api_ms_win_core_file_l1_2_1
945 enable_api_ms_win_core_file_l1_2_2
946 enable_api_ms_win_core_file_l2_1_0
947 enable_api_ms_win_core_file_l2_1_1
948 enable_api_ms_win_core_file_l2_1_2
949 enable_api_ms_win_core_handle_l1_1_0
950 enable_api_ms_win_core_heap_l1_1_0
951 enable_api_ms_win_core_heap_l1_2_0
952 enable_api_ms_win_core_heap_l2_1_0
953 enable_api_ms_win_core_heap_obsolete_l1_1_0
954 enable_api_ms_win_core_interlocked_l1_1_0
955 enable_api_ms_win_core_interlocked_l1_2_0
956 enable_api_ms_win_core_io_l1_1_0
957 enable_api_ms_win_core_io_l1_1_1
958 enable_api_ms_win_core_job_l1_1_0
959 enable_api_ms_win_core_job_l2_1_0
960 enable_api_ms_win_core_kernel32_legacy_l1_1_0
961 enable_api_ms_win_core_kernel32_legacy_l1_1_1
962 enable_api_ms_win_core_kernel32_private_l1_1_1
963 enable_api_ms_win_core_largeinteger_l1_1_0
964 enable_api_ms_win_core_libraryloader_l1_1_0
965 enable_api_ms_win_core_libraryloader_l1_1_1
966 enable_api_ms_win_core_libraryloader_l1_2_0
967 enable_api_ms_win_core_libraryloader_l1_2_1
968 enable_api_ms_win_core_libraryloader_l1_2_2
969 enable_api_ms_win_core_localization_l1_1_0
970 enable_api_ms_win_core_localization_l1_2_0
971 enable_api_ms_win_core_localization_l1_2_1
972 enable_api_ms_win_core_localization_l2_1_0
973 enable_api_ms_win_core_localization_obsolete_l1_1_0
974 enable_api_ms_win_core_localization_obsolete_l1_2_0
975 enable_api_ms_win_core_localization_obsolete_l1_3_0
976 enable_api_ms_win_core_localization_private_l1_1_0
977 enable_api_ms_win_core_localregistry_l1_1_0
978 enable_api_ms_win_core_memory_l1_1_0
979 enable_api_ms_win_core_memory_l1_1_1
980 enable_api_ms_win_core_memory_l1_1_2
981 enable_api_ms_win_core_misc_l1_1_0
982 enable_api_ms_win_core_namedpipe_l1_1_0
983 enable_api_ms_win_core_namedpipe_l1_2_0
984 enable_api_ms_win_core_namespace_l1_1_0
985 enable_api_ms_win_core_normalization_l1_1_0
986 enable_api_ms_win_core_path_l1_1_0
987 enable_api_ms_win_core_privateprofile_l1_1_1
988 enable_api_ms_win_core_processenvironment_l1_1_0
989 enable_api_ms_win_core_processenvironment_l1_2_0
990 enable_api_ms_win_core_processthreads_l1_1_0
991 enable_api_ms_win_core_processthreads_l1_1_1
992 enable_api_ms_win_core_processthreads_l1_1_2
993 enable_api_ms_win_core_processthreads_l1_1_3
994 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
995 enable_api_ms_win_core_profile_l1_1_0
996 enable_api_ms_win_core_psapi_ansi_l1_1_0
997 enable_api_ms_win_core_psapi_l1_1_0
998 enable_api_ms_win_core_psapi_obsolete_l1_1_0
999 enable_api_ms_win_core_quirks_l1_1_0
1000 enable_api_ms_win_core_realtime_l1_1_0
1001 enable_api_ms_win_core_registry_l1_1_0
1002 enable_api_ms_win_core_registry_l2_1_0
1003 enable_api_ms_win_core_registryuserspecific_l1_1_0
1004 enable_api_ms_win_core_rtlsupport_l1_1_0
1005 enable_api_ms_win_core_rtlsupport_l1_2_0
1006 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1007 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1008 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1009 enable_api_ms_win_core_shutdown_l1_1_0
1010 enable_api_ms_win_core_sidebyside_l1_1_0
1011 enable_api_ms_win_core_string_l1_1_0
1012 enable_api_ms_win_core_string_l2_1_0
1013 enable_api_ms_win_core_string_obsolete_l1_1_0
1014 enable_api_ms_win_core_stringansi_l1_1_0
1015 enable_api_ms_win_core_stringloader_l1_1_1
1016 enable_api_ms_win_core_synch_ansi_l1_1_0
1017 enable_api_ms_win_core_synch_l1_1_0
1018 enable_api_ms_win_core_synch_l1_2_0
1019 enable_api_ms_win_core_synch_l1_2_1
1020 enable_api_ms_win_core_sysinfo_l1_1_0
1021 enable_api_ms_win_core_sysinfo_l1_2_0
1022 enable_api_ms_win_core_sysinfo_l1_2_1
1023 enable_api_ms_win_core_threadpool_l1_1_0
1024 enable_api_ms_win_core_threadpool_l1_2_0
1025 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1026 enable_api_ms_win_core_threadpool_private_l1_1_0
1027 enable_api_ms_win_core_timezone_l1_1_0
1028 enable_api_ms_win_core_toolhelp_l1_1_0
1029 enable_api_ms_win_core_url_l1_1_0
1030 enable_api_ms_win_core_util_l1_1_0
1031 enable_api_ms_win_core_version_l1_1_0
1032 enable_api_ms_win_core_version_l1_1_1
1033 enable_api_ms_win_core_version_private_l1_1_0
1034 enable_api_ms_win_core_versionansi_l1_1_0
1035 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1036 enable_api_ms_win_core_winrt_error_l1_1_0
1037 enable_api_ms_win_core_winrt_error_l1_1_1
1038 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1039 enable_api_ms_win_core_winrt_l1_1_0
1040 enable_api_ms_win_core_winrt_registration_l1_1_0
1041 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1042 enable_api_ms_win_core_winrt_string_l1_1_0
1043 enable_api_ms_win_core_winrt_string_l1_1_1
1044 enable_api_ms_win_core_wow64_l1_1_0
1045 enable_api_ms_win_core_wow64_l1_1_1
1046 enable_api_ms_win_core_xstate_l1_1_0
1047 enable_api_ms_win_core_xstate_l2_1_0
1048 enable_api_ms_win_crt_conio_l1_1_0
1049 enable_api_ms_win_crt_convert_l1_1_0
1050 enable_api_ms_win_crt_environment_l1_1_0
1051 enable_api_ms_win_crt_filesystem_l1_1_0
1052 enable_api_ms_win_crt_heap_l1_1_0
1053 enable_api_ms_win_crt_locale_l1_1_0
1054 enable_api_ms_win_crt_math_l1_1_0
1055 enable_api_ms_win_crt_multibyte_l1_1_0
1056 enable_api_ms_win_crt_private_l1_1_0
1057 enable_api_ms_win_crt_process_l1_1_0
1058 enable_api_ms_win_crt_runtime_l1_1_0
1059 enable_api_ms_win_crt_stdio_l1_1_0
1060 enable_api_ms_win_crt_string_l1_1_0
1061 enable_api_ms_win_crt_time_l1_1_0
1062 enable_api_ms_win_crt_utility_l1_1_0
1063 enable_api_ms_win_devices_config_l1_1_0
1064 enable_api_ms_win_devices_config_l1_1_1
1065 enable_api_ms_win_devices_query_l1_1_1
1066 enable_api_ms_win_downlevel_advapi32_l1_1_0
1067 enable_api_ms_win_downlevel_advapi32_l2_1_0
1068 enable_api_ms_win_downlevel_normaliz_l1_1_0
1069 enable_api_ms_win_downlevel_ole32_l1_1_0
1070 enable_api_ms_win_downlevel_shell32_l1_1_0
1071 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1072 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1073 enable_api_ms_win_downlevel_user32_l1_1_0
1074 enable_api_ms_win_downlevel_version_l1_1_0
1075 enable_api_ms_win_dx_d3dkmt_l1_1_0
1076 enable_api_ms_win_eventing_classicprovider_l1_1_0
1077 enable_api_ms_win_eventing_consumer_l1_1_0
1078 enable_api_ms_win_eventing_controller_l1_1_0
1079 enable_api_ms_win_eventing_legacy_l1_1_0
1080 enable_api_ms_win_eventing_provider_l1_1_0
1081 enable_api_ms_win_eventlog_legacy_l1_1_0
1082 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1083 enable_api_ms_win_mm_joystick_l1_1_0
1084 enable_api_ms_win_mm_misc_l1_1_1
1085 enable_api_ms_win_mm_mme_l1_1_0
1086 enable_api_ms_win_mm_time_l1_1_0
1087 enable_api_ms_win_ntuser_dc_access_l1_1_0
1088 enable_api_ms_win_ntuser_rectangle_l1_1_0
1089 enable_api_ms_win_ntuser_sysparams_l1_1_0
1090 enable_api_ms_win_perf_legacy_l1_1_0
1091 enable_api_ms_win_power_base_l1_1_0
1092 enable_api_ms_win_power_setting_l1_1_0
1093 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1096 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1100 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1101 enable_api_ms_win_security_audit_l1_1_1
1102 enable_api_ms_win_security_base_l1_1_0
1103 enable_api_ms_win_security_base_l1_2_0
1104 enable_api_ms_win_security_base_private_l1_1_1
1105 enable_api_ms_win_security_credentials_l1_1_0
1106 enable_api_ms_win_security_cryptoapi_l1_1_0
1107 enable_api_ms_win_security_grouppolicy_l1_1_0
1108 enable_api_ms_win_security_lsalookup_l1_1_0
1109 enable_api_ms_win_security_lsalookup_l1_1_1
1110 enable_api_ms_win_security_lsalookup_l2_1_0
1111 enable_api_ms_win_security_lsalookup_l2_1_1
1112 enable_api_ms_win_security_lsapolicy_l1_1_0
1113 enable_api_ms_win_security_provider_l1_1_0
1114 enable_api_ms_win_security_sddl_l1_1_0
1115 enable_api_ms_win_security_systemfunctions_l1_1_0
1116 enable_api_ms_win_service_core_l1_1_0
1117 enable_api_ms_win_service_core_l1_1_1
1118 enable_api_ms_win_service_management_l1_1_0
1119 enable_api_ms_win_service_management_l2_1_0
1120 enable_api_ms_win_service_private_l1_1_1
1121 enable_api_ms_win_service_winsvc_l1_1_0
1122 enable_api_ms_win_service_winsvc_l1_2_0
1123 enable_api_ms_win_shcore_obsolete_l1_1_0
1124 enable_api_ms_win_shcore_scaling_l1_1_1
1125 enable_api_ms_win_shcore_stream_l1_1_0
1126 enable_api_ms_win_shcore_thread_l1_1_0
1127 enable_api_ms_win_shell_shellcom_l1_1_0
1128 enable_api_ms_win_shell_shellfolders_l1_1_0
1129 enable_apphelp
1130 enable_appwiz_cpl
1131 enable_atl
1132 enable_atl100
1133 enable_atl110
1134 enable_atl80
1135 enable_atl90
1136 enable_atlthunk
1137 enable_atmlib
1138 enable_authz
1139 enable_avicap32
1140 enable_avifil32
1141 enable_avrt
1142 enable_bcrypt
1143 enable_bluetoothapis
1144 enable_browseui
1145 enable_bthprops_cpl
1146 enable_cabinet
1147 enable_capi2032
1148 enable_cards
1149 enable_cdosys
1150 enable_cfgmgr32
1151 enable_clusapi
1152 enable_combase
1153 enable_comcat
1154 enable_comctl32
1155 enable_comdlg32
1156 enable_compstui
1157 enable_comsvcs
1158 enable_concrt140
1159 enable_connect
1160 enable_credui
1161 enable_crtdll
1162 enable_crypt32
1163 enable_cryptdlg
1164 enable_cryptdll
1165 enable_cryptext
1166 enable_cryptnet
1167 enable_cryptui
1168 enable_ctapi32
1169 enable_ctl3d32
1170 enable_d2d1
1171 enable_d3d10
1172 enable_d3d10_1
1173 enable_d3d10core
1174 enable_d3d11
1175 enable_d3d12
1176 enable_d3d8
1177 enable_d3d9
1178 enable_d3dcompiler_33
1179 enable_d3dcompiler_34
1180 enable_d3dcompiler_35
1181 enable_d3dcompiler_36
1182 enable_d3dcompiler_37
1183 enable_d3dcompiler_38
1184 enable_d3dcompiler_39
1185 enable_d3dcompiler_40
1186 enable_d3dcompiler_41
1187 enable_d3dcompiler_42
1188 enable_d3dcompiler_43
1189 enable_d3dcompiler_46
1190 enable_d3dcompiler_47
1191 enable_d3dim
1192 enable_d3drm
1193 enable_d3dx10_33
1194 enable_d3dx10_34
1195 enable_d3dx10_35
1196 enable_d3dx10_36
1197 enable_d3dx10_37
1198 enable_d3dx10_38
1199 enable_d3dx10_39
1200 enable_d3dx10_40
1201 enable_d3dx10_41
1202 enable_d3dx10_42
1203 enable_d3dx10_43
1204 enable_d3dx11_42
1205 enable_d3dx11_43
1206 enable_d3dx9_24
1207 enable_d3dx9_25
1208 enable_d3dx9_26
1209 enable_d3dx9_27
1210 enable_d3dx9_28
1211 enable_d3dx9_29
1212 enable_d3dx9_30
1213 enable_d3dx9_31
1214 enable_d3dx9_32
1215 enable_d3dx9_33
1216 enable_d3dx9_34
1217 enable_d3dx9_35
1218 enable_d3dx9_36
1219 enable_d3dx9_37
1220 enable_d3dx9_38
1221 enable_d3dx9_39
1222 enable_d3dx9_40
1223 enable_d3dx9_41
1224 enable_d3dx9_42
1225 enable_d3dx9_43
1226 enable_d3dxof
1227 enable_davclnt
1228 enable_dbgeng
1229 enable_dbghelp
1230 enable_dciman32
1231 enable_ddraw
1232 enable_ddrawex
1233 enable_devenum
1234 enable_dhcpcsvc
1235 enable_dhtmled_ocx
1236 enable_difxapi
1237 enable_dinput
1238 enable_dinput8
1239 enable_dispex
1240 enable_dmband
1241 enable_dmcompos
1242 enable_dmime
1243 enable_dmloader
1244 enable_dmoguids
1245 enable_dmscript
1246 enable_dmstyle
1247 enable_dmsynth
1248 enable_dmusic
1249 enable_dmusic32
1250 enable_dnsapi
1251 enable_dplay
1252 enable_dplayx
1253 enable_dpnaddr
1254 enable_dpnet
1255 enable_dpnhpast
1256 enable_dpnlobby
1257 enable_dpvoice
1258 enable_dpwsockx
1259 enable_drmclien
1260 enable_dsound
1261 enable_dsquery
1262 enable_dssenh
1263 enable_dswave
1264 enable_dwmapi
1265 enable_dwrite
1266 enable_dx8vb
1267 enable_dxdiagn
1268 enable_dxerr8
1269 enable_dxerr9
1270 enable_dxgi
1271 enable_dxguid
1272 enable_dxva2
1273 enable_esent
1274 enable_evr
1275 enable_explorerframe
1276 enable_ext_ms_win_authz_context_l1_1_0
1277 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1278 enable_ext_ms_win_dwmapi_ext_l1_1_0
1279 enable_ext_ms_win_gdi_dc_create_l1_1_0
1280 enable_ext_ms_win_gdi_dc_create_l1_1_1
1281 enable_ext_ms_win_gdi_dc_l1_2_0
1282 enable_ext_ms_win_gdi_devcaps_l1_1_0
1283 enable_ext_ms_win_gdi_draw_l1_1_0
1284 enable_ext_ms_win_gdi_draw_l1_1_1
1285 enable_ext_ms_win_gdi_font_l1_1_0
1286 enable_ext_ms_win_gdi_font_l1_1_1
1287 enable_ext_ms_win_gdi_render_l1_1_0
1288 enable_ext_ms_win_kernel32_package_current_l1_1_0
1289 enable_ext_ms_win_kernel32_package_l1_1_1
1290 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1291 enable_ext_ms_win_ntuser_draw_l1_1_0
1292 enable_ext_ms_win_ntuser_gui_l1_1_0
1293 enable_ext_ms_win_ntuser_gui_l1_3_0
1294 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1295 enable_ext_ms_win_ntuser_message_l1_1_0
1296 enable_ext_ms_win_ntuser_message_l1_1_1
1297 enable_ext_ms_win_ntuser_misc_l1_1_0
1298 enable_ext_ms_win_ntuser_misc_l1_2_0
1299 enable_ext_ms_win_ntuser_misc_l1_5_1
1300 enable_ext_ms_win_ntuser_mouse_l1_1_0
1301 enable_ext_ms_win_ntuser_private_l1_1_1
1302 enable_ext_ms_win_ntuser_private_l1_3_1
1303 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1304 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1305 enable_ext_ms_win_ntuser_window_l1_1_0
1306 enable_ext_ms_win_ntuser_window_l1_1_1
1307 enable_ext_ms_win_ntuser_window_l1_1_4
1308 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1309 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1310 enable_ext_ms_win_oleacc_l1_1_0
1311 enable_ext_ms_win_ras_rasapi32_l1_1_0
1312 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1313 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1314 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1315 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1316 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1317 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1319 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1322 enable_ext_ms_win_security_credui_l1_1_0
1323 enable_ext_ms_win_security_cryptui_l1_1_0
1324 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1325 enable_ext_ms_win_shell_comdlg32_l1_1_0
1326 enable_ext_ms_win_shell_shell32_l1_2_0
1327 enable_ext_ms_win_uxtheme_themes_l1_1_0
1328 enable_faultrep
1329 enable_feclient
1330 enable_fltlib
1331 enable_fltmgr_sys
1332 enable_fntcache
1333 enable_fontsub
1334 enable_fusion
1335 enable_fwpuclnt
1336 enable_gameux
1337 enable_gdi32
1338 enable_gdiplus
1339 enable_glu32
1340 enable_gphoto2_ds
1341 enable_gpkcsp
1342 enable_hal
1343 enable_hhctrl_ocx
1344 enable_hid
1345 enable_hidclass_sys
1346 enable_hlink
1347 enable_hnetcfg
1348 enable_http_sys
1349 enable_httpapi
1350 enable_iccvid
1351 enable_icmp
1352 enable_ieframe
1353 enable_ieproxy
1354 enable_imaadp32_acm
1355 enable_imagehlp
1356 enable_imm32
1357 enable_inetcomm
1358 enable_inetcpl_cpl
1359 enable_inetmib1
1360 enable_infosoft
1361 enable_initpki
1362 enable_inkobj
1363 enable_inseng
1364 enable_iphlpapi
1365 enable_iprop
1366 enable_irprops_cpl
1367 enable_itircl
1368 enable_itss
1369 enable_joy_cpl
1370 enable_jscript
1371 enable_jsproxy
1372 enable_kerberos
1373 enable_kernel32
1374 enable_kernelbase
1375 enable_ksecdd_sys
1376 enable_ksuser
1377 enable_ktmw32
1378 enable_l3codeca_acm
1379 enable_loadperf
1380 enable_localspl
1381 enable_localui
1382 enable_lz32
1383 enable_mapi32
1384 enable_mapistub
1385 enable_mciavi32
1386 enable_mcicda
1387 enable_mciqtz32
1388 enable_mciseq
1389 enable_mciwave
1390 enable_mf
1391 enable_mf3216
1392 enable_mferror
1393 enable_mfmediaengine
1394 enable_mfplat
1395 enable_mfplay
1396 enable_mfreadwrite
1397 enable_mfuuid
1398 enable_mgmtapi
1399 enable_midimap
1400 enable_mlang
1401 enable_mmcndmgr
1402 enable_mmdevapi
1403 enable_mountmgr_sys
1404 enable_mp3dmod
1405 enable_mpr
1406 enable_mprapi
1407 enable_msacm32_drv
1408 enable_msacm32
1409 enable_msadp32_acm
1410 enable_msasn1
1411 enable_mscat32
1412 enable_mscms
1413 enable_mscoree
1414 enable_mscorwks
1415 enable_msctf
1416 enable_msctfp
1417 enable_msdaps
1418 enable_msdelta
1419 enable_msdmo
1420 enable_msdrm
1421 enable_msftedit
1422 enable_msg711_acm
1423 enable_msgsm32_acm
1424 enable_mshtml_tlb
1425 enable_mshtml
1426 enable_msi
1427 enable_msident
1428 enable_msimg32
1429 enable_msimsg
1430 enable_msimtf
1431 enable_msisip
1432 enable_msisys_ocx
1433 enable_msls31
1434 enable_msnet32
1435 enable_mspatcha
1436 enable_msports
1437 enable_msrle32
1438 enable_msscript_ocx
1439 enable_mssign32
1440 enable_mssip32
1441 enable_mstask
1442 enable_msvcirt
1443 enable_msvcm80
1444 enable_msvcm90
1445 enable_msvcp100
1446 enable_msvcp110
1447 enable_msvcp120
1448 enable_msvcp120_app
1449 enable_msvcp140
1450 enable_msvcp60
1451 enable_msvcp70
1452 enable_msvcp71
1453 enable_msvcp80
1454 enable_msvcp90
1455 enable_msvcr100
1456 enable_msvcr110
1457 enable_msvcr120
1458 enable_msvcr120_app
1459 enable_msvcr70
1460 enable_msvcr71
1461 enable_msvcr80
1462 enable_msvcr90
1463 enable_msvcrt
1464 enable_msvcrt20
1465 enable_msvcrt40
1466 enable_msvcrtd
1467 enable_msvfw32
1468 enable_msvidc32
1469 enable_mswsock
1470 enable_msxml
1471 enable_msxml2
1472 enable_msxml3
1473 enable_msxml4
1474 enable_msxml6
1475 enable_mtxdm
1476 enable_ncrypt
1477 enable_nddeapi
1478 enable_ndis_sys
1479 enable_netapi32
1480 enable_netcfgx
1481 enable_netprofm
1482 enable_newdev
1483 enable_ninput
1484 enable_normaliz
1485 enable_npmshtml
1486 enable_npptools
1487 enable_ntdll
1488 enable_ntdsapi
1489 enable_ntoskrnl_exe
1490 enable_ntprint
1491 enable_objsel
1492 enable_odbc32
1493 enable_odbccp32
1494 enable_odbccu32
1495 enable_ole32
1496 enable_oleacc
1497 enable_oleaut32
1498 enable_olecli32
1499 enable_oledb32
1500 enable_oledlg
1501 enable_olepro32
1502 enable_olesvr32
1503 enable_olethk32
1504 enable_opcservices
1505 enable_openal32
1506 enable_opencl
1507 enable_opengl32
1508 enable_packager
1509 enable_pdh
1510 enable_photometadatahandler
1511 enable_pidgen
1512 enable_powrprof
1513 enable_printui
1514 enable_prntvpt
1515 enable_propsys
1516 enable_psapi
1517 enable_pstorec
1518 enable_qcap
1519 enable_qedit
1520 enable_qmgr
1521 enable_qmgrprxy
1522 enable_quartz
1523 enable_query
1524 enable_qwave
1525 enable_rasapi32
1526 enable_rasdlg
1527 enable_regapi
1528 enable_resutils
1529 enable_riched20
1530 enable_riched32
1531 enable_rpcrt4
1532 enable_rsabase
1533 enable_rsaenh
1534 enable_rstrtmgr
1535 enable_rtutils
1536 enable_samlib
1537 enable_sane_ds
1538 enable_sapi
1539 enable_sas
1540 enable_scarddlg
1541 enable_sccbase
1542 enable_schannel
1543 enable_schedsvc
1544 enable_scrobj
1545 enable_scrrun
1546 enable_scsiport_sys
1547 enable_secur32
1548 enable_security
1549 enable_sensapi
1550 enable_serialui
1551 enable_setupapi
1552 enable_sfc
1553 enable_sfc_os
1554 enable_shcore
1555 enable_shdoclc
1556 enable_shdocvw
1557 enable_shell32
1558 enable_shfolder
1559 enable_shlwapi
1560 enable_slbcsp
1561 enable_slc
1562 enable_snmpapi
1563 enable_softpub
1564 enable_spoolss
1565 enable_srclient
1566 enable_sspicli
1567 enable_stdole2_tlb
1568 enable_stdole32_tlb
1569 enable_sti
1570 enable_strmbase
1571 enable_strmdll
1572 enable_strmiids
1573 enable_svrapi
1574 enable_sxs
1575 enable_t2embed
1576 enable_tapi32
1577 enable_taskschd
1578 enable_tdh
1579 enable_tdi_sys
1580 enable_traffic
1581 enable_twain_32
1582 enable_tzres
1583 enable_ucrtbase
1584 enable_uianimation
1585 enable_uiautomationcore
1586 enable_uiribbon
1587 enable_unicows
1588 enable_updspapi
1589 enable_url
1590 enable_urlmon
1591 enable_usbd_sys
1592 enable_user32
1593 enable_userenv
1594 enable_usp10
1595 enable_utildll
1596 enable_uuid
1597 enable_uxtheme
1598 enable_vbscript
1599 enable_vcomp
1600 enable_vcomp100
1601 enable_vcomp110
1602 enable_vcomp120
1603 enable_vcomp140
1604 enable_vcomp90
1605 enable_vcruntime140
1606 enable_vdmdbg
1607 enable_version
1608 enable_virtdisk
1609 enable_vssapi
1610 enable_vulkan_1
1611 enable_wbemdisp
1612 enable_wbemprox
1613 enable_wdscore
1614 enable_webservices
1615 enable_wer
1616 enable_wevtapi
1617 enable_wiaservc
1618 enable_wimgapi
1619 enable_windowscodecs
1620 enable_windowscodecsext
1621 enable_winealsa_drv
1622 enable_wineandroid_drv
1623 enable_winebus_sys
1624 enable_winecoreaudio_drv
1625 enable_winecrt0
1626 enable_wined3d
1627 enable_winegstreamer
1628 enable_winehid_sys
1629 enable_winejoystick_drv
1630 enable_winemac_drv
1631 enable_winemapi
1632 enable_wineoss_drv
1633 enable_wineps_drv
1634 enable_winepulse_drv
1635 enable_wineqtdecoder
1636 enable_winevulkan
1637 enable_winex11_drv
1638 enable_wing32
1639 enable_winhttp
1640 enable_wininet
1641 enable_winmm
1642 enable_winnls32
1643 enable_winscard
1644 enable_winspool_drv
1645 enable_winsta
1646 enable_wintab32
1647 enable_wintrust
1648 enable_winusb
1649 enable_wlanapi
1650 enable_wlanui
1651 enable_wldap32
1652 enable_wmasf
1653 enable_wmcodecdspuuid
1654 enable_wmi
1655 enable_wmiutils
1656 enable_wmp
1657 enable_wmphoto
1658 enable_wmvcore
1659 enable_wnaspi32
1660 enable_wpc
1661 enable_wpcap
1662 enable_ws2_32
1663 enable_wsdapi
1664 enable_wshom_ocx
1665 enable_wsnmp32
1666 enable_wsock32
1667 enable_wtsapi32
1668 enable_wuapi
1669 enable_wuaueng
1670 enable_x3daudio1_0
1671 enable_x3daudio1_1
1672 enable_x3daudio1_2
1673 enable_x3daudio1_3
1674 enable_x3daudio1_4
1675 enable_x3daudio1_5
1676 enable_x3daudio1_6
1677 enable_x3daudio1_7
1678 enable_xapofx1_1
1679 enable_xapofx1_2
1680 enable_xapofx1_3
1681 enable_xapofx1_4
1682 enable_xapofx1_5
1683 enable_xaudio2_0
1684 enable_xaudio2_1
1685 enable_xaudio2_2
1686 enable_xaudio2_3
1687 enable_xaudio2_4
1688 enable_xaudio2_5
1689 enable_xaudio2_6
1690 enable_xaudio2_7
1691 enable_xaudio2_8
1692 enable_xaudio2_9
1693 enable_xinput1_1
1694 enable_xinput1_2
1695 enable_xinput1_3
1696 enable_xinput1_4
1697 enable_xinput9_1_0
1698 enable_xmllite
1699 enable_xolehlp
1700 enable_xpsprint
1701 enable_xpssvcs
1702 enable_fonts
1703 enable_include
1704 enable_port
1705 enable_wine
1706 enable_wpp
1707 enable_loader
1708 enable_po
1709 enable_arp
1710 enable_aspnet_regiis
1711 enable_attrib
1712 enable_cabarc
1713 enable_cacls
1714 enable_clock
1715 enable_cmd
1716 enable_conhost
1717 enable_control
1718 enable_cscript
1719 enable_dism
1720 enable_dpnsvr
1721 enable_dxdiag
1722 enable_eject
1723 enable_expand
1724 enable_explorer
1725 enable_extrac32
1726 enable_fc
1727 enable_find
1728 enable_findstr
1729 enable_fsutil
1730 enable_hh
1731 enable_hostname
1732 enable_icacls
1733 enable_icinfo
1734 enable_iexplore
1735 enable_ipconfig
1736 enable_lodctr
1737 enable_mofcomp
1738 enable_mshta
1739 enable_msidb
1740 enable_msiexec
1741 enable_msinfo32
1742 enable_net
1743 enable_netsh
1744 enable_netstat
1745 enable_ngen
1746 enable_notepad
1747 enable_oleview
1748 enable_ping
1749 enable_plugplay
1750 enable_powershell
1751 enable_presentationfontcache
1752 enable_progman
1753 enable_reg
1754 enable_regasm
1755 enable_regedit
1756 enable_regini
1757 enable_regsvcs
1758 enable_regsvr32
1759 enable_rpcss
1760 enable_rundll32
1761 enable_sc
1762 enable_schtasks
1763 enable_sdbinst
1764 enable_secedit
1765 enable_servicemodelreg
1766 enable_services
1767 enable_shutdown
1768 enable_spoolsv
1769 enable_start
1770 enable_subst
1771 enable_svchost
1772 enable_systeminfo
1773 enable_taskkill
1774 enable_tasklist
1775 enable_taskmgr
1776 enable_termsv
1777 enable_uninstaller
1778 enable_unlodctr
1779 enable_view
1780 enable_wevtutil
1781 enable_wineboot
1782 enable_winebrowser
1783 enable_winecfg
1784 enable_wineconsole
1785 enable_winedbg
1786 enable_winedevice
1787 enable_winefile
1788 enable_winemenubuilder
1789 enable_winemine
1790 enable_winemsibuilder
1791 enable_winepath
1792 enable_winetest
1793 enable_winhlp32
1794 enable_winmgmt
1795 enable_winver
1796 enable_wmic
1797 enable_wmplayer
1798 enable_wordpad
1799 enable_write
1800 enable_wscript
1801 enable_wuauserv
1802 enable_wusa
1803 enable_xcopy
1804 enable_server
1805 enable_tools
1806 enable_sfnt2fon
1807 enable_widl
1808 enable_winebuild
1809 enable_winedump
1810 enable_winegcc
1811 enable_winemaker
1812 enable_wmc
1813 enable_wrc
1815 ac_precious_vars='build_alias
1816 host_alias
1817 target_alias
1819 CFLAGS
1820 LDFLAGS
1821 LIBS
1822 CPPFLAGS
1824 CXXFLAGS
1827 OBJC
1828 OBJCFLAGS
1829 OBJCPP
1830 XMKMF
1831 XML2_CFLAGS
1832 XML2_LIBS
1833 XSLT_CFLAGS
1834 XSLT_LIBS
1835 INOTIFY_CFLAGS
1836 INOTIFY_LIBS
1837 DBUS_CFLAGS
1838 DBUS_LIBS
1839 HAL_CFLAGS
1840 HAL_LIBS
1841 GNUTLS_CFLAGS
1842 GNUTLS_LIBS
1843 SANE_CFLAGS
1844 SANE_LIBS
1845 GPHOTO2_CFLAGS
1846 GPHOTO2_LIBS
1847 GPHOTO2_PORT_CFLAGS
1848 GPHOTO2_PORT_LIBS
1849 LCMS2_CFLAGS
1850 LCMS2_LIBS
1851 FREETYPE_CFLAGS
1852 FREETYPE_LIBS
1853 Z_CFLAGS
1854 Z_LIBS
1855 PULSE_CFLAGS
1856 PULSE_LIBS
1857 GSTREAMER_CFLAGS
1858 GSTREAMER_LIBS
1859 UDEV_CFLAGS
1860 UDEV_LIBS
1861 UNWIND_CFLAGS
1862 UNWIND_LIBS
1863 SDL2_CFLAGS
1864 SDL2_LIBS
1865 FAUDIO_CFLAGS
1866 FAUDIO_LIBS
1867 CAPI20_CFLAGS
1868 CAPI20_LIBS
1869 CUPS_CFLAGS
1870 CUPS_LIBS
1871 FONTCONFIG_CFLAGS
1872 FONTCONFIG_LIBS
1873 KRB5_CFLAGS
1874 KRB5_LIBS
1875 GSSAPI_CFLAGS
1876 GSSAPI_LIBS
1877 JPEG_CFLAGS
1878 JPEG_LIBS
1879 PNG_CFLAGS
1880 PNG_LIBS
1881 TIFF_CFLAGS
1882 TIFF_LIBS
1883 MPG123_CFLAGS
1884 MPG123_LIBS
1885 NETAPI_CFLAGS
1886 NETAPI_LIBS
1887 VKD3D_CFLAGS
1888 VKD3D_LIBS
1889 LDAP_CFLAGS
1890 LDAP_LIBS'
1893 # Initialize some variables set by options.
1894 ac_init_help=
1895 ac_init_version=false
1896 ac_unrecognized_opts=
1897 ac_unrecognized_sep=
1898 # The variables have the same names as the options, with
1899 # dashes changed to underlines.
1900 cache_file=/dev/null
1901 exec_prefix=NONE
1902 no_create=
1903 no_recursion=
1904 prefix=NONE
1905 program_prefix=NONE
1906 program_suffix=NONE
1907 program_transform_name=s,x,x,
1908 silent=
1909 site=
1910 srcdir=
1911 verbose=
1912 x_includes=NONE
1913 x_libraries=NONE
1915 # Installation directory options.
1916 # These are left unexpanded so users can "make install exec_prefix=/foo"
1917 # and all the variables that are supposed to be based on exec_prefix
1918 # by default will actually change.
1919 # Use braces instead of parens because sh, perl, etc. also accept them.
1920 # (The list follows the same order as the GNU Coding Standards.)
1921 bindir='${exec_prefix}/bin'
1922 sbindir='${exec_prefix}/sbin'
1923 libexecdir='${exec_prefix}/libexec'
1924 datarootdir='${prefix}/share'
1925 datadir='${datarootdir}'
1926 sysconfdir='${prefix}/etc'
1927 sharedstatedir='${prefix}/com'
1928 localstatedir='${prefix}/var'
1929 runstatedir='${localstatedir}/run'
1930 includedir='${prefix}/include'
1931 oldincludedir='/usr/include'
1932 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1933 infodir='${datarootdir}/info'
1934 htmldir='${docdir}'
1935 dvidir='${docdir}'
1936 pdfdir='${docdir}'
1937 psdir='${docdir}'
1938 libdir='${exec_prefix}/lib'
1939 localedir='${datarootdir}/locale'
1940 mandir='${datarootdir}/man'
1942 ac_prev=
1943 ac_dashdash=
1944 for ac_option
1946 # If the previous option needs an argument, assign it.
1947 if test -n "$ac_prev"; then
1948 eval $ac_prev=\$ac_option
1949 ac_prev=
1950 continue
1953 case $ac_option in
1954 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1955 *=) ac_optarg= ;;
1956 *) ac_optarg=yes ;;
1957 esac
1959 # Accept the important Cygnus configure options, so we can diagnose typos.
1961 case $ac_dashdash$ac_option in
1963 ac_dashdash=yes ;;
1965 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1966 ac_prev=bindir ;;
1967 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1968 bindir=$ac_optarg ;;
1970 -build | --build | --buil | --bui | --bu)
1971 ac_prev=build_alias ;;
1972 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1973 build_alias=$ac_optarg ;;
1975 -cache-file | --cache-file | --cache-fil | --cache-fi \
1976 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1977 ac_prev=cache_file ;;
1978 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1979 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1980 cache_file=$ac_optarg ;;
1982 --config-cache | -C)
1983 cache_file=config.cache ;;
1985 -datadir | --datadir | --datadi | --datad)
1986 ac_prev=datadir ;;
1987 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1988 datadir=$ac_optarg ;;
1990 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1991 | --dataroo | --dataro | --datar)
1992 ac_prev=datarootdir ;;
1993 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1994 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1995 datarootdir=$ac_optarg ;;
1997 -disable-* | --disable-*)
1998 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1999 # Reject names that are not valid shell variable names.
2000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2001 as_fn_error $? "invalid feature name: $ac_useropt"
2002 ac_useropt_orig=$ac_useropt
2003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2004 case $ac_user_opts in
2006 "enable_$ac_useropt"
2007 "*) ;;
2008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2009 ac_unrecognized_sep=', ';;
2010 esac
2011 eval enable_$ac_useropt=no ;;
2013 -docdir | --docdir | --docdi | --doc | --do)
2014 ac_prev=docdir ;;
2015 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2016 docdir=$ac_optarg ;;
2018 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2019 ac_prev=dvidir ;;
2020 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2021 dvidir=$ac_optarg ;;
2023 -enable-* | --enable-*)
2024 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2025 # Reject names that are not valid shell variable names.
2026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2027 as_fn_error $? "invalid feature name: $ac_useropt"
2028 ac_useropt_orig=$ac_useropt
2029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2030 case $ac_user_opts in
2032 "enable_$ac_useropt"
2033 "*) ;;
2034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2035 ac_unrecognized_sep=', ';;
2036 esac
2037 eval enable_$ac_useropt=\$ac_optarg ;;
2039 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2040 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2041 | --exec | --exe | --ex)
2042 ac_prev=exec_prefix ;;
2043 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2044 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2045 | --exec=* | --exe=* | --ex=*)
2046 exec_prefix=$ac_optarg ;;
2048 -gas | --gas | --ga | --g)
2049 # Obsolete; use --with-gas.
2050 with_gas=yes ;;
2052 -help | --help | --hel | --he | -h)
2053 ac_init_help=long ;;
2054 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2055 ac_init_help=recursive ;;
2056 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2057 ac_init_help=short ;;
2059 -host | --host | --hos | --ho)
2060 ac_prev=host_alias ;;
2061 -host=* | --host=* | --hos=* | --ho=*)
2062 host_alias=$ac_optarg ;;
2064 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2065 ac_prev=htmldir ;;
2066 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2067 | --ht=*)
2068 htmldir=$ac_optarg ;;
2070 -includedir | --includedir | --includedi | --included | --include \
2071 | --includ | --inclu | --incl | --inc)
2072 ac_prev=includedir ;;
2073 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2074 | --includ=* | --inclu=* | --incl=* | --inc=*)
2075 includedir=$ac_optarg ;;
2077 -infodir | --infodir | --infodi | --infod | --info | --inf)
2078 ac_prev=infodir ;;
2079 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2080 infodir=$ac_optarg ;;
2082 -libdir | --libdir | --libdi | --libd)
2083 ac_prev=libdir ;;
2084 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2085 libdir=$ac_optarg ;;
2087 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2088 | --libexe | --libex | --libe)
2089 ac_prev=libexecdir ;;
2090 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2091 | --libexe=* | --libex=* | --libe=*)
2092 libexecdir=$ac_optarg ;;
2094 -localedir | --localedir | --localedi | --localed | --locale)
2095 ac_prev=localedir ;;
2096 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2097 localedir=$ac_optarg ;;
2099 -localstatedir | --localstatedir | --localstatedi | --localstated \
2100 | --localstate | --localstat | --localsta | --localst | --locals)
2101 ac_prev=localstatedir ;;
2102 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2103 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2104 localstatedir=$ac_optarg ;;
2106 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2107 ac_prev=mandir ;;
2108 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2109 mandir=$ac_optarg ;;
2111 -nfp | --nfp | --nf)
2112 # Obsolete; use --without-fp.
2113 with_fp=no ;;
2115 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2116 | --no-cr | --no-c | -n)
2117 no_create=yes ;;
2119 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2120 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2121 no_recursion=yes ;;
2123 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2124 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2125 | --oldin | --oldi | --old | --ol | --o)
2126 ac_prev=oldincludedir ;;
2127 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2128 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2129 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2130 oldincludedir=$ac_optarg ;;
2132 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2133 ac_prev=prefix ;;
2134 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2135 prefix=$ac_optarg ;;
2137 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2138 | --program-pre | --program-pr | --program-p)
2139 ac_prev=program_prefix ;;
2140 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2141 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2142 program_prefix=$ac_optarg ;;
2144 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2145 | --program-suf | --program-su | --program-s)
2146 ac_prev=program_suffix ;;
2147 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2148 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2149 program_suffix=$ac_optarg ;;
2151 -program-transform-name | --program-transform-name \
2152 | --program-transform-nam | --program-transform-na \
2153 | --program-transform-n | --program-transform- \
2154 | --program-transform | --program-transfor \
2155 | --program-transfo | --program-transf \
2156 | --program-trans | --program-tran \
2157 | --progr-tra | --program-tr | --program-t)
2158 ac_prev=program_transform_name ;;
2159 -program-transform-name=* | --program-transform-name=* \
2160 | --program-transform-nam=* | --program-transform-na=* \
2161 | --program-transform-n=* | --program-transform-=* \
2162 | --program-transform=* | --program-transfor=* \
2163 | --program-transfo=* | --program-transf=* \
2164 | --program-trans=* | --program-tran=* \
2165 | --progr-tra=* | --program-tr=* | --program-t=*)
2166 program_transform_name=$ac_optarg ;;
2168 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2169 ac_prev=pdfdir ;;
2170 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2171 pdfdir=$ac_optarg ;;
2173 -psdir | --psdir | --psdi | --psd | --ps)
2174 ac_prev=psdir ;;
2175 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2176 psdir=$ac_optarg ;;
2178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2179 | -silent | --silent | --silen | --sile | --sil)
2180 silent=yes ;;
2182 -runstatedir | --runstatedir | --runstatedi | --runstated \
2183 | --runstate | --runstat | --runsta | --runst | --runs \
2184 | --run | --ru | --r)
2185 ac_prev=runstatedir ;;
2186 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2187 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2188 | --run=* | --ru=* | --r=*)
2189 runstatedir=$ac_optarg ;;
2191 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2192 ac_prev=sbindir ;;
2193 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2194 | --sbi=* | --sb=*)
2195 sbindir=$ac_optarg ;;
2197 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2198 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2199 | --sharedst | --shareds | --shared | --share | --shar \
2200 | --sha | --sh)
2201 ac_prev=sharedstatedir ;;
2202 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2203 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2204 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2205 | --sha=* | --sh=*)
2206 sharedstatedir=$ac_optarg ;;
2208 -site | --site | --sit)
2209 ac_prev=site ;;
2210 -site=* | --site=* | --sit=*)
2211 site=$ac_optarg ;;
2213 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2214 ac_prev=srcdir ;;
2215 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2216 srcdir=$ac_optarg ;;
2218 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2219 | --syscon | --sysco | --sysc | --sys | --sy)
2220 ac_prev=sysconfdir ;;
2221 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2222 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2223 sysconfdir=$ac_optarg ;;
2225 -target | --target | --targe | --targ | --tar | --ta | --t)
2226 ac_prev=target_alias ;;
2227 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2228 target_alias=$ac_optarg ;;
2230 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2231 verbose=yes ;;
2233 -version | --version | --versio | --versi | --vers | -V)
2234 ac_init_version=: ;;
2236 -with-* | --with-*)
2237 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2238 # Reject names that are not valid shell variable names.
2239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2240 as_fn_error $? "invalid package name: $ac_useropt"
2241 ac_useropt_orig=$ac_useropt
2242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2243 case $ac_user_opts in
2245 "with_$ac_useropt"
2246 "*) ;;
2247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2248 ac_unrecognized_sep=', ';;
2249 esac
2250 eval with_$ac_useropt=\$ac_optarg ;;
2252 -without-* | --without-*)
2253 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2254 # Reject names that are not valid shell variable names.
2255 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2256 as_fn_error $? "invalid package name: $ac_useropt"
2257 ac_useropt_orig=$ac_useropt
2258 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2259 case $ac_user_opts in
2261 "with_$ac_useropt"
2262 "*) ;;
2263 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2264 ac_unrecognized_sep=', ';;
2265 esac
2266 eval with_$ac_useropt=no ;;
2268 --x)
2269 # Obsolete; use --with-x.
2270 with_x=yes ;;
2272 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2273 | --x-incl | --x-inc | --x-in | --x-i)
2274 ac_prev=x_includes ;;
2275 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2276 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2277 x_includes=$ac_optarg ;;
2279 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2280 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2281 ac_prev=x_libraries ;;
2282 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2283 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2284 x_libraries=$ac_optarg ;;
2286 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2287 Try \`$0 --help' for more information"
2290 *=*)
2291 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2292 # Reject names that are not valid shell variable names.
2293 case $ac_envvar in #(
2294 '' | [0-9]* | *[!_$as_cr_alnum]* )
2295 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2296 esac
2297 eval $ac_envvar=\$ac_optarg
2298 export $ac_envvar ;;
2301 # FIXME: should be removed in autoconf 3.0.
2302 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2303 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2304 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2305 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2308 esac
2309 done
2311 if test -n "$ac_prev"; then
2312 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2313 as_fn_error $? "missing argument to $ac_option"
2316 if test -n "$ac_unrecognized_opts"; then
2317 case $enable_option_checking in
2318 no) ;;
2319 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2320 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2321 esac
2324 # Check all directory arguments for consistency.
2325 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2326 datadir sysconfdir sharedstatedir localstatedir includedir \
2327 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2328 libdir localedir mandir runstatedir
2330 eval ac_val=\$$ac_var
2331 # Remove trailing slashes.
2332 case $ac_val in
2333 */ )
2334 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2335 eval $ac_var=\$ac_val;;
2336 esac
2337 # Be sure to have absolute directory names.
2338 case $ac_val in
2339 [\\/$]* | ?:[\\/]* ) continue;;
2340 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2341 esac
2342 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2343 done
2345 # There might be people who depend on the old broken behavior: `$host'
2346 # used to hold the argument of --host etc.
2347 # FIXME: To remove some day.
2348 build=$build_alias
2349 host=$host_alias
2350 target=$target_alias
2352 # FIXME: To remove some day.
2353 if test "x$host_alias" != x; then
2354 if test "x$build_alias" = x; then
2355 cross_compiling=maybe
2356 elif test "x$build_alias" != "x$host_alias"; then
2357 cross_compiling=yes
2361 ac_tool_prefix=
2362 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2364 test "$silent" = yes && exec 6>/dev/null
2367 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2368 ac_ls_di=`ls -di .` &&
2369 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2370 as_fn_error $? "working directory cannot be determined"
2371 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2372 as_fn_error $? "pwd does not report name of working directory"
2375 # Find the source files, if location was not specified.
2376 if test -z "$srcdir"; then
2377 ac_srcdir_defaulted=yes
2378 # Try the directory containing this script, then the parent directory.
2379 ac_confdir=`$as_dirname -- "$as_myself" ||
2380 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2381 X"$as_myself" : 'X\(//\)[^/]' \| \
2382 X"$as_myself" : 'X\(//\)$' \| \
2383 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2384 $as_echo X"$as_myself" |
2385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2386 s//\1/
2389 /^X\(\/\/\)[^/].*/{
2390 s//\1/
2393 /^X\(\/\/\)$/{
2394 s//\1/
2397 /^X\(\/\).*/{
2398 s//\1/
2401 s/.*/./; q'`
2402 srcdir=$ac_confdir
2403 if test ! -r "$srcdir/$ac_unique_file"; then
2404 srcdir=..
2406 else
2407 ac_srcdir_defaulted=no
2409 if test ! -r "$srcdir/$ac_unique_file"; then
2410 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2411 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2413 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2414 ac_abs_confdir=`(
2415 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2416 pwd)`
2417 # When building in place, set srcdir=.
2418 if test "$ac_abs_confdir" = "$ac_pwd"; then
2419 srcdir=.
2421 # Remove unnecessary trailing slashes from srcdir.
2422 # Double slashes in file names in object file debugging info
2423 # mess up M-x gdb in Emacs.
2424 case $srcdir in
2425 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2426 esac
2427 for ac_var in $ac_precious_vars; do
2428 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2429 eval ac_env_${ac_var}_value=\$${ac_var}
2430 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2431 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2432 done
2435 # Report the --help message.
2437 if test "$ac_init_help" = "long"; then
2438 # Omit some internal or obsolete options to make the list less imposing.
2439 # This message is too long to be a string in the A/UX 3.1 sh.
2440 cat <<_ACEOF
2441 \`configure' configures Wine 4.17 to adapt to many kinds of systems.
2443 Usage: $0 [OPTION]... [VAR=VALUE]...
2445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2446 VAR=VALUE. See below for descriptions of some of the useful variables.
2448 Defaults for the options are specified in brackets.
2450 Configuration:
2451 -h, --help display this help and exit
2452 --help=short display options specific to this package
2453 --help=recursive display the short help of all the included packages
2454 -V, --version display version information and exit
2455 -q, --quiet, --silent do not print \`checking ...' messages
2456 --cache-file=FILE cache test results in FILE [disabled]
2457 -C, --config-cache alias for \`--cache-file=config.cache'
2458 -n, --no-create do not create output files
2459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2461 Installation directories:
2462 --prefix=PREFIX install architecture-independent files in PREFIX
2463 [$ac_default_prefix]
2464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2465 [PREFIX]
2467 By default, \`make install' will install all the files in
2468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2470 for instance \`--prefix=\$HOME'.
2472 For better control, use the options below.
2474 Fine tuning of the installation directories:
2475 --bindir=DIR user executables [EPREFIX/bin]
2476 --sbindir=DIR system admin executables [EPREFIX/sbin]
2477 --libexecdir=DIR program executables [EPREFIX/libexec]
2478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2481 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2482 --libdir=DIR object code libraries [EPREFIX/lib]
2483 --includedir=DIR C header files [PREFIX/include]
2484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2487 --infodir=DIR info documentation [DATAROOTDIR/info]
2488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2489 --mandir=DIR man documentation [DATAROOTDIR/man]
2490 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2491 --htmldir=DIR html documentation [DOCDIR]
2492 --dvidir=DIR dvi documentation [DOCDIR]
2493 --pdfdir=DIR pdf documentation [DOCDIR]
2494 --psdir=DIR ps documentation [DOCDIR]
2495 _ACEOF
2497 cat <<\_ACEOF
2499 X features:
2500 --x-includes=DIR X include files are in DIR
2501 --x-libraries=DIR X library files are in DIR
2503 System types:
2504 --build=BUILD configure for building on BUILD [guessed]
2505 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2506 _ACEOF
2509 if test -n "$ac_init_help"; then
2510 case $ac_init_help in
2511 short | recursive ) echo "Configuration of Wine 4.17:";;
2512 esac
2513 cat <<\_ACEOF
2515 Optional Features:
2516 --disable-option-checking ignore unrecognized --enable/--with options
2517 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2518 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2519 --disable-win16 do not include Win16 support
2520 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2521 binaries)
2522 --disable-tests do not build the regression tests
2523 --enable-maintainer-mode
2524 enable maintainer-specific build rules
2525 --disable-largefile omit support for large files
2527 Optional Packages:
2528 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2529 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2530 --without-alsa do not use the Alsa sound support
2531 --without-capi do not use CAPI (ISDN support)
2532 --without-cms do not use CMS (color management support)
2533 --without-coreaudio do not use the CoreAudio sound support
2534 --without-cups do not use CUPS
2535 --without-curses do not use (n)curses
2536 --without-dbus do not use DBus (dynamic device support)
2537 --without-faudio do not use FAudio (XAudio2 support)
2538 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2539 --without-fontconfig do not use fontconfig
2540 --without-freetype do not use the FreeType library
2541 --without-gettext do not use gettext
2542 --with-gettextpo use the GetTextPO library to rebuild po files
2543 --without-gphoto do not use gphoto (Digital Camera support)
2544 --without-glu do not use the GLU library
2545 --without-gnutls do not use GnuTLS (schannel support)
2546 --without-gsm do not use libgsm (GSM 06.10 codec support)
2547 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2548 --without-gstreamer do not use GStreamer (codecs support)
2549 --without-hal do not use HAL (dynamic device support)
2550 --without-inotify do not use inotify (filesystem change notifications)
2551 --without-jpeg do not use JPEG
2552 --without-krb5 do not use krb5 (Kerberos)
2553 --without-ldap do not use LDAP
2554 --without-mingw do not use the MinGW cross-compiler
2555 --without-mpg123 do not use the mpg123 library
2556 --without-netapi do not use the Samba NetAPI library
2557 --without-openal do not use OpenAL
2558 --without-opencl do not use OpenCL
2559 --without-opengl do not use OpenGL
2560 --without-osmesa do not use the OSMesa library
2561 --without-oss do not use the OSS sound support
2562 --without-pcap do not use the Packet Capture library
2563 --without-png do not use PNG
2564 --without-pthread do not use the pthread library
2565 --without-pulse do not use PulseAudio sound support
2566 --without-sane do not use SANE (scanner support)
2567 --without-sdl do not use SDL
2568 --without-tiff do not use TIFF
2569 --without-udev do not use udev (plug and play support)
2570 --without-unwind do not use the libunwind library (exception
2571 handling)
2572 --without-v4l2 do not use v4l2 (video capture)
2573 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2574 --without-vulkan do not use Vulkan
2575 --without-xcomposite do not use the Xcomposite extension
2576 --without-xcursor do not use the Xcursor extension
2577 --without-xfixes do not use Xfixes for clipboard change notifications
2578 --without-xinerama do not use Xinerama (multi-monitor support)
2579 --without-xinput do not use the Xinput extension
2580 --without-xinput2 do not use the Xinput 2 extension
2581 --without-xml do not use XML
2582 --without-xrandr do not use Xrandr (resolution changes)
2583 --without-xrender do not use the Xrender extension
2584 --without-xshape do not use the Xshape extension
2585 --without-xshm do not use XShm (shared memory extension)
2586 --without-xslt do not use XSLT
2587 --without-xxf86vm do not use XFree video mode extension
2588 --without-zlib do not use Zlib (data compression)
2589 --with-wine-tools=DIR use Wine tools from directory DIR
2590 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2591 --with-x use the X Window System
2593 Some influential environment variables:
2594 CC C compiler command
2595 CFLAGS C compiler flags
2596 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2597 nonstandard directory <lib dir>
2598 LIBS libraries to pass to the linker, e.g. -l<library>
2599 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2600 you have headers in a nonstandard directory <include dir>
2601 CXX C++ compiler command
2602 CXXFLAGS C++ compiler flags
2603 CPP C preprocessor
2604 OBJC Objective C compiler command
2605 OBJCFLAGS Objective C compiler flags
2606 OBJCPP Objective C preprocessor
2607 XMKMF Path to xmkmf, Makefile generator for X Window System
2608 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2609 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2610 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2611 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2612 INOTIFY_CFLAGS
2613 C compiler flags for libinotify, overriding pkg-config
2614 INOTIFY_LIBS
2615 Linker flags for libinotify, overriding pkg-config
2616 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2617 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2618 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2619 HAL_LIBS Linker flags for hal, overriding pkg-config
2620 GNUTLS_CFLAGS
2621 C compiler flags for gnutls, overriding pkg-config
2622 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2623 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2624 SANE_LIBS Linker flags for libsane, overriding pkg-config
2625 GPHOTO2_CFLAGS
2626 C compiler flags for libgphoto2, overriding pkg-config
2627 GPHOTO2_LIBS
2628 Linker flags for libgphoto2, overriding pkg-config
2629 GPHOTO2_PORT_CFLAGS
2630 C compiler flags for libgphoto2_port, overriding pkg-config
2631 GPHOTO2_PORT_LIBS
2632 Linker flags for libgphoto2_port, overriding pkg-config
2633 LCMS2_CFLAGS
2634 C compiler flags for lcms2, overriding pkg-config
2635 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2636 FREETYPE_CFLAGS
2637 C compiler flags for freetype2, overriding pkg-config
2638 FREETYPE_LIBS
2639 Linker flags for freetype2, overriding pkg-config
2640 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2641 Z_LIBS Linker flags for libz, overriding pkg-config
2642 PULSE_CFLAGS
2643 C compiler flags for libpulse, overriding pkg-config
2644 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2645 GSTREAMER_CFLAGS
2646 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2647 gstreamer-audio-1.0, overriding pkg-config
2648 GSTREAMER_LIBS
2649 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2650 gstreamer-audio-1.0, overriding pkg-config
2651 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2652 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2653 UNWIND_CFLAGS
2654 C compiler flags for libunwind, overriding pkg-config
2655 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2656 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2657 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2658 FAUDIO_CFLAGS
2659 C compiler flags for faudio, overriding pkg-config
2660 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2661 CAPI20_CFLAGS
2662 C compiler flags for capi20, overriding pkg-config
2663 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2664 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2665 CUPS_LIBS Linker flags for cups, overriding pkg-config
2666 FONTCONFIG_CFLAGS
2667 C compiler flags for fontconfig, overriding pkg-config
2668 FONTCONFIG_LIBS
2669 Linker flags for fontconfig, overriding pkg-config
2670 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2671 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2672 GSSAPI_CFLAGS
2673 C compiler flags for krb5-gssapi, overriding pkg-config
2674 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2675 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2676 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2677 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2678 PNG_LIBS Linker flags for libpng, overriding pkg-config
2679 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2680 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2681 MPG123_CFLAGS
2682 C compiler flags for libmpg123, overriding pkg-config
2683 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2684 NETAPI_CFLAGS
2685 C compiler flags for netapi, overriding pkg-config
2686 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2687 VKD3D_CFLAGS
2688 C compiler flags for libvkd3d, overriding pkg-config
2689 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2690 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2691 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2693 Use these variables to override the choices made by `configure' or to help
2694 it to find libraries and programs with nonstandard names/locations.
2696 Report bugs to <wine-devel@winehq.org>.
2697 Wine home page: <https://www.winehq.org>.
2698 _ACEOF
2699 ac_status=$?
2702 if test "$ac_init_help" = "recursive"; then
2703 # If there are subdirs, report their specific --help.
2704 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2705 test -d "$ac_dir" ||
2706 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2707 continue
2708 ac_builddir=.
2710 case "$ac_dir" in
2711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2714 # A ".." for each directory in $ac_dir_suffix.
2715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2716 case $ac_top_builddir_sub in
2717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2719 esac ;;
2720 esac
2721 ac_abs_top_builddir=$ac_pwd
2722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2723 # for backward compatibility:
2724 ac_top_builddir=$ac_top_build_prefix
2726 case $srcdir in
2727 .) # We are building in place.
2728 ac_srcdir=.
2729 ac_top_srcdir=$ac_top_builddir_sub
2730 ac_abs_top_srcdir=$ac_pwd ;;
2731 [\\/]* | ?:[\\/]* ) # Absolute name.
2732 ac_srcdir=$srcdir$ac_dir_suffix;
2733 ac_top_srcdir=$srcdir
2734 ac_abs_top_srcdir=$srcdir ;;
2735 *) # Relative name.
2736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2737 ac_top_srcdir=$ac_top_build_prefix$srcdir
2738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2739 esac
2740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2742 cd "$ac_dir" || { ac_status=$?; continue; }
2743 # Check for guested configure.
2744 if test -f "$ac_srcdir/configure.gnu"; then
2745 echo &&
2746 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2747 elif test -f "$ac_srcdir/configure"; then
2748 echo &&
2749 $SHELL "$ac_srcdir/configure" --help=recursive
2750 else
2751 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2752 fi || ac_status=$?
2753 cd "$ac_pwd" || { ac_status=$?; break; }
2754 done
2757 test -n "$ac_init_help" && exit $ac_status
2758 if $ac_init_version; then
2759 cat <<\_ACEOF
2760 Wine configure 4.17
2761 generated by GNU Autoconf 2.69
2763 Copyright (C) 2012 Free Software Foundation, Inc.
2764 This configure script is free software; the Free Software Foundation
2765 gives unlimited permission to copy, distribute and modify it.
2766 _ACEOF
2767 exit
2770 ## ------------------------ ##
2771 ## Autoconf initialization. ##
2772 ## ------------------------ ##
2774 # ac_fn_c_try_compile LINENO
2775 # --------------------------
2776 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2777 ac_fn_c_try_compile ()
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 rm -f conftest.$ac_objext
2781 if { { ac_try="$ac_compile"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_compile") 2>conftest.err
2789 ac_status=$?
2790 if test -s conftest.err; then
2791 grep -v '^ *+' conftest.err >conftest.er1
2792 cat conftest.er1 >&5
2793 mv -f conftest.er1 conftest.err
2795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2796 test $ac_status = 0; } && {
2797 test -z "$ac_c_werror_flag" ||
2798 test ! -s conftest.err
2799 } && test -s conftest.$ac_objext; then :
2800 ac_retval=0
2801 else
2802 $as_echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_compile
2812 # ac_fn_cxx_try_compile LINENO
2813 # ----------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_cxx_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext
2819 if { { ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then :
2838 ac_retval=0
2839 else
2840 $as_echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=1
2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 as_fn_set_status $ac_retval
2848 } # ac_fn_cxx_try_compile
2850 # ac_fn_c_try_link LINENO
2851 # -----------------------
2852 # Try to link conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_c_try_link ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext conftest$ac_exeext
2857 if { { ac_try="$ac_link"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_link") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_c_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest$ac_exeext && {
2876 test "$cross_compiling" = yes ||
2877 test -x conftest$ac_exeext
2878 }; then :
2879 ac_retval=0
2880 else
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_retval=1
2886 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2887 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2888 # interfere with the next link command; also delete a directory that is
2889 # left behind by Apple's compiler. We do this before executing the actions.
2890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2892 as_fn_set_status $ac_retval
2894 } # ac_fn_c_try_link
2896 # ac_fn_c_try_cpp LINENO
2897 # ----------------------
2898 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2899 ac_fn_c_try_cpp ()
2901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2902 if { { ac_try="$ac_cpp conftest.$ac_ext"
2903 case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908 $as_echo "$ac_try_echo"; } >&5
2909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2910 ac_status=$?
2911 if test -s conftest.err; then
2912 grep -v '^ *+' conftest.err >conftest.er1
2913 cat conftest.er1 >&5
2914 mv -f conftest.er1 conftest.err
2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917 test $ac_status = 0; } > conftest.i && {
2918 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 }; then :
2921 ac_retval=0
2922 else
2923 $as_echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2926 ac_retval=1
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 as_fn_set_status $ac_retval
2931 } # ac_fn_c_try_cpp
2933 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2934 # -------------------------------------------------------
2935 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2936 # the include files in INCLUDES and setting the cache variable VAR
2937 # accordingly.
2938 ac_fn_c_check_header_mongrel ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 if eval \${$3+:} false; then :
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 eval ac_res=\$$3
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2949 $as_echo "$ac_res" >&6; }
2950 else
2951 # Is the header compilable?
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2953 $as_echo_n "checking $2 usability... " >&6; }
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2957 #include <$2>
2958 _ACEOF
2959 if ac_fn_c_try_compile "$LINENO"; then :
2960 ac_header_compiler=yes
2961 else
2962 ac_header_compiler=no
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2966 $as_echo "$ac_header_compiler" >&6; }
2968 # Is the header present?
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2970 $as_echo_n "checking $2 presence... " >&6; }
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2973 #include <$2>
2974 _ACEOF
2975 if ac_fn_c_try_cpp "$LINENO"; then :
2976 ac_header_preproc=yes
2977 else
2978 ac_header_preproc=no
2980 rm -f conftest.err conftest.i conftest.$ac_ext
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2982 $as_echo "$ac_header_preproc" >&6; }
2984 # So? What about this header?
2985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2986 yes:no: )
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2988 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2990 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2992 no:yes:* )
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2994 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2996 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2998 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3000 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3002 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3003 ( $as_echo "## ------------------------------------ ##
3004 ## Report this to wine-devel@winehq.org ##
3005 ## ------------------------------------ ##"
3006 ) | sed "s/^/$as_me: WARNING: /" >&2
3008 esac
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3010 $as_echo_n "checking for $2... " >&6; }
3011 if eval \${$3+:} false; then :
3012 $as_echo_n "(cached) " >&6
3013 else
3014 eval "$3=\$ac_header_compiler"
3016 eval ac_res=\$$3
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3018 $as_echo "$ac_res" >&6; }
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3022 } # ac_fn_c_check_header_mongrel
3024 # ac_fn_c_try_run LINENO
3025 # ----------------------
3026 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3027 # that executables *can* be run.
3028 ac_fn_c_try_run ()
3030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3031 if { { ac_try="$ac_link"
3032 case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3035 esac
3036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3037 $as_echo "$ac_try_echo"; } >&5
3038 (eval "$ac_link") 2>&5
3039 ac_status=$?
3040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3041 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3042 { { case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_try") 2>&5
3049 ac_status=$?
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; }; }; then :
3052 ac_retval=0
3053 else
3054 $as_echo "$as_me: program exited with status $ac_status" >&5
3055 $as_echo "$as_me: failed program was:" >&5
3056 sed 's/^/| /' conftest.$ac_ext >&5
3058 ac_retval=$ac_status
3060 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3061 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 as_fn_set_status $ac_retval
3064 } # ac_fn_c_try_run
3066 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3067 # -------------------------------------------------------
3068 # Tests whether HEADER exists and can be compiled using the include files in
3069 # INCLUDES, setting the cache variable VAR accordingly.
3070 ac_fn_c_check_header_compile ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3074 $as_echo_n "checking for $2... " >&6; }
3075 if eval \${$3+:} false; then :
3076 $as_echo_n "(cached) " >&6
3077 else
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3081 #include <$2>
3082 _ACEOF
3083 if ac_fn_c_try_compile "$LINENO"; then :
3084 eval "$3=yes"
3085 else
3086 eval "$3=no"
3088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090 eval ac_res=\$$3
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_header_compile
3097 # ac_fn_objc_try_compile LINENO
3098 # -----------------------------
3099 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3100 ac_fn_objc_try_compile ()
3102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103 rm -f conftest.$ac_objext
3104 if { { ac_try="$ac_compile"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_compile") 2>conftest.err
3112 ac_status=$?
3113 if test -s conftest.err; then
3114 grep -v '^ *+' conftest.err >conftest.er1
3115 cat conftest.er1 >&5
3116 mv -f conftest.er1 conftest.err
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } && {
3120 test -z "$ac_objc_werror_flag" ||
3121 test ! -s conftest.err
3122 } && test -s conftest.$ac_objext; then :
3123 ac_retval=0
3124 else
3125 $as_echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 ac_retval=1
3130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3131 as_fn_set_status $ac_retval
3133 } # ac_fn_objc_try_compile
3135 # ac_fn_objc_try_cpp LINENO
3136 # -------------------------
3137 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3138 ac_fn_objc_try_cpp ()
3140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3141 if { { ac_try="$ac_cpp conftest.$ac_ext"
3142 case "(($ac_try" in
3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144 *) ac_try_echo=$ac_try;;
3145 esac
3146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3147 $as_echo "$ac_try_echo"; } >&5
3148 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3149 ac_status=$?
3150 if test -s conftest.err; then
3151 grep -v '^ *+' conftest.err >conftest.er1
3152 cat conftest.er1 >&5
3153 mv -f conftest.er1 conftest.err
3155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3156 test $ac_status = 0; } > conftest.i && {
3157 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3158 test ! -s conftest.err
3159 }; then :
3160 ac_retval=0
3161 else
3162 $as_echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3165 ac_retval=1
3167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 as_fn_set_status $ac_retval
3170 } # ac_fn_objc_try_cpp
3172 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3173 # ----------------------------------------------------------
3174 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3175 # the include files in INCLUDES and setting the cache variable VAR
3176 # accordingly.
3177 ac_fn_objc_check_header_mongrel ()
3179 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3180 if eval \${$3+:} false; then :
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3182 $as_echo_n "checking for $2... " >&6; }
3183 if eval \${$3+:} false; then :
3184 $as_echo_n "(cached) " >&6
3186 eval ac_res=\$$3
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3188 $as_echo "$ac_res" >&6; }
3189 else
3190 # Is the header compilable?
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3192 $as_echo_n "checking $2 usability... " >&6; }
3193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194 /* end confdefs.h. */
3196 #include <$2>
3197 _ACEOF
3198 if ac_fn_objc_try_compile "$LINENO"; then :
3199 ac_header_compiler=yes
3200 else
3201 ac_header_compiler=no
3203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3205 $as_echo "$ac_header_compiler" >&6; }
3207 # Is the header present?
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3209 $as_echo_n "checking $2 presence... " >&6; }
3210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3211 /* end confdefs.h. */
3212 #include <$2>
3213 _ACEOF
3214 if ac_fn_objc_try_cpp "$LINENO"; then :
3215 ac_header_preproc=yes
3216 else
3217 ac_header_preproc=no
3219 rm -f conftest.err conftest.i conftest.$ac_ext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3221 $as_echo "$ac_header_preproc" >&6; }
3223 # So? What about this header?
3224 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3225 yes:no: )
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3227 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3231 no:yes:* )
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3233 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3235 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3237 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3239 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3242 ( $as_echo "## ------------------------------------ ##
3243 ## Report this to wine-devel@winehq.org ##
3244 ## ------------------------------------ ##"
3245 ) | sed "s/^/$as_me: WARNING: /" >&2
3247 esac
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3249 $as_echo_n "checking for $2... " >&6; }
3250 if eval \${$3+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 eval "$3=\$ac_header_compiler"
3255 eval ac_res=\$$3
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3259 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3261 } # ac_fn_objc_check_header_mongrel
3263 # ac_fn_c_check_func LINENO FUNC VAR
3264 # ----------------------------------
3265 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3266 ac_fn_c_check_func ()
3268 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \${$3+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3276 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3278 #define $2 innocuous_$2
3280 /* System header to define __stub macros and hopefully few prototypes,
3281 which can conflict with char $2 (); below.
3282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3283 <limits.h> exists even on freestanding compilers. */
3285 #ifdef __STDC__
3286 # include <limits.h>
3287 #else
3288 # include <assert.h>
3289 #endif
3291 #undef $2
3293 /* Override any GCC internal prototype to avoid an error.
3294 Use char because int might match the return type of a GCC
3295 builtin and then its argument prototype would still apply. */
3296 #ifdef __cplusplus
3297 extern "C"
3298 #endif
3299 char $2 ();
3300 /* The GNU C library defines this for functions which it implements
3301 to always fail with ENOSYS. Some functions are actually named
3302 something starting with __ and the normal name is an alias. */
3303 #if defined __stub_$2 || defined __stub___$2
3304 choke me
3305 #endif
3308 main ()
3310 return $2 ();
3312 return 0;
3314 _ACEOF
3315 if ac_fn_c_try_link "$LINENO"; then :
3316 eval "$3=yes"
3317 else
3318 eval "$3=no"
3320 rm -f core conftest.err conftest.$ac_objext \
3321 conftest$ac_exeext conftest.$ac_ext
3323 eval ac_res=\$$3
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3325 $as_echo "$ac_res" >&6; }
3326 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3328 } # ac_fn_c_check_func
3330 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3331 # ----------------------------------------------------
3332 # Tries to find if the field MEMBER exists in type AGGR, after including
3333 # INCLUDES, setting cache variable VAR accordingly.
3334 ac_fn_c_check_member ()
3336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3338 $as_echo_n "checking for $2.$3... " >&6; }
3339 if eval \${$4+:} false; then :
3340 $as_echo_n "(cached) " >&6
3341 else
3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h. */
3346 main ()
3348 static $2 ac_aggr;
3349 if (ac_aggr.$3)
3350 return 0;
3352 return 0;
3354 _ACEOF
3355 if ac_fn_c_try_compile "$LINENO"; then :
3356 eval "$4=yes"
3357 else
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3362 main ()
3364 static $2 ac_aggr;
3365 if (sizeof ac_aggr.$3)
3366 return 0;
3368 return 0;
3370 _ACEOF
3371 if ac_fn_c_try_compile "$LINENO"; then :
3372 eval "$4=yes"
3373 else
3374 eval "$4=no"
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 eval ac_res=\$$4
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3382 $as_echo "$ac_res" >&6; }
3383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3385 } # ac_fn_c_check_member
3387 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3388 # -------------------------------------------
3389 # Tests whether TYPE exists after having included INCLUDES, setting cache
3390 # variable VAR accordingly.
3391 ac_fn_c_check_type ()
3393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3395 $as_echo_n "checking for $2... " >&6; }
3396 if eval \${$3+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 eval "$3=no"
3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401 /* end confdefs.h. */
3404 main ()
3406 if (sizeof ($2))
3407 return 0;
3409 return 0;
3411 _ACEOF
3412 if ac_fn_c_try_compile "$LINENO"; then :
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3417 main ()
3419 if (sizeof (($2)))
3420 return 0;
3422 return 0;
3424 _ACEOF
3425 if ac_fn_c_try_compile "$LINENO"; then :
3427 else
3428 eval "$3=yes"
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 eval ac_res=\$$3
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3436 $as_echo "$ac_res" >&6; }
3437 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3439 } # ac_fn_c_check_type
3440 cat >config.log <<_ACEOF
3441 This file contains any messages produced by compilers while
3442 running configure, to aid debugging if configure makes a mistake.
3444 It was created by Wine $as_me 4.17, which was
3445 generated by GNU Autoconf 2.69. Invocation command line was
3447 $ $0 $@
3449 _ACEOF
3450 exec 5>>config.log
3452 cat <<_ASUNAME
3453 ## --------- ##
3454 ## Platform. ##
3455 ## --------- ##
3457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3474 _ASUNAME
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH
3479 IFS=$as_save_IFS
3480 test -z "$as_dir" && as_dir=.
3481 $as_echo "PATH: $as_dir"
3482 done
3483 IFS=$as_save_IFS
3485 } >&5
3487 cat >&5 <<_ACEOF
3490 ## ----------- ##
3491 ## Core tests. ##
3492 ## ----------- ##
3494 _ACEOF
3497 # Keep a trace of the command line.
3498 # Strip out --no-create and --no-recursion so they do not pile up.
3499 # Strip out --silent because we don't want to record it for future runs.
3500 # Also quote any args containing shell meta-characters.
3501 # Make two passes to allow for proper duplicate-argument suppression.
3502 ac_configure_args=
3503 ac_configure_args0=
3504 ac_configure_args1=
3505 ac_must_keep_next=false
3506 for ac_pass in 1 2
3508 for ac_arg
3510 case $ac_arg in
3511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3513 | -silent | --silent | --silen | --sile | --sil)
3514 continue ;;
3515 *\'*)
3516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3517 esac
3518 case $ac_pass in
3519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3521 as_fn_append ac_configure_args1 " '$ac_arg'"
3522 if test $ac_must_keep_next = true; then
3523 ac_must_keep_next=false # Got value, back to normal.
3524 else
3525 case $ac_arg in
3526 *=* | --config-cache | -C | -disable-* | --disable-* \
3527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3529 | -with-* | --with-* | -without-* | --without-* | --x)
3530 case "$ac_configure_args0 " in
3531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3532 esac
3534 -* ) ac_must_keep_next=true ;;
3535 esac
3537 as_fn_append ac_configure_args " '$ac_arg'"
3539 esac
3540 done
3541 done
3542 { ac_configure_args0=; unset ac_configure_args0;}
3543 { ac_configure_args1=; unset ac_configure_args1;}
3545 # When interrupted or exit'd, cleanup temporary files, and complete
3546 # config.log. We remove comments because anyway the quotes in there
3547 # would cause problems or look ugly.
3548 # WARNING: Use '\'' to represent an apostrophe within the trap.
3549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3550 trap 'exit_status=$?
3551 # Save into config.log some information that might help in debugging.
3553 echo
3555 $as_echo "## ---------------- ##
3556 ## Cache variables. ##
3557 ## ---------------- ##"
3558 echo
3559 # The following way of writing the cache mishandles newlines in values,
3561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3562 eval ac_val=\$$ac_var
3563 case $ac_val in #(
3564 *${as_nl}*)
3565 case $ac_var in #(
3566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3568 esac
3569 case $ac_var in #(
3570 _ | IFS | as_nl) ;; #(
3571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3572 *) { eval $ac_var=; unset $ac_var;} ;;
3573 esac ;;
3574 esac
3575 done
3576 (set) 2>&1 |
3577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3578 *${as_nl}ac_space=\ *)
3579 sed -n \
3580 "s/'\''/'\''\\\\'\'''\''/g;
3581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3582 ;; #(
3584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3586 esac |
3587 sort
3589 echo
3591 $as_echo "## ----------------- ##
3592 ## Output variables. ##
3593 ## ----------------- ##"
3594 echo
3595 for ac_var in $ac_subst_vars
3597 eval ac_val=\$$ac_var
3598 case $ac_val in
3599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3600 esac
3601 $as_echo "$ac_var='\''$ac_val'\''"
3602 done | sort
3603 echo
3605 if test -n "$ac_subst_files"; then
3606 $as_echo "## ------------------- ##
3607 ## File substitutions. ##
3608 ## ------------------- ##"
3609 echo
3610 for ac_var in $ac_subst_files
3612 eval ac_val=\$$ac_var
3613 case $ac_val in
3614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3615 esac
3616 $as_echo "$ac_var='\''$ac_val'\''"
3617 done | sort
3618 echo
3621 if test -s confdefs.h; then
3622 $as_echo "## ----------- ##
3623 ## confdefs.h. ##
3624 ## ----------- ##"
3625 echo
3626 cat confdefs.h
3627 echo
3629 test "$ac_signal" != 0 &&
3630 $as_echo "$as_me: caught signal $ac_signal"
3631 $as_echo "$as_me: exit $exit_status"
3632 } >&5
3633 rm -f core *.core core.conftest.* &&
3634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3635 exit $exit_status
3637 for ac_signal in 1 2 13 15; do
3638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3639 done
3640 ac_signal=0
3642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3643 rm -f -r conftest* confdefs.h
3645 $as_echo "/* confdefs.h */" > confdefs.h
3647 # Predefined preprocessor variables.
3649 cat >>confdefs.h <<_ACEOF
3650 #define PACKAGE_NAME "$PACKAGE_NAME"
3651 _ACEOF
3653 cat >>confdefs.h <<_ACEOF
3654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3655 _ACEOF
3657 cat >>confdefs.h <<_ACEOF
3658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3659 _ACEOF
3661 cat >>confdefs.h <<_ACEOF
3662 #define PACKAGE_STRING "$PACKAGE_STRING"
3663 _ACEOF
3665 cat >>confdefs.h <<_ACEOF
3666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3667 _ACEOF
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_URL "$PACKAGE_URL"
3671 _ACEOF
3674 # Let the site file select an alternate cache file if it wants to.
3675 # Prefer an explicitly selected file to automatically selected ones.
3676 ac_site_file1=NONE
3677 ac_site_file2=NONE
3678 if test -n "$CONFIG_SITE"; then
3679 # We do not want a PATH search for config.site.
3680 case $CONFIG_SITE in #((
3681 -*) ac_site_file1=./$CONFIG_SITE;;
3682 */*) ac_site_file1=$CONFIG_SITE;;
3683 *) ac_site_file1=./$CONFIG_SITE;;
3684 esac
3685 elif test "x$prefix" != xNONE; then
3686 ac_site_file1=$prefix/share/config.site
3687 ac_site_file2=$prefix/etc/config.site
3688 else
3689 ac_site_file1=$ac_default_prefix/share/config.site
3690 ac_site_file2=$ac_default_prefix/etc/config.site
3692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3694 test "x$ac_site_file" = xNONE && continue
3695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3698 sed 's/^/| /' "$ac_site_file" >&5
3699 . "$ac_site_file" \
3700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error $? "failed to load site script $ac_site_file
3703 See \`config.log' for more details" "$LINENO" 5; }
3705 done
3707 if test -r "$cache_file"; then
3708 # Some versions of bash will fail to source /dev/null (special files
3709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3712 $as_echo "$as_me: loading cache $cache_file" >&6;}
3713 case $cache_file in
3714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3715 *) . "./$cache_file";;
3716 esac
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3720 $as_echo "$as_me: creating cache $cache_file" >&6;}
3721 >$cache_file
3724 # Check that the precious variables saved in the cache have kept the same
3725 # value.
3726 ac_cache_corrupted=false
3727 for ac_var in $ac_precious_vars; do
3728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3729 eval ac_new_set=\$ac_env_${ac_var}_set
3730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3731 eval ac_new_val=\$ac_env_${ac_var}_value
3732 case $ac_old_set,$ac_new_set in
3733 set,)
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3736 ac_cache_corrupted=: ;;
3737 ,set)
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3740 ac_cache_corrupted=: ;;
3741 ,);;
3743 if test "x$ac_old_val" != "x$ac_new_val"; then
3744 # differences in whitespace do not lead to failure.
3745 ac_old_val_w=`echo x $ac_old_val`
3746 ac_new_val_w=`echo x $ac_new_val`
3747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3750 ac_cache_corrupted=:
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3754 eval $ac_var=\$ac_old_val
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3760 fi;;
3761 esac
3762 # Pass precious variables to config.status.
3763 if test "$ac_new_set" = set; then
3764 case $ac_new_val in
3765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3766 *) ac_arg=$ac_var=$ac_new_val ;;
3767 esac
3768 case " $ac_configure_args " in
3769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3771 esac
3773 done
3774 if $ac_cache_corrupted; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3781 ## -------------------- ##
3782 ## Main body of script. ##
3783 ## -------------------- ##
3785 ac_ext=c
3786 ac_cpp='$CPP $CPPFLAGS'
3787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3793 ac_config_headers="$ac_config_headers include/config.h"
3795 ac_aux_dir=
3796 for ac_dir in tools "$srcdir"/tools; do
3797 if test -f "$ac_dir/install-sh"; then
3798 ac_aux_dir=$ac_dir
3799 ac_install_sh="$ac_aux_dir/install-sh -c"
3800 break
3801 elif 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/shtool"; then
3806 ac_aux_dir=$ac_dir
3807 ac_install_sh="$ac_aux_dir/shtool install -c"
3808 break
3810 done
3811 if test -z "$ac_aux_dir"; then
3812 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3815 # These three variables are undocumented and unsupported,
3816 # and are intended to be withdrawn in a future Autoconf release.
3817 # They can cause serious problems if a builder's source tree is in a directory
3818 # whose full name contains unusual characters.
3819 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3820 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3821 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3825 libwine_version="1.0"
3829 # Check whether --enable-win16 was given.
3830 if test "${enable_win16+set}" = set; then :
3831 enableval=$enable_win16;
3834 # Check whether --enable-win64 was given.
3835 if test "${enable_win64+set}" = set; then :
3836 enableval=$enable_win64;
3839 # Check whether --enable-tests was given.
3840 if test "${enable_tests+set}" = set; then :
3841 enableval=$enable_tests;
3844 # Check whether --enable-maintainer-mode was given.
3845 if test "${enable_maintainer_mode+set}" = set; then :
3846 enableval=$enable_maintainer_mode;
3851 # Check whether --with-alsa was given.
3852 if test "${with_alsa+set}" = set; then :
3853 withval=$with_alsa;
3857 # Check whether --with-capi was given.
3858 if test "${with_capi+set}" = set; then :
3859 withval=$with_capi;
3863 # Check whether --with-cms was given.
3864 if test "${with_cms+set}" = set; then :
3865 withval=$with_cms;
3869 # Check whether --with-coreaudio was given.
3870 if test "${with_coreaudio+set}" = set; then :
3871 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3875 # Check whether --with-cups was given.
3876 if test "${with_cups+set}" = set; then :
3877 withval=$with_cups;
3881 # Check whether --with-curses was given.
3882 if test "${with_curses+set}" = set; then :
3883 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3887 # Check whether --with-dbus was given.
3888 if test "${with_dbus+set}" = set; then :
3889 withval=$with_dbus;
3893 # Check whether --with-faudio was given.
3894 if test "${with_faudio+set}" = set; then :
3895 withval=$with_faudio;
3899 # Check whether --with-float-abi was given.
3900 if test "${with_float_abi+set}" = set; then :
3901 withval=$with_float_abi;
3905 # Check whether --with-fontconfig was given.
3906 if test "${with_fontconfig+set}" = set; then :
3907 withval=$with_fontconfig;
3911 # Check whether --with-freetype was given.
3912 if test "${with_freetype+set}" = set; then :
3913 withval=$with_freetype;
3917 # Check whether --with-gettext was given.
3918 if test "${with_gettext+set}" = set; then :
3919 withval=$with_gettext;
3923 # Check whether --with-gettextpo was given.
3924 if test "${with_gettextpo+set}" = set; then :
3925 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3929 # Check whether --with-gphoto was given.
3930 if test "${with_gphoto+set}" = set; then :
3931 withval=$with_gphoto;
3935 # Check whether --with-glu was given.
3936 if test "${with_glu+set}" = set; then :
3937 withval=$with_glu;
3941 # Check whether --with-gnutls was given.
3942 if test "${with_gnutls+set}" = set; then :
3943 withval=$with_gnutls;
3947 # Check whether --with-gsm was given.
3948 if test "${with_gsm+set}" = set; then :
3949 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3953 # Check whether --with-gssapi was given.
3954 if test "${with_gssapi+set}" = set; then :
3955 withval=$with_gssapi;
3959 # Check whether --with-gstreamer was given.
3960 if test "${with_gstreamer+set}" = set; then :
3961 withval=$with_gstreamer;
3965 # Check whether --with-hal was given.
3966 if test "${with_hal+set}" = set; then :
3967 withval=$with_hal;
3971 # Check whether --with-inotify was given.
3972 if test "${with_inotify+set}" = set; then :
3973 withval=$with_inotify;
3977 # Check whether --with-jpeg was given.
3978 if test "${with_jpeg+set}" = set; then :
3979 withval=$with_jpeg;
3983 # Check whether --with-krb5 was given.
3984 if test "${with_krb5+set}" = set; then :
3985 withval=$with_krb5;
3989 # Check whether --with-ldap was given.
3990 if test "${with_ldap+set}" = set; then :
3991 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3995 # Check whether --with-mingw was given.
3996 if test "${with_mingw+set}" = set; then :
3997 withval=$with_mingw;
4001 # Check whether --with-mpg123 was given.
4002 if test "${with_mpg123+set}" = set; then :
4003 withval=$with_mpg123;
4007 # Check whether --with-netapi was given.
4008 if test "${with_netapi+set}" = set; then :
4009 withval=$with_netapi;
4013 # Check whether --with-openal was given.
4014 if test "${with_openal+set}" = set; then :
4015 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4019 # Check whether --with-opencl was given.
4020 if test "${with_opencl+set}" = set; then :
4021 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then :
4027 withval=$with_opengl;
4031 # Check whether --with-osmesa was given.
4032 if test "${with_osmesa+set}" = set; then :
4033 withval=$with_osmesa;
4037 # Check whether --with-oss was given.
4038 if test "${with_oss+set}" = set; then :
4039 withval=$with_oss;
4043 # Check whether --with-pcap was given.
4044 if test "${with_pcap+set}" = set; then :
4045 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4049 # Check whether --with-png was given.
4050 if test "${with_png+set}" = set; then :
4051 withval=$with_png;
4055 # Check whether --with-pthread was given.
4056 if test "${with_pthread+set}" = set; then :
4057 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4061 # Check whether --with-pulse was given.
4062 if test "${with_pulse+set}" = set; then :
4063 withval=$with_pulse;
4067 # Check whether --with-sane was given.
4068 if test "${with_sane+set}" = set; then :
4069 withval=$with_sane;
4073 # Check whether --with-sdl was given.
4074 if test "${with_sdl+set}" = set; then :
4075 withval=$with_sdl;
4079 # Check whether --with-tiff was given.
4080 if test "${with_tiff+set}" = set; then :
4081 withval=$with_tiff;
4085 # Check whether --with-udev was given.
4086 if test "${with_udev+set}" = set; then :
4087 withval=$with_udev;
4091 # Check whether --with-unwind was given.
4092 if test "${with_unwind+set}" = set; then :
4093 withval=$with_unwind;
4097 # Check whether --with-v4l2 was given.
4098 if test "${with_v4l2+set}" = set; then :
4099 withval=$with_v4l2;
4103 # Check whether --with-vkd3d was given.
4104 if test "${with_vkd3d+set}" = set; then :
4105 withval=$with_vkd3d;
4109 # Check whether --with-vulkan was given.
4110 if test "${with_vulkan+set}" = set; then :
4111 withval=$with_vulkan;
4115 # Check whether --with-xcomposite was given.
4116 if test "${with_xcomposite+set}" = set; then :
4117 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4121 # Check whether --with-xcursor was given.
4122 if test "${with_xcursor+set}" = set; then :
4123 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4127 # Check whether --with-xfixes was given.
4128 if test "${with_xfixes+set}" = set; then :
4129 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4133 # Check whether --with-xinerama was given.
4134 if test "${with_xinerama+set}" = set; then :
4135 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4139 # Check whether --with-xinput was given.
4140 if test "${with_xinput+set}" = set; then :
4141 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4145 # Check whether --with-xinput2 was given.
4146 if test "${with_xinput2+set}" = set; then :
4147 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4151 # Check whether --with-xml was given.
4152 if test "${with_xml+set}" = set; then :
4153 withval=$with_xml;
4157 # Check whether --with-xrandr was given.
4158 if test "${with_xrandr+set}" = set; then :
4159 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4163 # Check whether --with-xrender was given.
4164 if test "${with_xrender+set}" = set; then :
4165 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4169 # Check whether --with-xshape was given.
4170 if test "${with_xshape+set}" = set; then :
4171 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4175 # Check whether --with-xshm was given.
4176 if test "${with_xshm+set}" = set; then :
4177 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4181 # Check whether --with-xslt was given.
4182 if test "${with_xslt+set}" = set; then :
4183 withval=$with_xslt;
4187 # Check whether --with-xxf86vm was given.
4188 if test "${with_xxf86vm+set}" = set; then :
4189 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
4193 # Check whether --with-zlib was given.
4194 if test "${with_zlib+set}" = set; then :
4195 withval=$with_zlib;
4200 # Check whether --with-wine-tools was given.
4201 if test "${with_wine_tools+set}" = set; then :
4202 withval=$with_wine_tools;
4206 # Check whether --with-wine64 was given.
4207 if test "${with_wine64+set}" = set; then :
4208 withval=$with_wine64;
4212 # Make sure we can run config.sub.
4213 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4214 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4217 $as_echo_n "checking build system type... " >&6; }
4218 if ${ac_cv_build+:} false; then :
4219 $as_echo_n "(cached) " >&6
4220 else
4221 ac_build_alias=$build_alias
4222 test "x$ac_build_alias" = x &&
4223 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4224 test "x$ac_build_alias" = x &&
4225 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4226 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4231 $as_echo "$ac_cv_build" >&6; }
4232 case $ac_cv_build in
4233 *-*-*) ;;
4234 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4235 esac
4236 build=$ac_cv_build
4237 ac_save_IFS=$IFS; IFS='-'
4238 set x $ac_cv_build
4239 shift
4240 build_cpu=$1
4241 build_vendor=$2
4242 shift; shift
4243 # Remember, the first character of IFS is used to create $*,
4244 # except with old shells:
4245 build_os=$*
4246 IFS=$ac_save_IFS
4247 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4251 $as_echo_n "checking host system type... " >&6; }
4252 if ${ac_cv_host+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test "x$host_alias" = x; then
4256 ac_cv_host=$ac_cv_build
4257 else
4258 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4259 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4264 $as_echo "$ac_cv_host" >&6; }
4265 case $ac_cv_host in
4266 *-*-*) ;;
4267 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4268 esac
4269 host=$ac_cv_host
4270 ac_save_IFS=$IFS; IFS='-'
4271 set x $ac_cv_host
4272 shift
4273 host_cpu=$1
4274 host_vendor=$2
4275 shift; shift
4276 # Remember, the first character of IFS is used to create $*,
4277 # except with old shells:
4278 host_os=$*
4279 IFS=$ac_save_IFS
4280 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4284 case "$srcdir" in
4285 .) ;;
4286 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4287 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4288 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4289 fi ;;
4290 esac
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4295 set x ${MAKE-make}
4296 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 cat >conftest.make <<\_ACEOF
4301 SHELL = /bin/sh
4302 all:
4303 @echo '@@@%%%=$(MAKE)=@@@%%%'
4304 _ACEOF
4305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4307 *@@@%%%=?*=@@@%%%*)
4308 eval ac_cv_prog_make_${ac_make}_set=yes;;
4310 eval ac_cv_prog_make_${ac_make}_set=no;;
4311 esac
4312 rm -f conftest.make
4314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4317 SET_MAKE=
4318 else
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4321 SET_MAKE="MAKE=${MAKE-make}"
4324 ac_ext=c
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 if test -n "$ac_tool_prefix"; then
4330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4339 else
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 for as_dir in $PATH
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 break 2
4351 done
4352 done
4353 IFS=$as_save_IFS
4357 CC=$ac_cv_prog_CC
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4361 else
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test -z "$ac_cv_prog_CC"; then
4369 ac_ct_CC=$CC
4370 # Extract the first word of "gcc", so it can be a program name with args.
4371 set dummy gcc; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$ac_ct_CC"; then
4378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_ac_ct_CC="gcc"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4398 if test -n "$ac_ct_CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4400 $as_echo "$ac_ct_CC" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4406 if test "x$ac_ct_CC" = x; then
4407 CC=""
4408 else
4409 case $cross_compiling:$ac_tool_warned in
4410 yes:)
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned=yes ;;
4414 esac
4415 CC=$ac_ct_CC
4417 else
4418 CC="$ac_cv_prog_CC"
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}cc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC="${ac_tool_prefix}cc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4462 if test -z "$CC"; then
4463 # Extract the first word of "cc", so it can be a program name with args.
4464 set dummy cc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CC"; then
4471 ac_cv_prog_CC="$CC" # Let the user override the test.
4472 else
4473 ac_prog_rejected=no
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4482 ac_prog_rejected=yes
4483 continue
4485 ac_cv_prog_CC="cc"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 break 2
4489 done
4490 done
4491 IFS=$as_save_IFS
4493 if test $ac_prog_rejected = yes; then
4494 # We found a bogon in the path, so make sure we never use it.
4495 set dummy $ac_cv_prog_CC
4496 shift
4497 if test $# != 0; then
4498 # We chose a different compiler from the bogus one.
4499 # However, it has the same basename, so the bogon will be chosen
4500 # first if we set CC to just the basename; use the full file name.
4501 shift
4502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4507 CC=$ac_cv_prog_CC
4508 if test -n "$CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510 $as_echo "$CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4520 for ac_prog in cl.exe
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$CC" && break
4560 done
4562 if test -z "$CC"; then
4563 ac_ct_CC=$CC
4564 for ac_prog in cl.exe
4566 # Extract the first word of "$ac_prog", so it can be a program name with args.
4567 set dummy $ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 if test -n "$ac_ct_CC"; then
4574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4575 else
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_ac_ct_CC="$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4587 done
4588 done
4589 IFS=$as_save_IFS
4593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4594 if test -n "$ac_ct_CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4596 $as_echo "$ac_ct_CC" >&6; }
4597 else
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$ac_ct_CC" && break
4604 done
4606 if test "x$ac_ct_CC" = x; then
4607 CC=""
4608 else
4609 case $cross_compiling:$ac_tool_warned in
4610 yes:)
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned=yes ;;
4614 esac
4615 CC=$ac_ct_CC
4622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4624 as_fn_error $? "no acceptable C compiler found in \$PATH
4625 See \`config.log' for more details" "$LINENO" 5; }
4627 # Provide some information about the compiler.
4628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4629 set X $ac_compile
4630 ac_compiler=$2
4631 for ac_option in --version -v -V -qversion; do
4632 { { ac_try="$ac_compiler $ac_option >&5"
4633 case "(($ac_try" in
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4636 esac
4637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4638 $as_echo "$ac_try_echo"; } >&5
4639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4640 ac_status=$?
4641 if test -s conftest.err; then
4642 sed '10a\
4643 ... rest of stderr output deleted ...
4644 10q' conftest.err >conftest.er1
4645 cat conftest.er1 >&5
4647 rm -f conftest.er1 conftest.err
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }
4650 done
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 ac_clean_files_save=$ac_clean_files
4664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4665 # Try to create an executable without -o first, disregard a.out.
4666 # It will help us diagnose broken compilers, and finding out an intuition
4667 # of exeext.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4669 $as_echo_n "checking whether the C compiler works... " >&6; }
4670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4672 # The possible output files:
4673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4675 ac_rmfiles=
4676 for ac_file in $ac_files
4678 case $ac_file in
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4681 esac
4682 done
4683 rm -f $ac_rmfiles
4685 if { { ac_try="$ac_link_default"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4691 $as_echo "$ac_try_echo"; } >&5
4692 (eval "$ac_link_default") 2>&5
4693 ac_status=$?
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }; then :
4696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4699 # so that the user can short-circuit this test for compilers unknown to
4700 # Autoconf.
4701 for ac_file in $ac_files ''
4703 test -f "$ac_file" || continue
4704 case $ac_file in
4705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4707 [ab].out )
4708 # We found the default executable, but exeext='' is most
4709 # certainly right.
4710 break;;
4711 *.* )
4712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4713 then :; else
4714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4716 # We set ac_cv_exeext here because the later test for it is not
4717 # safe: cross compilers may not add the suffix if given an `-o'
4718 # argument, so we may need to know it at that point already.
4719 # Even if this section looks crufty: it has the advantage of
4720 # actually working.
4721 break;;
4723 break;;
4724 esac
4725 done
4726 test "$ac_cv_exeext" = no && ac_cv_exeext=
4728 else
4729 ac_file=''
4731 if test -z "$ac_file"; then :
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 $as_echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error 77 "C compiler cannot create executables
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4746 $as_echo_n "checking for C compiler default output file name... " >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4748 $as_echo "$ac_file" >&6; }
4749 ac_exeext=$ac_cv_exeext
4751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4752 ac_clean_files=$ac_clean_files_save
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4754 $as_echo_n "checking for suffix of executables... " >&6; }
4755 if { { ac_try="$ac_link"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4768 # work properly (i.e., refer to `conftest.exe'), while it won't with
4769 # `rm'.
4770 for ac_file in conftest.exe conftest conftest.*; do
4771 test -f "$ac_file" || continue
4772 case $ac_file in
4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4775 break;;
4776 * ) break;;
4777 esac
4778 done
4779 else
4780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4783 See \`config.log' for more details" "$LINENO" 5; }
4785 rm -f conftest conftest$ac_cv_exeext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4787 $as_echo "$ac_cv_exeext" >&6; }
4789 rm -f conftest.$ac_ext
4790 EXEEXT=$ac_cv_exeext
4791 ac_exeext=$EXEEXT
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4794 #include <stdio.h>
4796 main ()
4798 FILE *f = fopen ("conftest.out", "w");
4799 return ferror (f) || fclose (f) != 0;
4802 return 0;
4804 _ACEOF
4805 ac_clean_files="$ac_clean_files conftest.out"
4806 # Check that the compiler produces executables we can run. If not, either
4807 # the compiler is broken, or we cross compile.
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4809 $as_echo_n "checking whether we are cross compiling... " >&6; }
4810 if test "$cross_compiling" != yes; then
4811 { { ac_try="$ac_link"
4812 case "(($ac_try" in
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4815 esac
4816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4817 $as_echo "$ac_try_echo"; } >&5
4818 (eval "$ac_link") 2>&5
4819 ac_status=$?
4820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4821 test $ac_status = 0; }
4822 if { ac_try='./conftest$ac_cv_exeext'
4823 { { case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4828 $as_echo "$ac_try_echo"; } >&5
4829 (eval "$ac_try") 2>&5
4830 ac_status=$?
4831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4832 test $ac_status = 0; }; }; then
4833 cross_compiling=no
4834 else
4835 if test "$cross_compiling" = maybe; then
4836 cross_compiling=yes
4837 else
4838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 as_fn_error $? "cannot run C compiled programs.
4841 If you meant to cross compile, use \`--host'.
4842 See \`config.log' for more details" "$LINENO" 5; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4847 $as_echo "$cross_compiling" >&6; }
4849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4850 ac_clean_files=$ac_clean_files_save
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4852 $as_echo_n "checking for suffix of object files... " >&6; }
4853 if ${ac_cv_objext+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 rm -f conftest.o conftest.obj
4868 if { { ac_try="$ac_compile"
4869 case "(($ac_try" in
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4872 esac
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_compile") 2>&5
4876 ac_status=$?
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }; then :
4879 for ac_file in conftest.o conftest.obj conftest.*; do
4880 test -f "$ac_file" || continue;
4881 case $ac_file in
4882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4884 break;;
4885 esac
4886 done
4887 else
4888 $as_echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of object files: cannot compile
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4899 $as_echo "$ac_cv_objext" >&6; }
4900 OBJEXT=$ac_cv_objext
4901 ac_objext=$OBJEXT
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4904 if ${ac_cv_c_compiler_gnu+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4913 #ifndef __GNUC__
4914 choke me
4915 #endif
4918 return 0;
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922 ac_compiler_gnu=yes
4923 else
4924 ac_compiler_gnu=no
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4932 if test $ac_compiler_gnu = yes; then
4933 GCC=yes
4934 else
4935 GCC=
4937 ac_test_CFLAGS=${CFLAGS+set}
4938 ac_save_CFLAGS=$CFLAGS
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4941 if ${ac_cv_prog_cc_g+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 ac_save_c_werror_flag=$ac_c_werror_flag
4945 ac_c_werror_flag=yes
4946 ac_cv_prog_cc_g=no
4947 CFLAGS="-g"
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 if ac_fn_c_try_compile "$LINENO"; then :
4960 ac_cv_prog_cc_g=yes
4961 else
4962 CFLAGS=""
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4976 else
4977 ac_c_werror_flag=$ac_save_c_werror_flag
4978 CFLAGS="-g"
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4987 return 0;
4989 _ACEOF
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_g=yes
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 ac_c_werror_flag=$ac_save_c_werror_flag
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5001 $as_echo "$ac_cv_prog_cc_g" >&6; }
5002 if test "$ac_test_CFLAGS" = set; then
5003 CFLAGS=$ac_save_CFLAGS
5004 elif test $ac_cv_prog_cc_g = yes; then
5005 if test "$GCC" = yes; then
5006 CFLAGS="-g -O2"
5007 else
5008 CFLAGS="-g"
5010 else
5011 if test "$GCC" = yes; then
5012 CFLAGS="-O2"
5013 else
5014 CFLAGS=
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5019 if ${ac_cv_prog_cc_c89+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 ac_cv_prog_cc_c89=no
5023 ac_save_CC=$CC
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5027 #include <stdio.h>
5028 struct stat;
5029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5030 struct buf { int x; };
5031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5032 static char *e (p, i)
5033 char **p;
5034 int i;
5036 return p[i];
5038 static char *f (char * (*g) (char **, int), char **p, ...)
5040 char *s;
5041 va_list v;
5042 va_start (v,p);
5043 s = g (p, va_arg (v,int));
5044 va_end (v);
5045 return s;
5048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5049 function prototypes and stuff, but not '\xHH' hex character constants.
5050 These don't provoke an error unfortunately, instead are silently treated
5051 as 'x'. The following induces an error, until -std is added to get
5052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5053 array size at least. It's necessary to write '\x00'==0 to get something
5054 that's true only with -std. */
5055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5058 inside strings and character constants. */
5059 #define FOO(x) 'x'
5060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5062 int test (int i, double x);
5063 struct s1 {int (*f) (int a);};
5064 struct s2 {int (*f) (double a);};
5065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5066 int argc;
5067 char **argv;
5069 main ()
5071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5073 return 0;
5075 _ACEOF
5076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5079 CC="$ac_save_CC $ac_arg"
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 ac_cv_prog_cc_c89=$ac_arg
5083 rm -f core conftest.err conftest.$ac_objext
5084 test "x$ac_cv_prog_cc_c89" != "xno" && break
5085 done
5086 rm -f conftest.$ac_ext
5087 CC=$ac_save_CC
5090 # AC_CACHE_VAL
5091 case "x$ac_cv_prog_cc_c89" in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5094 $as_echo "none needed" >&6; } ;;
5095 xno)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5097 $as_echo "unsupported" >&6; } ;;
5099 CC="$CC $ac_cv_prog_cc_c89"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5102 esac
5103 if test "x$ac_cv_prog_cc_c89" != xno; then :
5107 ac_ext=c
5108 ac_cpp='$CPP $CPPFLAGS'
5109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113 ac_ext=cpp
5114 ac_cpp='$CXXCPP $CPPFLAGS'
5115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5118 if test -z "$CXX"; then
5119 if test -n "$CCC"; then
5120 CXX=$CCC
5121 else
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CXX+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$CXX"; then
5133 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 CXX=$ac_cv_prog_CXX
5153 if test -n "$CXX"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5155 $as_echo "$CXX" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$CXX" && break
5163 done
5165 if test -z "$CXX"; then
5166 ac_ct_CXX=$CXX
5167 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$ac_ct_CXX"; then
5177 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CXX="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5197 if test -n "$ac_ct_CXX"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5199 $as_echo "$ac_ct_CXX" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$ac_ct_CXX" && break
5207 done
5209 if test "x$ac_ct_CXX" = x; then
5210 CXX="g++"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 CXX=$ac_ct_CXX
5224 # Provide some information about the compiler.
5225 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5226 set X $ac_compile
5227 ac_compiler=$2
5228 for ac_option in --version -v -V -qversion; do
5229 { { ac_try="$ac_compiler $ac_option >&5"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 $as_echo "$ac_try_echo"; } >&5
5236 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5237 ac_status=$?
5238 if test -s conftest.err; then
5239 sed '10a\
5240 ... rest of stderr output deleted ...
5241 10q' conftest.err >conftest.er1
5242 cat conftest.er1 >&5
5244 rm -f conftest.er1 conftest.err
5245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5250 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5251 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5258 main ()
5260 #ifndef __GNUC__
5261 choke me
5262 #endif
5265 return 0;
5267 _ACEOF
5268 if ac_fn_cxx_try_compile "$LINENO"; then :
5269 ac_compiler_gnu=yes
5270 else
5271 ac_compiler_gnu=no
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5278 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5279 if test $ac_compiler_gnu = yes; then
5280 GXX=yes
5281 else
5282 GXX=
5284 ac_test_CXXFLAGS=${CXXFLAGS+set}
5285 ac_save_CXXFLAGS=$CXXFLAGS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5287 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5288 if ${ac_cv_prog_cxx_g+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5292 ac_cxx_werror_flag=yes
5293 ac_cv_prog_cxx_g=no
5294 CXXFLAGS="-g"
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5299 main ()
5303 return 0;
5305 _ACEOF
5306 if ac_fn_cxx_try_compile "$LINENO"; then :
5307 ac_cv_prog_cxx_g=yes
5308 else
5309 CXXFLAGS=""
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5323 else
5324 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5325 CXXFLAGS="-g"
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main ()
5334 return 0;
5336 _ACEOF
5337 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 ac_cv_prog_cxx_g=yes
5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5348 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5349 if test "$ac_test_CXXFLAGS" = set; then
5350 CXXFLAGS=$ac_save_CXXFLAGS
5351 elif test $ac_cv_prog_cxx_g = yes; then
5352 if test "$GXX" = yes; then
5353 CXXFLAGS="-g -O2"
5354 else
5355 CXXFLAGS="-g"
5357 else
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-O2"
5360 else
5361 CXXFLAGS=
5364 ac_ext=c
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5370 if test -n "$ac_tool_prefix"; then
5371 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5372 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_CPPBIN+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$CPPBIN"; then
5379 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 CPPBIN=$ac_cv_prog_CPPBIN
5399 if test -n "$CPPBIN"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5401 $as_echo "$CPPBIN" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test -z "$ac_cv_prog_CPPBIN"; then
5410 ac_ct_CPPBIN=$CPPBIN
5411 # Extract the first word of "cpp", so it can be a program name with args.
5412 set dummy cpp; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$ac_ct_CPPBIN"; then
5419 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_ac_ct_CPPBIN="cpp"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5439 if test -n "$ac_ct_CPPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5441 $as_echo "$ac_ct_CPPBIN" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5447 if test "x$ac_ct_CPPBIN" = x; then
5448 CPPBIN="cpp"
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 CPPBIN=$ac_ct_CPPBIN
5458 else
5459 CPPBIN="$ac_cv_prog_CPPBIN"
5463 cat >>confdefs.h <<_ACEOF
5464 #define EXEEXT "$ac_exeext"
5465 _ACEOF
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}ld; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_LD+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD="$LD" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_LD="${ac_tool_prefix}ld"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 LD=$ac_cv_prog_LD
5496 if test -n "$LD"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5498 $as_echo "$LD" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_LD"; then
5507 ac_ct_LD=$LD
5508 # Extract the first word of "ld", so it can be a program name with args.
5509 set dummy ld; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_LD"; then
5516 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_LD="ld"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5536 if test -n "$ac_ct_LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5538 $as_echo "$ac_ct_LD" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_LD" = x; then
5545 LD=""
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 LD=$ac_ct_LD
5555 else
5556 LD="$ac_cv_prog_LD"
5560 case $host in
5561 *-darwin*)
5562 with_fontconfig=${with_fontconfig:-no}
5564 *-mingw32*|*-cygwin*)
5565 enable_win16=${enable_win16:-no}
5566 with_mingw=${with_mingw:-no}
5567 CFLAGS="$CFLAGS -D_WIN32"
5569 esac
5571 case $host in
5572 x86_64*|amd64*)
5573 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5574 then
5575 CC="$CC -m32"
5576 CXX="$CXX -m32"
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5579 $as_echo_n "checking whether $CC works... " >&6; }
5580 if ${wine_cv_cc_m32+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5587 main ()
5591 return 0;
5593 _ACEOF
5594 if ac_fn_c_try_link "$LINENO"; then :
5595 wine_cv_cc_m32=yes
5596 else
5597 wine_cv_cc_m32=no
5599 rm -f core conftest.err conftest.$ac_objext \
5600 conftest$ac_exeext conftest.$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5603 $as_echo "$wine_cv_cc_m32" >&6; }
5604 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
5605 host_cpu="i386"
5606 notice_platform="32-bit "
5607 TARGETFLAGS="-m32"
5609 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5610 export PKG_CONFIG_PATH
5611 enable_win16=${enable_win16:-yes}
5612 with_unwind=${with_unwind:-no}
5613 else
5614 if test "x${GCC}" = "xyes"
5615 then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5617 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5618 if ${wine_cv_builtin_ms_va_list+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 #include <stdarg.h>
5625 main ()
5627 void func(__builtin_ms_va_list *args);
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 wine_cv_builtin_ms_va_list=yes
5634 else
5635 wine_cv_builtin_ms_va_list=no
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5640 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5641 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
5643 CC="$CC -m64"
5644 CXX="$CXX -m64"
5645 host_cpu="x86_64"
5646 notice_platform="64-bit "
5647 TARGETFLAGS="-m64"
5651 arm*)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5653 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5654 if ${wine_cv_thumb+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 int ac_test(int i) { return i; }
5661 main ()
5663 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5665 return 0;
5667 _ACEOF
5668 if ac_fn_c_try_link "$LINENO"; then :
5669 wine_cv_thumb=yes
5670 else
5671 wine_cv_thumb=no
5673 rm -f core conftest.err conftest.$ac_objext \
5674 conftest$ac_exeext conftest.$ac_ext
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5677 $as_echo "$wine_cv_thumb" >&6; }
5678 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5679 case $with_float_abi in
5680 soft|softfp|hard)
5681 float_abi=$with_float_abi ;;
5683 case $host_os in
5684 *eabihf)
5685 float_abi=hard ;;
5687 float_abi=softfp
5688 saved_CFLAGS=$CFLAGS
5689 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5691 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5692 if ${wine_cv_float_abi+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 main ()
5701 asm("vmrs r2,fpscr");
5703 return 0;
5705 _ACEOF
5706 if ac_fn_c_try_link "$LINENO"; then :
5707 wine_cv_float_abi=yes
5708 else
5709 wine_cv_float_abi=no
5711 rm -f core conftest.err conftest.$ac_objext \
5712 conftest$ac_exeext conftest.$ac_ext
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5715 $as_echo "$wine_cv_float_abi" >&6; }
5716 if test $wine_cv_float_abi = no
5717 then
5718 float_abi=soft
5719 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5721 CFLAGS=$saved_CFLAGS
5722 esac
5724 esac
5725 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5726 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5729 aarch64*)
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5731 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5732 if ${wine_cv_builtin_ms_va_list+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5737 #include <stdarg.h>
5739 main ()
5741 void func(__builtin_ms_va_list *args);
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 wine_cv_builtin_ms_va_list=yes
5748 else
5749 wine_cv_builtin_ms_va_list=no
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5754 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5755 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5757 i[3456789]86*)
5758 enable_win16=${enable_win16:-yes}
5759 with_unwind=${with_unwind:-no}
5761 esac
5763 enable_win16=${enable_win16:-no}
5764 enable_win64=${enable_win64:-no}
5766 enable_winetest=${enable_winetest:-$enable_tests}
5768 if test "x$enable_win64" = "xyes"
5769 then
5770 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5772 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5776 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5777 if ${wine_cv_toolsdir+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 wine_cv_toolsdir="$with_wine_tools"
5781 if test -z "$with_wine_tools"; then
5782 if test "$cross_compiling" = "yes"; then
5783 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5784 elif test -n "$with_wine64"; then
5785 wine_cv_toolsdir="$with_wine64"
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5790 $as_echo "$wine_cv_toolsdir" >&6; }
5791 if test -z "$wine_cv_toolsdir"; then
5792 wine_makedep=tools/makedep
5793 TOOLSDIR="\$(top_builddir)"
5795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5796 wine_makedep=$wine_cv_toolsdir/tools/makedep
5797 case "$wine_cv_toolsdir" in
5798 /*) TOOLSDIR=$wine_cv_toolsdir
5800 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5802 esac
5803 enable_tools=${enable_tools:-no}
5804 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5805 else
5806 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5808 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5809 then
5810 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5814 for ac_prog in flex
5816 # Extract the first word of "$ac_prog", so it can be a program name with args.
5817 set dummy $ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_FLEX+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$FLEX"; then
5824 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_FLEX="$ac_prog"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5843 FLEX=$ac_cv_prog_FLEX
5844 if test -n "$FLEX"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5846 $as_echo "$FLEX" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 test -n "$FLEX" && break
5854 done
5855 test -n "$FLEX" || FLEX="none"
5857 if test "$FLEX" = "none"
5858 then
5859 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5862 $as_echo_n "checking whether flex is recent enough... " >&6; }
5863 if ${wine_cv_recent_flex+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 cat >conftest.l <<EOF
5867 %top{
5868 #include "prediluvian.h"
5872 if $FLEX -t conftest.l >/dev/null 2>&5
5873 then
5874 wine_cv_recent_flex=yes
5875 else
5876 wine_cv_recent_flex=no
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5880 $as_echo "$wine_cv_recent_flex" >&6; }
5881 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
5883 for ac_prog in bison
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_BISON+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$BISON"; then
5893 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_BISON="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 BISON=$ac_cv_prog_BISON
5913 if test -n "$BISON"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5915 $as_echo "$BISON" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$BISON" && break
5923 done
5924 test -n "$BISON" || BISON="none"
5926 if test "$BISON" = "none"
5927 then
5928 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5931 $as_echo_n "checking whether bison is recent enough... " >&6; }
5932 if ${wine_cv_recent_bison+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 cat >conftest.y <<EOF
5936 %define parse.error verbose
5938 empty: ;
5940 if $BISON conftest.y >/dev/null 2>&5
5941 then
5942 wine_cv_recent_bison=yes
5943 else
5944 wine_cv_recent_bison=no
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5948 $as_echo "$wine_cv_recent_bison" >&6; }
5949 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
5951 if test -n "$ac_tool_prefix"; then
5952 for ac_prog in ar gar
5954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_AR+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 if test -n "$AR"; then
5962 ac_cv_prog_AR="$AR" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 AR=$ac_cv_prog_AR
5982 if test -n "$AR"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5984 $as_echo "$AR" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 test -n "$AR" && break
5992 done
5994 if test -z "$AR"; then
5995 ac_ct_AR=$AR
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$ac_ct_AR"; then
6006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ac_ct_AR="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6026 if test -n "$ac_ct_AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6028 $as_echo "$ac_ct_AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$ac_ct_AR" && break
6036 done
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045 ac_tool_warned=yes ;;
6046 esac
6047 AR=$ac_ct_AR
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}strip; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_STRIP+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$STRIP"; then
6060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 STRIP=$ac_cv_prog_STRIP
6080 if test -n "$STRIP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6082 $as_echo "$STRIP" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6090 if test -z "$ac_cv_prog_STRIP"; then
6091 ac_ct_STRIP=$STRIP
6092 # Extract the first word of "strip", so it can be a program name with args.
6093 set dummy strip; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ac_ct_STRIP"; then
6100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ac_ct_STRIP="strip"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6120 if test -n "$ac_ct_STRIP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6122 $as_echo "$ac_ct_STRIP" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6128 if test "x$ac_ct_STRIP" = x; then
6129 STRIP="strip"
6130 else
6131 case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 STRIP=$ac_ct_STRIP
6139 else
6140 STRIP="$ac_cv_prog_STRIP"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_RANLIB+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$RANLIB"; then
6152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 RANLIB=$ac_cv_prog_RANLIB
6172 if test -n "$RANLIB"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6174 $as_echo "$RANLIB" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_RANLIB"; then
6183 ac_ct_RANLIB=$RANLIB
6184 # Extract the first word of "ranlib", so it can be a program name with args.
6185 set dummy ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 if test -n "$ac_ct_RANLIB"; then
6192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_RANLIB="ranlib"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6212 if test -n "$ac_ct_RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6214 $as_echo "$ac_ct_RANLIB" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220 if test "x$ac_ct_RANLIB" = x; then
6221 RANLIB=":"
6222 else
6223 case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6236 $as_echo_n "checking whether ln -s works... " >&6; }
6237 LN_S=$as_ln_s
6238 if test "$LN_S" = "ln -s"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6243 $as_echo "no, using $LN_S" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6248 if ${ac_cv_path_GREP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -z "$GREP"; then
6252 ac_path_GREP_found=false
6253 # Loop through the user's path and test for each of PROGNAME-LIST
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_prog in grep ggrep; do
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6262 as_fn_executable_p "$ac_path_GREP" || continue
6263 # Check for GNU ac_path_GREP and select it if it is found.
6264 # Check for GNU $ac_path_GREP
6265 case `"$ac_path_GREP" --version 2>&1` in
6266 *GNU*)
6267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6269 ac_count=0
6270 $as_echo_n 0123456789 >"conftest.in"
6271 while :
6273 cat "conftest.in" "conftest.in" >"conftest.tmp"
6274 mv "conftest.tmp" "conftest.in"
6275 cp "conftest.in" "conftest.nl"
6276 $as_echo 'GREP' >> "conftest.nl"
6277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6279 as_fn_arith $ac_count + 1 && ac_count=$as_val
6280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6281 # Best one so far, save it but keep looking for a better one
6282 ac_cv_path_GREP="$ac_path_GREP"
6283 ac_path_GREP_max=$ac_count
6285 # 10*(2^10) chars as input seems more than enough
6286 test $ac_count -gt 10 && break
6287 done
6288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6289 esac
6291 $ac_path_GREP_found && break 3
6292 done
6293 done
6294 done
6295 IFS=$as_save_IFS
6296 if test -z "$ac_cv_path_GREP"; then
6297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6299 else
6300 ac_cv_path_GREP=$GREP
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6305 $as_echo "$ac_cv_path_GREP" >&6; }
6306 GREP="$ac_cv_path_GREP"
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6310 $as_echo_n "checking for egrep... " >&6; }
6311 if ${ac_cv_path_EGREP+:} false; then :
6312 $as_echo_n "(cached) " >&6
6313 else
6314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6315 then ac_cv_path_EGREP="$GREP -E"
6316 else
6317 if test -z "$EGREP"; then
6318 ac_path_EGREP_found=false
6319 # Loop through the user's path and test for each of PROGNAME-LIST
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6323 IFS=$as_save_IFS
6324 test -z "$as_dir" && as_dir=.
6325 for ac_prog in egrep; do
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6328 as_fn_executable_p "$ac_path_EGREP" || continue
6329 # Check for GNU ac_path_EGREP and select it if it is found.
6330 # Check for GNU $ac_path_EGREP
6331 case `"$ac_path_EGREP" --version 2>&1` in
6332 *GNU*)
6333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6335 ac_count=0
6336 $as_echo_n 0123456789 >"conftest.in"
6337 while :
6339 cat "conftest.in" "conftest.in" >"conftest.tmp"
6340 mv "conftest.tmp" "conftest.in"
6341 cp "conftest.in" "conftest.nl"
6342 $as_echo 'EGREP' >> "conftest.nl"
6343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6345 as_fn_arith $ac_count + 1 && ac_count=$as_val
6346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6347 # Best one so far, save it but keep looking for a better one
6348 ac_cv_path_EGREP="$ac_path_EGREP"
6349 ac_path_EGREP_max=$ac_count
6351 # 10*(2^10) chars as input seems more than enough
6352 test $ac_count -gt 10 && break
6353 done
6354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6355 esac
6357 $ac_path_EGREP_found && break 3
6358 done
6359 done
6360 done
6361 IFS=$as_save_IFS
6362 if test -z "$ac_cv_path_EGREP"; then
6363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6365 else
6366 ac_cv_path_EGREP=$EGREP
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6372 $as_echo "$ac_cv_path_EGREP" >&6; }
6373 EGREP="$ac_cv_path_EGREP"
6376 # Extract the first word of "ldconfig", so it can be a program name with args.
6377 set dummy ldconfig; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_path_LDCONFIG+:} false; then :
6381 $as_echo_n "(cached) " >&6
6382 else
6383 case $LDCONFIG in
6384 [\\/]* | ?:[\\/]*)
6385 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in /sbin /usr/sbin $PATH
6391 IFS=$as_save_IFS
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 break 2
6399 done
6400 done
6401 IFS=$as_save_IFS
6403 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6405 esac
6407 LDCONFIG=$ac_cv_path_LDCONFIG
6408 if test -n "$LDCONFIG"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6410 $as_echo "$LDCONFIG" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 for ac_prog in msgfmt
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_MSGFMT+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 if test -n "$MSGFMT"; then
6427 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_MSGFMT="$ac_prog"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 break 2
6440 done
6441 done
6442 IFS=$as_save_IFS
6446 MSGFMT=$ac_cv_prog_MSGFMT
6447 if test -n "$MSGFMT"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6449 $as_echo "$MSGFMT" >&6; }
6450 else
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6456 test -n "$MSGFMT" && break
6457 done
6458 test -n "$MSGFMT" || MSGFMT="false"
6460 if ${ac_tool_prefix+:} false; then :
6461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 if test -n "$PKG_CONFIG"; then
6469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6489 if test -n "$PKG_CONFIG"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6491 $as_echo "$PKG_CONFIG" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6499 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6500 if test "x$cross_compiling" = xyes; then :
6502 else
6503 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6504 # Extract the first word of "pkg-config", so it can be a program name with args.
6505 set dummy pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 else
6543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6546 if test "x$enable_maintainer_mode" != "xyes"
6547 then
6548 FONTFORGE=""
6549 RSVG=""
6550 CONVERT=""
6551 ICOTOOL=""
6552 else
6553 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6554 for ac_prog in fontforge
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_prog_FONTFORGE+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 if test -n "$FONTFORGE"; then
6564 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_FONTFORGE="$ac_prog"
6574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 FONTFORGE=$ac_cv_prog_FONTFORGE
6584 if test -n "$FONTFORGE"; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6586 $as_echo "$FONTFORGE" >&6; }
6587 else
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 $as_echo "no" >&6; }
6593 test -n "$FONTFORGE" && break
6594 done
6595 test -n "$FONTFORGE" || FONTFORGE="false"
6597 for ac_prog in rsvg-convert rsvg
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_RSVG+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$RSVG"; then
6607 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_RSVG="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 RSVG=$ac_cv_prog_RSVG
6627 if test -n "$RSVG"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6629 $as_echo "$RSVG" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$RSVG" && break
6637 done
6638 test -n "$RSVG" || RSVG="false"
6640 for ac_prog in convert
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_CONVERT+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_CONVERT="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 CONVERT=$ac_cv_prog_CONVERT
6670 if test -n "$CONVERT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6672 $as_echo "$CONVERT" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$CONVERT" && break
6680 done
6681 test -n "$CONVERT" || CONVERT="false"
6683 for ac_prog in icotool
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_ICOTOOL+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$ICOTOOL"; then
6693 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_ICOTOOL="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 ICOTOOL=$ac_cv_prog_ICOTOOL
6713 if test -n "$ICOTOOL"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6715 $as_echo "$ICOTOOL" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$ICOTOOL" && break
6723 done
6724 test -n "$ICOTOOL" || ICOTOOL="false"
6726 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6727 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6729 if test "$CONVERT" = false
6730 then
6731 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6734 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6735 convert_version=`convert --version | head -n1`
6736 if test "x$convert_version" != "x"
6737 then
6738 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6739 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6740 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6741 then
6742 CONVERT=false
6745 if test "$CONVERT" = false
6746 then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6748 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6749 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6756 if test "$ICOTOOL" = false
6757 then
6758 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6761 $as_echo_n "checking for recent enough icotool... " >&6; }
6762 icotool_version=`icotool --version | head -n1`
6763 if test "x$icotool_version" != "x"
6764 then
6765 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6766 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6767 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6768 then
6769 ICOTOOL=false
6770 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6773 if test "$ICOTOOL" = false
6774 then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6776 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6777 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 with_gettext=yes
6785 with_gettextpo=yes
6788 test "x$with_gettext" != xno || MSGFMT=false
6789 if test "$MSGFMT" != "false"
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6792 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6793 if ${wine_cv_msgfmt_contexts+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 cat >conftest.po <<EOF
6797 # comment
6798 msgctxt "ctxt"
6799 msgid "id"
6800 msgstr "str"
6802 if $MSGFMT -o /dev/null conftest.po 2>&5
6803 then
6804 wine_cv_msgfmt_contexts=yes
6805 else
6806 wine_cv_msgfmt_contexts=no
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6810 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6811 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6813 if test "$MSGFMT" = false; then :
6814 case "x$with_gettext" in
6815 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6816 xno) ;;
6817 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6818 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6819 esac
6820 enable_po=${enable_po:-no}
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6825 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6826 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_check_lib_save_LIBS=$LIBS
6830 LIBS="-li386 $LIBS"
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6834 /* Override any GCC internal prototype to avoid an error.
6835 Use char because int might match the return type of a GCC
6836 builtin and then its argument prototype would still apply. */
6837 #ifdef __cplusplus
6838 extern "C"
6839 #endif
6840 char i386_set_ldt ();
6842 main ()
6844 return i386_set_ldt ();
6846 return 0;
6848 _ACEOF
6849 if ac_fn_c_try_link "$LINENO"; then :
6850 ac_cv_lib_i386_i386_set_ldt=yes
6851 else
6852 ac_cv_lib_i386_i386_set_ldt=no
6854 rm -f core conftest.err conftest.$ac_objext \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6859 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6860 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6861 I386_LIBS="-li386"
6866 OPENGL_LIBS=""
6870 # Check whether --enable-largefile was given.
6871 if test "${enable_largefile+set}" = set; then :
6872 enableval=$enable_largefile;
6875 if test "$enable_largefile" != no; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6878 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6879 if ${ac_cv_sys_largefile_CC+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 ac_cv_sys_largefile_CC=no
6883 if test "$GCC" != yes; then
6884 ac_save_CC=$CC
6885 while :; do
6886 # IRIX 6.2 and later do not support large files by default,
6887 # so use the C compiler's -n32 option if that helps.
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #include <sys/types.h>
6891 /* Check that off_t can represent 2**63 - 1 correctly.
6892 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6893 since some C++ compilers masquerading as C compilers
6894 incorrectly reject 9223372036854775807. */
6895 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6896 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897 && LARGE_OFF_T % 2147483647 == 1)
6898 ? 1 : -1];
6900 main ()
6904 return 0;
6906 _ACEOF
6907 if ac_fn_c_try_compile "$LINENO"; then :
6908 break
6910 rm -f core conftest.err conftest.$ac_objext
6911 CC="$CC -n32"
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 ac_cv_sys_largefile_CC=' -n32'; break
6915 rm -f core conftest.err conftest.$ac_objext
6916 break
6917 done
6918 CC=$ac_save_CC
6919 rm -f conftest.$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6923 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6924 if test "$ac_cv_sys_largefile_CC" != no; then
6925 CC=$CC$ac_cv_sys_largefile_CC
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6929 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6930 if ${ac_cv_sys_file_offset_bits+:} false; then :
6931 $as_echo_n "(cached) " >&6
6932 else
6933 while :; do
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 ac_cv_sys_file_offset_bits=no; break
6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #define _FILE_OFFSET_BITS 64
6960 #include <sys/types.h>
6961 /* Check that off_t can represent 2**63 - 1 correctly.
6962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6963 since some C++ compilers masquerading as C compilers
6964 incorrectly reject 9223372036854775807. */
6965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6967 && LARGE_OFF_T % 2147483647 == 1)
6968 ? 1 : -1];
6970 main ()
6974 return 0;
6976 _ACEOF
6977 if ac_fn_c_try_compile "$LINENO"; then :
6978 ac_cv_sys_file_offset_bits=64; break
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6981 ac_cv_sys_file_offset_bits=unknown
6982 break
6983 done
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6986 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6987 case $ac_cv_sys_file_offset_bits in #(
6988 no | unknown) ;;
6990 cat >>confdefs.h <<_ACEOF
6991 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6992 _ACEOF
6994 esac
6995 rm -rf conftest*
6996 if test $ac_cv_sys_file_offset_bits = unknown; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6998 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6999 if ${ac_cv_sys_large_files+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 while :; do
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_sys_large_files=no; break
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #define _LARGE_FILES 1
7029 #include <sys/types.h>
7030 /* Check that off_t can represent 2**63 - 1 correctly.
7031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7032 since some C++ compilers masquerading as C compilers
7033 incorrectly reject 9223372036854775807. */
7034 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7036 && LARGE_OFF_T % 2147483647 == 1)
7037 ? 1 : -1];
7039 main ()
7043 return 0;
7045 _ACEOF
7046 if ac_fn_c_try_compile "$LINENO"; then :
7047 ac_cv_sys_large_files=1; break
7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 ac_cv_sys_large_files=unknown
7051 break
7052 done
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7055 $as_echo "$ac_cv_sys_large_files" >&6; }
7056 case $ac_cv_sys_large_files in #(
7057 no | unknown) ;;
7059 cat >>confdefs.h <<_ACEOF
7060 #define _LARGE_FILES $ac_cv_sys_large_files
7061 _ACEOF
7063 esac
7064 rm -rf conftest*
7071 ac_ext=c
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7078 # On Suns, sometimes $CPP names a directory.
7079 if test -n "$CPP" && test -d "$CPP"; then
7080 CPP=
7082 if test -z "$CPP"; then
7083 if ${ac_cv_prog_CPP+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 # Double quotes because CPP needs to be expanded
7087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7089 ac_preproc_ok=false
7090 for ac_c_preproc_warn_flag in '' yes
7092 # Use a header file that comes with gcc, so configuring glibc
7093 # with a fresh cross-compiler works.
7094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7095 # <limits.h> exists even on freestanding compilers.
7096 # On the NeXT, cc -E runs the code through the compiler's parser,
7097 # not just through cpp. "Syntax error" is here to catch this case.
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #ifdef __STDC__
7101 # include <limits.h>
7102 #else
7103 # include <assert.h>
7104 #endif
7105 Syntax error
7106 _ACEOF
7107 if ac_fn_c_try_cpp "$LINENO"; then :
7109 else
7110 # Broken: fails on valid input.
7111 continue
7113 rm -f conftest.err conftest.i conftest.$ac_ext
7115 # OK, works on sane cases. Now check whether nonexistent headers
7116 # can be detected and how.
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #include <ac_nonexistent.h>
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7122 # Broken: success on invalid input.
7123 continue
7124 else
7125 # Passes both tests.
7126 ac_preproc_ok=:
7127 break
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 done
7132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7133 rm -f conftest.i conftest.err conftest.$ac_ext
7134 if $ac_preproc_ok; then :
7135 break
7138 done
7139 ac_cv_prog_CPP=$CPP
7142 CPP=$ac_cv_prog_CPP
7143 else
7144 ac_cv_prog_CPP=$CPP
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7147 $as_echo "$CPP" >&6; }
7148 ac_preproc_ok=false
7149 for ac_c_preproc_warn_flag in '' yes
7151 # Use a header file that comes with gcc, so configuring glibc
7152 # with a fresh cross-compiler works.
7153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7154 # <limits.h> exists even on freestanding compilers.
7155 # On the NeXT, cc -E runs the code through the compiler's parser,
7156 # not just through cpp. "Syntax error" is here to catch this case.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #ifdef __STDC__
7160 # include <limits.h>
7161 #else
7162 # include <assert.h>
7163 #endif
7164 Syntax error
7165 _ACEOF
7166 if ac_fn_c_try_cpp "$LINENO"; then :
7168 else
7169 # Broken: fails on valid input.
7170 continue
7172 rm -f conftest.err conftest.i conftest.$ac_ext
7174 # OK, works on sane cases. Now check whether nonexistent headers
7175 # can be detected and how.
7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177 /* end confdefs.h. */
7178 #include <ac_nonexistent.h>
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7181 # Broken: success on invalid input.
7182 continue
7183 else
7184 # Passes both tests.
7185 ac_preproc_ok=:
7186 break
7188 rm -f conftest.err conftest.i conftest.$ac_ext
7190 done
7191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7192 rm -f conftest.i conftest.err conftest.$ac_ext
7193 if $ac_preproc_ok; then :
7195 else
7196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7199 See \`config.log' for more details" "$LINENO" 5; }
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7210 $as_echo_n "checking for ANSI C header files... " >&6; }
7211 if ${ac_cv_header_stdc+:} false; then :
7212 $as_echo_n "(cached) " >&6
7213 else
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <stdlib.h>
7217 #include <stdarg.h>
7218 #include <string.h>
7219 #include <float.h>
7222 main ()
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_compile "$LINENO"; then :
7230 ac_cv_header_stdc=yes
7231 else
7232 ac_cv_header_stdc=no
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 if test $ac_cv_header_stdc = yes; then
7237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <string.h>
7242 _ACEOF
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244 $EGREP "memchr" >/dev/null 2>&1; then :
7246 else
7247 ac_cv_header_stdc=no
7249 rm -f conftest*
7253 if test $ac_cv_header_stdc = yes; then
7254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <stdlib.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "free" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7272 if test "$cross_compiling" = yes; then :
7274 else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <ctype.h>
7278 #include <stdlib.h>
7279 #if ((' ' & 0x0FF) == 0x020)
7280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7282 #else
7283 # define ISLOWER(c) \
7284 (('a' <= (c) && (c) <= 'i') \
7285 || ('j' <= (c) && (c) <= 'r') \
7286 || ('s' <= (c) && (c) <= 'z'))
7287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7288 #endif
7290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7292 main ()
7294 int i;
7295 for (i = 0; i < 256; i++)
7296 if (XOR (islower (i), ISLOWER (i))
7297 || toupper (i) != TOUPPER (i))
7298 return 2;
7299 return 0;
7301 _ACEOF
7302 if ac_fn_c_try_run "$LINENO"; then :
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7308 conftest.$ac_objext conftest.beam conftest.$ac_ext
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7314 $as_echo "$ac_cv_header_stdc" >&6; }
7315 if test $ac_cv_header_stdc = yes; then
7317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7323 inttypes.h stdint.h unistd.h
7324 do :
7325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7331 _ACEOF
7335 done
7338 for ac_header in \
7339 AL/al.h \
7340 ApplicationServices/ApplicationServices.h \
7341 AudioToolbox/AudioConverter.h \
7342 AudioUnit/AudioUnit.h \
7343 AudioUnit/AudioComponent.h \
7344 CL/cl.h \
7345 Carbon/Carbon.h \
7346 CommonCrypto/CommonCryptor.h \
7347 CoreAudio/CoreAudio.h \
7348 CoreServices/CoreServices.h \
7349 DiskArbitration/DiskArbitration.h \
7350 EGL/egl.h \
7351 IOKit/IOKitLib.h \
7352 IOKit/hid/IOHIDLib.h \
7353 OpenAL/al.h \
7354 OpenCL/opencl.h \
7355 QuickTime/ImageCompression.h \
7356 Security/Security.h \
7357 alias.h \
7358 arpa/inet.h \
7359 arpa/nameser.h \
7360 asm/types.h \
7361 asm/user.h \
7362 curses.h \
7363 dirent.h \
7364 dlfcn.h \
7365 elf.h \
7366 float.h \
7367 fnmatch.h \
7368 getopt.h \
7369 gettext-po.h \
7370 grp.h \
7371 gsm.h \
7372 gsm/gsm.h \
7373 ieeefp.h \
7374 inet/mib2.h \
7375 kstat.h \
7376 libproc.h \
7377 link.h \
7378 linux/cdrom.h \
7379 linux/compiler.h \
7380 linux/filter.h \
7381 linux/hdreg.h \
7382 linux/hidraw.h \
7383 linux/input.h \
7384 linux/ioctl.h \
7385 linux/joystick.h \
7386 linux/major.h \
7387 linux/param.h \
7388 linux/serial.h \
7389 linux/types.h \
7390 linux/ucdrom.h \
7391 lwp.h \
7392 mach-o/nlist.h \
7393 mach-o/loader.h \
7394 mach/mach.h \
7395 mach/machine.h \
7396 machine/cpu.h \
7397 machine/limits.h \
7398 machine/sysarch.h \
7399 mntent.h \
7400 ncurses.h \
7401 netdb.h \
7402 netinet/in.h \
7403 netinet/in_systm.h \
7404 netinet/tcp.h \
7405 netinet/tcp_fsm.h \
7406 pcap/pcap.h \
7407 poll.h \
7408 port.h \
7409 pthread.h \
7410 pwd.h \
7411 sched.h \
7412 scsi/scsi.h \
7413 scsi/scsi_ioctl.h \
7414 scsi/sg.h \
7415 stdbool.h \
7416 stdint.h \
7417 stropts.h \
7418 sys/attr.h \
7419 sys/auxv.h \
7420 sys/cdio.h \
7421 sys/elf32.h \
7422 sys/epoll.h \
7423 sys/event.h \
7424 sys/exec_elf.h \
7425 sys/filio.h \
7426 sys/ioctl.h \
7427 sys/ipc.h \
7428 sys/limits.h \
7429 sys/link.h \
7430 sys/mman.h \
7431 sys/modem.h \
7432 sys/msg.h \
7433 sys/mtio.h \
7434 sys/param.h \
7435 sys/poll.h \
7436 sys/prctl.h \
7437 sys/protosw.h \
7438 sys/ptrace.h \
7439 sys/queue.h \
7440 sys/resource.h \
7441 sys/scsiio.h \
7442 sys/shm.h \
7443 sys/signal.h \
7444 sys/socket.h \
7445 sys/socketvar.h \
7446 sys/sockio.h \
7447 sys/statvfs.h \
7448 sys/strtio.h \
7449 sys/syscall.h \
7450 sys/sysinfo.h \
7451 sys/tihdr.h \
7452 sys/time.h \
7453 sys/timeout.h \
7454 sys/times.h \
7455 sys/uio.h \
7456 sys/user.h \
7457 sys/utsname.h \
7458 sys/vnode.h \
7459 sys/wait.h \
7460 syscall.h \
7461 termios.h \
7462 unistd.h \
7463 utime.h \
7464 valgrind/memcheck.h \
7465 valgrind/valgrind.h
7467 do :
7468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7469 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7471 cat >>confdefs.h <<_ACEOF
7472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7473 _ACEOF
7477 done
7479 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7480 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7482 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7487 if test $ac_cv_header_sys_mkdev_h = no; then
7488 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7489 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7491 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7498 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7499 if ${ac_cv_header_stat_broken+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7504 #include <sys/types.h>
7505 #include <sys/stat.h>
7507 #if defined S_ISBLK && defined S_IFDIR
7508 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7509 #endif
7511 #if defined S_ISBLK && defined S_IFCHR
7512 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7513 #endif
7515 #if defined S_ISLNK && defined S_IFREG
7516 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7517 #endif
7519 #if defined S_ISSOCK && defined S_IFREG
7520 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7521 #endif
7523 _ACEOF
7524 if ac_fn_c_try_compile "$LINENO"; then :
7525 ac_cv_header_stat_broken=no
7526 else
7527 ac_cv_header_stat_broken=yes
7529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7532 $as_echo "$ac_cv_header_stat_broken" >&6; }
7533 if test $ac_cv_header_stat_broken = yes; then
7535 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7541 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7542 do :
7543 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7544 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7545 #ifdef HAVE_SYS_PARAM_H
7546 # include <sys/param.h>
7547 #endif
7549 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7550 cat >>confdefs.h <<_ACEOF
7551 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7556 done
7559 for ac_header in \
7560 netinet/ip.h \
7561 net/if.h \
7562 net/if_arp.h \
7563 net/if_dl.h \
7564 net/if_types.h \
7565 net/route.h \
7566 netinet/if_ether.h \
7567 netinet/if_inarp.h \
7568 netinet/in_pcb.h \
7569 netinet/ip_icmp.h \
7570 netinet/ip_var.h \
7571 netinet/udp.h \
7572 netipx/ipx.h \
7573 sys/un.h \
7575 do :
7576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7577 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7578 #ifdef HAVE_SYS_SOCKET_H
7579 # include <sys/socket.h>
7580 #endif
7581 #ifdef HAVE_SYS_SOCKETVAR_H
7582 # include <sys/socketvar.h>
7583 #endif
7584 #ifdef HAVE_NET_ROUTE_H
7585 # include <net/route.h>
7586 #endif
7587 #ifdef HAVE_NETINET_IN_H
7588 # include <netinet/in.h>
7589 #endif
7590 #ifdef HAVE_NETINET_IN_SYSTM_H
7591 # include <netinet/in_systm.h>
7592 #endif
7593 #ifdef HAVE_NET_IF_H
7594 # include <net/if.h>
7595 #endif
7596 #ifdef HAVE_NETINET_IP_H
7597 # include <netinet/ip.h>
7598 #endif
7600 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7601 cat >>confdefs.h <<_ACEOF
7602 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7607 done
7610 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7611 do :
7612 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7614 #ifdef HAVE_ALIAS_H
7615 # include <alias.h>
7616 #endif
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_SYS_SOCKETVAR_H
7621 # include <sys/socketvar.h>
7622 #endif
7623 #ifdef HAVE_SYS_TIMEOUT_H
7624 # include <sys/timeout.h>
7625 #endif
7626 #ifdef HAVE_NETINET_IN_H
7627 # include <netinet/in.h>
7628 #endif
7629 #ifdef HAVE_NETINET_IN_SYSTM_H
7630 # include <netinet/in_systm.h>
7631 #endif
7632 #ifdef HAVE_NETINET_IP_H
7633 # include <netinet/ip.h>
7634 #endif
7635 #ifdef HAVE_NETINET_IP_VAR_H
7636 # include <netinet/ip_var.h>
7637 #endif
7638 #ifdef HAVE_NETINET_IP_ICMP_H
7639 # include <netinet/ip_icmp.h>
7640 #endif
7641 #ifdef HAVE_NETINET_UDP_H
7642 # include <netinet/udp.h>
7643 #endif
7644 #ifdef HAVE_NETINET_TCP_H
7645 # include <netinet/tcp.h>
7646 #endif
7647 #ifdef HAVE_NETINET_TCP_TIMER_H
7648 #include <netinet/tcp_timer.h>
7649 #endif
7651 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7654 _ACEOF
7658 done
7661 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7662 do :
7663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7665 #ifdef HAVE_ASM_TYPES_H
7666 # include <asm/types.h>
7667 #endif
7668 #ifdef HAVE_SYS_SOCKET_H
7669 # include <sys/socket.h>
7670 #endif
7671 #ifdef HAVE_LINUX_TYPES_H
7672 # include <linux/types.h>
7673 #endif
7675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7676 cat >>confdefs.h <<_ACEOF
7677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7678 _ACEOF
7682 done
7685 for ac_header in mach-o/dyld_images.h
7686 do :
7687 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7688 # include <stdbool.h>
7689 #endif
7690 #ifdef HAVE_STDINT_H
7691 # include <stdint.h>
7692 #endif
7694 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7695 cat >>confdefs.h <<_ACEOF
7696 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7697 _ACEOF
7701 done
7704 for ac_header in resolv.h
7705 do :
7706 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7707 #ifdef HAVE_SYS_SOCKET_H
7708 # include <sys/socket.h>
7709 #endif
7710 #ifdef HAVE_NETINET_IN_H
7711 # include <netinet/in.h>
7712 #endif
7713 #ifdef HAVE_ARPA_NAMESER_H
7714 # include <arpa/nameser.h>
7715 #endif
7717 if test "x$ac_cv_header_resolv_h" = xyes; then :
7718 cat >>confdefs.h <<_ACEOF
7719 #define HAVE_RESOLV_H 1
7720 _ACEOF
7724 done
7727 for ac_header in ifaddrs.h
7728 do :
7729 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7731 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7732 cat >>confdefs.h <<_ACEOF
7733 #define HAVE_IFADDRS_H 1
7734 _ACEOF
7738 done
7741 for ac_header in sys/ucontext.h
7742 do :
7743 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7745 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_SYS_UCONTEXT_H 1
7748 _ACEOF
7752 done
7755 for ac_header in sys/thr.h
7756 do :
7757 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7758 #ifdef HAVE_SYS_UCONTEXT_H
7759 #include <sys/ucontext.h>
7760 #endif
7762 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7763 cat >>confdefs.h <<_ACEOF
7764 #define HAVE_SYS_THR_H 1
7765 _ACEOF
7769 done
7772 for ac_header in pthread_np.h
7773 do :
7774 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7775 #include <pthread.h>
7776 #endif
7778 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define HAVE_PTHREAD_NP_H 1
7781 _ACEOF
7785 done
7788 for ac_header in linux/videodev2.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7791 #include <sys/time.h>
7792 #endif
7793 #include <sys/types.h>
7794 #ifdef HAVE_ASM_TYPES_H
7795 #include <asm/types.h>
7796 #endif
7798 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_LINUX_VIDEODEV2_H 1
7801 _ACEOF
7805 done
7808 for ac_header in libprocstat.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7811 #include <sys/param.h>
7812 #endif
7813 #ifdef HAVE_SYS_QUEUE_H
7814 #include <sys/queue.h>
7815 #endif
7816 #ifdef HAVE_SYS_SOCKET_H
7817 #include <sys/socket.h>
7818 #endif
7820 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7821 cat >>confdefs.h <<_ACEOF
7822 #define HAVE_LIBPROCSTAT_H 1
7823 _ACEOF
7827 done
7831 DLLFLAGS="-D_REENTRANT"
7833 LDRPATH_INSTALL=""
7835 LDRPATH_LOCAL=""
7837 LDDLLFLAGS=""
7839 LDEXECFLAGS=""
7841 TOP_INSTALL_LIB=""
7843 TOP_INSTALL_DEV=""
7845 WINELOADER_LDFLAGS=""
7847 WINEPRELOADER_LDFLAGS=""
7849 LIBEXT="so"
7850 DLLEXT=".so"
7851 # Extract the first word of "ldd", so it can be a program name with args.
7852 set dummy ldd; ac_word=$2
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7854 $as_echo_n "checking for $ac_word... " >&6; }
7855 if ${ac_cv_path_LDD+:} false; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 case $LDD in
7859 [\\/]* | ?:[\\/]*)
7860 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 as_dummy="/sbin:/usr/sbin:$PATH"
7865 for as_dir in $as_dummy
7867 IFS=$as_save_IFS
7868 test -z "$as_dir" && as_dir=.
7869 for ac_exec_ext in '' $ac_executable_extensions; do
7870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 break 2
7875 done
7876 done
7877 IFS=$as_save_IFS
7879 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7881 esac
7883 LDD=$ac_cv_path_LDD
7884 if test -n "$LDD"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7886 $as_echo "$LDD" >&6; }
7887 else
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7893 if test -n "$ac_tool_prefix"; then
7894 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7895 set dummy ${ac_tool_prefix}otool; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7897 $as_echo_n "checking for $ac_word... " >&6; }
7898 if ${ac_cv_prog_OTOOL+:} false; then :
7899 $as_echo_n "(cached) " >&6
7900 else
7901 if test -n "$OTOOL"; then
7902 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7903 else
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 for as_dir in $PATH
7907 IFS=$as_save_IFS
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7911 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 break 2
7915 done
7916 done
7917 IFS=$as_save_IFS
7921 OTOOL=$ac_cv_prog_OTOOL
7922 if test -n "$OTOOL"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7924 $as_echo "$OTOOL" >&6; }
7925 else
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7927 $as_echo "no" >&6; }
7932 if test -z "$ac_cv_prog_OTOOL"; then
7933 ac_ct_OTOOL=$OTOOL
7934 # Extract the first word of "otool", so it can be a program name with args.
7935 set dummy otool; ac_word=$2
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7937 $as_echo_n "checking for $ac_word... " >&6; }
7938 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7939 $as_echo_n "(cached) " >&6
7940 else
7941 if test -n "$ac_ct_OTOOL"; then
7942 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7943 else
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 for as_dir in $PATH
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_prog_ac_ct_OTOOL="otool"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7961 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7962 if test -n "$ac_ct_OTOOL"; then
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7964 $as_echo "$ac_ct_OTOOL" >&6; }
7965 else
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7967 $as_echo "no" >&6; }
7970 if test "x$ac_ct_OTOOL" = x; then
7971 OTOOL="otool"
7972 else
7973 case $cross_compiling:$ac_tool_warned in
7974 yes:)
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7977 ac_tool_warned=yes ;;
7978 esac
7979 OTOOL=$ac_ct_OTOOL
7981 else
7982 OTOOL="$ac_cv_prog_OTOOL"
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_READELF+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$READELF"; then
7994 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 READELF=$ac_cv_prog_READELF
8014 if test -n "$READELF"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8016 $as_echo "$READELF" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_READELF"; then
8025 ac_ct_READELF=$READELF
8026 # Extract the first word of "readelf", so it can be a program name with args.
8027 set dummy readelf; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_READELF"; then
8034 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_READELF="readelf"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8054 if test -n "$ac_ct_READELF"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8056 $as_echo "$ac_ct_READELF" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_READELF" = x; then
8063 READELF="true"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 READELF=$ac_ct_READELF
8073 else
8074 READELF="$ac_cv_prog_READELF"
8077 wine_rules_file=conf$$rules.make
8078 rm -f $wine_rules_file
8079 SUBDIRS=""
8081 DISABLED_SUBDIRS=""
8083 CONFIGURE_TARGETS=""
8086 wine_fn_append_file ()
8088 as_fn_append $1 " \\$as_nl $2"
8091 wine_fn_append_rule ()
8093 $as_echo "$1" >>$wine_rules_file
8096 wine_fn_config_makefile ()
8098 wine_fn_append_file SUBDIRS $1
8099 if eval test \"x\$"$2"\" = x"no"; then :
8100 wine_fn_append_file DISABLED_SUBDIRS $1
8104 wine_fn_config_symlink ()
8106 ac_links=$@
8107 wine_fn_append_rule \
8108 "$ac_links:
8109 @./config.status \$@"
8110 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8113 wine_binary="wine"
8114 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8115 WINELOADER_PROGRAMS="$wine_binary"
8117 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8119 case $host_os in
8120 cygwin*|mingw32*)
8121 if test -n "$ac_tool_prefix"; then
8122 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8123 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8125 $as_echo_n "checking for $ac_word... " >&6; }
8126 if ${ac_cv_prog_DLLTOOL+:} false; then :
8127 $as_echo_n "(cached) " >&6
8128 else
8129 if test -n "$DLLTOOL"; then
8130 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8131 else
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8133 for as_dir in $PATH
8135 IFS=$as_save_IFS
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8139 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141 break 2
8143 done
8144 done
8145 IFS=$as_save_IFS
8149 DLLTOOL=$ac_cv_prog_DLLTOOL
8150 if test -n "$DLLTOOL"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8152 $as_echo "$DLLTOOL" >&6; }
8153 else
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8155 $as_echo "no" >&6; }
8160 if test -z "$ac_cv_prog_DLLTOOL"; then
8161 ac_ct_DLLTOOL=$DLLTOOL
8162 # Extract the first word of "dlltool", so it can be a program name with args.
8163 set dummy dlltool; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8165 $as_echo_n "checking for $ac_word... " >&6; }
8166 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8167 $as_echo_n "(cached) " >&6
8168 else
8169 if test -n "$ac_ct_DLLTOOL"; then
8170 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8171 else
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8173 for as_dir in $PATH
8175 IFS=$as_save_IFS
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8179 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181 break 2
8183 done
8184 done
8185 IFS=$as_save_IFS
8189 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8190 if test -n "$ac_ct_DLLTOOL"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8192 $as_echo "$ac_ct_DLLTOOL" >&6; }
8193 else
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8198 if test "x$ac_ct_DLLTOOL" = x; then
8199 DLLTOOL="false"
8200 else
8201 case $cross_compiling:$ac_tool_warned in
8202 yes:)
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8205 ac_tool_warned=yes ;;
8206 esac
8207 DLLTOOL=$ac_ct_DLLTOOL
8209 else
8210 DLLTOOL="$ac_cv_prog_DLLTOOL"
8213 LIBEXT="dll"
8214 DLLEXT=""
8215 case $host_cpu in
8216 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8217 esac
8218 enable_iphlpapi=${enable_iphlpapi:-no}
8219 enable_kernel32=${enable_kernel32:-no}
8220 enable_ntdll=${enable_ntdll:-no}
8221 enable_ws2_32=${enable_ws2_32:-no}
8222 enable_loader=${enable_loader:-no}
8223 enable_server=${enable_server:-no}
8224 with_x=${with_x:-no}
8225 with_pthread=${with_pthread:-no}
8228 darwin*|macosx*)
8229 ac_ext=m
8230 ac_cpp='$OBJCPP $CPPFLAGS'
8231 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
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
8240 if test -n "$ac_tool_prefix"; then
8241 for ac_prog in gcc objcc objc cc CC
8243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_OBJC+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 if test -n "$OBJC"; then
8251 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 OBJC=$ac_cv_prog_OBJC
8271 if test -n "$OBJC"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8273 $as_echo "$OBJC" >&6; }
8274 else
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8280 test -n "$OBJC" && break
8281 done
8283 if test -z "$OBJC"; then
8284 ac_ct_OBJC=$OBJC
8285 for ac_prog in gcc objcc objc cc CC
8287 # Extract the first word of "$ac_prog", so it can be a program name with args.
8288 set dummy $ac_prog; ac_word=$2
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8290 $as_echo_n "checking for $ac_word... " >&6; }
8291 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 if test -n "$ac_ct_OBJC"; then
8295 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8296 else
8297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 for as_dir in $PATH
8300 IFS=$as_save_IFS
8301 test -z "$as_dir" && as_dir=.
8302 for ac_exec_ext in '' $ac_executable_extensions; do
8303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8304 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8306 break 2
8308 done
8309 done
8310 IFS=$as_save_IFS
8314 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8315 if test -n "$ac_ct_OBJC"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8317 $as_echo "$ac_ct_OBJC" >&6; }
8318 else
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8320 $as_echo "no" >&6; }
8324 test -n "$ac_ct_OBJC" && break
8325 done
8327 if test "x$ac_ct_OBJC" = x; then
8328 OBJC="gcc"
8329 else
8330 case $cross_compiling:$ac_tool_warned in
8331 yes:)
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8334 ac_tool_warned=yes ;;
8335 esac
8336 OBJC=$ac_ct_OBJC
8340 # Provide some information about the compiler.
8341 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8342 set X $ac_compile
8343 ac_compiler=$2
8344 for ac_option in --version -v -V -qversion; do
8345 { { ac_try="$ac_compiler $ac_option >&5"
8346 case "(($ac_try" in
8347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8348 *) ac_try_echo=$ac_try;;
8349 esac
8350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8351 $as_echo "$ac_try_echo"; } >&5
8352 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8353 ac_status=$?
8354 if test -s conftest.err; then
8355 sed '10a\
8356 ... rest of stderr output deleted ...
8357 10q' conftest.err >conftest.er1
8358 cat conftest.er1 >&5
8360 rm -f conftest.er1 conftest.err
8361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8362 test $ac_status = 0; }
8363 done
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8366 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8367 if ${ac_cv_objc_compiler_gnu+:} false; then :
8368 $as_echo_n "(cached) " >&6
8369 else
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8374 main ()
8376 #ifndef __GNUC__
8377 choke me
8378 #endif
8381 return 0;
8383 _ACEOF
8384 if ac_fn_objc_try_compile "$LINENO"; then :
8385 ac_compiler_gnu=yes
8386 else
8387 ac_compiler_gnu=no
8389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8390 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8394 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8395 if test $ac_compiler_gnu = yes; then
8396 GOBJC=yes
8397 else
8398 GOBJC=
8400 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8401 ac_save_OBJCFLAGS=$OBJCFLAGS
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8403 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8404 if ${ac_cv_prog_objc_g+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_save_objc_werror_flag=$ac_objc_werror_flag
8408 ac_objc_werror_flag=yes
8409 ac_cv_prog_objc_g=no
8410 OBJCFLAGS="-g"
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 if ac_fn_objc_try_compile "$LINENO"; then :
8423 ac_cv_prog_objc_g=yes
8424 else
8425 OBJCFLAGS=""
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8430 main ()
8434 return 0;
8436 _ACEOF
8437 if ac_fn_objc_try_compile "$LINENO"; then :
8439 else
8440 ac_objc_werror_flag=$ac_save_objc_werror_flag
8441 OBJCFLAGS="-g"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8446 main ()
8450 return 0;
8452 _ACEOF
8453 if ac_fn_objc_try_compile "$LINENO"; then :
8454 ac_cv_prog_objc_g=yes
8456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_objc_werror_flag=$ac_save_objc_werror_flag
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8464 $as_echo "$ac_cv_prog_objc_g" >&6; }
8465 if test "$ac_test_OBJCFLAGS" = set; then
8466 OBJCFLAGS=$ac_save_OBJCFLAGS
8467 elif test $ac_cv_prog_objc_g = yes; then
8468 if test "$GOBJC" = yes; then
8469 OBJCFLAGS="-g -O2"
8470 else
8471 OBJCFLAGS="-g"
8473 else
8474 if test "$GOBJC" = yes; then
8475 OBJCFLAGS="-O2"
8476 else
8477 OBJCFLAGS=
8480 ac_ext=m
8481 ac_cpp='$OBJCPP $CPPFLAGS'
8482 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8483 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8484 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8487 ac_ext=m
8488 ac_cpp='$OBJCPP $CPPFLAGS'
8489 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8493 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8494 if test -z "$OBJCPP"; then
8495 if ${ac_cv_prog_OBJCPP+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 # Double quotes because OBJCPP needs to be expanded
8499 for OBJCPP in "$OBJC -E" "/lib/cpp"
8501 ac_preproc_ok=false
8502 for ac_objc_preproc_warn_flag in '' yes
8504 # Use a header file that comes with gcc, so configuring glibc
8505 # with a fresh cross-compiler works.
8506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8507 # <limits.h> exists even on freestanding compilers.
8508 # On the NeXT, cc -E runs the code through the compiler's parser,
8509 # not just through cpp. "Syntax error" is here to catch this case.
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 #ifdef __STDC__
8513 # include <limits.h>
8514 #else
8515 # include <assert.h>
8516 #endif
8517 Syntax error
8518 _ACEOF
8519 if ac_fn_objc_try_cpp "$LINENO"; then :
8521 else
8522 # Broken: fails on valid input.
8523 continue
8525 rm -f conftest.err conftest.i conftest.$ac_ext
8527 # OK, works on sane cases. Now check whether nonexistent headers
8528 # can be detected and how.
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 #include <ac_nonexistent.h>
8532 _ACEOF
8533 if ac_fn_objc_try_cpp "$LINENO"; then :
8534 # Broken: success on invalid input.
8535 continue
8536 else
8537 # Passes both tests.
8538 ac_preproc_ok=:
8539 break
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 done
8544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8545 rm -f conftest.i conftest.err conftest.$ac_ext
8546 if $ac_preproc_ok; then :
8547 break
8550 done
8551 ac_cv_prog_OBJCPP=$OBJCPP
8554 OBJCPP=$ac_cv_prog_OBJCPP
8555 else
8556 ac_cv_prog_OBJCPP=$OBJCPP
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8559 $as_echo "$OBJCPP" >&6; }
8560 ac_preproc_ok=false
8561 for ac_objc_preproc_warn_flag in '' yes
8563 # Use a header file that comes with gcc, so configuring glibc
8564 # with a fresh cross-compiler works.
8565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8566 # <limits.h> exists even on freestanding compilers.
8567 # On the NeXT, cc -E runs the code through the compiler's parser,
8568 # not just through cpp. "Syntax error" is here to catch this case.
8569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8570 /* end confdefs.h. */
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8576 Syntax error
8577 _ACEOF
8578 if ac_fn_objc_try_cpp "$LINENO"; then :
8580 else
8581 # Broken: fails on valid input.
8582 continue
8584 rm -f conftest.err conftest.i conftest.$ac_ext
8586 # OK, works on sane cases. Now check whether nonexistent headers
8587 # can be detected and how.
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 #include <ac_nonexistent.h>
8591 _ACEOF
8592 if ac_fn_objc_try_cpp "$LINENO"; then :
8593 # Broken: success on invalid input.
8594 continue
8595 else
8596 # Passes both tests.
8597 ac_preproc_ok=:
8598 break
8600 rm -f conftest.err conftest.i conftest.$ac_ext
8602 done
8603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8604 rm -f conftest.i conftest.err conftest.$ac_ext
8605 if $ac_preproc_ok; then :
8607 else
8608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8610 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8611 See \`config.log' for more details" "$LINENO" 5; }
8614 ac_ext=m
8615 ac_cpp='$OBJCPP $CPPFLAGS'
8616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8621 for ac_header in Metal/Metal.h
8622 do :
8623 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8624 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8625 cat >>confdefs.h <<_ACEOF
8626 #define HAVE_METAL_METAL_H 1
8627 _ACEOF
8631 done
8633 ac_ext=c
8634 ac_cpp='$CPP $CPPFLAGS'
8635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8639 LIBEXT="dylib"
8640 DLLFLAGS="$DLLFLAGS -fPIC"
8641 LDDLLFLAGS="-fPIC"
8642 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8643 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8644 COREFOUNDATION_LIBS="-framework CoreFoundation"
8646 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8648 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8650 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8652 CORESERVICES_LIBS="-framework CoreServices"
8654 APPKIT_LIBS="-framework AppKit"
8657 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8659 wine_can_build_preloader=yes
8660 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8663 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl__no_new_main__e__main=yes
8674 else
8675 ac_cv_cflags__Wl__no_new_main__e__main=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8682 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8683 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8684 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8686 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8687 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 ac_wine_try_cflags_saved=$CFLAGS
8691 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 int main(int argc, char **argv) { return 0; }
8695 _ACEOF
8696 if ac_fn_c_try_link "$LINENO"; then :
8697 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8698 else
8699 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8701 rm -f core conftest.err conftest.$ac_objext \
8702 conftest$ac_exeext conftest.$ac_ext
8703 CFLAGS=$ac_wine_try_cflags_saved
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8706 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8707 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8708 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8709 else
8710 { $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
8711 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8712 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8723 else
8724 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $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
8731 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8732 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8733 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8734 else
8735 wine_can_build_preloader=no
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8740 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8741 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 int main(int argc, char **argv) { return 0; }
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8752 else
8753 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8760 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8761 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8762 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8765 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8766 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8777 else
8778 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8785 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8786 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8787 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8788 else
8789 wine_can_build_preloader=no
8793 if test "$wine_can_build_preloader" = "yes"
8794 then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8796 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8797 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 ac_wine_try_cflags_saved=$CFLAGS
8801 CFLAGS="$CFLAGS -Wl,-no_pie"
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8804 int main(int argc, char **argv) { return 0; }
8805 _ACEOF
8806 if ac_fn_c_try_link "$LINENO"; then :
8807 ac_cv_cflags__Wl__no_pie=yes
8808 else
8809 ac_cv_cflags__Wl__no_pie=no
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 CFLAGS=$ac_wine_try_cflags_saved
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8816 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8817 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8818 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8820 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8821 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8822 else
8823 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8826 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8827 then
8828 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8831 if test "$ac_cv_header_Security_Security_h" = "yes"
8832 then
8833 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8835 ac_save_LIBS="$LIBS"
8836 LIBS="$LIBS $SECURITY_LIBS"
8837 for ac_func in SSLCopyPeerCertificates
8838 do :
8839 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8840 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8841 cat >>confdefs.h <<_ACEOF
8842 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8843 _ACEOF
8846 done
8848 LIBS="$ac_save_LIBS"
8850 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8851 then
8852 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8853 then
8854 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8856 else
8857 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8860 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8861 ac_save_LIBS="$LIBS"
8862 LIBS="$LIBS $COREAUDIO_LIBS"
8863 for ac_func in AUGraphAddNode
8864 do :
8865 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8866 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8867 cat >>confdefs.h <<_ACEOF
8868 #define HAVE_AUGRAPHADDNODE 1
8869 _ACEOF
8872 done
8874 LIBS="$ac_save_LIBS"
8876 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8877 then
8878 OPENAL_LIBS="-framework OpenAL"
8881 cat >>confdefs.h <<_ACEOF
8882 #define HAVE_OPENAL 1
8883 _ACEOF
8885 ac_cv_lib_openal=yes
8887 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8888 then
8889 OPENCL_LIBS="-framework OpenCL"
8891 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8893 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8894 then
8895 ac_save_LIBS="$LIBS"
8896 LIBS="$LIBS $IOKIT_LIBS"
8897 for ac_func in IOHIDManagerCreate
8898 do :
8899 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8900 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8901 cat >>confdefs.h <<_ACEOF
8902 #define HAVE_IOHIDMANAGERCREATE 1
8903 _ACEOF
8906 done
8908 LIBS="$ac_save_LIBS"
8910 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8911 then
8912 ac_save_LIBS="$LIBS"
8913 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8915 $as_echo_n "checking for the QuickTime framework... " >&6; }
8916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8917 /* end confdefs.h. */
8918 #include <QuickTime/ImageCompression.h>
8920 main ()
8922 CodecManagerVersion(NULL);
8924 return 0;
8926 _ACEOF
8927 if ac_fn_c_try_link "$LINENO"; then :
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8929 $as_echo "yes" >&6; }
8930 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8932 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8935 $as_echo "no" >&6; }
8936 ac_cv_header_QuickTime_ImageCompression_h=no
8938 rm -f core conftest.err conftest.$ac_objext \
8939 conftest$ac_exeext conftest.$ac_ext
8940 LIBS="$ac_save_LIBS"
8942 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8943 then
8944 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8946 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8947 then
8948 CARBON_LIBS="-framework Carbon"
8951 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8952 then
8953 METAL_LIBS="-framework Metal -framework QuartzCore"
8957 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8958 then
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8960 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8961 ac_ext=m
8962 ac_cpp='$OBJCPP $CPPFLAGS'
8963 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8964 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8965 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8969 #include <Metal/Metal.h>
8971 main ()
8973 id<MTLDevice> device; device.registryID;
8975 return 0;
8977 _ACEOF
8978 if ac_fn_objc_try_compile "$LINENO"; then :
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8980 $as_echo "yes" >&6; }
8982 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8986 $as_echo "no" >&6; }
8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8989 ac_ext=c
8990 ac_cpp='$CPP $CPPFLAGS'
8991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8997 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8998 then
8999 ac_save_LIBS="$LIBS"
9000 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9001 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9002 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9003 enable_winemac_drv=${enable_winemac_drv:-yes}
9006 LIBS="$ac_save_LIBS"
9009 if test "x$enable_win16" = "xyes"
9010 then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9012 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9013 if test "$cross_compiling" = yes; then :
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9015 $as_echo "cross-compiling, assuming yes" >&6; }
9016 else
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9019 asm(".text\n"
9020 "bad:\tnop;nop\n"
9021 "good:\tnop;nop\n\t"
9022 ".globl _testfunc\n"
9023 "_testfunc:\tcallw good");
9024 extern void testfunc();
9026 main ()
9028 unsigned short *p = (unsigned short *)testfunc;
9029 return p[0] != 0xe866 || p[1] != 0xfffa
9031 return 0;
9033 _ACEOF
9034 if ac_fn_c_try_run "$LINENO"; then :
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9036 $as_echo "yes" >&6; }
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9040 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
9042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9043 conftest.$ac_objext conftest.beam conftest.$ac_ext
9048 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9050 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9052 WINELOADER_DEPENDS="wine_info.plist"
9054 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9055 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9058 linux-android*)
9059 DLLFLAGS="$DLLFLAGS -fPIC"
9060 LDDLLFLAGS="-fPIC"
9061 LDEXECFLAGS="-Wl,-pie"
9062 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9064 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9065 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9066 $as_echo_n "(cached) " >&6
9067 else
9068 ac_wine_try_cflags_saved=$CFLAGS
9069 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 int main(int argc, char **argv) { return 0; }
9073 _ACEOF
9074 if ac_fn_c_try_link "$LINENO"; then :
9075 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9076 else
9077 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9079 rm -f core conftest.err conftest.$ac_objext \
9080 conftest$ac_exeext conftest.$ac_ext
9081 CFLAGS=$ac_wine_try_cflags_saved
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9084 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9085 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9086 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9088 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9089 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9091 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9092 if eval \${$as_ac_var+:} false; then :
9093 $as_echo_n "(cached) " >&6
9094 else
9095 ac_wine_try_cflags_saved=$CFLAGS
9096 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9098 /* end confdefs.h. */
9099 int main(int argc, char **argv) { return 0; }
9100 _ACEOF
9101 if ac_fn_c_try_link "$LINENO"; then :
9102 eval "$as_ac_var=yes"
9103 else
9104 eval "$as_ac_var=no"
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 eval ac_res=\$$as_ac_var
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9112 $as_echo "$ac_res" >&6; }
9113 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9114 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9115 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9116 else
9117 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9119 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9120 if eval \${$as_ac_var+:} false; then :
9121 $as_echo_n "(cached) " >&6
9122 else
9123 ac_wine_try_cflags_saved=$CFLAGS
9124 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9126 /* end confdefs.h. */
9127 int main(int argc, char **argv) { return 0; }
9128 _ACEOF
9129 if ac_fn_c_try_link "$LINENO"; then :
9130 eval "$as_ac_var=yes"
9131 else
9132 eval "$as_ac_var=no"
9134 rm -f core conftest.err conftest.$ac_objext \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 eval ac_res=\$$as_ac_var
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9140 $as_echo "$ac_res" >&6; }
9141 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9142 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9143 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9147 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9148 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9149 $as_echo_n "(cached) " >&6
9150 else
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9154 /* end confdefs.h. */
9155 int main(int argc, char **argv) { return 0; }
9156 _ACEOF
9157 if ac_fn_c_try_link "$LINENO"; then :
9158 ac_cv_cflags__Wl___enable_new_dtags=yes
9159 else
9160 ac_cv_cflags__Wl___enable_new_dtags=no
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 CFLAGS=$ac_wine_try_cflags_saved
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9167 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9168 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9169 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9172 LIBWINE_SHAREDLIB="libwine.so"
9174 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9176 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9179 $as_echo_n "checking for -lEGL... " >&6; }
9180 if ${ac_cv_lib_soname_EGL+:} false; then :
9181 $as_echo_n "(cached) " >&6
9182 else
9183 ac_check_soname_save_LIBS=$LIBS
9184 LIBS="-lEGL $LIBS"
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9188 /* Override any GCC internal prototype to avoid an error.
9189 Use char because int might match the return type of a GCC
9190 builtin and then its argument prototype would still apply. */
9191 #ifdef __cplusplus
9192 extern "C"
9193 #endif
9194 char eglGetProcAddress ();
9196 main ()
9198 return eglGetProcAddress ();
9200 return 0;
9202 _ACEOF
9203 if ac_fn_c_try_link "$LINENO"; then :
9204 case "$LIBEXT" in
9205 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9206 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'` ;;
9207 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9210 fi ;;
9211 esac
9212 else
9213 ac_cv_lib_soname_EGL=
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9217 LIBS=$ac_check_soname_save_LIBS
9219 if ${ac_cv_lib_soname_EGL:+false} :; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9223 else
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9225 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9227 cat >>confdefs.h <<_ACEOF
9228 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9229 _ACEOF
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9234 $as_echo_n "checking for -lGLESv2... " >&6; }
9235 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9236 $as_echo_n "(cached) " >&6
9237 else
9238 ac_check_soname_save_LIBS=$LIBS
9239 LIBS="-lGLESv2 $LIBS"
9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9246 #ifdef __cplusplus
9247 extern "C"
9248 #endif
9249 char glFlush ();
9251 main ()
9253 return glFlush ();
9255 return 0;
9257 _ACEOF
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 case "$LIBEXT" in
9260 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9261 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'` ;;
9262 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9265 fi ;;
9266 esac
9267 else
9268 ac_cv_lib_soname_GLESv2=
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LIBS=$ac_check_soname_save_LIBS
9274 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9276 $as_echo "not found" >&6; }
9278 else
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9280 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9282 cat >>confdefs.h <<_ACEOF
9283 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9284 _ACEOF
9289 if test "x$exec_prefix" = xNONE
9290 then
9291 case $host_cpu in
9292 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9293 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9294 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9295 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9296 esac
9301 case $host_cpu in
9302 *i[3456789]86*)
9303 DLLFLAGS="$DLLFLAGS -fno-PIC"
9304 LDDLLFLAGS="-fno-PIC" ;;
9306 DLLFLAGS="$DLLFLAGS -fPIC"
9307 LDDLLFLAGS="-fPIC" ;;
9308 esac
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9310 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9311 if ${ac_cv_c_dll_gnuelf+:} false; then :
9312 $as_echo_n "(cached) " >&6
9313 else
9314 ac_wine_try_cflags_saved=$CFLAGS
9315 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h. */
9318 void myfunc() {}
9319 _ACEOF
9320 if ac_fn_c_try_link "$LINENO"; then :
9321 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9322 else
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9325 rm -f core conftest.err conftest.$ac_objext \
9326 conftest$ac_exeext conftest.$ac_ext
9327 CFLAGS=$ac_wine_try_cflags_saved
9328 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9329 ac_cv_c_dll_gnuelf="yes"
9330 else
9331 ac_cv_c_dll_gnuelf="no"
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9335 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9336 if test "$ac_cv_c_dll_gnuelf" = "yes"
9337 then
9338 LIBWINE_LDFLAGS="-shared"
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9340 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9341 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9342 $as_echo_n "(cached) " >&6
9343 else
9344 ac_wine_try_cflags_saved=$CFLAGS
9345 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 int main(int argc, char **argv) { return 0; }
9349 _ACEOF
9350 if ac_fn_c_try_link "$LINENO"; then :
9351 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9352 else
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9355 rm -f core conftest.err conftest.$ac_objext \
9356 conftest$ac_exeext conftest.$ac_ext
9357 CFLAGS=$ac_wine_try_cflags_saved
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9360 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9361 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9362 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9363 else
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9365 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9366 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_wine_try_cflags_saved=$CFLAGS
9370 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9373 int main(int argc, char **argv) { return 0; }
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9377 else
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 CFLAGS=$ac_wine_try_cflags_saved
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9385 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9386 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9387 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9391 echo '{ global: *; };' >conftest.map
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9393 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9394 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_wine_try_cflags_saved=$CFLAGS
9398 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9401 int main(int argc, char **argv) { return 0; }
9402 _ACEOF
9403 if ac_fn_c_try_link "$LINENO"; then :
9404 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9405 else
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9408 rm -f core conftest.err conftest.$ac_objext \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9413 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9414 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9415 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9417 rm -f conftest.map
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9420 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9421 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 int main(int argc, char **argv) { return 0; }
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_cflags__Wl___export_dynamic=yes
9432 else
9433 ac_cv_cflags__Wl___export_dynamic=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 CFLAGS=$ac_wine_try_cflags_saved
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9440 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9441 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9442 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9444 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9446 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9448 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9449 if eval \${$as_ac_var+:} false; then :
9450 $as_echo_n "(cached) " >&6
9451 else
9452 ac_wine_try_cflags_saved=$CFLAGS
9453 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455 /* end confdefs.h. */
9456 int main(int argc, char **argv) { return 0; }
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 eval "$as_ac_var=yes"
9460 else
9461 eval "$as_ac_var=no"
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 CFLAGS=$ac_wine_try_cflags_saved
9467 eval ac_res=\$$as_ac_var
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9469 $as_echo "$ac_res" >&6; }
9470 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9471 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9472 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9473 else
9474 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9476 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9477 if eval \${$as_ac_var+:} false; then :
9478 $as_echo_n "(cached) " >&6
9479 else
9480 ac_wine_try_cflags_saved=$CFLAGS
9481 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9484 int main(int argc, char **argv) { return 0; }
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 eval "$as_ac_var=yes"
9488 else
9489 eval "$as_ac_var=no"
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 CFLAGS=$ac_wine_try_cflags_saved
9495 eval ac_res=\$$as_ac_var
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9497 $as_echo "$ac_res" >&6; }
9498 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9499 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9500 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9505 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9506 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9507 $as_echo_n "(cached) " >&6
9508 else
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"; then :
9516 ac_cv_cflags__Wl___enable_new_dtags=yes
9517 else
9518 ac_cv_cflags__Wl___enable_new_dtags=no
9520 rm -f core conftest.err conftest.$ac_objext \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9525 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9526 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9527 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9530 case $host_cpu in
9531 *i[3456789]86* | x86_64 | *aarch64*)
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9533 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9534 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9535 $as_echo_n "(cached) " >&6
9536 else
9537 ac_wine_try_cflags_saved=$CFLAGS
9538 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9540 /* end confdefs.h. */
9541 int main(int argc, char **argv) { return 0; }
9542 _ACEOF
9543 if ac_fn_c_try_link "$LINENO"; then :
9544 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9545 else
9546 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9548 rm -f core conftest.err conftest.$ac_objext \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9553 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9554 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9555 case $host_os in
9556 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9557 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9558 esac
9559 else
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9562 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9573 else
9574 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9581 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9582 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9583 case $host_os in
9584 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9585 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9586 esac
9588 # Extract the first word of "prelink", so it can be a program name with args.
9589 set dummy prelink; ac_word=$2
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9591 $as_echo_n "checking for $ac_word... " >&6; }
9592 if ${ac_cv_path_PRELINK+:} false; then :
9593 $as_echo_n "(cached) " >&6
9594 else
9595 case $PRELINK in
9596 [\\/]* | ?:[\\/]*)
9597 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 for as_dir in /sbin /usr/sbin $PATH
9603 IFS=$as_save_IFS
9604 test -z "$as_dir" && as_dir=.
9605 for ac_exec_ext in '' $ac_executable_extensions; do
9606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 break 2
9611 done
9612 done
9613 IFS=$as_save_IFS
9615 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9617 esac
9619 PRELINK=$ac_cv_path_PRELINK
9620 if test -n "$PRELINK"; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9622 $as_echo "$PRELINK" >&6; }
9623 else
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9625 $as_echo "no" >&6; }
9629 if test "x$PRELINK" = xfalse
9630 then
9631 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9635 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9636 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_wine_try_cflags_saved=$CFLAGS
9640 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9643 int main(int argc, char **argv) { return 0; }
9644 _ACEOF
9645 if ac_fn_c_try_link "$LINENO"; then :
9646 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9647 else
9648 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9650 rm -f core conftest.err conftest.$ac_objext \
9651 conftest$ac_exeext conftest.$ac_ext
9652 CFLAGS=$ac_wine_try_cflags_saved
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9655 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9656 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9657 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9660 esac
9662 else
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9664 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9665 if ${ac_cv_c_dll_unixware+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 ac_wine_try_cflags_saved=$CFLAGS
9669 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9672 void myfunc() {}
9673 _ACEOF
9674 if ac_fn_c_try_link "$LINENO"; then :
9675 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9676 else
9677 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9679 rm -f core conftest.err conftest.$ac_objext \
9680 conftest$ac_exeext conftest.$ac_ext
9681 CFLAGS=$ac_wine_try_cflags_saved
9682 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9683 ac_cv_c_dll_unixware="yes"
9684 else
9685 ac_cv_c_dll_unixware="no"
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9689 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9690 if test "$ac_cv_c_dll_unixware" = "yes"
9691 then
9692 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9695 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9697 LIBWINE_DEPENDS="wine.map"
9699 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9700 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9702 esac
9704 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9705 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9706 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9707 enable_winemac_drv=${enable_winemac_drv:-no}
9708 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9710 CROSSTARGET=""
9712 if test "x$with_mingw" != xno
9713 then
9714 case "x$with_mingw" in
9715 x|xyes) case "$host_cpu" in
9716 aarch64*)
9717 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9718 arm*)
9719 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9720 i[3456789]86*)
9721 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
9722 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9723 mingw32-gcc" ;;
9724 x86_64)
9725 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
9726 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9728 ac_prefix_list="" ;;
9729 esac
9730 for ac_prog in $ac_prefix_list
9732 # Extract the first word of "$ac_prog", so it can be a program name with args.
9733 set dummy $ac_prog; ac_word=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9735 $as_echo_n "checking for $ac_word... " >&6; }
9736 if ${ac_cv_prog_CROSSCC+:} false; then :
9737 $as_echo_n "(cached) " >&6
9738 else
9739 if test -n "$CROSSCC"; then
9740 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9741 else
9742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9743 for as_dir in $PATH
9745 IFS=$as_save_IFS
9746 test -z "$as_dir" && as_dir=.
9747 for ac_exec_ext in '' $ac_executable_extensions; do
9748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9749 ac_cv_prog_CROSSCC="$ac_prog"
9750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9751 break 2
9753 done
9754 done
9755 IFS=$as_save_IFS
9759 CROSSCC=$ac_cv_prog_CROSSCC
9760 if test -n "$CROSSCC"; then
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9762 $as_echo "$CROSSCC" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9765 $as_echo "no" >&6; }
9769 test -n "$CROSSCC" && break
9770 done
9771 test -n "$CROSSCC" || CROSSCC="false"
9773 *) CROSSCC=$with_mingw ;;
9774 esac
9775 if test "$CROSSCC" != "false"
9776 then
9777 ac_save_CC="$CC"
9778 saved_CFLAGS=$CFLAGS
9779 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9781 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9784 CC="$CROSSCC"
9785 CFLAGS=$CROSSCFLAGS
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9787 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9788 if ${wine_cv_crosscc+:} false; then :
9789 $as_echo_n "(cached) " >&6
9790 else
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main ()
9799 return 0;
9801 _ACEOF
9802 if ac_fn_c_try_compile "$LINENO"; then :
9803 wine_cv_crosscc=yes
9804 else
9805 wine_cv_crosscc=no
9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9810 $as_echo "$wine_cv_crosscc" >&6; }
9811 if test $wine_cv_crosscc = yes
9812 then
9813 set x $CROSSCC
9814 shift
9815 while test $# -ge 1
9817 case "$1" in
9818 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9819 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9820 esac
9821 shift
9822 done
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9825 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9826 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_wine_try_cflags_saved=$CFLAGS
9830 ac_wine_try_cflags_saved_cc=$CC
9831 ac_wine_try_cflags_saved_exeext=$ac_exeext
9832 CFLAGS="$CFLAGS -fno-strict-aliasing"
9833 CC="$CROSSCC"
9834 ac_exeext=".exe"
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9837 int main(int argc, char **argv) { return 0; }
9838 _ACEOF
9839 if ac_fn_c_try_link "$LINENO"; then :
9840 ac_cv_crosscflags__fno_strict_aliasing=yes
9841 else
9842 ac_cv_crosscflags__fno_strict_aliasing=no
9844 rm -f core conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9846 CFLAGS=$ac_wine_try_cflags_saved
9847 CC=$ac_wine_try_cflags_saved_cc
9848 ac_exeext=$ac_wine_try_cflags_saved_exeext
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9851 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9852 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9853 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9856 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9857 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9858 $as_echo_n "(cached) " >&6
9859 else
9860 ac_wine_try_cflags_saved=$CFLAGS
9861 ac_wine_try_cflags_saved_cc=$CC
9862 ac_wine_try_cflags_saved_exeext=$ac_exeext
9863 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9864 CC="$CROSSCC"
9865 ac_exeext=".exe"
9866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9867 /* end confdefs.h. */
9868 int main(int argc, char **argv) { return 0; }
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9872 else
9873 ac_cv_crosscflags__Werror_unknown_warning_option=no
9875 rm -f core conftest.err conftest.$ac_objext \
9876 conftest$ac_exeext conftest.$ac_ext
9877 CFLAGS=$ac_wine_try_cflags_saved
9878 CC=$ac_wine_try_cflags_saved_cc
9879 ac_exeext=$ac_wine_try_cflags_saved_exeext
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9882 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9883 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9884 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9887 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9888 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 ac_wine_try_cflags_saved=$CFLAGS
9892 ac_wine_try_cflags_saved_cc=$CC
9893 ac_wine_try_cflags_saved_exeext=$ac_exeext
9894 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9895 CC="$CROSSCC"
9896 ac_exeext=".exe"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9899 int main(int argc, char **argv) { return 0; }
9900 _ACEOF
9901 if ac_fn_c_try_link "$LINENO"; then :
9902 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9903 else
9904 ac_cv_crosscflags__Wdeclaration_after_statement=no
9906 rm -f core conftest.err conftest.$ac_objext \
9907 conftest$ac_exeext conftest.$ac_ext
9908 CFLAGS=$ac_wine_try_cflags_saved
9909 CC=$ac_wine_try_cflags_saved_cc
9910 ac_exeext=$ac_wine_try_cflags_saved_exeext
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9913 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9914 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9915 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9918 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9919 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 ac_wine_try_cflags_saved_cc=$CC
9924 ac_wine_try_cflags_saved_exeext=$ac_exeext
9925 CFLAGS="$CFLAGS -Wempty-body"
9926 CC="$CROSSCC"
9927 ac_exeext=".exe"
9928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9929 /* end confdefs.h. */
9930 int main(int argc, char **argv) { return 0; }
9931 _ACEOF
9932 if ac_fn_c_try_link "$LINENO"; then :
9933 ac_cv_crosscflags__Wempty_body=yes
9934 else
9935 ac_cv_crosscflags__Wempty_body=no
9937 rm -f core conftest.err conftest.$ac_objext \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9940 CC=$ac_wine_try_cflags_saved_cc
9941 ac_exeext=$ac_wine_try_cflags_saved_exeext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9944 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9945 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9946 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9949 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9950 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9951 $as_echo_n "(cached) " >&6
9952 else
9953 ac_wine_try_cflags_saved=$CFLAGS
9954 ac_wine_try_cflags_saved_cc=$CC
9955 ac_wine_try_cflags_saved_exeext=$ac_exeext
9956 CFLAGS="$CFLAGS -Wignored-qualifiers"
9957 CC="$CROSSCC"
9958 ac_exeext=".exe"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int main(int argc, char **argv) { return 0; }
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_crosscflags__Wignored_qualifiers=yes
9965 else
9966 ac_cv_crosscflags__Wignored_qualifiers=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 CFLAGS=$ac_wine_try_cflags_saved
9971 CC=$ac_wine_try_cflags_saved_cc
9972 ac_exeext=$ac_wine_try_cflags_saved_exeext
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9975 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9976 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9977 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9980 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9981 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9982 $as_echo_n "(cached) " >&6
9983 else
9984 ac_wine_try_cflags_saved=$CFLAGS
9985 ac_wine_try_cflags_saved_cc=$CC
9986 ac_wine_try_cflags_saved_exeext=$ac_exeext
9987 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9988 CC="$CROSSCC"
9989 ac_exeext=".exe"
9990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9991 /* end confdefs.h. */
9992 int main(int argc, char **argv) { return 0; }
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_crosscflags__Wpacked_not_aligned=yes
9996 else
9997 ac_cv_crosscflags__Wpacked_not_aligned=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 CFLAGS=$ac_wine_try_cflags_saved
10002 CC=$ac_wine_try_cflags_saved_cc
10003 ac_exeext=$ac_wine_try_cflags_saved_exeext
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10006 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10007 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10008 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10011 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10012 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10013 $as_echo_n "(cached) " >&6
10014 else
10015 ac_wine_try_cflags_saved=$CFLAGS
10016 ac_wine_try_cflags_saved_cc=$CC
10017 ac_wine_try_cflags_saved_exeext=$ac_exeext
10018 CFLAGS="$CFLAGS -Wpragma-pack"
10019 CC="$CROSSCC"
10020 ac_exeext=".exe"
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10023 int main(int argc, char **argv) { return 0; }
10024 _ACEOF
10025 if ac_fn_c_try_link "$LINENO"; then :
10026 ac_cv_crosscflags__Wpragma_pack=yes
10027 else
10028 ac_cv_crosscflags__Wpragma_pack=no
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 CFLAGS=$ac_wine_try_cflags_saved
10033 CC=$ac_wine_try_cflags_saved_cc
10034 ac_exeext=$ac_wine_try_cflags_saved_exeext
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10037 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10038 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10039 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10042 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10043 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10044 $as_echo_n "(cached) " >&6
10045 else
10046 ac_wine_try_cflags_saved=$CFLAGS
10047 ac_wine_try_cflags_saved_cc=$CC
10048 ac_wine_try_cflags_saved_exeext=$ac_exeext
10049 CFLAGS="$CFLAGS -Wshift-overflow=2"
10050 CC="$CROSSCC"
10051 ac_exeext=".exe"
10052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10053 /* end confdefs.h. */
10054 int main(int argc, char **argv) { return 0; }
10055 _ACEOF
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 ac_cv_crosscflags__Wshift_overflow_2=yes
10058 else
10059 ac_cv_crosscflags__Wshift_overflow_2=no
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 CFLAGS=$ac_wine_try_cflags_saved
10064 CC=$ac_wine_try_cflags_saved_cc
10065 ac_exeext=$ac_wine_try_cflags_saved_exeext
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10068 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10069 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10070 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10073 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10074 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10075 $as_echo_n "(cached) " >&6
10076 else
10077 ac_wine_try_cflags_saved=$CFLAGS
10078 ac_wine_try_cflags_saved_cc=$CC
10079 ac_wine_try_cflags_saved_exeext=$ac_exeext
10080 CFLAGS="$CFLAGS -Wstrict-prototypes"
10081 CC="$CROSSCC"
10082 ac_exeext=".exe"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10085 int main(int argc, char **argv) { return 0; }
10086 _ACEOF
10087 if ac_fn_c_try_link "$LINENO"; then :
10088 ac_cv_crosscflags__Wstrict_prototypes=yes
10089 else
10090 ac_cv_crosscflags__Wstrict_prototypes=no
10092 rm -f core conftest.err conftest.$ac_objext \
10093 conftest$ac_exeext conftest.$ac_ext
10094 CFLAGS=$ac_wine_try_cflags_saved
10095 CC=$ac_wine_try_cflags_saved_cc
10096 ac_exeext=$ac_wine_try_cflags_saved_exeext
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10099 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10100 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10101 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10104 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10105 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10106 $as_echo_n "(cached) " >&6
10107 else
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 ac_wine_try_cflags_saved_cc=$CC
10110 ac_wine_try_cflags_saved_exeext=$ac_exeext
10111 CFLAGS="$CFLAGS -Wtype-limits"
10112 CC="$CROSSCC"
10113 ac_exeext=".exe"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int main(int argc, char **argv) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"; then :
10119 ac_cv_crosscflags__Wtype_limits=yes
10120 else
10121 ac_cv_crosscflags__Wtype_limits=no
10123 rm -f core conftest.err conftest.$ac_objext \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10126 CC=$ac_wine_try_cflags_saved_cc
10127 ac_exeext=$ac_wine_try_cflags_saved_exeext
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10130 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10131 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10132 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10135 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10136 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10137 $as_echo_n "(cached) " >&6
10138 else
10139 ac_wine_try_cflags_saved=$CFLAGS
10140 ac_wine_try_cflags_saved_cc=$CC
10141 ac_wine_try_cflags_saved_exeext=$ac_exeext
10142 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10143 CC="$CROSSCC"
10144 ac_exeext=".exe"
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10146 /* end confdefs.h. */
10147 int main(int argc, char **argv) { return 0; }
10148 _ACEOF
10149 if ac_fn_c_try_link "$LINENO"; then :
10150 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10151 else
10152 ac_cv_crosscflags__Wunused_but_set_parameter=no
10154 rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 CFLAGS=$ac_wine_try_cflags_saved
10157 CC=$ac_wine_try_cflags_saved_cc
10158 ac_exeext=$ac_wine_try_cflags_saved_exeext
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10161 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10162 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10163 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10166 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10167 if ${ac_cv_crosscflags__Wvla+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 ac_wine_try_cflags_saved_cc=$CC
10172 ac_wine_try_cflags_saved_exeext=$ac_exeext
10173 CFLAGS="$CFLAGS -Wvla"
10174 CC="$CROSSCC"
10175 ac_exeext=".exe"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 int main(int argc, char **argv) { return 0; }
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 ac_cv_crosscflags__Wvla=yes
10182 else
10183 ac_cv_crosscflags__Wvla=no
10185 rm -f core conftest.err conftest.$ac_objext \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10188 CC=$ac_wine_try_cflags_saved_cc
10189 ac_exeext=$ac_wine_try_cflags_saved_exeext
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10192 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10193 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10194 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10197 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10198 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_wine_try_cflags_saved=$CFLAGS
10202 ac_wine_try_cflags_saved_cc=$CC
10203 ac_wine_try_cflags_saved_exeext=$ac_exeext
10204 CFLAGS="$CFLAGS -Wwrite-strings"
10205 CC="$CROSSCC"
10206 ac_exeext=".exe"
10207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 int main(int argc, char **argv) { return 0; }
10210 _ACEOF
10211 if ac_fn_c_try_link "$LINENO"; then :
10212 ac_cv_crosscflags__Wwrite_strings=yes
10213 else
10214 ac_cv_crosscflags__Wwrite_strings=no
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 CFLAGS=$ac_wine_try_cflags_saved
10219 CC=$ac_wine_try_cflags_saved_cc
10220 ac_exeext=$ac_wine_try_cflags_saved_exeext
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10223 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10224 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10225 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10228 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10229 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10230 $as_echo_n "(cached) " >&6
10231 else
10232 ac_wine_try_cflags_saved=$CFLAGS
10233 ac_wine_try_cflags_saved_cc=$CC
10234 ac_wine_try_cflags_saved_exeext=$ac_exeext
10235 CFLAGS="$CFLAGS -Wpointer-arith"
10236 CC="$CROSSCC"
10237 ac_exeext=".exe"
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10239 /* end confdefs.h. */
10240 int main(int argc, char **argv) { return 0; }
10241 _ACEOF
10242 if ac_fn_c_try_link "$LINENO"; then :
10243 ac_cv_crosscflags__Wpointer_arith=yes
10244 else
10245 ac_cv_crosscflags__Wpointer_arith=no
10247 rm -f core conftest.err conftest.$ac_objext \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10250 CC=$ac_wine_try_cflags_saved_cc
10251 ac_exeext=$ac_wine_try_cflags_saved_exeext
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10254 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10255 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10256 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10259 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10260 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_wine_try_cflags_saved=$CFLAGS
10264 ac_wine_try_cflags_saved_cc=$CC
10265 ac_wine_try_cflags_saved_exeext=$ac_exeext
10266 CFLAGS="$CFLAGS -Wlogical-op"
10267 CC="$CROSSCC"
10268 ac_exeext=".exe"
10269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10270 /* end confdefs.h. */
10271 int main(int argc, char **argv) { return 0; }
10272 _ACEOF
10273 if ac_fn_c_try_link "$LINENO"; then :
10274 ac_cv_crosscflags__Wlogical_op=yes
10275 else
10276 ac_cv_crosscflags__Wlogical_op=no
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 CFLAGS=$ac_wine_try_cflags_saved
10281 CC=$ac_wine_try_cflags_saved_cc
10282 ac_exeext=$ac_wine_try_cflags_saved_exeext
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10285 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10286 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10287 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10290 case $host_cpu in
10291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10292 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10293 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10294 $as_echo_n "(cached) " >&6
10295 else
10296 ac_wine_try_cflags_saved=$CFLAGS
10297 ac_wine_try_cflags_saved_cc=$CC
10298 ac_wine_try_cflags_saved_exeext=$ac_exeext
10299 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10300 CC="$CROSSCC"
10301 ac_exeext=".exe"
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10304 int main(int argc, char **argv) { return 0; }
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10308 else
10309 ac_cv_crosscflags__fno_omit_frame_pointer=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 CFLAGS=$ac_wine_try_cflags_saved
10314 CC=$ac_wine_try_cflags_saved_cc
10315 ac_exeext=$ac_wine_try_cflags_saved_exeext
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10318 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10319 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10320 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10321 fi ;;
10322 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10323 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10324 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_wine_try_cflags_saved=$CFLAGS
10328 ac_wine_try_cflags_saved_cc=$CC
10329 ac_wine_try_cflags_saved_exeext=$ac_exeext
10330 CFLAGS="$CFLAGS -Wno-format"
10331 CC="$CROSSCC"
10332 ac_exeext=".exe"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10335 int main(int argc, char **argv) { return 0; }
10336 _ACEOF
10337 if ac_fn_c_try_link "$LINENO"; then :
10338 ac_cv_crosscflags__Wno_format=yes
10339 else
10340 ac_cv_crosscflags__Wno_format=no
10342 rm -f core conftest.err conftest.$ac_objext \
10343 conftest$ac_exeext conftest.$ac_ext
10344 CFLAGS=$ac_wine_try_cflags_saved
10345 CC=$ac_wine_try_cflags_saved_cc
10346 ac_exeext=$ac_wine_try_cflags_saved_exeext
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10349 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10350 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10351 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10352 fi ;;
10353 esac
10355 for ac_flag in $CROSSCFLAGS; do
10356 case $ac_flag in
10357 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10358 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10359 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10360 $as_echo_n "(cached) " >&6
10361 else
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 ac_wine_try_cflags_saved_cc=$CC
10364 ac_wine_try_cflags_saved_exeext=$ac_exeext
10365 CFLAGS="$CFLAGS -gdwarf-2"
10366 CC="$CROSSCC"
10367 ac_exeext=".exe"
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10369 /* end confdefs.h. */
10370 int main(int argc, char **argv) { return 0; }
10371 _ACEOF
10372 if ac_fn_c_try_link "$LINENO"; then :
10373 ac_cv_crosscflags__gdwarf_2=yes
10374 else
10375 ac_cv_crosscflags__gdwarf_2=no
10377 rm -f core conftest.err conftest.$ac_objext \
10378 conftest$ac_exeext conftest.$ac_ext
10379 CFLAGS=$ac_wine_try_cflags_saved
10380 CC=$ac_wine_try_cflags_saved_cc
10381 ac_exeext=$ac_wine_try_cflags_saved_exeext
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10384 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10385 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10386 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10389 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10390 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10391 $as_echo_n "(cached) " >&6
10392 else
10393 ac_wine_try_cflags_saved=$CFLAGS
10394 ac_wine_try_cflags_saved_cc=$CC
10395 ac_wine_try_cflags_saved_exeext=$ac_exeext
10396 CFLAGS="$CFLAGS -gstrict-dwarf"
10397 CC="$CROSSCC"
10398 ac_exeext=".exe"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10401 int main(int argc, char **argv) { return 0; }
10402 _ACEOF
10403 if ac_fn_c_try_link "$LINENO"; then :
10404 ac_cv_crosscflags__gstrict_dwarf=yes
10405 else
10406 ac_cv_crosscflags__gstrict_dwarf=no
10408 rm -f core conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 CFLAGS=$ac_wine_try_cflags_saved
10411 CC=$ac_wine_try_cflags_saved_cc
10412 ac_exeext=$ac_wine_try_cflags_saved_exeext
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10415 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10416 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10417 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10418 fi ;;
10419 esac
10420 done
10422 if test "x$enable_maintainer_mode" = xyes
10423 then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10425 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10426 if ${ac_cv_crosscflags__Werror+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 ac_wine_try_cflags_saved_cc=$CC
10431 ac_wine_try_cflags_saved_exeext=$ac_exeext
10432 CFLAGS="$CFLAGS -Werror"
10433 CC="$CROSSCC"
10434 ac_exeext=".exe"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 int main(int argc, char **argv) { return 0; }
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 ac_cv_crosscflags__Werror=yes
10441 else
10442 ac_cv_crosscflags__Werror=no
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10447 CC=$ac_wine_try_cflags_saved_cc
10448 ac_exeext=$ac_wine_try_cflags_saved_exeext
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10451 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10452 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10457 CFLAGS=$saved_CFLAGS
10458 CC="$ac_save_CC"
10461 if test "x$CROSSTARGET" = "x"; then :
10462 case "x$with_mingw" in
10463 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10464 xno) ;;
10465 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10466 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10467 esac
10472 if test "$ac_cv_header_pthread_h" = "yes"
10473 then
10474 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10475 if test "x$ac_cv_func_pthread_create" = xyes; then :
10477 else
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10479 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10480 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10481 $as_echo_n "(cached) " >&6
10482 else
10483 ac_check_lib_save_LIBS=$LIBS
10484 LIBS="-lpthread $LIBS"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h. */
10488 /* Override any GCC internal prototype to avoid an error.
10489 Use char because int might match the return type of a GCC
10490 builtin and then its argument prototype would still apply. */
10491 #ifdef __cplusplus
10492 extern "C"
10493 #endif
10494 char pthread_create ();
10496 main ()
10498 return pthread_create ();
10500 return 0;
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_lib_pthread_pthread_create=yes
10505 else
10506 ac_cv_lib_pthread_pthread_create=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10513 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10514 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10515 PTHREAD_LIBS="-lpthread"
10522 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10523 case "x$with_pthread" in
10524 xno) ;;
10525 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10526 Wine cannot support threads without libpthread.
10527 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10528 esac
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10534 $as_echo_n "checking for X... " >&6; }
10537 # Check whether --with-x was given.
10538 if test "${with_x+set}" = set; then :
10539 withval=$with_x;
10542 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10543 if test "x$with_x" = xno; then
10544 # The user explicitly disabled X.
10545 have_x=disabled
10546 else
10547 case $x_includes,$x_libraries in #(
10548 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10549 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10550 $as_echo_n "(cached) " >&6
10551 else
10552 # One or both of the vars are not set, and there is no cached value.
10553 ac_x_includes=no ac_x_libraries=no
10554 rm -f -r conftest.dir
10555 if mkdir conftest.dir; then
10556 cd conftest.dir
10557 cat >Imakefile <<'_ACEOF'
10558 incroot:
10559 @echo incroot='${INCROOT}'
10560 usrlibdir:
10561 @echo usrlibdir='${USRLIBDIR}'
10562 libdir:
10563 @echo libdir='${LIBDIR}'
10564 _ACEOF
10565 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10567 for ac_var in incroot usrlibdir libdir; do
10568 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10569 done
10570 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10571 for ac_extension in a so sl dylib la dll; do
10572 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10573 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10574 ac_im_usrlibdir=$ac_im_libdir; break
10576 done
10577 # Screen out bogus values from the imake configuration. They are
10578 # bogus both because they are the default anyway, and because
10579 # using them would break gcc on systems where it needs fixed includes.
10580 case $ac_im_incroot in
10581 /usr/include) ac_x_includes= ;;
10582 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10583 esac
10584 case $ac_im_usrlibdir in
10585 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10586 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10587 esac
10589 cd ..
10590 rm -f -r conftest.dir
10593 # Standard set of common directories for X headers.
10594 # Check X11 before X11Rn because it is often a symlink to the current release.
10595 ac_x_header_dirs='
10596 /usr/X11/include
10597 /usr/X11R7/include
10598 /usr/X11R6/include
10599 /usr/X11R5/include
10600 /usr/X11R4/include
10602 /usr/include/X11
10603 /usr/include/X11R7
10604 /usr/include/X11R6
10605 /usr/include/X11R5
10606 /usr/include/X11R4
10608 /usr/local/X11/include
10609 /usr/local/X11R7/include
10610 /usr/local/X11R6/include
10611 /usr/local/X11R5/include
10612 /usr/local/X11R4/include
10614 /usr/local/include/X11
10615 /usr/local/include/X11R7
10616 /usr/local/include/X11R6
10617 /usr/local/include/X11R5
10618 /usr/local/include/X11R4
10620 /usr/X386/include
10621 /usr/x386/include
10622 /usr/XFree86/include/X11
10624 /usr/include
10625 /usr/local/include
10626 /usr/unsupported/include
10627 /usr/athena/include
10628 /usr/local/x11r5/include
10629 /usr/lpp/Xamples/include
10631 /usr/openwin/include
10632 /usr/openwin/share/include'
10634 if test "$ac_x_includes" = no; then
10635 # Guess where to find include files, by looking for Xlib.h.
10636 # First, try using that file with no special directory specified.
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 #include <X11/Xlib.h>
10640 _ACEOF
10641 if ac_fn_c_try_cpp "$LINENO"; then :
10642 # We can compile using X headers with no special include directory.
10643 ac_x_includes=
10644 else
10645 for ac_dir in $ac_x_header_dirs; do
10646 if test -r "$ac_dir/X11/Xlib.h"; then
10647 ac_x_includes=$ac_dir
10648 break
10650 done
10652 rm -f conftest.err conftest.i conftest.$ac_ext
10653 fi # $ac_x_includes = no
10655 if test "$ac_x_libraries" = no; then
10656 # Check for the libraries.
10657 # See if we find them without any special options.
10658 # Don't add to $LIBS permanently.
10659 ac_save_LIBS=$LIBS
10660 LIBS="-lX11 $LIBS"
10661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10663 #include <X11/Xlib.h>
10665 main ()
10667 XrmInitialize ()
10669 return 0;
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 LIBS=$ac_save_LIBS
10674 # We can link X programs with no special library path.
10675 ac_x_libraries=
10676 else
10677 LIBS=$ac_save_LIBS
10678 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10680 # Don't even attempt the hair of trying to link an X program!
10681 for ac_extension in a so sl dylib la dll; do
10682 if test -r "$ac_dir/libX11.$ac_extension"; then
10683 ac_x_libraries=$ac_dir
10684 break 2
10686 done
10687 done
10689 rm -f core conftest.err conftest.$ac_objext \
10690 conftest$ac_exeext conftest.$ac_ext
10691 fi # $ac_x_libraries = no
10693 case $ac_x_includes,$ac_x_libraries in #(
10694 no,* | *,no | *\'*)
10695 # Didn't find X, or a directory has "'" in its name.
10696 ac_cv_have_x="have_x=no";; #(
10698 # Record where we found X for the cache.
10699 ac_cv_have_x="have_x=yes\
10700 ac_x_includes='$ac_x_includes'\
10701 ac_x_libraries='$ac_x_libraries'"
10702 esac
10704 ;; #(
10705 *) have_x=yes;;
10706 esac
10707 eval "$ac_cv_have_x"
10708 fi # $with_x != no
10710 if test "$have_x" != yes; then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10712 $as_echo "$have_x" >&6; }
10713 no_x=yes
10714 else
10715 # If each of the values was on the command line, it overrides each guess.
10716 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10717 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10718 # Update the cache value to reflect the command line values.
10719 ac_cv_have_x="have_x=yes\
10720 ac_x_includes='$x_includes'\
10721 ac_x_libraries='$x_libraries'"
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10723 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10726 if test "$no_x" = yes; then
10727 # Not all programs may use this symbol, but it does not hurt to define it.
10729 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10731 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10732 else
10733 if test -n "$x_includes"; then
10734 X_CFLAGS="$X_CFLAGS -I$x_includes"
10737 # It would also be nice to do this for all -L options, not just this one.
10738 if test -n "$x_libraries"; then
10739 X_LIBS="$X_LIBS -L$x_libraries"
10740 # For Solaris; some versions of Sun CC require a space after -R and
10741 # others require no space. Words are not sufficient . . . .
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10743 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10744 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10745 ac_xsave_c_werror_flag=$ac_c_werror_flag
10746 ac_c_werror_flag=yes
10747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10751 main ()
10755 return 0;
10757 _ACEOF
10758 if ac_fn_c_try_link "$LINENO"; then :
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10761 X_LIBS="$X_LIBS -R$x_libraries"
10762 else
10763 LIBS="$ac_xsave_LIBS -R $x_libraries"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10768 main ()
10772 return 0;
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10777 $as_echo "yes" >&6; }
10778 X_LIBS="$X_LIBS -R $x_libraries"
10779 else
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10781 $as_echo "neither works" >&6; }
10783 rm -f core conftest.err conftest.$ac_objext \
10784 conftest$ac_exeext conftest.$ac_ext
10786 rm -f core conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 ac_c_werror_flag=$ac_xsave_c_werror_flag
10789 LIBS=$ac_xsave_LIBS
10792 # Check for system-dependent libraries X programs must link with.
10793 # Do this before checking for the system-independent R6 libraries
10794 # (-lICE), since we may need -lsocket or whatever for X linking.
10796 if test "$ISC" = yes; then
10797 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10798 else
10799 # Martyn Johnson says this is needed for Ultrix, if the X
10800 # libraries were built with DECnet support. And Karl Berry says
10801 # the Alpha needs dnet_stub (dnet does not exist).
10802 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10809 #ifdef __cplusplus
10810 extern "C"
10811 #endif
10812 char XOpenDisplay ();
10814 main ()
10816 return XOpenDisplay ();
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10823 else
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10825 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10826 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-ldnet $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char dnet_ntoa ();
10842 main ()
10844 return dnet_ntoa ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_dnet_dnet_ntoa=yes
10851 else
10852 ac_cv_lib_dnet_dnet_ntoa=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10859 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10860 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10861 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10864 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10866 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10867 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10868 $as_echo_n "(cached) " >&6
10869 else
10870 ac_check_lib_save_LIBS=$LIBS
10871 LIBS="-ldnet_stub $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10878 #ifdef __cplusplus
10879 extern "C"
10880 #endif
10881 char dnet_ntoa ();
10883 main ()
10885 return dnet_ntoa ();
10887 return 0;
10889 _ACEOF
10890 if ac_fn_c_try_link "$LINENO"; then :
10891 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10892 else
10893 ac_cv_lib_dnet_stub_dnet_ntoa=no
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10900 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10901 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10902 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS="$ac_xsave_LIBS"
10911 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10912 # to get the SysV transport functions.
10913 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10914 # needs -lnsl.
10915 # The nsl library prevents programs from opening the X display
10916 # on Irix 5.2, according to T.E. Dickey.
10917 # The functions gethostbyname, getservbyname, and inet_addr are
10918 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10919 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10920 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10924 if test $ac_cv_func_gethostbyname = no; then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10926 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10927 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lnsl $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char gethostbyname ();
10943 main ()
10945 return gethostbyname ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_nsl_gethostbyname=yes
10952 else
10953 ac_cv_lib_nsl_gethostbyname=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10960 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10961 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10962 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10965 if test $ac_cv_lib_nsl_gethostbyname = no; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10967 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10968 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10969 $as_echo_n "(cached) " >&6
10970 else
10971 ac_check_lib_save_LIBS=$LIBS
10972 LIBS="-lbsd $LIBS"
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10976 /* Override any GCC internal prototype to avoid an error.
10977 Use char because int might match the return type of a GCC
10978 builtin and then its argument prototype would still apply. */
10979 #ifdef __cplusplus
10980 extern "C"
10981 #endif
10982 char gethostbyname ();
10984 main ()
10986 return gethostbyname ();
10988 return 0;
10990 _ACEOF
10991 if ac_fn_c_try_link "$LINENO"; then :
10992 ac_cv_lib_bsd_gethostbyname=yes
10993 else
10994 ac_cv_lib_bsd_gethostbyname=no
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 LIBS=$ac_check_lib_save_LIBS
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11001 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11002 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11009 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11010 # socket/setsockopt and other routines are undefined under SCO ODT
11011 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11012 # on later versions), says Simon Leinen: it contains gethostby*
11013 # variants that don't use the name server (or something). -lsocket
11014 # must be given before -lnsl if both are needed. We assume that
11015 # if connect needs -lnsl, so does gethostbyname.
11016 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11017 if test "x$ac_cv_func_connect" = xyes; then :
11021 if test $ac_cv_func_connect = no; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11023 $as_echo_n "checking for connect in -lsocket... " >&6; }
11024 if ${ac_cv_lib_socket_connect+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char connect ();
11040 main ()
11042 return connect ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_socket_connect=yes
11049 else
11050 ac_cv_lib_socket_connect=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11057 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11058 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11059 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11064 # Guillermo Gomez says -lposix is necessary on A/UX.
11065 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11066 if test "x$ac_cv_func_remove" = xyes; then :
11070 if test $ac_cv_func_remove = no; then
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11072 $as_echo_n "checking for remove in -lposix... " >&6; }
11073 if ${ac_cv_lib_posix_remove+:} false; then :
11074 $as_echo_n "(cached) " >&6
11075 else
11076 ac_check_lib_save_LIBS=$LIBS
11077 LIBS="-lposix $LIBS"
11078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079 /* end confdefs.h. */
11081 /* Override any GCC internal prototype to avoid an error.
11082 Use char because int might match the return type of a GCC
11083 builtin and then its argument prototype would still apply. */
11084 #ifdef __cplusplus
11085 extern "C"
11086 #endif
11087 char remove ();
11089 main ()
11091 return remove ();
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 ac_cv_lib_posix_remove=yes
11098 else
11099 ac_cv_lib_posix_remove=no
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_lib_save_LIBS
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11106 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11107 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11113 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11114 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11115 if test "x$ac_cv_func_shmat" = xyes; then :
11119 if test $ac_cv_func_shmat = no; then
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11121 $as_echo_n "checking for shmat in -lipc... " >&6; }
11122 if ${ac_cv_lib_ipc_shmat+:} false; then :
11123 $as_echo_n "(cached) " >&6
11124 else
11125 ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-lipc $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11130 /* Override any GCC internal prototype to avoid an error.
11131 Use char because int might match the return type of a GCC
11132 builtin and then its argument prototype would still apply. */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char shmat ();
11138 main ()
11140 return shmat ();
11142 return 0;
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146 ac_cv_lib_ipc_shmat=yes
11147 else
11148 ac_cv_lib_ipc_shmat=no
11150 rm -f core conftest.err conftest.$ac_objext \
11151 conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11155 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11156 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11163 # Check for libraries that X11R6 Xt/Xaw programs need.
11164 ac_save_LDFLAGS=$LDFLAGS
11165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11167 # check for ICE first), but we must link in the order -lSM -lICE or
11168 # we get undefined symbols. So assume we have SM if we have ICE.
11169 # These have to be linked with before -lX11, unlike the other
11170 # libraries we check for below, so use a different variable.
11171 # John Interrante, Karl Berry
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11173 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11174 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char IceConnectionNumber ();
11190 main ()
11192 return IceConnectionNumber ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_ICE_IceConnectionNumber=yes
11199 else
11200 ac_cv_lib_ICE_IceConnectionNumber=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11207 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11208 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11209 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11212 LDFLAGS=$ac_save_LDFLAGS
11217 if test "$have_x" = "yes"
11218 then
11219 ac_save_CPPFLAGS="$CPPFLAGS"
11220 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11223 $as_echo_n "checking for -lX11... " >&6; }
11224 if ${ac_cv_lib_soname_X11+:} false; then :
11225 $as_echo_n "(cached) " >&6
11226 else
11227 ac_check_soname_save_LIBS=$LIBS
11228 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11230 /* end confdefs.h. */
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11235 #ifdef __cplusplus
11236 extern "C"
11237 #endif
11238 char XCreateWindow ();
11240 main ()
11242 return XCreateWindow ();
11244 return 0;
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"; then :
11248 case "$LIBEXT" in
11249 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11250 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'` ;;
11251 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11252 if ${ac_cv_lib_soname_X11:+false} :; then :
11253 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11254 fi ;;
11255 esac
11256 else
11257 ac_cv_lib_soname_X11=
11259 rm -f core conftest.err conftest.$ac_objext \
11260 conftest$ac_exeext conftest.$ac_ext
11261 LIBS=$ac_check_soname_save_LIBS
11263 if ${ac_cv_lib_soname_X11:+false} :; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11267 else
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11269 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11271 cat >>confdefs.h <<_ACEOF
11272 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11273 _ACEOF
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11278 $as_echo_n "checking for -lXext... " >&6; }
11279 if ${ac_cv_lib_soname_Xext+:} false; then :
11280 $as_echo_n "(cached) " >&6
11281 else
11282 ac_check_soname_save_LIBS=$LIBS
11283 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char XextCreateExtension ();
11295 main ()
11297 return XextCreateExtension ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 case "$LIBEXT" in
11304 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11305 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'` ;;
11306 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11307 if ${ac_cv_lib_soname_Xext:+false} :; then :
11308 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11309 fi ;;
11310 esac
11311 else
11312 ac_cv_lib_soname_Xext=
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_soname_save_LIBS
11318 if ${ac_cv_lib_soname_Xext:+false} :; then :
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11320 $as_echo "not found" >&6; }
11322 else
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11324 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11326 cat >>confdefs.h <<_ACEOF
11327 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11328 _ACEOF
11330 X_LIBS="$X_LIBS -lXext"
11332 X_LIBS="$X_LIBS -lX11"
11334 for ac_header in X11/Xlib.h \
11335 X11/XKBlib.h \
11336 X11/Xutil.h \
11337 X11/Xcursor/Xcursor.h \
11338 X11/extensions/shape.h \
11339 X11/extensions/XInput.h \
11340 X11/extensions/XInput2.h \
11341 X11/extensions/XShm.h \
11342 X11/extensions/Xcomposite.h \
11343 X11/extensions/Xfixes.h \
11344 X11/extensions/Xinerama.h \
11345 X11/extensions/Xrandr.h \
11346 X11/extensions/Xrender.h \
11347 X11/extensions/xf86vmode.h \
11348 X11/extensions/xf86vmproto.h
11349 do :
11350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11351 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11352 # include <X11/Xlib.h>
11353 #endif
11354 #ifdef HAVE_X11_XUTIL_H
11355 # include <X11/Xutil.h>
11356 #endif
11358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11359 cat >>confdefs.h <<_ACEOF
11360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11361 _ACEOF
11365 done
11368 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11369 then
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11371 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11372 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11373 $as_echo_n "(cached) " >&6
11374 else
11375 ac_check_lib_save_LIBS=$LIBS
11376 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char XkbQueryExtension ();
11388 main ()
11390 return XkbQueryExtension ();
11392 return 0;
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_X11_XkbQueryExtension=yes
11397 else
11398 ac_cv_lib_X11_XkbQueryExtension=no
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11405 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11406 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11408 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11414 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11415 then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11417 $as_echo_n "checking for -lXcursor... " >&6; }
11418 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11419 $as_echo_n "(cached) " >&6
11420 else
11421 ac_check_soname_save_LIBS=$LIBS
11422 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11429 #ifdef __cplusplus
11430 extern "C"
11431 #endif
11432 char XcursorImageLoadCursor ();
11434 main ()
11436 return XcursorImageLoadCursor ();
11438 return 0;
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442 case "$LIBEXT" in
11443 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11444 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'` ;;
11445 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11446 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11447 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11448 fi ;;
11449 esac
11450 else
11451 ac_cv_lib_soname_Xcursor=
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_soname_save_LIBS
11457 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11459 $as_echo "not found" >&6; }
11461 else
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11463 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11465 cat >>confdefs.h <<_ACEOF
11466 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11467 _ACEOF
11472 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11473 case "x$with_xcursor" in
11474 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11475 xno) ;;
11476 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11477 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11478 esac
11482 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11483 then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11485 $as_echo_n "checking for -lXi... " >&6; }
11486 if ${ac_cv_lib_soname_Xi+:} false; then :
11487 $as_echo_n "(cached) " >&6
11488 else
11489 ac_check_soname_save_LIBS=$LIBS
11490 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11497 #ifdef __cplusplus
11498 extern "C"
11499 #endif
11500 char XOpenDevice ();
11502 main ()
11504 return XOpenDevice ();
11506 return 0;
11508 _ACEOF
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 case "$LIBEXT" in
11511 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11512 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'` ;;
11513 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11514 if ${ac_cv_lib_soname_Xi:+false} :; then :
11515 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 fi ;;
11517 esac
11518 else
11519 ac_cv_lib_soname_Xi=
11521 rm -f core conftest.err conftest.$ac_objext \
11522 conftest$ac_exeext conftest.$ac_ext
11523 LIBS=$ac_check_soname_save_LIBS
11525 if ${ac_cv_lib_soname_Xi:+false} :; then :
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11527 $as_echo "not found" >&6; }
11529 else
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11531 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11533 cat >>confdefs.h <<_ACEOF
11534 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11535 _ACEOF
11540 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11541 case "x$with_xinput" in
11542 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11545 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11546 esac
11550 if test "x$ac_cv_lib_soname_Xi" != x
11551 then
11552 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11553 case "x$with_xinput2" in
11554 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11555 xno) ;;
11556 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11557 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11558 esac
11563 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11564 then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11566 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11567 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11568 $as_echo_n "(cached) " >&6
11569 else
11570 ac_check_lib_save_LIBS=$LIBS
11571 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11578 #ifdef __cplusplus
11579 extern "C"
11580 #endif
11581 char XShmQueryExtension ();
11583 main ()
11585 return XShmQueryExtension ();
11587 return 0;
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"; then :
11591 ac_cv_lib_Xext_XShmQueryExtension=yes
11592 else
11593 ac_cv_lib_Xext_XShmQueryExtension=no
11595 rm -f core conftest.err conftest.$ac_objext \
11596 conftest$ac_exeext conftest.$ac_ext
11597 LIBS=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11600 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11601 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11603 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11608 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11609 case "x$with_xshm" in
11610 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11611 xno) ;;
11612 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11613 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11614 esac
11618 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11619 then
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11621 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11622 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11623 $as_echo_n "(cached) " >&6
11624 else
11625 ac_check_lib_save_LIBS=$LIBS
11626 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11630 /* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633 #ifdef __cplusplus
11634 extern "C"
11635 #endif
11636 char XShapeQueryExtension ();
11638 main ()
11640 return XShapeQueryExtension ();
11642 return 0;
11644 _ACEOF
11645 if ac_fn_c_try_link "$LINENO"; then :
11646 ac_cv_lib_Xext_XShapeQueryExtension=yes
11647 else
11648 ac_cv_lib_Xext_XShapeQueryExtension=no
11650 rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11655 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11656 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11658 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11663 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11664 case "x$with_xshape" in
11665 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11666 xno) ;;
11667 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11668 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11669 esac
11673 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11676 $as_echo_n "checking for -lXxf86vm... " >&6; }
11677 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XF86VidModeQueryExtension ();
11693 main ()
11695 return XF86VidModeQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11705 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11706 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11707 fi ;;
11708 esac
11709 else
11710 ac_cv_lib_soname_Xxf86vm=
11712 rm -f core conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11714 LIBS=$ac_check_soname_save_LIBS
11716 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11718 $as_echo "not found" >&6; }
11720 else
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11722 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11724 cat >>confdefs.h <<_ACEOF
11725 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11726 _ACEOF
11731 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11732 case "x$with_xxf86vm" in
11733 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11734 xno) ;;
11735 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11736 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11737 esac
11741 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11742 then
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11744 $as_echo_n "checking for -lXrender... " >&6; }
11745 if ${ac_cv_lib_soname_Xrender+:} false; then :
11746 $as_echo_n "(cached) " >&6
11747 else
11748 ac_check_soname_save_LIBS=$LIBS
11749 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11753 /* Override any GCC internal prototype to avoid an error.
11754 Use char because int might match the return type of a GCC
11755 builtin and then its argument prototype would still apply. */
11756 #ifdef __cplusplus
11757 extern "C"
11758 #endif
11759 char XRenderQueryExtension ();
11761 main ()
11763 return XRenderQueryExtension ();
11765 return 0;
11767 _ACEOF
11768 if ac_fn_c_try_link "$LINENO"; then :
11769 case "$LIBEXT" in
11770 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11771 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'` ;;
11772 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11773 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11774 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11775 fi ;;
11776 esac
11777 else
11778 ac_cv_lib_soname_Xrender=
11780 rm -f core conftest.err conftest.$ac_objext \
11781 conftest$ac_exeext conftest.$ac_ext
11782 LIBS=$ac_check_soname_save_LIBS
11784 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11786 $as_echo "not found" >&6; }
11788 else
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11790 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11792 cat >>confdefs.h <<_ACEOF
11793 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11794 _ACEOF
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11797 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11798 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char XRenderSetPictureTransform ();
11814 main ()
11816 return XRenderSetPictureTransform ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11823 else
11824 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11831 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11832 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11834 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11839 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11840 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11841 $as_echo_n "(cached) " >&6
11842 else
11843 ac_check_lib_save_LIBS=$LIBS
11844 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846 /* end confdefs.h. */
11848 /* Override any GCC internal prototype to avoid an error.
11849 Use char because int might match the return type of a GCC
11850 builtin and then its argument prototype would still apply. */
11851 #ifdef __cplusplus
11852 extern "C"
11853 #endif
11854 char XRenderCreateLinearGradient ();
11856 main ()
11858 return XRenderCreateLinearGradient ();
11860 return 0;
11862 _ACEOF
11863 if ac_fn_c_try_link "$LINENO"; then :
11864 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11865 else
11866 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11868 rm -f core conftest.err conftest.$ac_objext \
11869 conftest$ac_exeext conftest.$ac_ext
11870 LIBS=$ac_check_lib_save_LIBS
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11873 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11874 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11876 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11883 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11884 case "x$with_xrender" in
11885 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11886 xno) ;;
11887 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11888 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11889 esac
11893 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11894 then
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 #include <X11/Xlib.h>
11898 #include <X11/extensions/Xrandr.h>
11900 main ()
11902 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11904 return 0;
11906 _ACEOF
11907 if ac_fn_c_try_compile "$LINENO"; then :
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11909 $as_echo_n "checking for -lXrandr... " >&6; }
11910 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11911 $as_echo_n "(cached) " >&6
11912 else
11913 ac_check_soname_save_LIBS=$LIBS
11914 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11918 /* Override any GCC internal prototype to avoid an error.
11919 Use char because int might match the return type of a GCC
11920 builtin and then its argument prototype would still apply. */
11921 #ifdef __cplusplus
11922 extern "C"
11923 #endif
11924 char XRRQueryExtension ();
11926 main ()
11928 return XRRQueryExtension ();
11930 return 0;
11932 _ACEOF
11933 if ac_fn_c_try_link "$LINENO"; then :
11934 case "$LIBEXT" in
11935 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11936 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'` ;;
11937 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11938 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11939 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11940 fi ;;
11941 esac
11942 else
11943 ac_cv_lib_soname_Xrandr=
11945 rm -f core conftest.err conftest.$ac_objext \
11946 conftest$ac_exeext conftest.$ac_ext
11947 LIBS=$ac_check_soname_save_LIBS
11949 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11951 $as_echo "not found" >&6; }
11953 else
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11955 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11957 cat >>confdefs.h <<_ACEOF
11958 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11959 _ACEOF
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <X11/Xlib.h>
11964 #include <X11/extensions/Xrandr.h>
11966 main ()
11968 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11970 return 0;
11972 _ACEOF
11973 if ac_fn_c_try_compile "$LINENO"; then :
11975 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <X11/Xlib.h>
11982 #include <X11/extensions/Xrandr.h>
11984 main ()
11986 static typeof(XRRGetProviderResources) *f; if (f) return 0;
11988 return 0;
11990 _ACEOF
11991 if ac_fn_c_try_compile "$LINENO"; then :
11993 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
11995 else
11996 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12003 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12004 case "x$with_xrandr" in
12005 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12006 xno) ;;
12007 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12008 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12009 esac
12013 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12014 then
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12017 #include <X11/Xlib.h>
12018 #include <X11/extensions/Xfixes.h>
12020 main ()
12022 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_compile "$LINENO"; then :
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12029 $as_echo_n "checking for -lXfixes... " >&6; }
12030 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12031 $as_echo_n "(cached) " >&6
12032 else
12033 ac_check_soname_save_LIBS=$LIBS
12034 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12038 /* Override any GCC internal prototype to avoid an error.
12039 Use char because int might match the return type of a GCC
12040 builtin and then its argument prototype would still apply. */
12041 #ifdef __cplusplus
12042 extern "C"
12043 #endif
12044 char XFixesQueryVersion ();
12046 main ()
12048 return XFixesQueryVersion ();
12050 return 0;
12052 _ACEOF
12053 if ac_fn_c_try_link "$LINENO"; then :
12054 case "$LIBEXT" in
12055 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12056 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'` ;;
12057 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12058 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12059 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12060 fi ;;
12061 esac
12062 else
12063 ac_cv_lib_soname_Xfixes=
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_soname_save_LIBS
12069 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12071 $as_echo "not found" >&6; }
12073 else
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12075 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12077 cat >>confdefs.h <<_ACEOF
12078 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12079 _ACEOF
12084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12087 case "x$with_xfixes" in
12088 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12089 xno) ;;
12090 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12091 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12092 esac
12096 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12097 then
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 #include <X11/Xlib.h>
12101 #include <X11/extensions/Xinerama.h>
12103 main ()
12105 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12107 return 0;
12109 _ACEOF
12110 if ac_fn_c_try_compile "$LINENO"; then :
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12112 $as_echo_n "checking for -lXinerama... " >&6; }
12113 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12114 $as_echo_n "(cached) " >&6
12115 else
12116 ac_check_soname_save_LIBS=$LIBS
12117 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char XineramaQueryScreens ();
12129 main ()
12131 return XineramaQueryScreens ();
12133 return 0;
12135 _ACEOF
12136 if ac_fn_c_try_link "$LINENO"; then :
12137 case "$LIBEXT" in
12138 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12139 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'` ;;
12140 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12141 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12142 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12143 fi ;;
12144 esac
12145 else
12146 ac_cv_lib_soname_Xinerama=
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_soname_save_LIBS
12152 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12154 $as_echo "not found" >&6; }
12156 else
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12158 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12160 cat >>confdefs.h <<_ACEOF
12161 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12162 _ACEOF
12167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12170 case "x$with_xinerama" in
12171 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12172 xno) ;;
12173 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12174 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12175 esac
12179 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12180 then
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12182 $as_echo_n "checking for -lXcomposite... " >&6; }
12183 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12184 $as_echo_n "(cached) " >&6
12185 else
12186 ac_check_soname_save_LIBS=$LIBS
12187 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12191 /* Override any GCC internal prototype to avoid an error.
12192 Use char because int might match the return type of a GCC
12193 builtin and then its argument prototype would still apply. */
12194 #ifdef __cplusplus
12195 extern "C"
12196 #endif
12197 char XCompositeRedirectWindow ();
12199 main ()
12201 return XCompositeRedirectWindow ();
12203 return 0;
12205 _ACEOF
12206 if ac_fn_c_try_link "$LINENO"; then :
12207 case "$LIBEXT" in
12208 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12209 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'` ;;
12210 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12211 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12212 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12213 fi ;;
12214 esac
12215 else
12216 ac_cv_lib_soname_Xcomposite=
12218 rm -f core conftest.err conftest.$ac_objext \
12219 conftest$ac_exeext conftest.$ac_ext
12220 LIBS=$ac_check_soname_save_LIBS
12222 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12224 $as_echo "not found" >&6; }
12226 else
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12228 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12230 cat >>confdefs.h <<_ACEOF
12231 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12232 _ACEOF
12237 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12238 case "x$with_xcomposite" in
12239 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12240 xno) ;;
12241 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12242 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12243 esac
12247 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12248 #include <X11/Xlib.h>
12249 #endif
12251 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12253 cat >>confdefs.h <<_ACEOF
12254 #define HAVE_XICCALLBACK_CALLBACK 1
12255 _ACEOF
12259 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12260 #include <X11/Xlib.h>
12261 #endif
12263 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12265 cat >>confdefs.h <<_ACEOF
12266 #define HAVE_XEVENT_XCOOKIE 1
12267 _ACEOF
12274 opengl_msg=""
12275 if test "x$with_opengl" != "xno"
12276 then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12278 $as_echo_n "checking for -lGL... " >&6; }
12279 if ${ac_cv_lib_soname_GL+:} false; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 ac_check_soname_save_LIBS=$LIBS
12283 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12287 /* Override any GCC internal prototype to avoid an error.
12288 Use char because int might match the return type of a GCC
12289 builtin and then its argument prototype would still apply. */
12290 #ifdef __cplusplus
12291 extern "C"
12292 #endif
12293 char glXCreateContext ();
12295 main ()
12297 return glXCreateContext ();
12299 return 0;
12301 _ACEOF
12302 if ac_fn_c_try_link "$LINENO"; then :
12303 case "$LIBEXT" in
12304 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12305 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'` ;;
12306 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12307 if ${ac_cv_lib_soname_GL:+false} :; then :
12308 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12309 fi ;;
12310 esac
12311 else
12312 ac_cv_lib_soname_GL=
12314 rm -f core conftest.err conftest.$ac_objext \
12315 conftest$ac_exeext conftest.$ac_ext
12316 LIBS=$ac_check_soname_save_LIBS
12318 if ${ac_cv_lib_soname_GL:+false} :; then :
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12320 $as_echo "not found" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12322 $as_echo_n "checking for -lGL... " >&6; }
12323 if ${ac_cv_lib_soname_GL+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 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"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char glXCreateContext ();
12339 main ()
12341 return glXCreateContext ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 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'` ;;
12350 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12351 if ${ac_cv_lib_soname_GL:+false} :; then :
12352 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12355 else
12356 ac_cv_lib_soname_GL=
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if ${ac_cv_lib_soname_GL:+false} :; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12364 $as_echo "not found" >&6; }
12365 if test -f /usr/X11R6/lib/libGL.a
12366 then
12367 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12368 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12369 else
12370 opengl_msg="No OpenGL library found on this system."
12372 else
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12374 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12376 cat >>confdefs.h <<_ACEOF
12377 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12378 _ACEOF
12380 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"
12382 else
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12384 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12386 cat >>confdefs.h <<_ACEOF
12387 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12388 _ACEOF
12390 OPENGL_LIBS="-lGL"
12392 if test "x$with_glu" != "xno"
12393 then
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12395 $as_echo_n "checking for -lGLU... " >&6; }
12396 if ${ac_cv_lib_soname_GLU+:} false; then :
12397 $as_echo_n "(cached) " >&6
12398 else
12399 ac_check_soname_save_LIBS=$LIBS
12400 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12404 /* Override any GCC internal prototype to avoid an error.
12405 Use char because int might match the return type of a GCC
12406 builtin and then its argument prototype would still apply. */
12407 #ifdef __cplusplus
12408 extern "C"
12409 #endif
12410 char gluLookAt ();
12412 main ()
12414 return gluLookAt ();
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_link "$LINENO"; then :
12420 case "$LIBEXT" in
12421 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12422 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'` ;;
12423 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12424 if ${ac_cv_lib_soname_GLU:+false} :; then :
12425 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12426 fi ;;
12427 esac
12428 else
12429 ac_cv_lib_soname_GLU=
12431 rm -f core conftest.err conftest.$ac_objext \
12432 conftest$ac_exeext conftest.$ac_ext
12433 LIBS=$ac_check_soname_save_LIBS
12435 if ${ac_cv_lib_soname_GLU:+false} :; then :
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12437 $as_echo "not found" >&6; }
12439 else
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12441 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12443 cat >>confdefs.h <<_ACEOF
12444 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12445 _ACEOF
12449 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12450 case "x$with_glu" in
12451 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12452 xno) ;;
12453 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12454 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12455 esac
12460 if test "x$with_osmesa" != "xno"
12461 then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12463 $as_echo_n "checking for -lOSMesa... " >&6; }
12464 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12465 $as_echo_n "(cached) " >&6
12466 else
12467 ac_check_soname_save_LIBS=$LIBS
12468 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12475 #ifdef __cplusplus
12476 extern "C"
12477 #endif
12478 char OSMesaGetProcAddress ();
12480 main ()
12482 return OSMesaGetProcAddress ();
12484 return 0;
12486 _ACEOF
12487 if ac_fn_c_try_link "$LINENO"; then :
12488 case "$LIBEXT" in
12489 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12490 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'` ;;
12491 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12492 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12493 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12494 fi ;;
12495 esac
12496 else
12497 ac_cv_lib_soname_OSMesa=
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_soname_save_LIBS
12503 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12505 $as_echo "not found" >&6; }
12507 else
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12509 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12511 cat >>confdefs.h <<_ACEOF
12512 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12513 _ACEOF
12517 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12518 case "x$with_osmesa" in
12519 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12520 xno) ;;
12521 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12522 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12523 esac
12528 if test -n "$opengl_msg"; then :
12529 case "x$with_opengl" in
12530 x) as_fn_append wine_warnings "|$opengl_msg
12531 OpenGL and Direct3D won't be supported." ;;
12532 xno) ;;
12533 *) as_fn_error $? "$opengl_msg
12534 OpenGL and Direct3D won't be supported.
12535 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12536 esac
12540 CPPFLAGS="$ac_save_CPPFLAGS"
12541 else
12542 X_CFLAGS=""
12543 X_LIBS=""
12546 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12547 then
12548 if test "x$X_LIBS" = "x"; then :
12549 case "x$with_x" in
12550 xno) ;;
12551 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12552 without X support, which probably isn't what you want. You will need
12553 to install ${notice_platform}development packages of Xlib at the very least.
12554 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12555 esac
12556 enable_winex11_drv=${enable_winex11_drv:-no}
12558 else
12559 if test "x$X_LIBS" = "x"; then :
12560 case "x$with_x" in
12561 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12562 xno) ;;
12563 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12564 This is an error since --with-x was requested." "$LINENO" 5 ;;
12565 esac
12566 enable_winex11_drv=${enable_winex11_drv:-no}
12570 if test "$ac_cv_header_CL_cl_h" = "yes"
12571 then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12573 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12574 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 ac_check_lib_save_LIBS=$LIBS
12578 LIBS="-lOpenCL $LIBS"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12580 /* end confdefs.h. */
12582 /* Override any GCC internal prototype to avoid an error.
12583 Use char because int might match the return type of a GCC
12584 builtin and then its argument prototype would still apply. */
12585 #ifdef __cplusplus
12586 extern "C"
12587 #endif
12588 char clGetPlatformInfo ();
12590 main ()
12592 return clGetPlatformInfo ();
12594 return 0;
12596 _ACEOF
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12599 else
12600 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_lib_save_LIBS
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12607 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12608 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12609 OPENCL_LIBS="-lOpenCL"
12614 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12615 case "x$with_opencl" in
12616 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12617 xno) ;;
12618 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12619 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12620 esac
12621 enable_opencl=${enable_opencl:-no}
12624 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12625 then
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12627 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12628 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lpcap $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char pcap_create ();
12644 main ()
12646 return pcap_create ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_pcap_pcap_create=yes
12653 else
12654 ac_cv_lib_pcap_pcap_create=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12661 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12662 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12663 PCAP_LIBS="-lpcap"
12668 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12669 case "x$with_pcap" in
12670 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12671 xno) ;;
12672 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12673 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12674 esac
12675 enable_wpcap=${enable_wpcap:-no}
12679 if test "x$with_xml" != "xno"
12680 then
12681 if ${XML2_CFLAGS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12686 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12687 if ${XML2_LIBS:+false} :; then :
12688 if ${PKG_CONFIG+:} false; then :
12689 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12692 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12693 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12694 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12695 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12696 ac_save_CPPFLAGS=$CPPFLAGS
12697 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12698 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12699 do :
12700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12701 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12703 cat >>confdefs.h <<_ACEOF
12704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12705 _ACEOF
12709 done
12711 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"
12712 then
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12714 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12715 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12716 $as_echo_n "(cached) " >&6
12717 else
12718 ac_check_lib_save_LIBS=$LIBS
12719 LIBS="-lxml2 $XML2_LIBS $LIBS"
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 /* Override any GCC internal prototype to avoid an error.
12724 Use char because int might match the return type of a GCC
12725 builtin and then its argument prototype would still apply. */
12726 #ifdef __cplusplus
12727 extern "C"
12728 #endif
12729 char xmlParseMemory ();
12731 main ()
12733 return xmlParseMemory ();
12735 return 0;
12737 _ACEOF
12738 if ac_fn_c_try_link "$LINENO"; then :
12739 ac_cv_lib_xml2_xmlParseMemory=yes
12740 else
12741 ac_cv_lib_xml2_xmlParseMemory=no
12743 rm -f core conftest.err conftest.$ac_objext \
12744 conftest$ac_exeext conftest.$ac_ext
12745 LIBS=$ac_check_lib_save_LIBS
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12748 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12749 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12751 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12753 else
12754 XML2_LIBS=""
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12758 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12759 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12760 $as_echo_n "(cached) " >&6
12761 else
12762 ac_check_lib_save_LIBS=$LIBS
12763 LIBS="-lxml2 $XML2_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 char xmlReadMemory ();
12775 main ()
12777 return xmlReadMemory ();
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_link "$LINENO"; then :
12783 ac_cv_lib_xml2_xmlReadMemory=yes
12784 else
12785 ac_cv_lib_xml2_xmlReadMemory=no
12787 rm -f core conftest.err conftest.$ac_objext \
12788 conftest$ac_exeext conftest.$ac_ext
12789 LIBS=$ac_check_lib_save_LIBS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12792 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12793 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12795 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12800 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12801 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12802 $as_echo_n "(cached) " >&6
12803 else
12804 ac_check_lib_save_LIBS=$LIBS
12805 LIBS="-lxml2 $XML2_LIBS $LIBS"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12807 /* end confdefs.h. */
12809 /* Override any GCC internal prototype to avoid an error.
12810 Use char because int might match the return type of a GCC
12811 builtin and then its argument prototype would still apply. */
12812 #ifdef __cplusplus
12813 extern "C"
12814 #endif
12815 char xmlNewDocPI ();
12817 main ()
12819 return xmlNewDocPI ();
12821 return 0;
12823 _ACEOF
12824 if ac_fn_c_try_link "$LINENO"; then :
12825 ac_cv_lib_xml2_xmlNewDocPI=yes
12826 else
12827 ac_cv_lib_xml2_xmlNewDocPI=no
12829 rm -f core conftest.err conftest.$ac_objext \
12830 conftest$ac_exeext conftest.$ac_ext
12831 LIBS=$ac_check_lib_save_LIBS
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12834 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12835 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12837 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12842 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12843 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_lib_save_LIBS=$LIBS
12847 LIBS="-lxml2 $XML2_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char xmlSchemaSetParserStructuredErrors ();
12859 main ()
12861 return xmlSchemaSetParserStructuredErrors ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12868 else
12869 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12871 rm -f core conftest.err conftest.$ac_objext \
12872 conftest$ac_exeext conftest.$ac_ext
12873 LIBS=$ac_check_lib_save_LIBS
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12876 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12877 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12879 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12884 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12885 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12886 $as_echo_n "(cached) " >&6
12887 else
12888 ac_check_lib_save_LIBS=$LIBS
12889 LIBS="-lxml2 $XML2_LIBS $LIBS"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12896 #ifdef __cplusplus
12897 extern "C"
12898 #endif
12899 char xmlSchemaSetValidStructuredErrors ();
12901 main ()
12903 return xmlSchemaSetValidStructuredErrors ();
12905 return 0;
12907 _ACEOF
12908 if ac_fn_c_try_link "$LINENO"; then :
12909 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12910 else
12911 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12913 rm -f core conftest.err conftest.$ac_objext \
12914 conftest$ac_exeext conftest.$ac_ext
12915 LIBS=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12918 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12919 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12921 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12926 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12927 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lxml2 $XML2_LIBS $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char xmlFirstElementChild ();
12943 main ()
12945 return xmlFirstElementChild ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_xml2_xmlFirstElementChild=yes
12952 else
12953 ac_cv_lib_xml2_xmlFirstElementChild=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12960 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12961 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12963 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12967 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12969 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12971 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12975 else
12976 XML2_CFLAGS=""
12977 XML2_LIBS=""
12979 CPPFLAGS=$ac_save_CPPFLAGS
12980 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12981 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12984 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12985 case "x$with_xml" in
12986 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12987 xno) ;;
12988 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12989 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12990 esac
12994 if test "x$with_xslt" != "xno"
12995 then
12996 if ${XSLT_CFLAGS:+false} :; then :
12997 if ${PKG_CONFIG+:} false; then :
12998 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13001 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13002 if ${XSLT_LIBS:+false} :; then :
13003 if ${PKG_CONFIG+:} false; then :
13004 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13007 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13008 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13009 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13011 ac_save_CPPFLAGS=$CPPFLAGS
13012 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13013 for ac_header in libxslt/pattern.h libxslt/transform.h
13014 do :
13015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13016 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13017 # include <libxslt/pattern.h>
13018 #endif
13020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13021 cat >>confdefs.h <<_ACEOF
13022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13023 _ACEOF
13027 done
13029 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13030 then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13032 $as_echo_n "checking for -lxslt... " >&6; }
13033 if ${ac_cv_lib_soname_xslt+:} false; then :
13034 $as_echo_n "(cached) " >&6
13035 else
13036 ac_check_soname_save_LIBS=$LIBS
13037 LIBS="-lxslt $XSLT_LIBS $LIBS"
13038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13039 /* end confdefs.h. */
13041 /* Override any GCC internal prototype to avoid an error.
13042 Use char because int might match the return type of a GCC
13043 builtin and then its argument prototype would still apply. */
13044 #ifdef __cplusplus
13045 extern "C"
13046 #endif
13047 char xsltCompilePattern ();
13049 main ()
13051 return xsltCompilePattern ();
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_link "$LINENO"; then :
13057 case "$LIBEXT" in
13058 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13059 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'` ;;
13060 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13061 if ${ac_cv_lib_soname_xslt:+false} :; then :
13062 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13063 fi ;;
13064 esac
13065 else
13066 ac_cv_lib_soname_xslt=
13068 rm -f core conftest.err conftest.$ac_objext \
13069 conftest$ac_exeext conftest.$ac_ext
13070 LIBS=$ac_check_soname_save_LIBS
13072 if ${ac_cv_lib_soname_xslt:+false} :; then :
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13074 $as_echo "not found" >&6; }
13076 else
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13078 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13080 cat >>confdefs.h <<_ACEOF
13081 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13082 _ACEOF
13086 else
13087 XSLT_CFLAGS=""
13089 CPPFLAGS=$ac_save_CPPFLAGS
13090 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13091 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13094 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13095 case "x$with_xslt" in
13096 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13097 xno) ;;
13098 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13099 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13100 esac
13104 if test "x$with_inotify" != "xno"
13105 then
13106 if ${INOTIFY_CFLAGS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13112 if ${INOTIFY_LIBS:+false} :; then :
13113 if ${PKG_CONFIG+:} false; then :
13114 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13119 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13121 ac_save_CPPFLAGS=$CPPFLAGS
13122 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13123 for ac_header in sys/inotify.h
13124 do :
13125 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13126 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13127 cat >>confdefs.h <<_ACEOF
13128 #define HAVE_SYS_INOTIFY_H 1
13129 _ACEOF
13133 done
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13136 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13137 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13138 $as_echo_n "(cached) " >&6
13139 else
13140 ac_check_lib_save_LIBS=$LIBS
13141 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 char inotify_add_watch ();
13153 main ()
13155 return inotify_add_watch ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 ac_cv_lib_inotify_inotify_add_watch=yes
13162 else
13163 ac_cv_lib_inotify_inotify_add_watch=no
13165 rm -f core conftest.err conftest.$ac_objext \
13166 conftest$ac_exeext conftest.$ac_ext
13167 LIBS=$ac_check_lib_save_LIBS
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13170 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13171 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13173 else
13174 INOTIFY_LIBS=""
13177 CPPFLAGS=$ac_save_CPPFLAGS
13178 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13179 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13182 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13183 case "x$with_inotify" in
13184 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13185 xno) ;;
13186 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13187 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13188 esac
13192 if test "x$with_dbus" != "xno"
13193 then
13194 if ${DBUS_CFLAGS:+false} :; then :
13195 if ${PKG_CONFIG+:} false; then :
13196 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13200 if ${DBUS_LIBS:+false} :; then :
13201 if ${PKG_CONFIG+:} false; then :
13202 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13207 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13208 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13209 ac_save_CPPFLAGS=$CPPFLAGS
13210 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13211 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13212 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13214 $as_echo_n "checking for -ldbus-1... " >&6; }
13215 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13216 $as_echo_n "(cached) " >&6
13217 else
13218 ac_check_soname_save_LIBS=$LIBS
13219 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13223 /* Override any GCC internal prototype to avoid an error.
13224 Use char because int might match the return type of a GCC
13225 builtin and then its argument prototype would still apply. */
13226 #ifdef __cplusplus
13227 extern "C"
13228 #endif
13229 char dbus_connection_close ();
13231 main ()
13233 return dbus_connection_close ();
13235 return 0;
13237 _ACEOF
13238 if ac_fn_c_try_link "$LINENO"; then :
13239 case "$LIBEXT" in
13240 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13241 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'` ;;
13242 *) 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'`
13243 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13244 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13245 fi ;;
13246 esac
13247 else
13248 ac_cv_lib_soname_dbus_1=
13250 rm -f core conftest.err conftest.$ac_objext \
13251 conftest$ac_exeext conftest.$ac_ext
13252 LIBS=$ac_check_soname_save_LIBS
13254 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13256 $as_echo "not found" >&6; }
13257 DBUS_CFLAGS=""
13258 else
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13260 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13262 cat >>confdefs.h <<_ACEOF
13263 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13264 _ACEOF
13268 else
13269 DBUS_CFLAGS=""
13273 CPPFLAGS=$ac_save_CPPFLAGS
13274 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13275 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13278 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13279 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13280 case "x$with_dbus" in
13281 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13282 xno) ;;
13283 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13284 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13285 esac
13289 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13290 then
13291 if ${HAL_CFLAGS:+false} :; then :
13292 if ${PKG_CONFIG+:} false; then :
13293 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13297 if ${HAL_LIBS:+false} :; then :
13298 if ${PKG_CONFIG+:} false; then :
13299 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13303 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13304 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13305 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13306 ac_save_CPPFLAGS=$CPPFLAGS
13307 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13308 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13309 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13311 $as_echo_n "checking for -lhal... " >&6; }
13312 if ${ac_cv_lib_soname_hal+:} false; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_check_soname_save_LIBS=$LIBS
13316 LIBS="-lhal $HAL_LIBS $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 #ifdef __cplusplus
13324 extern "C"
13325 #endif
13326 char libhal_ctx_new ();
13328 main ()
13330 return libhal_ctx_new ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"; then :
13336 case "$LIBEXT" in
13337 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if ${ac_cv_lib_soname_hal:+false} :; then :
13341 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13342 fi ;;
13343 esac
13344 else
13345 ac_cv_lib_soname_hal=
13347 rm -f core conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13349 LIBS=$ac_check_soname_save_LIBS
13351 if ${ac_cv_lib_soname_hal:+false} :; then :
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13353 $as_echo "not found" >&6; }
13354 HAL_CFLAGS=""
13355 else
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13357 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13359 cat >>confdefs.h <<_ACEOF
13360 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13361 _ACEOF
13365 else
13366 HAL_CFLAGS=""
13370 CPPFLAGS=$ac_save_CPPFLAGS
13371 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13372 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13374 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13375 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13376 case "x$with_hal" in
13377 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13378 xno) ;;
13379 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13380 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13381 esac
13386 if test "x$with_gnutls" != "xno"
13387 then
13388 if ${GNUTLS_CFLAGS:+false} :; then :
13389 if ${PKG_CONFIG+:} false; then :
13390 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13394 if ${GNUTLS_LIBS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13401 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13402 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13403 ac_save_CPPFLAGS=$CPPFLAGS
13404 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13405 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13406 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13408 /* end confdefs.h. */
13409 #include <gnutls/gnutls.h>
13410 #include <gnutls/crypto.h>
13412 main ()
13414 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13416 return 0;
13418 _ACEOF
13419 if ac_fn_c_try_compile "$LINENO"; then :
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13421 $as_echo_n "checking for -lgnutls... " >&6; }
13422 if ${ac_cv_lib_soname_gnutls+:} false; then :
13423 $as_echo_n "(cached) " >&6
13424 else
13425 ac_check_soname_save_LIBS=$LIBS
13426 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13433 #ifdef __cplusplus
13434 extern "C"
13435 #endif
13436 char gnutls_global_init ();
13438 main ()
13440 return gnutls_global_init ();
13442 return 0;
13444 _ACEOF
13445 if ac_fn_c_try_link "$LINENO"; then :
13446 case "$LIBEXT" in
13447 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13448 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'` ;;
13449 *) 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'`
13450 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13451 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'`
13452 fi ;;
13453 esac
13454 else
13455 ac_cv_lib_soname_gnutls=
13457 rm -f core conftest.err conftest.$ac_objext \
13458 conftest$ac_exeext conftest.$ac_ext
13459 LIBS=$ac_check_soname_save_LIBS
13461 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13463 $as_echo "not found" >&6; }
13464 GNUTLS_CFLAGS=""
13465 else
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13467 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13469 cat >>confdefs.h <<_ACEOF
13470 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13471 _ACEOF
13475 ac_wine_check_funcs_save_LIBS="$LIBS"
13476 LIBS="$LIBS $GNUTLS_LIBS"
13477 for ac_func in gnutls_cipher_init
13478 do :
13479 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13480 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13481 cat >>confdefs.h <<_ACEOF
13482 #define HAVE_GNUTLS_CIPHER_INIT 1
13483 _ACEOF
13485 else
13486 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13488 done
13490 LIBS="$ac_wine_check_funcs_save_LIBS"
13492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 else
13494 GNUTLS_CFLAGS=""
13498 CPPFLAGS=$ac_save_CPPFLAGS
13499 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13500 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13503 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13504 case "x$with_gnutls" in
13505 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13506 xno) ;;
13507 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13508 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13509 esac
13513 CURSES_LIBS=""
13514 if test "$ac_cv_header_ncurses_h" = "yes"
13515 then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13517 $as_echo_n "checking for -lncurses... " >&6; }
13518 if ${ac_cv_lib_soname_ncurses+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_soname_save_LIBS=$LIBS
13522 LIBS="-lncurses $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char waddch ();
13534 main ()
13536 return waddch ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 case "$LIBEXT" in
13543 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13544 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'` ;;
13545 *) 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'`
13546 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13547 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13548 fi ;;
13549 esac
13550 else
13551 ac_cv_lib_soname_ncurses=
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13563 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13567 _ACEOF
13569 CURSES_LIBS="-lncurses"
13571 elif test "$ac_cv_header_curses_h" = "yes"
13572 then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13574 $as_echo_n "checking for -lcurses... " >&6; }
13575 if ${ac_cv_lib_soname_curses+:} false; then :
13576 $as_echo_n "(cached) " >&6
13577 else
13578 ac_check_soname_save_LIBS=$LIBS
13579 LIBS="-lcurses $LIBS"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13586 #ifdef __cplusplus
13587 extern "C"
13588 #endif
13589 char waddch ();
13591 main ()
13593 return waddch ();
13595 return 0;
13597 _ACEOF
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 case "$LIBEXT" in
13600 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13601 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'` ;;
13602 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13603 if ${ac_cv_lib_soname_curses:+false} :; then :
13604 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13605 fi ;;
13606 esac
13607 else
13608 ac_cv_lib_soname_curses=
13610 rm -f core conftest.err conftest.$ac_objext \
13611 conftest$ac_exeext conftest.$ac_ext
13612 LIBS=$ac_check_soname_save_LIBS
13614 if ${ac_cv_lib_soname_curses:+false} :; then :
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13616 $as_echo "not found" >&6; }
13618 else
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13620 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13622 cat >>confdefs.h <<_ACEOF
13623 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13624 _ACEOF
13626 CURSES_LIBS="-lcurses"
13629 ac_save_LIBS="$LIBS"
13630 LIBS="$LIBS $CURSES_LIBS"
13631 for ac_func in mousemask
13632 do :
13633 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13634 if test "x$ac_cv_func_mousemask" = xyes; then :
13635 cat >>confdefs.h <<_ACEOF
13636 #define HAVE_MOUSEMASK 1
13637 _ACEOF
13640 done
13642 LIBS="$ac_save_LIBS"
13643 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13644 case "x$with_curses" in
13645 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13646 xno) ;;
13647 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13648 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13649 esac
13653 if test "x$with_sane" != "xno"
13654 then
13655 if ${SANE_CFLAGS:+false} :; then :
13656 if ${PKG_CONFIG+:} false; then :
13657 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13660 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13661 if ${SANE_LIBS:+false} :; then :
13662 if ${PKG_CONFIG+:} false; then :
13663 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13666 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13668 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13669 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13670 ac_save_CPPFLAGS=$CPPFLAGS
13671 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13672 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13673 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13675 $as_echo_n "checking for -lsane... " >&6; }
13676 if ${ac_cv_lib_soname_sane+:} false; then :
13677 $as_echo_n "(cached) " >&6
13678 else
13679 ac_check_soname_save_LIBS=$LIBS
13680 LIBS="-lsane $SANE_LIBS $LIBS"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13687 #ifdef __cplusplus
13688 extern "C"
13689 #endif
13690 char sane_init ();
13692 main ()
13694 return sane_init ();
13696 return 0;
13698 _ACEOF
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 case "$LIBEXT" in
13701 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13702 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'` ;;
13703 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13704 if ${ac_cv_lib_soname_sane:+false} :; then :
13705 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13706 fi ;;
13707 esac
13708 else
13709 ac_cv_lib_soname_sane=
13711 rm -f core conftest.err conftest.$ac_objext \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_soname_save_LIBS
13715 if ${ac_cv_lib_soname_sane:+false} :; then :
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13717 $as_echo "not found" >&6; }
13718 SANE_CFLAGS=""
13719 else
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13721 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13723 cat >>confdefs.h <<_ACEOF
13724 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13725 _ACEOF
13729 else
13730 SANE_CFLAGS=""
13734 CPPFLAGS=$ac_save_CPPFLAGS
13735 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13736 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13739 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13740 case "x$with_sane" in
13741 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13742 xno) ;;
13743 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13744 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13745 esac
13749 if test "x$with_v4l2" != "xno"
13750 then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13752 $as_echo_n "checking for -lv4l2... " >&6; }
13753 if ${ac_cv_lib_soname_v4l2+:} false; then :
13754 $as_echo_n "(cached) " >&6
13755 else
13756 ac_check_soname_save_LIBS=$LIBS
13757 LIBS="-lv4l2 $LIBS"
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13761 /* Override any GCC internal prototype to avoid an error.
13762 Use char because int might match the return type of a GCC
13763 builtin and then its argument prototype would still apply. */
13764 #ifdef __cplusplus
13765 extern "C"
13766 #endif
13767 char v4l2_open ();
13769 main ()
13771 return v4l2_open ();
13773 return 0;
13775 _ACEOF
13776 if ac_fn_c_try_link "$LINENO"; then :
13777 case "$LIBEXT" in
13778 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13779 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'` ;;
13780 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13781 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13782 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13783 fi ;;
13784 esac
13785 else
13786 ac_cv_lib_soname_v4l2=
13788 rm -f core conftest.err conftest.$ac_objext \
13789 conftest$ac_exeext conftest.$ac_ext
13790 LIBS=$ac_check_soname_save_LIBS
13792 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13794 $as_echo "not found" >&6; }
13796 else
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13798 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13800 cat >>confdefs.h <<_ACEOF
13801 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13802 _ACEOF
13807 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13808 case "x$with_v4l2" in
13809 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13810 xno) ;;
13811 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13812 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13813 esac
13817 if test "x$with_gphoto" != "xno"
13818 then
13819 if ${GPHOTO2_CFLAGS:+false} :; then :
13820 if ${PKG_CONFIG+:} false; then :
13821 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13824 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13825 if ${GPHOTO2_LIBS:+false} :; then :
13826 if ${PKG_CONFIG+:} false; then :
13827 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13830 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13831 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13833 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13834 ac_save_CPPFLAGS=$CPPFLAGS
13835 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13836 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13837 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13839 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13840 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 ac_check_lib_save_LIBS=$LIBS
13844 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13846 /* end confdefs.h. */
13848 /* Override any GCC internal prototype to avoid an error.
13849 Use char because int might match the return type of a GCC
13850 builtin and then its argument prototype would still apply. */
13851 #ifdef __cplusplus
13852 extern "C"
13853 #endif
13854 char gp_camera_new ();
13856 main ()
13858 return gp_camera_new ();
13860 return 0;
13862 _ACEOF
13863 if ac_fn_c_try_link "$LINENO"; then :
13864 ac_cv_lib_gphoto2_gp_camera_new=yes
13865 else
13866 ac_cv_lib_gphoto2_gp_camera_new=no
13868 rm -f core conftest.err conftest.$ac_objext \
13869 conftest$ac_exeext conftest.$ac_ext
13870 LIBS=$ac_check_lib_save_LIBS
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13873 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13874 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13876 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13878 else
13879 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13882 else
13883 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13887 CPPFLAGS=$ac_save_CPPFLAGS
13888 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13889 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13891 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13892 if ${PKG_CONFIG+:} false; then :
13893 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13896 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13897 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13898 if ${PKG_CONFIG+:} false; then :
13899 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13902 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13903 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13904 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13905 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13906 ac_save_CPPFLAGS=$CPPFLAGS
13907 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13908 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13909 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13911 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13912 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13913 $as_echo_n "(cached) " >&6
13914 else
13915 ac_check_lib_save_LIBS=$LIBS
13916 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13918 /* end confdefs.h. */
13920 /* Override any GCC internal prototype to avoid an error.
13921 Use char because int might match the return type of a GCC
13922 builtin and then its argument prototype would still apply. */
13923 #ifdef __cplusplus
13924 extern "C"
13925 #endif
13926 char gp_port_info_list_new ();
13928 main ()
13930 return gp_port_info_list_new ();
13932 return 0;
13934 _ACEOF
13935 if ac_fn_c_try_link "$LINENO"; then :
13936 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13937 else
13938 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13940 rm -f core conftest.err conftest.$ac_objext \
13941 conftest$ac_exeext conftest.$ac_ext
13942 LIBS=$ac_check_lib_save_LIBS
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13945 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13946 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13948 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13950 else
13951 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13954 else
13955 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13959 CPPFLAGS=$ac_save_CPPFLAGS
13960 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13961 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13964 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13965 case "x$with_gphoto" in
13966 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13967 xno) ;;
13968 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13969 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13970 esac
13973 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
13974 case "x$with_gphoto" in
13975 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
13976 xno) ;;
13977 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
13978 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13979 esac
13984 if test "$ac_cv_header_resolv_h" = "yes"
13985 then
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
13987 $as_echo_n "checking for resolver library... " >&6; }
13988 if ${ac_cv_have_resolv+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_save_LIBS="$LIBS"
13992 for lib in '' -lresolv
13994 LIBS="$lib $ac_save_LIBS"
13995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13996 /* end confdefs.h. */
13997 #ifdef HAVE_NETINET_IN_H
13998 #include <netinet/in.h>
13999 #endif
14000 #include <resolv.h>
14002 main ()
14004 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_have_resolv=${lib:-"none required"}
14011 else
14012 ac_cv_have_resolv="not found"
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 test "x$ac_cv_have_resolv" = "xnot found" || break
14017 done
14018 LIBS="$ac_save_LIBS"
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14021 $as_echo "$ac_cv_have_resolv" >&6; }
14023 case "$ac_cv_have_resolv" in
14024 "not found") ;;
14025 "none required")
14027 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14030 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14032 RESOLV_LIBS=$ac_cv_have_resolv
14034 esac
14037 if test "x$with_cms" != "xno"
14038 then
14039 if ${LCMS2_CFLAGS:+false} :; then :
14040 if ${PKG_CONFIG+:} false; then :
14041 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14045 if ${LCMS2_LIBS:+false} :; then :
14046 if ${PKG_CONFIG+:} false; then :
14047 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14051 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14052 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14053 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14054 ac_save_CPPFLAGS=$CPPFLAGS
14055 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14056 for ac_header in lcms2.h
14057 do :
14058 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14059 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14060 cat >>confdefs.h <<_ACEOF
14061 #define HAVE_LCMS2_H 1
14062 _ACEOF
14066 done
14068 if test "$ac_cv_header_lcms2_h" = "yes"
14069 then
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14071 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14072 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char cmsOpenProfileFromFile ();
14088 main ()
14090 return cmsOpenProfileFromFile ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14097 else
14098 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_lib_save_LIBS
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14105 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14106 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14108 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14110 else
14111 LCMS2_LIBS=""
14114 else
14115 LCMS2_CFLAGS=""
14116 LCMS2_LIBS=""
14118 CPPFLAGS=$ac_save_CPPFLAGS
14119 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14120 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14123 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14124 case "x$with_cms" in
14125 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14126 xno) ;;
14127 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14128 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14129 esac
14133 if test "x$with_freetype" != "xno"
14134 then
14135 if ${FREETYPE_CFLAGS:+false} :; then :
14136 if ${PKG_CONFIG+:} false; then :
14137 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14140 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14141 if ${FREETYPE_LIBS:+false} :; then :
14142 if ${PKG_CONFIG+:} false; then :
14143 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14146 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14147 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14148 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14149 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14150 ac_save_CPPFLAGS=$CPPFLAGS
14151 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14152 for ac_header in ft2build.h
14153 do :
14154 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14155 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_FT2BUILD_H 1
14158 _ACEOF
14162 done
14164 if test "$ac_cv_header_ft2build_h" = "yes"
14165 then
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14167 $as_echo_n "checking for -lfreetype... " >&6; }
14168 if ${ac_cv_lib_soname_freetype+:} false; then :
14169 $as_echo_n "(cached) " >&6
14170 else
14171 ac_check_soname_save_LIBS=$LIBS
14172 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14176 /* Override any GCC internal prototype to avoid an error.
14177 Use char because int might match the return type of a GCC
14178 builtin and then its argument prototype would still apply. */
14179 #ifdef __cplusplus
14180 extern "C"
14181 #endif
14182 char FT_Init_FreeType ();
14184 main ()
14186 return FT_Init_FreeType ();
14188 return 0;
14190 _ACEOF
14191 if ac_fn_c_try_link "$LINENO"; then :
14192 case "$LIBEXT" in
14193 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14194 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'` ;;
14195 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14196 if ${ac_cv_lib_soname_freetype:+false} :; then :
14197 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14198 fi ;;
14199 esac
14200 else
14201 ac_cv_lib_soname_freetype=
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS=$ac_check_soname_save_LIBS
14207 if ${ac_cv_lib_soname_freetype:+false} :; then :
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14209 $as_echo "not found" >&6; }
14210 FREETYPE_LIBS=""
14211 else
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14213 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14215 cat >>confdefs.h <<_ACEOF
14216 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14217 _ACEOF
14220 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14222 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14223 #include FT_MODULE_H
14225 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_FT_TRUETYPEENGINETYPE 1
14229 _ACEOF
14235 else
14236 FREETYPE_CFLAGS=""
14237 FREETYPE_LIBS=""
14239 CPPFLAGS=$ac_save_CPPFLAGS
14240 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14241 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14244 if test "x$ac_cv_lib_soname_freetype" = x; then :
14245 case "x$with_freetype" in
14246 xno) ;;
14247 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14248 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14249 esac
14250 enable_fonts=${enable_fonts:-no}
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14254 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14255 if ${ac_cv_c_ppdev+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14260 #ifdef HAVE_SYS_IOCTL_H
14261 # include <sys/ioctl.h>
14262 #endif
14263 #include <linux/ppdev.h>
14265 main ()
14267 ioctl (1,PPCLAIM,0)
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_compile "$LINENO"; then :
14273 ac_cv_c_ppdev="yes"
14274 else
14275 ac_cv_c_ppdev="no"
14277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14280 $as_echo "$ac_cv_c_ppdev" >&6; }
14281 if test "$ac_cv_c_ppdev" = "yes"
14282 then
14284 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14288 ac_wine_check_funcs_save_LIBS="$LIBS"
14289 LIBS="$LIBS $PTHREAD_LIBS"
14290 for ac_func in \
14291 pthread_getthreadid_np
14292 do :
14293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14295 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14296 cat >>confdefs.h <<_ACEOF
14297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14298 _ACEOF
14301 done
14303 LIBS="$ac_wine_check_funcs_save_LIBS"
14305 if test "x$with_zlib" != "xno"
14306 then
14307 if ${Z_CFLAGS:+false} :; then :
14308 if ${PKG_CONFIG+:} false; then :
14309 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14313 if ${Z_LIBS:+false} :; then :
14314 if ${PKG_CONFIG+:} false; then :
14315 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14319 Z_LIBS=${Z_LIBS:-"-lz"}
14320 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14321 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14322 ac_save_CPPFLAGS=$CPPFLAGS
14323 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14324 for ac_header in zlib.h
14325 do :
14326 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14327 if test "x$ac_cv_header_zlib_h" = xyes; then :
14328 cat >>confdefs.h <<_ACEOF
14329 #define HAVE_ZLIB_H 1
14330 _ACEOF
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14332 $as_echo_n "checking for inflate in -lz... " >&6; }
14333 if ${ac_cv_lib_z_inflate+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 ac_check_lib_save_LIBS=$LIBS
14337 LIBS="-lz $Z_LIBS $LIBS"
14338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339 /* end confdefs.h. */
14341 /* Override any GCC internal prototype to avoid an error.
14342 Use char because int might match the return type of a GCC
14343 builtin and then its argument prototype would still apply. */
14344 #ifdef __cplusplus
14345 extern "C"
14346 #endif
14347 char inflate ();
14349 main ()
14351 return inflate ();
14353 return 0;
14355 _ACEOF
14356 if ac_fn_c_try_link "$LINENO"; then :
14357 ac_cv_lib_z_inflate=yes
14358 else
14359 ac_cv_lib_z_inflate=no
14361 rm -f core conftest.err conftest.$ac_objext \
14362 conftest$ac_exeext conftest.$ac_ext
14363 LIBS=$ac_check_lib_save_LIBS
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14366 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14367 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14369 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14371 else
14372 Z_LIBS=""
14375 else
14376 Z_LIBS=""
14379 done
14381 CPPFLAGS=$ac_save_CPPFLAGS
14382 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14383 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14386 if test "x$Z_LIBS" = "x"; then :
14387 case "x$with_zlib" in
14388 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14389 xno) ;;
14390 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14391 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14392 esac
14396 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14397 then
14398 if test "$ac_cv_header_gettext_po_h" = "yes"
14399 then
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14401 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14402 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14403 $as_echo_n "(cached) " >&6
14404 else
14405 ac_check_lib_save_LIBS=$LIBS
14406 LIBS="-lgettextpo $LIBS"
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14410 /* Override any GCC internal prototype to avoid an error.
14411 Use char because int might match the return type of a GCC
14412 builtin and then its argument prototype would still apply. */
14413 #ifdef __cplusplus
14414 extern "C"
14415 #endif
14416 char po_message_msgctxt ();
14418 main ()
14420 return po_message_msgctxt ();
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14427 else
14428 ac_cv_lib_gettextpo_po_message_msgctxt=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 LIBS=$ac_check_lib_save_LIBS
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14435 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14436 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14438 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14440 GETTEXTPO_LIBS="-lgettextpo"
14445 if test "x$GETTEXTPO_LIBS" = "x"; then :
14446 case "x$with_gettextpo" in
14447 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14448 xno) ;;
14449 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14450 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14451 esac
14454 if test "$srcdir" != .; then :
14455 case "x$with_gettextpo" in
14456 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14457 xno) ;;
14458 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14459 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14460 esac
14465 if test "x$with_pulse" != "xno";
14466 then
14467 if ${PULSE_CFLAGS:+false} :; then :
14468 if ${PKG_CONFIG+:} false; then :
14469 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14473 if ${PULSE_LIBS:+false} :; then :
14474 if ${PKG_CONFIG+:} false; then :
14475 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14480 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14481 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14482 ac_save_CPPFLAGS=$CPPFLAGS
14483 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14484 for ac_header in pulse/pulseaudio.h
14485 do :
14486 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14487 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14488 cat >>confdefs.h <<_ACEOF
14489 #define HAVE_PULSE_PULSEAUDIO_H 1
14490 _ACEOF
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14492 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14493 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_check_lib_save_LIBS=$LIBS
14497 LIBS="-lpulse $PULSE_LIBS $LIBS"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14501 /* Override any GCC internal prototype to avoid an error.
14502 Use char because int might match the return type of a GCC
14503 builtin and then its argument prototype would still apply. */
14504 #ifdef __cplusplus
14505 extern "C"
14506 #endif
14507 char pa_stream_is_corked ();
14509 main ()
14511 return pa_stream_is_corked ();
14513 return 0;
14515 _ACEOF
14516 if ac_fn_c_try_link "$LINENO"; then :
14517 ac_cv_lib_pulse_pa_stream_is_corked=yes
14518 else
14519 ac_cv_lib_pulse_pa_stream_is_corked=no
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LIBS=$ac_check_lib_save_LIBS
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14526 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14527 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14529 else
14530 PULSE_LIBS=""
14533 else
14534 PULSE_LIBS=""
14537 done
14539 CPPFLAGS=$ac_save_CPPFLAGS
14540 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14541 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14544 if test -z "$PULSE_LIBS"; then :
14545 case "x$with_pulse" in
14546 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14547 xno) ;;
14548 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14549 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14550 esac
14551 enable_winepulse_drv=${enable_winepulse_drv:-no}
14554 if test "x$with_gstreamer" != "xno"
14555 then
14556 if ${GSTREAMER_CFLAGS:+false} :; then :
14557 if ${PKG_CONFIG+:} false; then :
14558 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14562 if ${GSTREAMER_LIBS:+false} :; then :
14563 if ${PKG_CONFIG+:} false; then :
14564 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14569 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14570 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14571 ac_save_CPPFLAGS=$CPPFLAGS
14572 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14573 ac_gst_incl=""
14574 for i in $GSTREAMER_CFLAGS
14576 case "$i" in
14577 -I*) ac_gst_incl="$ac_gst_incl $i";;
14578 esac
14579 done
14580 GSTREAMER_CFLAGS=$ac_gst_incl
14581 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14582 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14583 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14585 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14588 #include <gst/gst.h>
14590 main ()
14592 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14594 return 0;
14596 _ACEOF
14597 if ac_fn_c_try_compile "$LINENO"; then :
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14599 $as_echo "yes" >&6; }
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14601 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14602 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_check_lib_save_LIBS=$LIBS
14606 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14610 /* Override any GCC internal prototype to avoid an error.
14611 Use char because int might match the return type of a GCC
14612 builtin and then its argument prototype would still apply. */
14613 #ifdef __cplusplus
14614 extern "C"
14615 #endif
14616 char gst_pad_new ();
14618 main ()
14620 return gst_pad_new ();
14622 return 0;
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14627 else
14628 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_check_lib_save_LIBS
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14635 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14636 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14640 else
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14642 $as_echo "no" >&6; }
14643 ac_glib2_broken=yes
14644 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 CPPFLAGS=$ac_save_CPPFLAGS
14651 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14652 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14655 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 :
14656 case "x$with_gstreamer" in
14657 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14658 xno) ;;
14659 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14660 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14661 esac
14664 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14666 ALSA_LIBS=""
14668 if test "x$with_alsa" != "xno"
14669 then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14671 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14672 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14673 $as_echo_n "(cached) " >&6
14674 else
14675 ac_check_lib_save_LIBS=$LIBS
14676 LIBS="-lasound $LIBS"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678 /* end confdefs.h. */
14680 /* Override any GCC internal prototype to avoid an error.
14681 Use char because int might match the return type of a GCC
14682 builtin and then its argument prototype would still apply. */
14683 #ifdef __cplusplus
14684 extern "C"
14685 #endif
14686 char snd_pcm_hw_params_get_access_mask ();
14688 main ()
14690 return snd_pcm_hw_params_get_access_mask ();
14692 return 0;
14694 _ACEOF
14695 if ac_fn_c_try_link "$LINENO"; then :
14696 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14697 else
14698 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14700 rm -f core conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_check_lib_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14705 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14706 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 #include <alsa/asoundlib.h>
14711 main ()
14713 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14715 return 0;
14717 _ACEOF
14718 if ac_fn_c_try_compile "$LINENO"; then :
14719 ALSA_LIBS="-lasound"
14721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14725 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14727 if test "x$with_oss" != xno
14728 then
14729 ac_save_CPPFLAGS="$CPPFLAGS"
14730 if test -f /etc/oss.conf
14731 then
14732 . /etc/oss.conf
14734 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14735 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14736 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14737 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14738 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14740 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14742 cat >>confdefs.h <<_ACEOF
14743 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14744 _ACEOF
14746 OSS4_CFLAGS="$ac_oss_incl"
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14749 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14750 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14751 $as_echo_n "(cached) " >&6
14752 else
14753 ac_check_lib_save_LIBS=$LIBS
14754 LIBS="-lossaudio $LIBS"
14755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14756 /* end confdefs.h. */
14758 /* Override any GCC internal prototype to avoid an error.
14759 Use char because int might match the return type of a GCC
14760 builtin and then its argument prototype would still apply. */
14761 #ifdef __cplusplus
14762 extern "C"
14763 #endif
14764 char _oss_ioctl ();
14766 main ()
14768 return _oss_ioctl ();
14770 return 0;
14772 _ACEOF
14773 if ac_fn_c_try_link "$LINENO"; then :
14774 ac_cv_lib_ossaudio__oss_ioctl=yes
14775 else
14776 ac_cv_lib_ossaudio__oss_ioctl=no
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 LIBS=$ac_check_lib_save_LIBS
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14783 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14784 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14785 OSS4_LIBS="-lossaudio"
14794 CPPFLAGS="$ac_save_CPPFLAGS"
14796 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14797 case "x$with_oss" in
14798 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14799 xno) ;;
14800 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14801 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14802 esac
14803 enable_wineoss_drv=${enable_wineoss_drv:-no}
14806 if test "x$with_udev" != "xno"
14807 then
14808 if ${UDEV_CFLAGS:+false} :; then :
14809 if ${PKG_CONFIG+:} false; then :
14810 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14814 if ${UDEV_LIBS:+false} :; then :
14815 if ${PKG_CONFIG+:} false; then :
14816 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14820 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14821 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14822 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14823 ac_save_CPPFLAGS=$CPPFLAGS
14824 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14825 for ac_header in libudev.h
14826 do :
14827 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14828 if test "x$ac_cv_header_libudev_h" = xyes; then :
14829 cat >>confdefs.h <<_ACEOF
14830 #define HAVE_LIBUDEV_H 1
14831 _ACEOF
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14833 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14834 if ${ac_cv_lib_udev_udev_new+:} false; then :
14835 $as_echo_n "(cached) " >&6
14836 else
14837 ac_check_lib_save_LIBS=$LIBS
14838 LIBS="-ludev $UDEV_LIBS $LIBS"
14839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14840 /* end confdefs.h. */
14842 /* Override any GCC internal prototype to avoid an error.
14843 Use char because int might match the return type of a GCC
14844 builtin and then its argument prototype would still apply. */
14845 #ifdef __cplusplus
14846 extern "C"
14847 #endif
14848 char udev_new ();
14850 main ()
14852 return udev_new ();
14854 return 0;
14856 _ACEOF
14857 if ac_fn_c_try_link "$LINENO"; then :
14858 ac_cv_lib_udev_udev_new=yes
14859 else
14860 ac_cv_lib_udev_udev_new=no
14862 rm -f core conftest.err conftest.$ac_objext \
14863 conftest$ac_exeext conftest.$ac_ext
14864 LIBS=$ac_check_lib_save_LIBS
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14867 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14868 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14870 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14872 else
14873 UDEV_LIBS=""
14876 else
14877 UDEV_LIBS=""
14880 done
14882 CPPFLAGS=$ac_save_CPPFLAGS
14883 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14884 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14887 if test "x$UDEV_LIBS" = "x"; then :
14888 case "x$with_udev" in
14889 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14890 xno) ;;
14891 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14892 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14893 esac
14897 if test "x$with_unwind" != xno
14898 then
14899 if ${UNWIND_CFLAGS:+false} :; then :
14900 if ${PKG_CONFIG+:} false; then :
14901 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14905 if ${UNWIND_LIBS:+false} :; then :
14906 if ${PKG_CONFIG+:} false; then :
14907 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14911 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14912 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14913 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14914 ac_save_CPPFLAGS=$CPPFLAGS
14915 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14917 $as_echo_n "checking for unw_step... " >&6; }
14918 if ${wine_cv_have_unw_step+:} false; then :
14919 $as_echo_n "(cached) " >&6
14920 else
14921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14922 /* end confdefs.h. */
14923 #define UNW_LOCAL_ONLY
14924 #include <libunwind.h>
14926 main ()
14928 unw_cursor_t cursor; unw_step( &cursor );
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 wine_cv_have_unw_step="yes"
14935 else
14936 wine_cv_have_unw_step="no"
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14942 $as_echo "$wine_cv_have_unw_step" >&6; }
14943 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14944 then
14945 save_libs=$LIBS
14946 LIBS="$UNWIND_LIBS $LIBS"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14948 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14949 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #define UNW_LOCAL_ONLY
14955 #include <libunwind.h>
14957 main ()
14959 unw_cursor_t cursor; unw_step( &cursor );
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_link "$LINENO"; then :
14965 wine_cv_have_libunwind_unw_step="yes"
14966 else
14967 wine_cv_have_libunwind_unw_step="no"
14969 rm -f core conftest.err conftest.$ac_objext \
14970 conftest$ac_exeext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
14973 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
14974 LIBS=$save_libs
14976 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
14977 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
14978 then
14980 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
14983 CPPFLAGS=$ac_save_CPPFLAGS
14984 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14985 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14988 case $host in
14989 aarch64*|*-darwin*)
14990 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
14991 case "x$with_unwind" in
14992 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
14993 xno) ;;
14994 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
14995 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
14996 esac
14998 fi ;;
14999 esac
15001 if test "x$with_sdl" != "xno"
15002 then
15003 if ${SDL2_CFLAGS:+false} :; then :
15004 if ${PKG_CONFIG+:} false; then :
15005 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15009 if ${SDL2_LIBS:+false} :; then :
15010 if ${PKG_CONFIG+:} false; then :
15011 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15015 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15016 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15017 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15018 ac_save_CPPFLAGS=$CPPFLAGS
15019 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15020 for ac_header in SDL2/SDL.h
15021 do :
15022 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15023 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15024 cat >>confdefs.h <<_ACEOF
15025 #define HAVE_SDL2_SDL_H 1
15026 _ACEOF
15027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15028 $as_echo_n "checking for -lSDL2... " >&6; }
15029 if ${ac_cv_lib_soname_SDL2+:} false; then :
15030 $as_echo_n "(cached) " >&6
15031 else
15032 ac_check_soname_save_LIBS=$LIBS
15033 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035 /* end confdefs.h. */
15037 /* Override any GCC internal prototype to avoid an error.
15038 Use char because int might match the return type of a GCC
15039 builtin and then its argument prototype would still apply. */
15040 #ifdef __cplusplus
15041 extern "C"
15042 #endif
15043 char SDL_Init ();
15045 main ()
15047 return SDL_Init ();
15049 return 0;
15051 _ACEOF
15052 if ac_fn_c_try_link "$LINENO"; then :
15053 case "$LIBEXT" in
15054 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15055 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'` ;;
15056 *) 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'`
15057 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15058 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15059 fi ;;
15060 esac
15061 else
15062 ac_cv_lib_soname_SDL2=
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 LIBS=$ac_check_soname_save_LIBS
15068 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15070 $as_echo "not found" >&6; }
15072 else
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15074 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15076 cat >>confdefs.h <<_ACEOF
15077 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15078 _ACEOF
15084 done
15086 CPPFLAGS=$ac_save_CPPFLAGS
15087 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15088 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15091 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15092 case "x$with_sdl" in
15093 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15094 xno) ;;
15095 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15096 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15097 esac
15101 if test "x$with_faudio" != "xno"
15102 then
15103 if ${FAUDIO_CFLAGS:+false} :; then :
15104 if ${PKG_CONFIG+:} false; then :
15105 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15109 if ${FAUDIO_LIBS:+false} :; then :
15110 if ${PKG_CONFIG+:} false; then :
15111 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15115 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15116 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15117 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15118 ac_save_CPPFLAGS=$CPPFLAGS
15119 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15120 for ac_header in FAudio.h
15121 do :
15122 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15123 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15124 cat >>confdefs.h <<_ACEOF
15125 #define HAVE_FAUDIO_H 1
15126 _ACEOF
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15128 $as_echo_n "checking for -lFAudio... " >&6; }
15129 if ${ac_cv_lib_soname_FAudio+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 ac_check_soname_save_LIBS=$LIBS
15133 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15137 /* Override any GCC internal prototype to avoid an error.
15138 Use char because int might match the return type of a GCC
15139 builtin and then its argument prototype would still apply. */
15140 #ifdef __cplusplus
15141 extern "C"
15142 #endif
15143 char FAudioCreate ();
15145 main ()
15147 return FAudioCreate ();
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_link "$LINENO"; then :
15153 case "$LIBEXT" in
15154 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15155 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'` ;;
15156 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15157 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15158 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15159 fi ;;
15160 esac
15161 else
15162 ac_cv_lib_soname_FAudio=
15164 rm -f core conftest.err conftest.$ac_objext \
15165 conftest$ac_exeext conftest.$ac_ext
15166 LIBS=$ac_check_soname_save_LIBS
15168 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15170 $as_echo "not found" >&6; }
15172 else
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15174 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15176 cat >>confdefs.h <<_ACEOF
15177 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15178 _ACEOF
15184 done
15186 ac_wine_check_funcs_save_LIBS="$LIBS"
15187 LIBS="$LIBS $FAUDIO_LIBS"
15188 for ac_func in FAudio_CommitOperationSet \
15189 F3DAudioInitialize8
15190 do :
15191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15193 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15194 cat >>confdefs.h <<_ACEOF
15195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15196 _ACEOF
15199 done
15201 LIBS="$ac_wine_check_funcs_save_LIBS"
15203 CPPFLAGS=$ac_save_CPPFLAGS
15204 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15205 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15208 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15209 case "x$with_faudio" in
15210 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15211 xno) ;;
15212 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15213 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15214 esac
15218 if test "x$with_capi" != "xno"
15219 then
15220 if ${CAPI20_CFLAGS:+false} :; then :
15221 if ${PKG_CONFIG+:} false; then :
15222 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15226 if ${CAPI20_LIBS:+false} :; then :
15227 if ${PKG_CONFIG+:} false; then :
15228 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15233 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15234 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15235 ac_save_CPPFLAGS=$CPPFLAGS
15236 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15237 for ac_header in capi20.h linux/capi.h
15238 do :
15239 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15243 cat >>confdefs.h <<_ACEOF
15244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15245 _ACEOF
15249 done
15251 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15252 then
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15254 $as_echo_n "checking for -lcapi20... " >&6; }
15255 if ${ac_cv_lib_soname_capi20+:} false; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258 ac_check_soname_save_LIBS=$LIBS
15259 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15263 /* Override any GCC internal prototype to avoid an error.
15264 Use char because int might match the return type of a GCC
15265 builtin and then its argument prototype would still apply. */
15266 #ifdef __cplusplus
15267 extern "C"
15268 #endif
15269 char capi20_register ();
15271 main ()
15273 return capi20_register ();
15275 return 0;
15277 _ACEOF
15278 if ac_fn_c_try_link "$LINENO"; then :
15279 case "$LIBEXT" in
15280 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15281 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'` ;;
15282 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15283 if ${ac_cv_lib_soname_capi20:+false} :; then :
15284 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15285 fi ;;
15286 esac
15287 else
15288 ac_cv_lib_soname_capi20=
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15292 LIBS=$ac_check_soname_save_LIBS
15294 if ${ac_cv_lib_soname_capi20:+false} :; then :
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15296 $as_echo "not found" >&6; }
15298 else
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15300 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15302 cat >>confdefs.h <<_ACEOF
15303 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15304 _ACEOF
15309 CPPFLAGS=$ac_save_CPPFLAGS
15310 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15311 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15314 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15315 case "x$with_capi" in
15316 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15317 xno) ;;
15318 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15319 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15320 esac
15324 if test "x$with_cups" != "xno"
15325 then
15326 if ${CUPS_CFLAGS:+false} :; then :
15327 if ${PKG_CONFIG+:} false; then :
15328 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15331 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15332 if ${CUPS_LIBS:+false} :; then :
15333 if ${PKG_CONFIG+:} false; then :
15334 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15337 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15338 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15339 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15340 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15341 ac_save_CPPFLAGS=$CPPFLAGS
15342 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15343 for ac_header in cups/cups.h cups/ppd.h
15344 do :
15345 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15346 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15350 _ACEOF
15354 done
15356 if test "$ac_cv_header_cups_cups_h" = "yes"
15357 then
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15359 $as_echo_n "checking for -lcups... " >&6; }
15360 if ${ac_cv_lib_soname_cups+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_check_soname_save_LIBS=$LIBS
15364 LIBS="-lcups $CUPS_LIBS $LIBS"
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15368 /* Override any GCC internal prototype to avoid an error.
15369 Use char because int might match the return type of a GCC
15370 builtin and then its argument prototype would still apply. */
15371 #ifdef __cplusplus
15372 extern "C"
15373 #endif
15374 char cupsGetDefault ();
15376 main ()
15378 return cupsGetDefault ();
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 case "$LIBEXT" in
15385 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15386 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'` ;;
15387 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15388 if ${ac_cv_lib_soname_cups:+false} :; then :
15389 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15390 fi ;;
15391 esac
15392 else
15393 ac_cv_lib_soname_cups=
15395 rm -f core conftest.err conftest.$ac_objext \
15396 conftest$ac_exeext conftest.$ac_ext
15397 LIBS=$ac_check_soname_save_LIBS
15399 if ${ac_cv_lib_soname_cups:+false} :; then :
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15401 $as_echo "not found" >&6; }
15402 CUPS_LIBS=""
15403 else
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15405 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15407 cat >>confdefs.h <<_ACEOF
15408 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15409 _ACEOF
15413 else
15414 CUPS_CFLAGS=""
15415 CUPS_LIBS=""
15417 CPPFLAGS=$ac_save_CPPFLAGS
15418 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15419 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15422 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15423 case "x$with_cups" in
15424 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15425 xno) ;;
15426 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15427 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15428 esac
15432 if test "x$with_fontconfig" != "xno"
15433 then
15434 if ${FONTCONFIG_CFLAGS:+false} :; then :
15435 if ${PKG_CONFIG+:} false; then :
15436 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15439 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15440 if ${FONTCONFIG_LIBS:+false} :; then :
15441 if ${PKG_CONFIG+:} false; then :
15442 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15445 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15447 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15448 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15449 ac_save_CPPFLAGS=$CPPFLAGS
15450 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15451 for ac_header in fontconfig/fontconfig.h
15452 do :
15453 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15454 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15457 _ACEOF
15461 done
15463 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15464 then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15466 $as_echo_n "checking for -lfontconfig... " >&6; }
15467 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15468 $as_echo_n "(cached) " >&6
15469 else
15470 ac_check_soname_save_LIBS=$LIBS
15471 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15478 #ifdef __cplusplus
15479 extern "C"
15480 #endif
15481 char FcInit ();
15483 main ()
15485 return FcInit ();
15487 return 0;
15489 _ACEOF
15490 if ac_fn_c_try_link "$LINENO"; then :
15491 case "$LIBEXT" in
15492 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15493 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'` ;;
15494 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15495 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15496 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15497 fi ;;
15498 esac
15499 else
15500 ac_cv_lib_soname_fontconfig=
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15504 LIBS=$ac_check_soname_save_LIBS
15506 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15508 $as_echo "not found" >&6; }
15509 FONTCONFIG_CFLAGS=""
15510 else
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15512 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15514 cat >>confdefs.h <<_ACEOF
15515 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15516 _ACEOF
15520 else
15521 FONTCONFIG_CFLAGS=""
15523 CPPFLAGS=$ac_save_CPPFLAGS
15524 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15525 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15528 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15529 case "x$with_fontconfig" in
15530 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15531 xno) ;;
15532 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15533 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15534 esac
15538 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15539 then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15541 $as_echo_n "checking for -lgsm... " >&6; }
15542 if ${ac_cv_lib_soname_gsm+:} false; then :
15543 $as_echo_n "(cached) " >&6
15544 else
15545 ac_check_soname_save_LIBS=$LIBS
15546 LIBS="-lgsm $LIBS"
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548 /* end confdefs.h. */
15550 /* Override any GCC internal prototype to avoid an error.
15551 Use char because int might match the return type of a GCC
15552 builtin and then its argument prototype would still apply. */
15553 #ifdef __cplusplus
15554 extern "C"
15555 #endif
15556 char gsm_create ();
15558 main ()
15560 return gsm_create ();
15562 return 0;
15564 _ACEOF
15565 if ac_fn_c_try_link "$LINENO"; then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_gsm:+false} :; then :
15571 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15572 fi ;;
15573 esac
15574 else
15575 ac_cv_lib_soname_gsm=
15577 rm -f core conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15579 LIBS=$ac_check_soname_save_LIBS
15581 if ${ac_cv_lib_soname_gsm:+false} :; then :
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15583 $as_echo "not found" >&6; }
15585 else
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15587 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15589 cat >>confdefs.h <<_ACEOF
15590 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15591 _ACEOF
15596 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15597 case "x$with_gsm" in
15598 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15599 xno) ;;
15600 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15601 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15602 esac
15606 if test "x$with_krb5" != "xno"
15607 then
15608 if ${KRB5_CFLAGS:+false} :; then :
15609 if ${PKG_CONFIG+:} false; then :
15610 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15613 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15614 if ${KRB5_LIBS:+false} :; then :
15615 if ${PKG_CONFIG+:} false; then :
15616 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15619 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15621 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15622 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15623 ac_save_CPPFLAGS=$CPPFLAGS
15624 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15625 for ac_header in krb5/krb5.h
15626 do :
15627 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15628 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define HAVE_KRB5_KRB5_H 1
15631 _ACEOF
15635 done
15637 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15638 then
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15640 $as_echo_n "checking for -lkrb5... " >&6; }
15641 if ${ac_cv_lib_soname_krb5+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_check_soname_save_LIBS=$LIBS
15645 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
15652 #ifdef __cplusplus
15653 extern "C"
15654 #endif
15655 char krb5_is_config_principal ();
15657 main ()
15659 return krb5_is_config_principal ();
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 case "$LIBEXT" in
15666 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15667 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'` ;;
15668 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15669 if ${ac_cv_lib_soname_krb5:+false} :; then :
15670 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15671 fi ;;
15672 esac
15673 else
15674 ac_cv_lib_soname_krb5=
15676 rm -f core conftest.err conftest.$ac_objext \
15677 conftest$ac_exeext conftest.$ac_ext
15678 LIBS=$ac_check_soname_save_LIBS
15680 if ${ac_cv_lib_soname_krb5:+false} :; then :
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15682 $as_echo "not found" >&6; }
15683 KRB5_CFLAGS=""
15684 else
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15686 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15688 cat >>confdefs.h <<_ACEOF
15689 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15690 _ACEOF
15694 else
15695 KRB5_CFLAGS=""
15697 CPPFLAGS=$ac_save_CPPFLAGS
15698 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15699 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15701 else
15702 with_gssapi=${with_gssapi:-no}
15704 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15705 case "x$with_krb5" in
15706 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15707 xno) ;;
15708 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15709 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15710 esac
15714 if test "x$with_gssapi" != "xno"
15715 then
15716 if ${GSSAPI_CFLAGS:+false} :; then :
15717 if ${PKG_CONFIG+:} false; then :
15718 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15721 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15722 if ${GSSAPI_LIBS:+false} :; then :
15723 if ${PKG_CONFIG+:} false; then :
15724 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15727 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15729 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15730 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15731 ac_save_CPPFLAGS=$CPPFLAGS
15732 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15733 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15734 do :
15735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15736 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15740 _ACEOF
15744 done
15746 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15747 then
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15749 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15750 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15751 $as_echo_n "(cached) " >&6
15752 else
15753 ac_check_soname_save_LIBS=$LIBS
15754 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15756 /* end confdefs.h. */
15758 /* Override any GCC internal prototype to avoid an error.
15759 Use char because int might match the return type of a GCC
15760 builtin and then its argument prototype would still apply. */
15761 #ifdef __cplusplus
15762 extern "C"
15763 #endif
15764 char gss_init_sec_context ();
15766 main ()
15768 return gss_init_sec_context ();
15770 return 0;
15772 _ACEOF
15773 if ac_fn_c_try_link "$LINENO"; then :
15774 case "$LIBEXT" in
15775 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15776 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'` ;;
15777 *) 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'`
15778 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15779 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15780 fi ;;
15781 esac
15782 else
15783 ac_cv_lib_soname_gssapi_krb5=
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_check_soname_save_LIBS
15789 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15791 $as_echo "not found" >&6; }
15792 GSSAPI_CFLAGS=""
15793 else
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15795 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15797 cat >>confdefs.h <<_ACEOF
15798 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15799 _ACEOF
15803 else
15804 GSSAPI_CFLAGS=""
15806 CPPFLAGS=$ac_save_CPPFLAGS
15807 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15808 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15811 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15812 case "x$with_gssapi" in
15813 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15814 xno) ;;
15815 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15816 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15817 esac
15821 if test "x$with_jpeg" != "xno"
15822 then
15823 if ${JPEG_CFLAGS:+false} :; then :
15824 if ${PKG_CONFIG+:} false; then :
15825 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15829 if ${JPEG_LIBS:+false} :; then :
15830 if ${PKG_CONFIG+:} false; then :
15831 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15836 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15837 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15838 ac_save_CPPFLAGS=$CPPFLAGS
15839 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15840 for ac_header in jpeglib.h
15841 do :
15842 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15843 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_JPEGLIB_H 1
15846 _ACEOF
15850 done
15852 if test "$ac_cv_header_jpeglib_h" = "yes"
15853 then
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15855 $as_echo_n "checking for -ljpeg... " >&6; }
15856 if ${ac_cv_lib_soname_jpeg+:} false; then :
15857 $as_echo_n "(cached) " >&6
15858 else
15859 ac_check_soname_save_LIBS=$LIBS
15860 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862 /* end confdefs.h. */
15864 /* Override any GCC internal prototype to avoid an error.
15865 Use char because int might match the return type of a GCC
15866 builtin and then its argument prototype would still apply. */
15867 #ifdef __cplusplus
15868 extern "C"
15869 #endif
15870 char jpeg_start_decompress ();
15872 main ()
15874 return jpeg_start_decompress ();
15876 return 0;
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"; then :
15880 case "$LIBEXT" in
15881 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15882 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'` ;;
15883 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15884 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15885 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15886 fi ;;
15887 esac
15888 else
15889 ac_cv_lib_soname_jpeg=
15891 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext
15893 LIBS=$ac_check_soname_save_LIBS
15895 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15897 $as_echo "not found" >&6; }
15898 JPEG_CFLAGS=""
15899 else
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15901 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15903 cat >>confdefs.h <<_ACEOF
15904 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15905 _ACEOF
15909 else
15910 JPEG_CFLAGS=""
15912 CPPFLAGS=$ac_save_CPPFLAGS
15913 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15914 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15917 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15918 case "x$with_jpeg" in
15919 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15920 xno) ;;
15921 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15922 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15923 esac
15927 if test "x$with_png" != "xno"
15928 then
15929 if ${PNG_CFLAGS:+false} :; then :
15930 if ${PKG_CONFIG+:} false; then :
15931 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15934 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15935 if ${PNG_LIBS:+false} :; then :
15936 if ${PKG_CONFIG+:} false; then :
15937 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15940 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15942 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15943 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15944 ac_save_CPPFLAGS=$CPPFLAGS
15945 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15946 for ac_header in png.h
15947 do :
15948 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15949 if test "x$ac_cv_header_png_h" = xyes; then :
15950 cat >>confdefs.h <<_ACEOF
15951 #define HAVE_PNG_H 1
15952 _ACEOF
15956 done
15958 if test "$ac_cv_header_png_h" = "yes"
15959 then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15961 $as_echo_n "checking for -lpng... " >&6; }
15962 if ${ac_cv_lib_soname_png+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 ac_check_soname_save_LIBS=$LIBS
15966 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968 /* end confdefs.h. */
15970 /* Override any GCC internal prototype to avoid an error.
15971 Use char because int might match the return type of a GCC
15972 builtin and then its argument prototype would still apply. */
15973 #ifdef __cplusplus
15974 extern "C"
15975 #endif
15976 char png_create_read_struct ();
15978 main ()
15980 return png_create_read_struct ();
15982 return 0;
15984 _ACEOF
15985 if ac_fn_c_try_link "$LINENO"; then :
15986 case "$LIBEXT" in
15987 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15988 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'` ;;
15989 *) 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'`
15990 if ${ac_cv_lib_soname_png:+false} :; then :
15991 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15992 fi ;;
15993 esac
15994 else
15995 ac_cv_lib_soname_png=
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext conftest.$ac_ext
15999 LIBS=$ac_check_soname_save_LIBS
16001 if ${ac_cv_lib_soname_png:+false} :; then :
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16003 $as_echo "not found" >&6; }
16004 PNG_CFLAGS=""
16005 else
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16007 $as_echo "$ac_cv_lib_soname_png" >&6; }
16009 cat >>confdefs.h <<_ACEOF
16010 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16011 _ACEOF
16015 else
16016 PNG_CFLAGS=""
16018 CPPFLAGS=$ac_save_CPPFLAGS
16019 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16020 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16023 if test "x$ac_cv_lib_soname_png" = "x"; then :
16024 case "x$with_png" in
16025 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16026 xno) ;;
16027 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16028 This is an error since --with-png was requested." "$LINENO" 5 ;;
16029 esac
16033 if test "x$with_tiff" != "xno"
16034 then
16035 if ${TIFF_CFLAGS:+false} :; then :
16036 if ${PKG_CONFIG+:} false; then :
16037 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16041 if ${TIFF_LIBS:+false} :; then :
16042 if ${PKG_CONFIG+:} false; then :
16043 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16048 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16049 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16050 ac_save_CPPFLAGS=$CPPFLAGS
16051 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16052 for ac_header in tiffio.h
16053 do :
16054 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16055 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16056 cat >>confdefs.h <<_ACEOF
16057 #define HAVE_TIFFIO_H 1
16058 _ACEOF
16062 done
16064 if test "$ac_cv_header_tiffio_h" = "yes"
16065 then
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16067 $as_echo_n "checking for -ltiff... " >&6; }
16068 if ${ac_cv_lib_soname_tiff+:} false; then :
16069 $as_echo_n "(cached) " >&6
16070 else
16071 ac_check_soname_save_LIBS=$LIBS
16072 LIBS="-ltiff $TIFF_LIBS $LIBS"
16073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16074 /* end confdefs.h. */
16076 /* Override any GCC internal prototype to avoid an error.
16077 Use char because int might match the return type of a GCC
16078 builtin and then its argument prototype would still apply. */
16079 #ifdef __cplusplus
16080 extern "C"
16081 #endif
16082 char TIFFClientOpen ();
16084 main ()
16086 return TIFFClientOpen ();
16088 return 0;
16090 _ACEOF
16091 if ac_fn_c_try_link "$LINENO"; then :
16092 case "$LIBEXT" in
16093 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16094 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'` ;;
16095 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16096 if ${ac_cv_lib_soname_tiff:+false} :; then :
16097 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16098 fi ;;
16099 esac
16100 else
16101 ac_cv_lib_soname_tiff=
16103 rm -f core conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16105 LIBS=$ac_check_soname_save_LIBS
16107 if ${ac_cv_lib_soname_tiff:+false} :; then :
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16109 $as_echo "not found" >&6; }
16111 else
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16113 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16115 cat >>confdefs.h <<_ACEOF
16116 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16117 _ACEOF
16122 CPPFLAGS=$ac_save_CPPFLAGS
16123 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16124 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16127 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16128 case "x$with_tiff" in
16129 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16130 xno) ;;
16131 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16132 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16133 esac
16137 if test "x$with_mpg123" != "xno"
16138 then
16139 if ${MPG123_CFLAGS:+false} :; then :
16140 if ${PKG_CONFIG+:} false; then :
16141 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16145 if ${MPG123_LIBS:+false} :; then :
16146 if ${PKG_CONFIG+:} false; then :
16147 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16151 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16152 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16153 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16154 ac_save_CPPFLAGS=$CPPFLAGS
16155 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16156 for ac_header in mpg123.h
16157 do :
16158 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16159 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16160 cat >>confdefs.h <<_ACEOF
16161 #define HAVE_MPG123_H 1
16162 _ACEOF
16166 done
16168 if test "$ac_cv_header_mpg123_h" = "yes"
16169 then
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16171 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16172 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16173 $as_echo_n "(cached) " >&6
16174 else
16175 ac_check_lib_save_LIBS=$LIBS
16176 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 /* end confdefs.h. */
16180 /* Override any GCC internal prototype to avoid an error.
16181 Use char because int might match the return type of a GCC
16182 builtin and then its argument prototype would still apply. */
16183 #ifdef __cplusplus
16184 extern "C"
16185 #endif
16186 char mpg123_feed ();
16188 main ()
16190 return mpg123_feed ();
16192 return 0;
16194 _ACEOF
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 ac_cv_lib_mpg123_mpg123_feed=yes
16197 else
16198 ac_cv_lib_mpg123_mpg123_feed=no
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16202 LIBS=$ac_check_lib_save_LIBS
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16205 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16206 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16208 else
16209 MPG123_LIBS=""
16212 else
16213 MPG123_CFLAGS=""
16214 MPG123_LIBS=""
16216 CPPFLAGS=$ac_save_CPPFLAGS
16217 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16218 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16221 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16222 case "x$with_mpg123" in
16223 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16224 xno) ;;
16225 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16226 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16227 esac
16228 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16230 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16232 if test "$ac_cv_header_AL_al_h" = "yes"
16233 then
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16235 $as_echo_n "checking for -lopenal... " >&6; }
16236 if ${ac_cv_lib_soname_openal+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 ac_check_soname_save_LIBS=$LIBS
16240 LIBS="-lopenal $LIBS"
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16244 /* Override any GCC internal prototype to avoid an error.
16245 Use char because int might match the return type of a GCC
16246 builtin and then its argument prototype would still apply. */
16247 #ifdef __cplusplus
16248 extern "C"
16249 #endif
16250 char alGetSource3i ();
16252 main ()
16254 return alGetSource3i ();
16256 return 0;
16258 _ACEOF
16259 if ac_fn_c_try_link "$LINENO"; then :
16260 case "$LIBEXT" in
16261 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16262 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'` ;;
16263 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16264 if ${ac_cv_lib_soname_openal:+false} :; then :
16265 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16266 fi ;;
16267 esac
16268 else
16269 ac_cv_lib_soname_openal=
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16273 LIBS=$ac_check_soname_save_LIBS
16275 if ${ac_cv_lib_soname_openal:+false} :; then :
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16277 $as_echo "not found" >&6; }
16279 else
16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16281 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16283 cat >>confdefs.h <<_ACEOF
16284 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16285 _ACEOF
16287 OPENAL_LIBS="-lopenal"
16289 ac_cv_lib_openal=yes
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_OPENAL 1
16293 _ACEOF
16297 if test "x$ac_cv_lib_openal" != xyes; then :
16298 case "x$with_openal" in
16299 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16300 xno) ;;
16301 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16302 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16303 esac
16304 enable_openal32=${enable_openal32:-no}
16307 if test "x$ac_cv_lib_soname_FAudio" = "x"
16308 then
16309 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16310 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16311 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16312 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16313 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16314 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16315 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16316 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16317 enable_xapofx1_1=${enable_xapofx1_1:-no}
16318 enable_xapofx1_2=${enable_xapofx1_2:-no}
16319 enable_xapofx1_3=${enable_xapofx1_3:-no}
16320 enable_xapofx1_4=${enable_xapofx1_4:-no}
16321 enable_xapofx1_5=${enable_xapofx1_5:-no}
16322 enable_xaudio2_0=${enable_xaudio2_0:-no}
16323 enable_xaudio2_1=${enable_xaudio2_1:-no}
16324 enable_xaudio2_2=${enable_xaudio2_2:-no}
16325 enable_xaudio2_3=${enable_xaudio2_3:-no}
16326 enable_xaudio2_4=${enable_xaudio2_4:-no}
16327 enable_xaudio2_5=${enable_xaudio2_5:-no}
16328 enable_xaudio2_6=${enable_xaudio2_6:-no}
16329 enable_xaudio2_7=${enable_xaudio2_7:-no}
16330 enable_xaudio2_8=${enable_xaudio2_8:-no}
16331 enable_xaudio2_9=${enable_xaudio2_9:-no}
16334 if test "$ac_cv_header_kstat_h" = "yes"
16335 then
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16337 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16338 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 ac_check_lib_save_LIBS=$LIBS
16342 LIBS="-lkstat $LIBS"
16343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16344 /* end confdefs.h. */
16346 /* Override any GCC internal prototype to avoid an error.
16347 Use char because int might match the return type of a GCC
16348 builtin and then its argument prototype would still apply. */
16349 #ifdef __cplusplus
16350 extern "C"
16351 #endif
16352 char kstat_open ();
16354 main ()
16356 return kstat_open ();
16358 return 0;
16360 _ACEOF
16361 if ac_fn_c_try_link "$LINENO"; then :
16362 ac_cv_lib_kstat_kstat_open=yes
16363 else
16364 ac_cv_lib_kstat_kstat_open=no
16366 rm -f core conftest.err conftest.$ac_objext \
16367 conftest$ac_exeext conftest.$ac_ext
16368 LIBS=$ac_check_lib_save_LIBS
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16371 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16372 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16374 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16376 KSTAT_LIBS="-lkstat"
16382 if test "$ac_cv_header_libprocstat_h" = "yes"
16383 then
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16385 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16386 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16387 $as_echo_n "(cached) " >&6
16388 else
16389 ac_check_lib_save_LIBS=$LIBS
16390 LIBS="-lprocstat $LIBS"
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16392 /* end confdefs.h. */
16394 /* Override any GCC internal prototype to avoid an error.
16395 Use char because int might match the return type of a GCC
16396 builtin and then its argument prototype would still apply. */
16397 #ifdef __cplusplus
16398 extern "C"
16399 #endif
16400 char procstat_open_sysctl ();
16402 main ()
16404 return procstat_open_sysctl ();
16406 return 0;
16408 _ACEOF
16409 if ac_fn_c_try_link "$LINENO"; then :
16410 ac_cv_lib_procstat_procstat_open_sysctl=yes
16411 else
16412 ac_cv_lib_procstat_procstat_open_sysctl=no
16414 rm -f core conftest.err conftest.$ac_objext \
16415 conftest$ac_exeext conftest.$ac_ext
16416 LIBS=$ac_check_lib_save_LIBS
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16419 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16420 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16422 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16424 PROCSTAT_LIBS="-lprocstat"
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16431 $as_echo_n "checking for -lodbc... " >&6; }
16432 if ${ac_cv_lib_soname_odbc+:} false; then :
16433 $as_echo_n "(cached) " >&6
16434 else
16435 ac_check_soname_save_LIBS=$LIBS
16436 LIBS="-lodbc $LIBS"
16437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 /* end confdefs.h. */
16440 /* Override any GCC internal prototype to avoid an error.
16441 Use char because int might match the return type of a GCC
16442 builtin and then its argument prototype would still apply. */
16443 #ifdef __cplusplus
16444 extern "C"
16445 #endif
16446 char SQLConnect ();
16448 main ()
16450 return SQLConnect ();
16452 return 0;
16454 _ACEOF
16455 if ac_fn_c_try_link "$LINENO"; then :
16456 case "$LIBEXT" in
16457 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16458 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'` ;;
16459 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16460 if ${ac_cv_lib_soname_odbc:+false} :; then :
16461 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16462 fi ;;
16463 esac
16464 else
16465 ac_cv_lib_soname_odbc=
16467 rm -f core conftest.err conftest.$ac_objext \
16468 conftest$ac_exeext conftest.$ac_ext
16469 LIBS=$ac_check_soname_save_LIBS
16471 if ${ac_cv_lib_soname_odbc:+false} :; then :
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16473 $as_echo "not found" >&6; }
16474 cat >>confdefs.h <<_ACEOF
16475 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16476 _ACEOF
16478 else
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16480 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16482 cat >>confdefs.h <<_ACEOF
16483 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16484 _ACEOF
16489 if test "x$with_netapi" != "xno"
16490 then
16491 if ${NETAPI_CFLAGS:+false} :; then :
16492 if ${PKG_CONFIG+:} false; then :
16493 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16497 if ${NETAPI_LIBS:+false} :; then :
16498 if ${PKG_CONFIG+:} false; then :
16499 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16504 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16505 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16506 ac_save_CPPFLAGS=$CPPFLAGS
16507 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16509 $as_echo_n "checking for -lnetapi... " >&6; }
16510 if ${ac_cv_lib_soname_netapi+:} false; then :
16511 $as_echo_n "(cached) " >&6
16512 else
16513 ac_check_soname_save_LIBS=$LIBS
16514 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16518 /* Override any GCC internal prototype to avoid an error.
16519 Use char because int might match the return type of a GCC
16520 builtin and then its argument prototype would still apply. */
16521 #ifdef __cplusplus
16522 extern "C"
16523 #endif
16524 char libnetapi_init ();
16526 main ()
16528 return libnetapi_init ();
16530 return 0;
16532 _ACEOF
16533 if ac_fn_c_try_link "$LINENO"; then :
16534 case "$LIBEXT" in
16535 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16536 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'` ;;
16537 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16538 if ${ac_cv_lib_soname_netapi:+false} :; then :
16539 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16540 fi ;;
16541 esac
16542 else
16543 ac_cv_lib_soname_netapi=
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_soname_save_LIBS
16549 if ${ac_cv_lib_soname_netapi:+false} :; then :
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16551 $as_echo "not found" >&6; }
16552 cat >>confdefs.h <<_ACEOF
16553 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16554 _ACEOF
16556 else
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16558 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16560 cat >>confdefs.h <<_ACEOF
16561 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16562 _ACEOF
16566 CPPFLAGS=$ac_save_CPPFLAGS
16567 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16568 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16572 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16573 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16574 then
16575 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16578 if test "x$with_vulkan" != "xno"
16579 then
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16581 $as_echo_n "checking for -lvulkan... " >&6; }
16582 if ${ac_cv_lib_soname_vulkan+:} false; then :
16583 $as_echo_n "(cached) " >&6
16584 else
16585 ac_check_soname_save_LIBS=$LIBS
16586 LIBS="-lvulkan $LIBS"
16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16588 /* end confdefs.h. */
16590 /* Override any GCC internal prototype to avoid an error.
16591 Use char because int might match the return type of a GCC
16592 builtin and then its argument prototype would still apply. */
16593 #ifdef __cplusplus
16594 extern "C"
16595 #endif
16596 char vkGetInstanceProcAddr ();
16598 main ()
16600 return vkGetInstanceProcAddr ();
16602 return 0;
16604 _ACEOF
16605 if ac_fn_c_try_link "$LINENO"; then :
16606 case "$LIBEXT" in
16607 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16608 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'` ;;
16609 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16610 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16611 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16612 fi ;;
16613 esac
16614 else
16615 ac_cv_lib_soname_vulkan=
16617 rm -f core conftest.err conftest.$ac_objext \
16618 conftest$ac_exeext conftest.$ac_ext
16619 LIBS=$ac_check_soname_save_LIBS
16621 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16623 $as_echo "not found" >&6; }
16625 else
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16627 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16629 cat >>confdefs.h <<_ACEOF
16630 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16631 _ACEOF
16635 if test "x$ac_cv_lib_soname_vulkan" = "x"
16636 then
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16638 $as_echo_n "checking for -lMoltenVK... " >&6; }
16639 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 ac_check_soname_save_LIBS=$LIBS
16643 LIBS="-lMoltenVK $LIBS"
16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16647 /* Override any GCC internal prototype to avoid an error.
16648 Use char because int might match the return type of a GCC
16649 builtin and then its argument prototype would still apply. */
16650 #ifdef __cplusplus
16651 extern "C"
16652 #endif
16653 char vkGetInstanceProcAddr ();
16655 main ()
16657 return vkGetInstanceProcAddr ();
16659 return 0;
16661 _ACEOF
16662 if ac_fn_c_try_link "$LINENO"; then :
16663 case "$LIBEXT" in
16664 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16665 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'` ;;
16666 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16667 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16668 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16669 fi ;;
16670 esac
16671 else
16672 ac_cv_lib_soname_MoltenVK=
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS=$ac_check_soname_save_LIBS
16678 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16680 $as_echo "not found" >&6; }
16682 else
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16684 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16686 cat >>confdefs.h <<_ACEOF
16687 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16688 _ACEOF
16694 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16695 case "x$with_vulkan" in
16696 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16697 xno) ;;
16698 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16699 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16700 esac
16704 if test "x$with_vkd3d" != "xno"
16705 then
16706 if ${VKD3D_CFLAGS:+false} :; then :
16707 if ${PKG_CONFIG+:} false; then :
16708 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16712 if ${VKD3D_LIBS:+false} :; then :
16713 if ${PKG_CONFIG+:} false; then :
16714 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16719 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16720 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16721 ac_save_CPPFLAGS=$CPPFLAGS
16722 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16724 $as_echo_n "checking for -lvkd3d... " >&6; }
16725 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16726 $as_echo_n "(cached) " >&6
16727 else
16728 ac_check_soname_save_LIBS=$LIBS
16729 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16731 /* end confdefs.h. */
16733 /* Override any GCC internal prototype to avoid an error.
16734 Use char because int might match the return type of a GCC
16735 builtin and then its argument prototype would still apply. */
16736 #ifdef __cplusplus
16737 extern "C"
16738 #endif
16739 char vkd3d_get_dxgi_format ();
16741 main ()
16743 return vkd3d_get_dxgi_format ();
16745 return 0;
16747 _ACEOF
16748 if ac_fn_c_try_link "$LINENO"; then :
16749 case "$LIBEXT" in
16750 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16751 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'` ;;
16752 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16753 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16754 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16755 fi ;;
16756 esac
16757 else
16758 ac_cv_lib_soname_vkd3d=
16760 rm -f core conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16762 LIBS=$ac_check_soname_save_LIBS
16764 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16766 $as_echo "not found" >&6; }
16768 else
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16770 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16772 cat >>confdefs.h <<_ACEOF
16773 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16774 _ACEOF
16778 CPPFLAGS=$ac_save_CPPFLAGS
16779 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16780 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16783 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16784 case "x$with_vkd3d" in
16785 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16786 xno) ;;
16787 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16788 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16789 esac
16792 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16795 EXTRACFLAGS=""
16797 if test "x${GCC}" = "xyes"
16798 then
16799 EXTRACFLAGS="-Wall -pipe"
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16802 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16803 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16804 $as_echo_n "(cached) " >&6
16805 else
16806 if test "$cross_compiling" = yes; then :
16807 ac_cv_c_gcc_strength_bug="no"
16808 else
16809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16810 /* end confdefs.h. */
16811 int L[4] = {0,1,2,3};
16813 main ()
16815 static int Array[3];
16816 unsigned int B = 3;
16817 int i;
16818 for(i=0; i<B; i++) Array[i] = i - 3;
16819 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16820 L[i] = 4;
16821 return (Array[1] != -2 || L[2] != 3)
16823 return 0;
16825 _ACEOF
16826 if ac_fn_c_try_run "$LINENO"; then :
16827 ac_cv_c_gcc_strength_bug="no"
16828 else
16829 ac_cv_c_gcc_strength_bug="yes"
16831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16832 conftest.$ac_objext conftest.beam conftest.$ac_ext
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16837 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16838 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16839 then
16840 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16844 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16845 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_wine_try_cflags_saved=$CFLAGS
16849 CFLAGS="$CFLAGS -fno-strict-aliasing"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852 int main(int argc, char **argv) { return 0; }
16853 _ACEOF
16854 if ac_fn_c_try_link "$LINENO"; then :
16855 ac_cv_cflags__fno_strict_aliasing=yes
16856 else
16857 ac_cv_cflags__fno_strict_aliasing=no
16859 rm -f core conftest.err conftest.$ac_objext \
16860 conftest$ac_exeext conftest.$ac_ext
16861 CFLAGS=$ac_wine_try_cflags_saved
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16864 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16865 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16866 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16869 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16870 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 ac_wine_try_cflags_saved=$CFLAGS
16874 CFLAGS="$CFLAGS -fexcess-precision=standard"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16877 int main(int argc, char **argv) { return 0; }
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 ac_cv_cflags__fexcess_precision_standard=yes
16881 else
16882 ac_cv_cflags__fexcess_precision_standard=no
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16886 CFLAGS=$ac_wine_try_cflags_saved
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16889 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16890 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16891 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16894 saved_CFLAGS=$CFLAGS
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16896 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16897 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16898 $as_echo_n "(cached) " >&6
16899 else
16900 ac_wine_try_cflags_saved=$CFLAGS
16901 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 int main(int argc, char **argv) { return 0; }
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907 ac_cv_cflags__Werror_unknown_warning_option=yes
16908 else
16909 ac_cv_cflags__Werror_unknown_warning_option=no
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16913 CFLAGS=$ac_wine_try_cflags_saved
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16916 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16917 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16918 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16921 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16922 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925 ac_wine_try_cflags_saved=$CFLAGS
16926 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 int main(int argc, char **argv) { return 0; }
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932 ac_cv_cflags__Werror_unused_command_line_argument=yes
16933 else
16934 ac_cv_cflags__Werror_unused_command_line_argument=no
16936 rm -f core conftest.err conftest.$ac_objext \
16937 conftest$ac_exeext conftest.$ac_ext
16938 CFLAGS=$ac_wine_try_cflags_saved
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16941 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16942 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16943 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16946 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16947 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16948 $as_echo_n "(cached) " >&6
16949 else
16950 ac_wine_try_cflags_saved=$CFLAGS
16951 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16954 int main(int argc, char **argv) { return 0; }
16955 _ACEOF
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 ac_cv_cflags__Wdeclaration_after_statement=yes
16958 else
16959 ac_cv_cflags__Wdeclaration_after_statement=no
16961 rm -f core conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16963 CFLAGS=$ac_wine_try_cflags_saved
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16966 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16967 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16968 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
16971 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
16972 if ${ac_cv_cflags__Wempty_body+:} false; then :
16973 $as_echo_n "(cached) " >&6
16974 else
16975 ac_wine_try_cflags_saved=$CFLAGS
16976 CFLAGS="$CFLAGS -Wempty-body"
16977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16978 /* end confdefs.h. */
16979 int main(int argc, char **argv) { return 0; }
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982 ac_cv_cflags__Wempty_body=yes
16983 else
16984 ac_cv_cflags__Wempty_body=no
16986 rm -f core conftest.err conftest.$ac_objext \
16987 conftest$ac_exeext conftest.$ac_ext
16988 CFLAGS=$ac_wine_try_cflags_saved
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
16991 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
16992 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
16993 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
16996 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
16997 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
16998 $as_echo_n "(cached) " >&6
16999 else
17000 ac_wine_try_cflags_saved=$CFLAGS
17001 CFLAGS="$CFLAGS -Wignored-qualifiers"
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 int main(int argc, char **argv) { return 0; }
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"; then :
17007 ac_cv_cflags__Wignored_qualifiers=yes
17008 else
17009 ac_cv_cflags__Wignored_qualifiers=no
17011 rm -f core conftest.err conftest.$ac_objext \
17012 conftest$ac_exeext conftest.$ac_ext
17013 CFLAGS=$ac_wine_try_cflags_saved
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17016 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17017 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17018 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17021 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17022 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 ac_wine_try_cflags_saved=$CFLAGS
17026 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17029 int main(int argc, char **argv) { return 0; }
17030 _ACEOF
17031 if ac_fn_c_try_link "$LINENO"; then :
17032 ac_cv_cflags__Wpacked_not_aligned=yes
17033 else
17034 ac_cv_cflags__Wpacked_not_aligned=no
17036 rm -f core conftest.err conftest.$ac_objext \
17037 conftest$ac_exeext conftest.$ac_ext
17038 CFLAGS=$ac_wine_try_cflags_saved
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17041 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17042 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17043 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17046 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17047 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 ac_wine_try_cflags_saved=$CFLAGS
17051 CFLAGS="$CFLAGS -Wpragma-pack"
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 int main(int argc, char **argv) { return 0; }
17055 _ACEOF
17056 if ac_fn_c_try_link "$LINENO"; then :
17057 ac_cv_cflags__Wpragma_pack=yes
17058 else
17059 ac_cv_cflags__Wpragma_pack=no
17061 rm -f core conftest.err conftest.$ac_objext \
17062 conftest$ac_exeext conftest.$ac_ext
17063 CFLAGS=$ac_wine_try_cflags_saved
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17066 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17067 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17068 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17071 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17072 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17073 $as_echo_n "(cached) " >&6
17074 else
17075 ac_wine_try_cflags_saved=$CFLAGS
17076 CFLAGS="$CFLAGS -Wshift-overflow=2"
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 int main(int argc, char **argv) { return 0; }
17080 _ACEOF
17081 if ac_fn_c_try_link "$LINENO"; then :
17082 ac_cv_cflags__Wshift_overflow_2=yes
17083 else
17084 ac_cv_cflags__Wshift_overflow_2=no
17086 rm -f core conftest.err conftest.$ac_objext \
17087 conftest$ac_exeext conftest.$ac_ext
17088 CFLAGS=$ac_wine_try_cflags_saved
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17091 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17092 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17093 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17096 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17097 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17098 $as_echo_n "(cached) " >&6
17099 else
17100 ac_wine_try_cflags_saved=$CFLAGS
17101 CFLAGS="$CFLAGS -Wstrict-prototypes"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 int main(int argc, char **argv) { return 0; }
17105 _ACEOF
17106 if ac_fn_c_try_link "$LINENO"; then :
17107 ac_cv_cflags__Wstrict_prototypes=yes
17108 else
17109 ac_cv_cflags__Wstrict_prototypes=no
17111 rm -f core conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17113 CFLAGS=$ac_wine_try_cflags_saved
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17116 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17117 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17118 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17121 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17122 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 ac_wine_try_cflags_saved=$CFLAGS
17126 CFLAGS="$CFLAGS -Wtype-limits"
17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17128 /* end confdefs.h. */
17129 int main(int argc, char **argv) { return 0; }
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_cflags__Wtype_limits=yes
17133 else
17134 ac_cv_cflags__Wtype_limits=no
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17138 CFLAGS=$ac_wine_try_cflags_saved
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17141 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17142 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17143 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17146 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17147 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17148 $as_echo_n "(cached) " >&6
17149 else
17150 ac_wine_try_cflags_saved=$CFLAGS
17151 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153 /* end confdefs.h. */
17154 int main(int argc, char **argv) { return 0; }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157 ac_cv_cflags__Wunused_but_set_parameter=yes
17158 else
17159 ac_cv_cflags__Wunused_but_set_parameter=no
17161 rm -f core conftest.err conftest.$ac_objext \
17162 conftest$ac_exeext conftest.$ac_ext
17163 CFLAGS=$ac_wine_try_cflags_saved
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17166 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17167 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17168 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17171 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17172 if ${ac_cv_cflags__Wvla+:} false; then :
17173 $as_echo_n "(cached) " >&6
17174 else
17175 ac_wine_try_cflags_saved=$CFLAGS
17176 CFLAGS="$CFLAGS -Wvla"
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 int main(int argc, char **argv) { return 0; }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182 ac_cv_cflags__Wvla=yes
17183 else
17184 ac_cv_cflags__Wvla=no
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 CFLAGS=$ac_wine_try_cflags_saved
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17191 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17192 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17193 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17196 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17197 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17198 $as_echo_n "(cached) " >&6
17199 else
17200 ac_wine_try_cflags_saved=$CFLAGS
17201 CFLAGS="$CFLAGS -Wwrite-strings"
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17204 int main(int argc, char **argv) { return 0; }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207 ac_cv_cflags__Wwrite_strings=yes
17208 else
17209 ac_cv_cflags__Wwrite_strings=no
17211 rm -f core conftest.err conftest.$ac_objext \
17212 conftest$ac_exeext conftest.$ac_ext
17213 CFLAGS=$ac_wine_try_cflags_saved
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17216 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17217 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17218 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17222 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17223 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wpointer-arith"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wpointer_arith=yes
17234 else
17235 ac_cv_cflags__Wpointer_arith=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17242 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17243 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17244 saved_string_h_CFLAGS=$CFLAGS
17245 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17247 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17248 if ${ac_cv_c_string_h_warnings+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 #include <string.h>
17255 main ()
17259 return 0;
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263 ac_cv_c_string_h_warnings=no
17264 else
17265 ac_cv_c_string_h_warnings=yes
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17270 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17271 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17272 CFLAGS=$saved_string_h_CFLAGS
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17276 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17277 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wlogical-op"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wlogical_op=yes
17288 else
17289 ac_cv_cflags__Wlogical_op=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17296 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17297 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17298 saved_string_h_CFLAGS=$CFLAGS
17299 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17301 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17302 if ${ac_cv_c_logicalop_noisy+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17307 #include <string.h>
17308 char*f(const char *h,char n) {return strchr(h,n);}
17310 main ()
17314 return 0;
17316 _ACEOF
17317 if ac_fn_c_try_compile "$LINENO"; then :
17318 ac_cv_c_logicalop_noisy=no
17319 else
17320 ac_cv_c_logicalop_noisy=yes
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17325 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17326 CFLAGS=$saved_string_h_CFLAGS
17327 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17330 for ac_flag in $CFLAGS; do
17331 case $ac_flag in
17332 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17333 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17334 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17335 $as_echo_n "(cached) " >&6
17336 else
17337 ac_wine_try_cflags_saved=$CFLAGS
17338 CFLAGS="$CFLAGS -gdwarf-2"
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 int main(int argc, char **argv) { return 0; }
17342 _ACEOF
17343 if ac_fn_c_try_link "$LINENO"; then :
17344 ac_cv_cflags__gdwarf_2=yes
17345 else
17346 ac_cv_cflags__gdwarf_2=no
17348 rm -f core conftest.err conftest.$ac_objext \
17349 conftest$ac_exeext conftest.$ac_ext
17350 CFLAGS=$ac_wine_try_cflags_saved
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17353 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17354 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17355 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17358 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17359 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17360 $as_echo_n "(cached) " >&6
17361 else
17362 ac_wine_try_cflags_saved=$CFLAGS
17363 CFLAGS="$CFLAGS -gstrict-dwarf"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 int main(int argc, char **argv) { return 0; }
17367 _ACEOF
17368 if ac_fn_c_try_link "$LINENO"; then :
17369 ac_cv_cflags__gstrict_dwarf=yes
17370 else
17371 ac_cv_cflags__gstrict_dwarf=no
17373 rm -f core conftest.err conftest.$ac_objext \
17374 conftest$ac_exeext conftest.$ac_ext
17375 CFLAGS=$ac_wine_try_cflags_saved
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17378 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17379 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17380 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17381 fi ;;
17382 esac
17383 done
17385 MSVCRTFLAGS=""
17387 case $host_os in
17388 cygwin*|mingw32*) ;;
17389 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17390 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17391 if ${ac_cv_cflags__fno_builtin+:} false; then :
17392 $as_echo_n "(cached) " >&6
17393 else
17394 ac_wine_try_cflags_saved=$CFLAGS
17395 CFLAGS="$CFLAGS -fno-builtin"
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h. */
17398 int main(int argc, char **argv) { return 0; }
17399 _ACEOF
17400 if ac_fn_c_try_link "$LINENO"; then :
17401 ac_cv_cflags__fno_builtin=yes
17402 else
17403 ac_cv_cflags__fno_builtin=no
17405 rm -f core conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17407 CFLAGS=$ac_wine_try_cflags_saved
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17410 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17411 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17412 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17415 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17416 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17417 $as_echo_n "(cached) " >&6
17418 else
17419 ac_wine_try_cflags_saved=$CFLAGS
17420 CFLAGS="$CFLAGS -fshort-wchar"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17423 int main(int argc, char **argv) { return 0; }
17424 _ACEOF
17425 if ac_fn_c_try_link "$LINENO"; then :
17426 ac_cv_cflags__fshort_wchar=yes
17427 else
17428 ac_cv_cflags__fshort_wchar=no
17430 rm -f core conftest.err conftest.$ac_objext \
17431 conftest$ac_exeext conftest.$ac_ext
17432 CFLAGS=$ac_wine_try_cflags_saved
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17435 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17436 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17437 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17438 fi ;;
17439 esac
17441 case $host_cpu in
17442 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17443 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17444 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 ac_wine_try_cflags_saved=$CFLAGS
17448 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 int main(int argc, char **argv) { return 0; }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"; then :
17454 ac_cv_cflags__fno_omit_frame_pointer=yes
17455 else
17456 ac_cv_cflags__fno_omit_frame_pointer=no
17458 rm -f core conftest.err conftest.$ac_objext \
17459 conftest$ac_exeext conftest.$ac_ext
17460 CFLAGS=$ac_wine_try_cflags_saved
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17463 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17464 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17465 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17466 fi ;;
17467 *x86_64*)
17468 case $host_os in
17469 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17470 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17471 if ${ac_cv_cflags__Wno_format+:} false; then :
17472 $as_echo_n "(cached) " >&6
17473 else
17474 ac_wine_try_cflags_saved=$CFLAGS
17475 CFLAGS="$CFLAGS -Wno-format"
17476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17478 int main(int argc, char **argv) { return 0; }
17479 _ACEOF
17480 if ac_fn_c_try_link "$LINENO"; then :
17481 ac_cv_cflags__Wno_format=yes
17482 else
17483 ac_cv_cflags__Wno_format=no
17485 rm -f core conftest.err conftest.$ac_objext \
17486 conftest$ac_exeext conftest.$ac_ext
17487 CFLAGS=$ac_wine_try_cflags_saved
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17490 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17491 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17492 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17493 fi ;;
17494 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17495 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17496 if ${ac_cv_cflags__mabi_ms+:} false; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17499 ac_wine_try_cflags_saved=$CFLAGS
17500 CFLAGS="$CFLAGS -mabi=ms"
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 int main(int argc, char **argv) { return 0; }
17504 _ACEOF
17505 if ac_fn_c_try_link "$LINENO"; then :
17506 ac_cv_cflags__mabi_ms=yes
17507 else
17508 ac_cv_cflags__mabi_ms=no
17510 rm -f core conftest.err conftest.$ac_objext \
17511 conftest$ac_exeext conftest.$ac_ext
17512 CFLAGS=$ac_wine_try_cflags_saved
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17515 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17516 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17517 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17518 fi ;;
17519 esac ;;
17520 esac
17522 CFLAGS=$saved_CFLAGS
17524 if test "x$enable_maintainer_mode" = "xyes"
17525 then
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17527 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17528 if ${ac_cv_cflags__Werror+:} false; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 ac_wine_try_cflags_saved=$CFLAGS
17532 CFLAGS="$CFLAGS -Werror"
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 int main(int argc, char **argv) { return 0; }
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"; then :
17538 ac_cv_cflags__Werror=yes
17539 else
17540 ac_cv_cflags__Werror=no
17542 rm -f core conftest.err conftest.$ac_objext \
17543 conftest$ac_exeext conftest.$ac_ext
17544 CFLAGS=$ac_wine_try_cflags_saved
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17547 $as_echo "$ac_cv_cflags__Werror" >&6; }
17548 if test "x$ac_cv_cflags__Werror" = xyes; then :
17549 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17556 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17557 if ${ac_cv_c_fortify_enabled+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17562 #include <string.h>
17564 main ()
17566 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17567 #error Fortify enabled
17568 #endif
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 ac_cv_c_fortify_enabled=no
17575 else
17576 ac_cv_c_fortify_enabled=yes
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17581 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17582 if test "$ac_cv_c_fortify_enabled" = yes
17583 then
17584 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17589 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17590 if ${ac_cv_c_cfi_support+:} false; then :
17591 $as_echo_n "(cached) " >&6
17592 else
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17597 main ()
17601 return 0;
17603 _ACEOF
17604 if ac_fn_c_try_compile "$LINENO"; then :
17605 ac_cv_c_cfi_support="yes"
17606 else
17607 ac_cv_c_cfi_support="no"
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17612 $as_echo "$ac_cv_c_cfi_support" >&6; }
17613 if test "$ac_cv_c_cfi_support" = "yes"
17614 then
17615 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17616 else
17617 if test "x$enable_win64" = "xyes"
17618 then
17619 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17624 case $build_os in
17625 cygwin*|mingw32*) TOOLSEXT=".exe"
17627 esac
17629 case $host_os in
17630 linux*)
17631 case $host_cpu in
17632 *i[3456789]86*|x86_64*|*aarch64*)
17633 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17634 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17636 esac
17638 esac
17641 ac_save_CFLAGS="$CFLAGS"
17642 CFLAGS="$CFLAGS $BUILTINFLAG"
17643 for ac_func in \
17644 __res_get_state \
17645 __res_getservers \
17646 _spawnvp \
17647 dlopen \
17648 epoll_create \
17649 ffs \
17650 finitef \
17651 fnmatch \
17652 fork \
17653 fpclass \
17654 fstatfs \
17655 fstatvfs \
17656 futimens \
17657 futimes \
17658 futimesat \
17659 getattrlist \
17660 getauxval \
17661 getifaddrs \
17662 getopt_long_only \
17663 kqueue \
17664 lstat \
17665 pipe2 \
17666 poll \
17667 port_create \
17668 prctl \
17669 pread \
17670 proc_pidinfo \
17671 pwrite \
17672 readdir \
17673 readlink \
17674 sched_yield \
17675 select \
17676 setproctitle \
17677 setprogname \
17678 settimeofday \
17679 sigprocmask \
17680 statfs \
17681 statvfs \
17682 strnlen \
17683 strtold \
17684 symlink \
17685 sysinfo \
17686 tcdrain \
17687 thr_kill2 \
17688 timegm \
17689 usleep
17691 do :
17692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17694 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17695 cat >>confdefs.h <<_ACEOF
17696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17697 _ACEOF
17700 done
17702 CFLAGS="$ac_save_CFLAGS"
17704 if test "$ac_cv_func_dlopen" = no
17705 then
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17707 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17708 if ${ac_cv_lib_dl_dlopen+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 ac_check_lib_save_LIBS=$LIBS
17712 LIBS="-ldl $LIBS"
17713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 /* Override any GCC internal prototype to avoid an error.
17717 Use char because int might match the return type of a GCC
17718 builtin and then its argument prototype would still apply. */
17719 #ifdef __cplusplus
17720 extern "C"
17721 #endif
17722 char dlopen ();
17724 main ()
17726 return dlopen ();
17728 return 0;
17730 _ACEOF
17731 if ac_fn_c_try_link "$LINENO"; then :
17732 ac_cv_lib_dl_dlopen=yes
17733 else
17734 ac_cv_lib_dl_dlopen=no
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17738 LIBS=$ac_check_lib_save_LIBS
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17741 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17742 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17743 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17744 DL_LIBS="-ldl"
17749 ac_wine_check_funcs_save_LIBS="$LIBS"
17750 LIBS="$LIBS $DL_LIBS"
17751 for ac_func in dladdr
17752 do :
17753 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17754 if test "x$ac_cv_func_dladdr" = xyes; then :
17755 cat >>confdefs.h <<_ACEOF
17756 #define HAVE_DLADDR 1
17757 _ACEOF
17760 done
17762 LIBS="$ac_wine_check_funcs_save_LIBS"
17764 if test "$ac_cv_func_poll" = no
17765 then
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17767 $as_echo_n "checking for poll in -lpoll... " >&6; }
17768 if ${ac_cv_lib_poll_poll+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 ac_check_lib_save_LIBS=$LIBS
17772 LIBS="-lpoll $LIBS"
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17776 /* Override any GCC internal prototype to avoid an error.
17777 Use char because int might match the return type of a GCC
17778 builtin and then its argument prototype would still apply. */
17779 #ifdef __cplusplus
17780 extern "C"
17781 #endif
17782 char poll ();
17784 main ()
17786 return poll ();
17788 return 0;
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792 ac_cv_lib_poll_poll=yes
17793 else
17794 ac_cv_lib_poll_poll=no
17796 rm -f core conftest.err conftest.$ac_objext \
17797 conftest$ac_exeext conftest.$ac_ext
17798 LIBS=$ac_check_lib_save_LIBS
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17801 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17802 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17803 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17804 POLL_LIBS="-lpoll"
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17811 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17812 if ${ac_cv_search_gethostbyname+:} false; then :
17813 $as_echo_n "(cached) " >&6
17814 else
17815 ac_func_search_save_LIBS=$LIBS
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 /* Override any GCC internal prototype to avoid an error.
17820 Use char because int might match the return type of a GCC
17821 builtin and then its argument prototype would still apply. */
17822 #ifdef __cplusplus
17823 extern "C"
17824 #endif
17825 char gethostbyname ();
17827 main ()
17829 return gethostbyname ();
17831 return 0;
17833 _ACEOF
17834 for ac_lib in '' nsl; do
17835 if test -z "$ac_lib"; then
17836 ac_res="none required"
17837 else
17838 ac_res=-l$ac_lib
17839 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17841 if ac_fn_c_try_link "$LINENO"; then :
17842 ac_cv_search_gethostbyname=$ac_res
17844 rm -f core conftest.err conftest.$ac_objext \
17845 conftest$ac_exeext
17846 if ${ac_cv_search_gethostbyname+:} false; then :
17847 break
17849 done
17850 if ${ac_cv_search_gethostbyname+:} false; then :
17852 else
17853 ac_cv_search_gethostbyname=no
17855 rm conftest.$ac_ext
17856 LIBS=$ac_func_search_save_LIBS
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17859 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17860 ac_res=$ac_cv_search_gethostbyname
17861 if test "$ac_res" != no; then :
17862 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17868 $as_echo_n "checking for library containing connect... " >&6; }
17869 if ${ac_cv_search_connect+:} false; then :
17870 $as_echo_n "(cached) " >&6
17871 else
17872 ac_func_search_save_LIBS=$LIBS
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17876 /* Override any GCC internal prototype to avoid an error.
17877 Use char because int might match the return type of a GCC
17878 builtin and then its argument prototype would still apply. */
17879 #ifdef __cplusplus
17880 extern "C"
17881 #endif
17882 char connect ();
17884 main ()
17886 return connect ();
17888 return 0;
17890 _ACEOF
17891 for ac_lib in '' socket; do
17892 if test -z "$ac_lib"; then
17893 ac_res="none required"
17894 else
17895 ac_res=-l$ac_lib
17896 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17898 if ac_fn_c_try_link "$LINENO"; then :
17899 ac_cv_search_connect=$ac_res
17901 rm -f core conftest.err conftest.$ac_objext \
17902 conftest$ac_exeext
17903 if ${ac_cv_search_connect+:} false; then :
17904 break
17906 done
17907 if ${ac_cv_search_connect+:} false; then :
17909 else
17910 ac_cv_search_connect=no
17912 rm conftest.$ac_ext
17913 LIBS=$ac_func_search_save_LIBS
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17916 $as_echo "$ac_cv_search_connect" >&6; }
17917 ac_res=$ac_cv_search_connect
17918 if test "$ac_res" != no; then :
17919 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17925 $as_echo_n "checking for library containing inet_aton... " >&6; }
17926 if ${ac_cv_search_inet_aton+:} false; then :
17927 $as_echo_n "(cached) " >&6
17928 else
17929 ac_func_search_save_LIBS=$LIBS
17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17931 /* end confdefs.h. */
17933 /* Override any GCC internal prototype to avoid an error.
17934 Use char because int might match the return type of a GCC
17935 builtin and then its argument prototype would still apply. */
17936 #ifdef __cplusplus
17937 extern "C"
17938 #endif
17939 char inet_aton ();
17941 main ()
17943 return inet_aton ();
17945 return 0;
17947 _ACEOF
17948 for ac_lib in '' resolv; do
17949 if test -z "$ac_lib"; then
17950 ac_res="none required"
17951 else
17952 ac_res=-l$ac_lib
17953 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17955 if ac_fn_c_try_link "$LINENO"; then :
17956 ac_cv_search_inet_aton=$ac_res
17958 rm -f core conftest.err conftest.$ac_objext \
17959 conftest$ac_exeext
17960 if ${ac_cv_search_inet_aton+:} false; then :
17961 break
17963 done
17964 if ${ac_cv_search_inet_aton+:} false; then :
17966 else
17967 ac_cv_search_inet_aton=no
17969 rm conftest.$ac_ext
17970 LIBS=$ac_func_search_save_LIBS
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
17973 $as_echo "$ac_cv_search_inet_aton" >&6; }
17974 ac_res=$ac_cv_search_inet_aton
17975 if test "$ac_res" != no; then :
17976 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17981 for ac_func in \
17982 getaddrinfo \
17983 getnameinfo \
17984 getnetbyname \
17985 getprotobyname \
17986 getprotobynumber \
17987 getservbyport \
17988 inet_addr \
17989 inet_network \
17990 inet_ntop \
17991 inet_pton \
17993 do :
17994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17997 cat >>confdefs.h <<_ACEOF
17998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17999 _ACEOF
18002 done
18005 case $host_os in
18006 darwin*|macosx*) ;;
18007 *) ac_save_LIBS=$LIBS
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18009 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18010 if ${ac_cv_search_clock_gettime+:} false; then :
18011 $as_echo_n "(cached) " >&6
18012 else
18013 ac_func_search_save_LIBS=$LIBS
18014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h. */
18017 /* Override any GCC internal prototype to avoid an error.
18018 Use char because int might match the return type of a GCC
18019 builtin and then its argument prototype would still apply. */
18020 #ifdef __cplusplus
18021 extern "C"
18022 #endif
18023 char clock_gettime ();
18025 main ()
18027 return clock_gettime ();
18029 return 0;
18031 _ACEOF
18032 for ac_lib in '' rt; do
18033 if test -z "$ac_lib"; then
18034 ac_res="none required"
18035 else
18036 ac_res=-l$ac_lib
18037 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18039 if ac_fn_c_try_link "$LINENO"; then :
18040 ac_cv_search_clock_gettime=$ac_res
18042 rm -f core conftest.err conftest.$ac_objext \
18043 conftest$ac_exeext
18044 if ${ac_cv_search_clock_gettime+:} false; then :
18045 break
18047 done
18048 if ${ac_cv_search_clock_gettime+:} false; then :
18050 else
18051 ac_cv_search_clock_gettime=no
18053 rm conftest.$ac_ext
18054 LIBS=$ac_func_search_save_LIBS
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18057 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18058 ac_res=$ac_cv_search_clock_gettime
18059 if test "$ac_res" != no; then :
18060 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18062 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18064 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18068 LIBS=$ac_save_LIBS
18070 esac
18072 if test "x$with_ldap" != "xno"
18073 then
18074 if ${LDAP_CFLAGS:+false} :; then :
18075 if ${PKG_CONFIG+:} false; then :
18076 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18080 if ${LDAP_LIBS:+false} :; then :
18081 if ${PKG_CONFIG+:} false; then :
18082 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18086 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18087 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18088 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18089 ac_save_CPPFLAGS=$CPPFLAGS
18090 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18091 for ac_header in ldap.h lber.h
18092 do :
18093 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18094 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18095 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18096 cat >>confdefs.h <<_ACEOF
18097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18098 _ACEOF
18102 done
18104 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18105 then
18106 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18108 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18110 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18111 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18114 ac_check_lib_save_LIBS=$LIBS
18115 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18119 /* Override any GCC internal prototype to avoid an error.
18120 Use char because int might match the return type of a GCC
18121 builtin and then its argument prototype would still apply. */
18122 #ifdef __cplusplus
18123 extern "C"
18124 #endif
18125 char ldap_initialize ();
18127 main ()
18129 return ldap_initialize ();
18131 return 0;
18133 _ACEOF
18134 if ac_fn_c_try_link "$LINENO"; then :
18135 ac_cv_lib_ldap_r_ldap_initialize=yes
18136 else
18137 ac_cv_lib_ldap_r_ldap_initialize=no
18139 rm -f core conftest.err conftest.$ac_objext \
18140 conftest$ac_exeext conftest.$ac_ext
18141 LIBS=$ac_check_lib_save_LIBS
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18144 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18145 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18147 $as_echo_n "checking for ber_init in -llber... " >&6; }
18148 if ${ac_cv_lib_lber_ber_init+:} false; then :
18149 $as_echo_n "(cached) " >&6
18150 else
18151 ac_check_lib_save_LIBS=$LIBS
18152 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18154 /* end confdefs.h. */
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18159 #ifdef __cplusplus
18160 extern "C"
18161 #endif
18162 char ber_init ();
18164 main ()
18166 return ber_init ();
18168 return 0;
18170 _ACEOF
18171 if ac_fn_c_try_link "$LINENO"; then :
18172 ac_cv_lib_lber_ber_init=yes
18173 else
18174 ac_cv_lib_lber_ber_init=no
18176 rm -f core conftest.err conftest.$ac_objext \
18177 conftest$ac_exeext conftest.$ac_ext
18178 LIBS=$ac_check_lib_save_LIBS
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18181 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18182 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18184 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18186 else
18187 LDAP_LIBS=""
18190 else
18191 LDAP_LIBS=""
18194 else
18195 LDAP_LIBS=""
18198 ac_wine_check_funcs_save_LIBS="$LIBS"
18199 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18200 for ac_func in \
18201 ldap_count_references \
18202 ldap_first_reference \
18203 ldap_next_reference \
18204 ldap_parse_reference \
18205 ldap_parse_sort_control \
18206 ldap_parse_sortresponse_control \
18207 ldap_parse_vlv_control \
18208 ldap_parse_vlvresponse_control
18209 do :
18210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18212 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18213 cat >>confdefs.h <<_ACEOF
18214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18215 _ACEOF
18218 done
18220 LIBS="$ac_wine_check_funcs_save_LIBS"
18221 else
18222 LDAP_LIBS=""
18224 CPPFLAGS=$ac_save_CPPFLAGS
18225 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18226 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18229 if test "x$LDAP_LIBS" = "x"; then :
18230 case "x$with_ldap" in
18231 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18232 xno) ;;
18233 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18234 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18235 esac
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18240 $as_echo_n "checking for sched_setaffinity... " >&6; }
18241 if ${wine_cv_have_sched_setaffinity+:} false; then :
18242 $as_echo_n "(cached) " >&6
18243 else
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18246 #define _GNU_SOURCE
18247 #include <sched.h>
18249 main ()
18251 sched_setaffinity(0, 0, 0);
18253 return 0;
18255 _ACEOF
18256 if ac_fn_c_try_link "$LINENO"; then :
18257 wine_cv_have_sched_setaffinity=yes
18258 else
18259 wine_cv_have_sched_setaffinity=no
18261 rm -f core conftest.err conftest.$ac_objext \
18262 conftest$ac_exeext conftest.$ac_ext
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18265 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18266 if test "$wine_cv_have_sched_setaffinity" = "yes"
18267 then
18269 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18274 $as_echo_n "checking for fallocate... " >&6; }
18275 if ${wine_cv_have_fallocate+:} false; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18280 #define _GNU_SOURCE
18281 #include <fcntl.h>
18283 main ()
18285 fallocate(-1, 0, 0, 0);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_c_try_link "$LINENO"; then :
18291 wine_cv_have_fallocate=yes
18292 else
18293 wine_cv_have_fallocate=no
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext conftest.$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18299 $as_echo "$wine_cv_have_fallocate" >&6; }
18300 if test "$wine_cv_have_fallocate" = "yes"
18301 then
18303 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18309 $as_echo_n "checking for inline... " >&6; }
18310 if ${ac_cv_c_inline+:} false; then :
18311 $as_echo_n "(cached) " >&6
18312 else
18313 ac_cv_c_inline=no
18314 for ac_kw in inline __inline__ __inline; do
18315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18316 /* end confdefs.h. */
18317 #ifndef __cplusplus
18318 typedef int foo_t;
18319 static $ac_kw foo_t static_foo () {return 0; }
18320 $ac_kw foo_t foo () {return 0; }
18321 #endif
18323 _ACEOF
18324 if ac_fn_c_try_compile "$LINENO"; then :
18325 ac_cv_c_inline=$ac_kw
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 test "$ac_cv_c_inline" != no && break
18329 done
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18333 $as_echo "$ac_cv_c_inline" >&6; }
18335 case $ac_cv_c_inline in
18336 inline | yes) ;;
18338 case $ac_cv_c_inline in
18339 no) ac_val=;;
18340 *) ac_val=$ac_cv_c_inline;;
18341 esac
18342 cat >>confdefs.h <<_ACEOF
18343 #ifndef __cplusplus
18344 #define inline $ac_val
18345 #endif
18346 _ACEOF
18348 esac
18350 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18351 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18353 cat >>confdefs.h <<_ACEOF
18354 #define HAVE_FSBLKCNT_T 1
18355 _ACEOF
18359 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18360 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18362 cat >>confdefs.h <<_ACEOF
18363 #define HAVE_FSFILCNT_T 1
18364 _ACEOF
18369 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18370 #include <signal.h>
18372 if test "x$ac_cv_type_sigset_t" = xyes; then :
18374 cat >>confdefs.h <<_ACEOF
18375 #define HAVE_SIGSET_T 1
18376 _ACEOF
18381 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18383 if test "x$ac_cv_type_request_sense" = xyes; then :
18385 cat >>confdefs.h <<_ACEOF
18386 #define HAVE_REQUEST_SENSE 1
18387 _ACEOF
18393 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18394 #ifdef HAVE_SYS_SOCKET_H
18395 #include <sys/socket.h>
18396 #endif
18397 #ifdef HAVE_SYS_SOCKETVAR_H
18398 #include <sys/socketvar.h>
18399 #endif
18400 #ifdef HAVE_NET_ROUTE_H
18401 #include <net/route.h>
18402 #endif
18403 #ifdef HAVE_NETINET_IN_H
18404 #include <netinet/in.h>
18405 #endif
18406 #ifdef HAVE_NETINET_IN_SYSTM_H
18407 #include <netinet/in_systm.h>
18408 #endif
18409 #ifdef HAVE_NETINET_IP_H
18410 #include <netinet/ip.h>
18411 #endif
18412 #ifdef HAVE_NETINET_IN_PCB_H
18413 #include <netinet/in_pcb.h>
18414 #endif
18416 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18418 cat >>confdefs.h <<_ACEOF
18419 #define HAVE_STRUCT_XINPGEN 1
18420 _ACEOF
18426 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18427 #include <link.h>
18428 #endif
18429 #ifdef HAVE_SYS_LINK_H
18430 #include <sys/link.h>
18431 #endif
18433 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18435 cat >>confdefs.h <<_ACEOF
18436 #define HAVE_STRUCT_R_DEBUG 1
18437 _ACEOF
18441 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18442 #include <link.h>
18443 #endif
18444 #ifdef HAVE_SYS_LINK_H
18445 #include <sys/link.h>
18446 #endif
18448 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_STRUCT_LINK_MAP 1
18452 _ACEOF
18458 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18459 #include <linux/input.h>
18460 #endif
18462 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18466 _ACEOF
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18473 $as_echo_n "checking for if_nameindex... " >&6; }
18474 if ${wine_cv_have_if_nameindex+:} false; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 #ifdef HAVE_SYS_TYPES_H
18480 #include <sys/types.h>
18481 #endif
18482 #ifdef HAVE_SYS_SOCKET_H
18483 #include <sys/socket.h>
18484 #endif
18485 #ifdef HAVE_NET_IF_H
18486 # include <net/if.h>
18487 #endif
18489 main ()
18491 struct if_nameindex *p = if_nameindex(); return p->if_index;
18493 return 0;
18495 _ACEOF
18496 if ac_fn_c_try_link "$LINENO"; then :
18497 wine_cv_have_if_nameindex=yes
18498 else
18499 wine_cv_have_if_nameindex=no
18501 rm -f core conftest.err conftest.$ac_objext \
18502 conftest$ac_exeext conftest.$ac_ext
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18505 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18506 if test "$wine_cv_have_if_nameindex" = "yes"
18507 then
18509 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18514 $as_echo_n "checking for sigaddset... " >&6; }
18515 if ${wine_cv_have_sigaddset+:} false; then :
18516 $as_echo_n "(cached) " >&6
18517 else
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 #include <signal.h>
18522 main ()
18524 sigset_t set; sigaddset(&set,SIGTERM);
18526 return 0;
18528 _ACEOF
18529 if ac_fn_c_try_link "$LINENO"; then :
18530 wine_cv_have_sigaddset=yes
18531 else
18532 wine_cv_have_sigaddset=no
18534 rm -f core conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18538 $as_echo "$wine_cv_have_sigaddset" >&6; }
18539 if test "$wine_cv_have_sigaddset" = "yes"
18540 then
18542 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18548 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18549 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #include <netdb.h>
18556 main ()
18559 char *name=0;
18560 struct hostent he;
18561 struct hostent *result;
18562 char *buf=0;
18563 int bufsize=0;
18564 int errnr;
18565 char *addr=0;
18566 int addrlen=0;
18567 int addrtype=0;
18568 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18569 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18572 return 0;
18574 _ACEOF
18575 if ac_fn_c_try_link "$LINENO"; then :
18576 wine_cv_linux_gethostbyname_r_6=yes
18577 else
18578 wine_cv_linux_gethostbyname_r_6=no
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18586 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18587 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18588 then
18590 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18594 if test "$ac_cv_header_linux_joystick_h" = "yes"
18595 then
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18597 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18598 if ${wine_cv_linux_joystick_22_api+:} false; then :
18599 $as_echo_n "(cached) " >&6
18600 else
18601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18602 /* end confdefs.h. */
18604 #include <sys/ioctl.h>
18605 #include <sys/types.h>
18606 #include <linux/joystick.h>
18608 struct js_event blub;
18609 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18610 #error "no 2.2 header"
18611 #endif
18614 main ()
18616 /*empty*/
18618 return 0;
18620 _ACEOF
18621 if ac_fn_c_try_compile "$LINENO"; then :
18622 wine_cv_linux_joystick_22_api=yes
18623 else
18624 wine_cv_linux_joystick_22_api=no
18626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18630 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18631 if test "$wine_cv_linux_joystick_22_api" = "yes"
18632 then
18634 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18640 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18641 #ifdef HAVE_SYS_PARAM_H
18642 # include <sys/param.h>
18643 #endif
18644 #ifdef HAVE_SYS_MOUNT_H
18645 # include <sys/mount.h>
18646 #endif
18647 #ifdef HAVE_SYS_VFS_H
18648 # include <sys/vfs.h>
18649 #endif
18650 #ifdef HAVE_SYS_STATFS_H
18651 # include <sys/statfs.h>
18652 #endif
18654 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18656 cat >>confdefs.h <<_ACEOF
18657 #define HAVE_STRUCT_STATFS_F_BFREE 1
18658 _ACEOF
18662 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18663 #ifdef HAVE_SYS_PARAM_H
18664 # include <sys/param.h>
18665 #endif
18666 #ifdef HAVE_SYS_MOUNT_H
18667 # include <sys/mount.h>
18668 #endif
18669 #ifdef HAVE_SYS_VFS_H
18670 # include <sys/vfs.h>
18671 #endif
18672 #ifdef HAVE_SYS_STATFS_H
18673 # include <sys/statfs.h>
18674 #endif
18676 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18680 _ACEOF
18684 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18685 #ifdef HAVE_SYS_PARAM_H
18686 # include <sys/param.h>
18687 #endif
18688 #ifdef HAVE_SYS_MOUNT_H
18689 # include <sys/mount.h>
18690 #endif
18691 #ifdef HAVE_SYS_VFS_H
18692 # include <sys/vfs.h>
18693 #endif
18694 #ifdef HAVE_SYS_STATFS_H
18695 # include <sys/statfs.h>
18696 #endif
18698 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18702 _ACEOF
18706 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18707 #ifdef HAVE_SYS_PARAM_H
18708 # include <sys/param.h>
18709 #endif
18710 #ifdef HAVE_SYS_MOUNT_H
18711 # include <sys/mount.h>
18712 #endif
18713 #ifdef HAVE_SYS_VFS_H
18714 # include <sys/vfs.h>
18715 #endif
18716 #ifdef HAVE_SYS_STATFS_H
18717 # include <sys/statfs.h>
18718 #endif
18720 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_STRUCT_STATFS_F_FFREE 1
18724 _ACEOF
18728 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18729 #ifdef HAVE_SYS_PARAM_H
18730 # include <sys/param.h>
18731 #endif
18732 #ifdef HAVE_SYS_MOUNT_H
18733 # include <sys/mount.h>
18734 #endif
18735 #ifdef HAVE_SYS_VFS_H
18736 # include <sys/vfs.h>
18737 #endif
18738 #ifdef HAVE_SYS_STATFS_H
18739 # include <sys/statfs.h>
18740 #endif
18742 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18746 _ACEOF
18750 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18751 #ifdef HAVE_SYS_PARAM_H
18752 # include <sys/param.h>
18753 #endif
18754 #ifdef HAVE_SYS_MOUNT_H
18755 # include <sys/mount.h>
18756 #endif
18757 #ifdef HAVE_SYS_VFS_H
18758 # include <sys/vfs.h>
18759 #endif
18760 #ifdef HAVE_SYS_STATFS_H
18761 # include <sys/statfs.h>
18762 #endif
18764 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18768 _ACEOF
18774 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18775 #include <sys/statvfs.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18782 _ACEOF
18788 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18789 #include <dirent.h>
18790 #endif
18792 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18794 cat >>confdefs.h <<_ACEOF
18795 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18796 _ACEOF
18802 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18803 #ifdef HAVE_SYS_SOCKET_H
18804 # include <sys/socket.h>
18805 #endif
18806 #ifdef HAVE_SYS_UN_H
18807 # include <sys/un.h>
18808 #endif
18810 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18812 cat >>confdefs.h <<_ACEOF
18813 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18814 _ACEOF
18818 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18819 #ifdef HAVE_SYS_SOCKET_H
18820 # include <sys/socket.h>
18821 #endif
18822 #ifdef HAVE_SYS_UN_H
18823 # include <sys/un.h>
18824 #endif
18826 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18828 cat >>confdefs.h <<_ACEOF
18829 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18830 _ACEOF
18834 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18835 #ifdef HAVE_SYS_SOCKET_H
18836 # include <sys/socket.h>
18837 #endif
18838 #ifdef HAVE_SYS_UN_H
18839 # include <sys/un.h>
18840 #endif
18842 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18844 cat >>confdefs.h <<_ACEOF
18845 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18846 _ACEOF
18852 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18853 #ifdef HAVE_SCSI_SG_H
18854 #include <scsi/sg.h>
18855 #endif
18857 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18859 cat >>confdefs.h <<_ACEOF
18860 #define HAVE_SCSIREQ_T_CMD 1
18861 _ACEOF
18865 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>
18866 #ifdef HAVE_SCSI_SG_H
18867 #include <scsi/sg.h>
18868 #endif
18870 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18872 cat >>confdefs.h <<_ACEOF
18873 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18874 _ACEOF
18880 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18882 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18884 cat >>confdefs.h <<_ACEOF
18885 #define HAVE_SIGINFO_T_SI_FD 1
18886 _ACEOF
18892 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18893 #ifdef HAVE_SYS_MTIO_H
18894 #include <sys/mtio.h>
18895 #endif
18897 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18899 cat >>confdefs.h <<_ACEOF
18900 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18901 _ACEOF
18905 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18906 #ifdef HAVE_SYS_MTIO_H
18907 #include <sys/mtio.h>
18908 #endif
18910 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18912 cat >>confdefs.h <<_ACEOF
18913 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18914 _ACEOF
18918 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18919 #ifdef HAVE_SYS_MTIO_H
18920 #include <sys/mtio.h>
18921 #endif
18923 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18925 cat >>confdefs.h <<_ACEOF
18926 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18927 _ACEOF
18933 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18934 #include <getopt.h>
18935 #endif
18937 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18939 cat >>confdefs.h <<_ACEOF
18940 #define HAVE_STRUCT_OPTION_NAME 1
18941 _ACEOF
18947 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18948 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18950 cat >>confdefs.h <<_ACEOF
18951 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18952 _ACEOF
18956 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18957 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT_STAT_ST_MTIM 1
18961 _ACEOF
18965 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18966 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18970 _ACEOF
18974 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
18975 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_STRUCT_STAT_ST_CTIM 1
18979 _ACEOF
18983 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
18984 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
18988 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
18993 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STAT_ST_ATIM 1
18997 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19002 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19006 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19011 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19020 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19029 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19038 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19042 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19047 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19051 _ACEOF
19057 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
19058 #include <sys/types.h>
19059 #endif
19060 #ifdef HAVE_NETINET_IN_H
19061 #include <netinet/in.h>
19062 #endif
19064 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19068 _ACEOF
19074 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19075 #include <sys/types.h>
19076 #endif
19077 #ifdef HAVE_NETINET_IN_H
19078 #include <netinet/in.h>
19079 #endif
19080 #ifdef HAVE_RESOLV_H
19081 #include <resolv.h>
19082 #endif
19084 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19086 cat >>confdefs.h <<_ACEOF
19087 #define HAVE_STRUCT___RES_STATE 1
19088 _ACEOF
19094 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
19095 #include <resolv.h>
19096 #endif
19098 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19102 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19109 #include <sys/types.h>
19110 #endif
19111 #ifdef HAVE_NETINET_IN_H
19112 # include <netinet/in.h>
19113 #endif
19114 #ifdef HAVE_ARPA_NAMESER_H
19115 # include <arpa/nameser.h>
19116 #endif
19118 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_NS_MSG__MSG_PTR 1
19122 _ACEOF
19128 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19129 #include <sys/types.h>
19130 #endif
19131 #ifdef HAVE_NETINET_IN_H
19132 #include <netinet/in.h>
19133 #endif
19134 #ifdef HAVE_NETINET_IP_H
19135 #include <netinet/ip.h>
19136 #endif
19137 #ifdef HAVE_NETINET_IP_ICMP_H
19138 #include <netinet/ip_icmp.h>
19139 #endif
19140 #ifdef HAVE_NETINET_ICMP_VAR_H
19141 #include <netinet/icmp_var.h>
19142 #endif
19144 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19148 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19155 #include <sys/types.h>
19156 #endif
19157 #ifdef HAVE_ALIAS_H
19158 #include <alias.h>
19159 #endif
19160 #ifdef HAVE_SYS_SOCKET_H
19161 #include <sys/socket.h>
19162 #endif
19163 #ifdef HAVE_SYS_SOCKETVAR_H
19164 #include <sys/socketvar.h>
19165 #endif
19166 #ifdef HAVE_SYS_TIMEOUT_H
19167 #include <sys/timeout.h>
19168 #endif
19169 #ifdef HAVE_NETINET_IN_H
19170 #include <netinet/in.h>
19171 #endif
19172 #ifdef HAVE_NETINET_IN_SYSTM_H
19173 #include <netinet/in_systm.h>
19174 #endif
19175 #ifdef HAVE_NETINET_IP_H
19176 #include <netinet/ip.h>
19177 #endif
19178 #ifdef HAVE_NETINET_IP_VAR_H
19179 #include <netinet/ip_var.h>
19180 #endif
19181 #ifdef HAVE_NETINET_IP_ICMP_H
19182 #include <netinet/ip_icmp.h>
19183 #endif
19184 #ifdef HAVE_NETINET_ICMP_VAR_H
19185 #include <netinet/icmp_var.h>
19186 #endif
19188 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19192 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19199 #include <sys/types.h>
19200 #endif
19201 #ifdef HAVE_SYS_SOCKETVAR_H
19202 #include <sys/socketvar.h>
19203 #endif
19204 #ifdef HAVE_NETINET_IN_H
19205 #include <netinet/in.h>
19206 #endif
19207 #ifdef HAVE_NETINET_IP_VAR_H
19208 #include <netinet/ip_var.h>
19209 #endif
19211 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19213 cat >>confdefs.h <<_ACEOF
19214 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19215 _ACEOF
19221 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
19222 #include <netinet/ip_var.h>
19223 #endif
19225 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19229 _ACEOF
19235 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19236 #include <sys/types.h>
19237 #endif
19238 #ifdef HAVE_SYS_SOCKETVAR_H
19239 #include <sys/socketvar.h>
19240 #endif
19241 #ifdef HAVE_NETINET_IN_H
19242 #include <netinet/in.h>
19243 #endif
19244 #ifdef HAVE_NETINET_TCP_H
19245 #include <netinet/tcp.h>
19246 #endif
19247 #ifdef HAVE_NETINET_TCP_VAR_H
19248 #include <netinet/tcp_var.h>
19249 #endif
19251 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19253 cat >>confdefs.h <<_ACEOF
19254 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19255 _ACEOF
19261 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
19262 #include <netinet/tcp_var.h>
19263 #endif
19265 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19269 _ACEOF
19275 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19276 #include <sys/types.h>
19277 #endif
19278 #ifdef HAVE_NETINET_IN_H
19279 #include <netinet/in.h>
19280 #endif
19281 #ifdef HAVE_NETINET_IP_VAR_H
19282 #include <netinet/ip_var.h>
19283 #endif
19284 #ifdef HAVE_NETINET_UDP_H
19285 #include <netinet/udp.h>
19286 #endif
19287 #ifdef HAVE_NETINET_UDP_VAR_H
19288 #include <netinet/udp_var.h>
19289 #endif
19291 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19293 cat >>confdefs.h <<_ACEOF
19294 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19295 _ACEOF
19301 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19302 #include <sys/types.h>
19303 #endif
19304 #ifdef HAVE_NET_IF_H
19305 # include <net/if.h>
19306 #endif
19308 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19310 cat >>confdefs.h <<_ACEOF
19311 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19312 _ACEOF
19318 ac_save_LIBS="$LIBS"
19319 LIBS="$LIBS -lm"
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19321 $as_echo_n "checking for isfinite... " >&6; }
19322 if ${ac_cv_have_isfinite+:} false; then :
19323 $as_echo_n "(cached) " >&6
19324 else
19325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19326 /* end confdefs.h. */
19327 #define _GNU_SOURCE
19328 #include <math.h>
19330 main ()
19332 float f = 0.0; return isfinite(f)
19334 return 0;
19336 _ACEOF
19337 if ac_fn_c_try_link "$LINENO"; then :
19338 ac_cv_have_isfinite="yes"
19339 else
19340 ac_cv_have_isfinite="no"
19342 rm -f core conftest.err conftest.$ac_objext \
19343 conftest$ac_exeext conftest.$ac_ext
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19346 $as_echo "$ac_cv_have_isfinite" >&6; }
19347 if test "$ac_cv_have_isfinite" = "yes"
19348 then
19350 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19355 $as_echo_n "checking for isinf... " >&6; }
19356 if ${ac_cv_have_isinf+:} false; then :
19357 $as_echo_n "(cached) " >&6
19358 else
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 #include <math.h>
19363 main ()
19365 float f = 0.0; return isinf(f)
19367 return 0;
19369 _ACEOF
19370 if ac_fn_c_try_link "$LINENO"; then :
19371 ac_cv_have_isinf="yes"
19372 else
19373 ac_cv_have_isinf="no"
19375 rm -f core conftest.err conftest.$ac_objext \
19376 conftest$ac_exeext conftest.$ac_ext
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19379 $as_echo "$ac_cv_have_isinf" >&6; }
19380 if test "$ac_cv_have_isinf" = "yes"
19381 then
19383 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19388 $as_echo_n "checking for isnan... " >&6; }
19389 if ${ac_cv_have_isnan+:} false; then :
19390 $as_echo_n "(cached) " >&6
19391 else
19392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19393 /* end confdefs.h. */
19394 #include <math.h>
19396 main ()
19398 float f = 0.0; return isnan(f)
19400 return 0;
19402 _ACEOF
19403 if ac_fn_c_try_link "$LINENO"; then :
19404 ac_cv_have_isnan="yes"
19405 else
19406 ac_cv_have_isnan="no"
19408 rm -f core conftest.err conftest.$ac_objext \
19409 conftest$ac_exeext conftest.$ac_ext
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19412 $as_echo "$ac_cv_have_isnan" >&6; }
19413 if test "$ac_cv_have_isnan" = "yes"
19414 then
19416 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19420 for ac_func in \
19421 acosh \
19422 acoshf \
19423 asinh \
19424 asinhf \
19425 atanh \
19426 atanhf \
19427 cbrt \
19428 cbrtf \
19429 erf \
19430 erfc \
19431 erfcf \
19432 erff \
19433 exp2 \
19434 exp2f \
19435 expm1 \
19436 expm1f \
19437 fma \
19438 fmaf \
19439 ilogb \
19440 ilogbf \
19441 j0 \
19442 j1 \
19443 jn \
19444 lgamma \
19445 lgammaf \
19446 llrint \
19447 llrintf \
19448 llround \
19449 llroundf \
19450 log1p \
19451 log1pf \
19452 log2 \
19453 log2f \
19454 lrint \
19455 lrintf \
19456 lround \
19457 lroundf \
19458 nearbyint \
19459 nearbyintf \
19460 nexttoward \
19461 nexttowardf \
19462 powl \
19463 remainder \
19464 remainderf \
19465 remquo \
19466 remquof \
19467 rint \
19468 rintf \
19469 round \
19470 roundf \
19471 tgamma \
19472 tgammaf \
19473 trunc \
19474 truncf \
19475 y0 \
19476 y1 \
19479 do :
19480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19482 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19483 cat >>confdefs.h <<_ACEOF
19484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19485 _ACEOF
19488 done
19490 LIBS="$ac_save_LIBS"
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
19493 $as_echo_n "checking for __builtin_clz... " >&6; }
19494 if ${ac_cv_have___builtin_clz+:} false; then :
19495 $as_echo_n "(cached) " >&6
19496 else
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19501 main ()
19503 return __builtin_clz(1)
19505 return 0;
19507 _ACEOF
19508 if ac_fn_c_try_link "$LINENO"; then :
19509 ac_cv_have___builtin_clz="yes"
19510 else
19511 ac_cv_have___builtin_clz="no"
19513 rm -f core conftest.err conftest.$ac_objext \
19514 conftest$ac_exeext conftest.$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
19517 $as_echo "$ac_cv_have___builtin_clz" >&6; }
19518 if test "$ac_cv_have___builtin_clz" = "yes"
19519 then
19521 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19526 $as_echo_n "checking for __builtin_popcount... " >&6; }
19527 if ${ac_cv_have___builtin_popcount+:} false; then :
19528 $as_echo_n "(cached) " >&6
19529 else
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19534 main ()
19536 return __builtin_popcount(1)
19538 return 0;
19540 _ACEOF
19541 if ac_fn_c_try_link "$LINENO"; then :
19542 ac_cv_have___builtin_popcount="yes"
19543 else
19544 ac_cv_have___builtin_popcount="no"
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19550 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19551 if test "$ac_cv_have___builtin_popcount" = "yes"
19552 then
19554 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19559 $as_echo_n "checking for __clear_cache... " >&6; }
19560 if ${ac_cv_have___clear_cache+:} false; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19564 /* end confdefs.h. */
19567 main ()
19569 __clear_cache((void*)0, (void*)0); return 0;
19571 return 0;
19573 _ACEOF
19574 if ac_fn_c_try_link "$LINENO"; then :
19575 ac_cv_have___clear_cache="yes"
19576 else
19577 ac_cv_have___clear_cache="no"
19579 rm -f core conftest.err conftest.$ac_objext \
19580 conftest$ac_exeext conftest.$ac_ext
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19583 $as_echo "$ac_cv_have___clear_cache" >&6; }
19584 if test "$ac_cv_have___clear_cache" = "yes"
19585 then
19587 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19592 case $host_cpu in
19593 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19594 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19595 if ${ac_cv_cpp_def___i386__+:} false; then :
19596 $as_echo_n "(cached) " >&6
19597 else
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h. */
19600 #ifndef __i386__
19602 #endif
19603 _ACEOF
19604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19605 $EGREP "yes" >/dev/null 2>&1; then :
19606 ac_cv_cpp_def___i386__=yes
19607 else
19608 ac_cv_cpp_def___i386__=no
19610 rm -f conftest*
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19614 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19615 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19616 CFLAGS="$CFLAGS -D__i386__"
19617 LINTFLAGS="$LINTFLAGS -D__i386__"
19618 fi ;;
19619 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19620 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19621 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #ifndef __x86_64__
19628 #endif
19629 _ACEOF
19630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19631 $EGREP "yes" >/dev/null 2>&1; then :
19632 ac_cv_cpp_def___x86_64__=yes
19633 else
19634 ac_cv_cpp_def___x86_64__=no
19636 rm -f conftest*
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19640 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19641 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19642 CFLAGS="$CFLAGS -D__x86_64__"
19643 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19644 fi ;;
19645 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19646 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19647 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19648 $as_echo_n "(cached) " >&6
19649 else
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19652 #ifndef __sparc64__
19654 #endif
19655 _ACEOF
19656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19657 $EGREP "yes" >/dev/null 2>&1; then :
19658 ac_cv_cpp_def___sparc64__=yes
19659 else
19660 ac_cv_cpp_def___sparc64__=no
19662 rm -f conftest*
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19666 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19667 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19668 CFLAGS="$CFLAGS -D__sparc64__"
19669 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19670 fi ;;
19671 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19672 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19673 if ${ac_cv_cpp_def___sparc__+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19677 /* end confdefs.h. */
19678 #ifndef __sparc__
19680 #endif
19681 _ACEOF
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "yes" >/dev/null 2>&1; then :
19684 ac_cv_cpp_def___sparc__=yes
19685 else
19686 ac_cv_cpp_def___sparc__=no
19688 rm -f conftest*
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19692 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19693 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19694 CFLAGS="$CFLAGS -D__sparc__"
19695 LINTFLAGS="$LINTFLAGS -D__sparc__"
19696 fi ;;
19697 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19698 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19699 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19700 $as_echo_n "(cached) " >&6
19701 else
19702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19703 /* end confdefs.h. */
19704 #ifndef __powerpc64__
19706 #endif
19707 _ACEOF
19708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19709 $EGREP "yes" >/dev/null 2>&1; then :
19710 ac_cv_cpp_def___powerpc64__=yes
19711 else
19712 ac_cv_cpp_def___powerpc64__=no
19714 rm -f conftest*
19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19718 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19719 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19720 CFLAGS="$CFLAGS -D__powerpc64__"
19721 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19722 fi ;;
19723 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19724 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19725 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19726 $as_echo_n "(cached) " >&6
19727 else
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #ifndef __powerpc__
19732 #endif
19733 _ACEOF
19734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19735 $EGREP "yes" >/dev/null 2>&1; then :
19736 ac_cv_cpp_def___powerpc__=yes
19737 else
19738 ac_cv_cpp_def___powerpc__=no
19740 rm -f conftest*
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19744 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19745 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19746 CFLAGS="$CFLAGS -D__powerpc__"
19747 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19748 fi ;;
19749 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19750 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19751 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19752 $as_echo_n "(cached) " >&6
19753 else
19754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19755 /* end confdefs.h. */
19756 #ifndef __aarch64__
19758 #endif
19759 _ACEOF
19760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19761 $EGREP "yes" >/dev/null 2>&1; then :
19762 ac_cv_cpp_def___aarch64__=yes
19763 else
19764 ac_cv_cpp_def___aarch64__=no
19766 rm -f conftest*
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19770 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19771 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19772 CFLAGS="$CFLAGS -D__aarch64__"
19773 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19774 fi ;;
19775 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19776 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19777 if ${ac_cv_cpp_def___arm__+:} false; then :
19778 $as_echo_n "(cached) " >&6
19779 else
19780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19782 #ifndef __arm__
19784 #endif
19785 _ACEOF
19786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19787 $EGREP "yes" >/dev/null 2>&1; then :
19788 ac_cv_cpp_def___arm__=yes
19789 else
19790 ac_cv_cpp_def___arm__=no
19792 rm -f conftest*
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19796 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19797 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19798 CFLAGS="$CFLAGS -D__arm__"
19799 LINTFLAGS="$LINTFLAGS -D__arm__"
19800 fi ;;
19801 esac
19803 case $host_vendor in
19804 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19805 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19806 if ${ac_cv_cpp_def___sun__+:} false; then :
19807 $as_echo_n "(cached) " >&6
19808 else
19809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19810 /* end confdefs.h. */
19811 #ifndef __sun__
19813 #endif
19814 _ACEOF
19815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19816 $EGREP "yes" >/dev/null 2>&1; then :
19817 ac_cv_cpp_def___sun__=yes
19818 else
19819 ac_cv_cpp_def___sun__=no
19821 rm -f conftest*
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19825 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19826 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19827 CFLAGS="$CFLAGS -D__sun__"
19828 LINTFLAGS="$LINTFLAGS -D__sun__"
19829 fi ;;
19830 esac
19836 ac_config_commands="$ac_config_commands include/stamp-h"
19838 $as_echo_n "creating Makefile rules..." >&6
19840 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19841 OPENGL_LIBS = $OPENGL_LIBS
19842 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19843 IOKIT_LIBS = $IOKIT_LIBS
19844 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19845 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19846 CORESERVICES_LIBS = $CORESERVICES_LIBS
19847 APPKIT_LIBS = $APPKIT_LIBS
19848 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19849 SECURITY_LIBS = $SECURITY_LIBS
19850 COREAUDIO_LIBS = $COREAUDIO_LIBS
19851 OPENAL_LIBS = $OPENAL_LIBS
19852 OPENCL_LIBS = $OPENCL_LIBS
19853 QUICKTIME_LIBS = $QUICKTIME_LIBS
19854 CARBON_LIBS = $CARBON_LIBS
19855 METAL_LIBS = $METAL_LIBS
19856 PTHREAD_LIBS = $PTHREAD_LIBS
19857 X_CFLAGS = $X_CFLAGS
19858 X_PRE_LIBS = $X_PRE_LIBS
19859 X_LIBS = $X_LIBS
19860 X_EXTRA_LIBS = $X_EXTRA_LIBS
19861 PCAP_LIBS = $PCAP_LIBS
19862 XML2_CFLAGS = $XML2_CFLAGS
19863 XML2_LIBS = $XML2_LIBS
19864 XSLT_CFLAGS = $XSLT_CFLAGS
19865 XSLT_LIBS = $XSLT_LIBS
19866 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19867 INOTIFY_LIBS = $INOTIFY_LIBS
19868 DBUS_CFLAGS = $DBUS_CFLAGS
19869 DBUS_LIBS = $DBUS_LIBS
19870 HAL_CFLAGS = $HAL_CFLAGS
19871 HAL_LIBS = $HAL_LIBS
19872 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19873 GNUTLS_LIBS = $GNUTLS_LIBS
19874 SANE_CFLAGS = $SANE_CFLAGS
19875 SANE_LIBS = $SANE_LIBS
19876 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19877 GPHOTO2_LIBS = $GPHOTO2_LIBS
19878 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19879 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19880 RESOLV_LIBS = $RESOLV_LIBS
19881 LCMS2_CFLAGS = $LCMS2_CFLAGS
19882 LCMS2_LIBS = $LCMS2_LIBS
19883 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19884 FREETYPE_LIBS = $FREETYPE_LIBS
19885 Z_CFLAGS = $Z_CFLAGS
19886 Z_LIBS = $Z_LIBS
19887 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19888 PULSE_CFLAGS = $PULSE_CFLAGS
19889 PULSE_LIBS = $PULSE_LIBS
19890 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19891 GSTREAMER_LIBS = $GSTREAMER_LIBS
19892 ALSA_LIBS = $ALSA_LIBS
19893 OSS4_CFLAGS = $OSS4_CFLAGS
19894 OSS4_LIBS = $OSS4_LIBS
19895 UDEV_CFLAGS = $UDEV_CFLAGS
19896 UDEV_LIBS = $UDEV_LIBS
19897 UNWIND_CFLAGS = $UNWIND_CFLAGS
19898 UNWIND_LIBS = $UNWIND_LIBS
19899 SDL2_CFLAGS = $SDL2_CFLAGS
19900 SDL2_LIBS = $SDL2_LIBS
19901 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19902 FAUDIO_LIBS = $FAUDIO_LIBS
19903 CAPI20_CFLAGS = $CAPI20_CFLAGS
19904 CAPI20_LIBS = $CAPI20_LIBS
19905 CUPS_CFLAGS = $CUPS_CFLAGS
19906 CUPS_LIBS = $CUPS_LIBS
19907 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19908 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19909 KRB5_CFLAGS = $KRB5_CFLAGS
19910 KRB5_LIBS = $KRB5_LIBS
19911 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19912 GSSAPI_LIBS = $GSSAPI_LIBS
19913 JPEG_CFLAGS = $JPEG_CFLAGS
19914 JPEG_LIBS = $JPEG_LIBS
19915 PNG_CFLAGS = $PNG_CFLAGS
19916 PNG_LIBS = $PNG_LIBS
19917 TIFF_CFLAGS = $TIFF_CFLAGS
19918 TIFF_LIBS = $TIFF_LIBS
19919 MPG123_CFLAGS = $MPG123_CFLAGS
19920 MPG123_LIBS = $MPG123_LIBS
19921 KSTAT_LIBS = $KSTAT_LIBS
19922 PROCSTAT_LIBS = $PROCSTAT_LIBS
19923 NETAPI_CFLAGS = $NETAPI_CFLAGS
19924 NETAPI_LIBS = $NETAPI_LIBS
19925 VKD3D_CFLAGS = $VKD3D_CFLAGS
19926 VKD3D_LIBS = $VKD3D_LIBS
19927 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19928 DL_LIBS = $DL_LIBS
19929 POLL_LIBS = $POLL_LIBS
19930 RT_LIBS = $RT_LIBS
19931 LDAP_CFLAGS = $LDAP_CFLAGS
19932 LDAP_LIBS = $LDAP_LIBS
19937 wine_fn_append_rule "
19938 # Rules automatically generated by configure
19940 .INIT: Makefile
19941 .MAKEFILEDEPS:
19942 all: Makefile
19943 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19944 @./config.status Make.tmp Makefile
19945 depend: \$(MAKEDEP) dummy
19946 \$(MAKEDEP)"
19948 if test "x$enable_fonts" != xno; then
19949 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19950 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19951 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19952 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19953 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19954 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19956 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19957 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19958 ac_config_links="$ac_config_links wine:tools/winewrapper"
19959 wine_fn_config_symlink wine
19960 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19961 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19962 wine_fn_config_symlink wine64
19965 wine_fn_config_makefile dlls/acledit enable_acledit
19966 wine_fn_config_makefile dlls/aclui enable_aclui
19967 wine_fn_config_makefile dlls/activeds enable_activeds
19968 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19969 wine_fn_config_makefile dlls/adsiid enable_adsiid
19970 wine_fn_config_makefile dlls/adsldp enable_adsldp
19971 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19972 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19973 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19974 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19975 wine_fn_config_makefile dlls/advpack enable_advpack
19976 wine_fn_config_makefile dlls/advpack/tests enable_tests
19977 wine_fn_config_makefile dlls/amsi enable_amsi
19978 wine_fn_config_makefile dlls/amstream enable_amstream
19979 wine_fn_config_makefile dlls/amstream/tests enable_tests
19980 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19983 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19990 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20005 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20006 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20011 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20012 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20015 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20029 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20035 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20047 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20058 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20059 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20060 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20086 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20105 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20110 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20112 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20162 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20166 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20191 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20195 wine_fn_config_makefile dlls/apphelp enable_apphelp
20196 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20197 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20198 wine_fn_config_makefile dlls/atl enable_atl
20199 wine_fn_config_makefile dlls/atl/tests enable_tests
20200 wine_fn_config_makefile dlls/atl100 enable_atl100
20201 wine_fn_config_makefile dlls/atl100/tests enable_tests
20202 wine_fn_config_makefile dlls/atl110 enable_atl110
20203 wine_fn_config_makefile dlls/atl80 enable_atl80
20204 wine_fn_config_makefile dlls/atl80/tests enable_tests
20205 wine_fn_config_makefile dlls/atl90 enable_atl90
20206 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20207 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20208 wine_fn_config_makefile dlls/atmlib enable_atmlib
20209 wine_fn_config_makefile dlls/authz enable_authz
20210 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20211 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20212 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20213 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20214 wine_fn_config_makefile dlls/avrt enable_avrt
20215 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20216 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20217 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20218 wine_fn_config_makefile dlls/browseui enable_browseui
20219 wine_fn_config_makefile dlls/browseui/tests enable_tests
20220 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20221 wine_fn_config_makefile dlls/cabinet enable_cabinet
20222 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20223 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20224 wine_fn_config_makefile dlls/cards enable_cards
20225 wine_fn_config_makefile dlls/cdosys enable_cdosys
20226 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20227 wine_fn_config_makefile dlls/clusapi enable_clusapi
20228 wine_fn_config_makefile dlls/combase enable_combase
20229 wine_fn_config_makefile dlls/combase/tests enable_tests
20230 wine_fn_config_makefile dlls/comcat enable_comcat
20231 wine_fn_config_makefile dlls/comcat/tests enable_tests
20232 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20233 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20234 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20235 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20236 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20237 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20238 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20239 wine_fn_config_makefile dlls/compstui enable_compstui
20240 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20241 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20242 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20243 wine_fn_config_makefile dlls/connect enable_connect
20244 wine_fn_config_makefile dlls/credui enable_credui
20245 wine_fn_config_makefile dlls/credui/tests enable_tests
20246 wine_fn_config_makefile dlls/crtdll enable_crtdll
20247 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20248 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20249 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20250 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20251 wine_fn_config_makefile dlls/cryptext enable_cryptext
20252 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20253 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20254 wine_fn_config_makefile dlls/cryptui enable_cryptui
20255 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20256 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20257 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20258 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20259 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20260 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20261 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20262 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20263 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20264 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20265 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20266 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20267 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20268 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20269 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20270 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20271 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20272 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20273 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20274 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20275 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20276 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20277 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20278 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20279 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20280 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20281 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20282 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20283 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20284 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20285 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20286 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20287 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20288 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20289 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20290 wine_fn_config_makefile dlls/d3dim enable_d3dim
20291 wine_fn_config_makefile dlls/d3drm enable_d3drm
20292 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20293 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20294 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20295 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20296 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20297 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20298 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20299 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20300 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20301 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20302 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20303 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20304 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20305 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20306 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20307 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20308 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20309 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20310 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20311 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20312 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20313 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20314 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20315 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20316 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20317 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20318 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20319 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20320 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20321 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20322 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20323 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20324 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20325 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20326 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20327 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20328 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20329 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20330 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20331 wine_fn_config_makefile dlls/davclnt enable_davclnt
20332 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20333 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20334 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20335 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20336 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20337 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20338 wine_fn_config_makefile dlls/ddraw enable_ddraw
20339 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20340 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20341 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20342 wine_fn_config_makefile dlls/devenum enable_devenum
20343 wine_fn_config_makefile dlls/devenum/tests enable_tests
20344 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20345 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20346 wine_fn_config_makefile dlls/difxapi enable_difxapi
20347 wine_fn_config_makefile dlls/dinput enable_dinput
20348 wine_fn_config_makefile dlls/dinput/tests enable_tests
20349 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20350 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20351 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20352 wine_fn_config_makefile dlls/dispex enable_dispex
20353 wine_fn_config_makefile dlls/dispex/tests enable_tests
20354 wine_fn_config_makefile dlls/display.drv16 enable_win16
20355 wine_fn_config_makefile dlls/dmband enable_dmband
20356 wine_fn_config_makefile dlls/dmband/tests enable_tests
20357 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20358 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20359 wine_fn_config_makefile dlls/dmime enable_dmime
20360 wine_fn_config_makefile dlls/dmime/tests enable_tests
20361 wine_fn_config_makefile dlls/dmloader enable_dmloader
20362 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20363 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20364 wine_fn_config_makefile dlls/dmscript enable_dmscript
20365 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20366 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20367 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20368 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20369 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20370 wine_fn_config_makefile dlls/dmusic enable_dmusic
20371 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20372 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20373 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20374 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20375 wine_fn_config_makefile dlls/dplay enable_dplay
20376 wine_fn_config_makefile dlls/dplayx enable_dplayx
20377 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20378 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20379 wine_fn_config_makefile dlls/dpnet enable_dpnet
20380 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20381 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20382 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20383 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20384 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20385 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20386 wine_fn_config_makefile dlls/drmclien enable_drmclien
20387 wine_fn_config_makefile dlls/dsound enable_dsound
20388 wine_fn_config_makefile dlls/dsound/tests enable_tests
20389 wine_fn_config_makefile dlls/dsquery enable_dsquery
20390 wine_fn_config_makefile dlls/dssenh enable_dssenh
20391 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20392 wine_fn_config_makefile dlls/dswave enable_dswave
20393 wine_fn_config_makefile dlls/dswave/tests enable_tests
20394 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20395 wine_fn_config_makefile dlls/dwrite enable_dwrite
20396 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20397 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20398 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20399 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20400 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20401 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20402 wine_fn_config_makefile dlls/dxgi enable_dxgi
20403 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20404 wine_fn_config_makefile dlls/dxguid enable_dxguid
20405 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20406 wine_fn_config_makefile dlls/esent enable_esent
20407 wine_fn_config_makefile dlls/evr enable_evr
20408 wine_fn_config_makefile dlls/evr/tests enable_tests
20409 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20410 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20411 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20412 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20414 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20415 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20416 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20417 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20420 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20422 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20423 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20445 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20451 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
20452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20462 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20463 wine_fn_config_makefile dlls/faultrep enable_faultrep
20464 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20465 wine_fn_config_makefile dlls/feclient enable_feclient
20466 wine_fn_config_makefile dlls/fltlib enable_fltlib
20467 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20468 wine_fn_config_makefile dlls/fntcache enable_fntcache
20469 wine_fn_config_makefile dlls/fontsub enable_fontsub
20470 wine_fn_config_makefile dlls/fusion enable_fusion
20471 wine_fn_config_makefile dlls/fusion/tests enable_tests
20472 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20473 wine_fn_config_makefile dlls/gameux enable_gameux
20474 wine_fn_config_makefile dlls/gameux/tests enable_tests
20475 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20476 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20477 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20478 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20479 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20480 wine_fn_config_makefile dlls/glu32 enable_glu32
20481 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20482 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20483 wine_fn_config_makefile dlls/hal enable_hal
20484 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20485 wine_fn_config_makefile dlls/hid enable_hid
20486 wine_fn_config_makefile dlls/hid/tests enable_tests
20487 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20488 wine_fn_config_makefile dlls/hlink enable_hlink
20489 wine_fn_config_makefile dlls/hlink/tests enable_tests
20490 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20491 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20492 wine_fn_config_makefile dlls/http.sys enable_http_sys
20493 wine_fn_config_makefile dlls/httpapi enable_httpapi
20494 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20495 wine_fn_config_makefile dlls/iccvid enable_iccvid
20496 wine_fn_config_makefile dlls/icmp enable_icmp
20497 wine_fn_config_makefile dlls/ieframe enable_ieframe
20498 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20499 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20500 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20501 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20502 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20503 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20504 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20505 wine_fn_config_makefile dlls/imm32 enable_imm32
20506 wine_fn_config_makefile dlls/imm32/tests enable_tests
20507 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20508 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20509 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20510 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20511 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20512 wine_fn_config_makefile dlls/infosoft enable_infosoft
20513 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20514 wine_fn_config_makefile dlls/initpki enable_initpki
20515 wine_fn_config_makefile dlls/inkobj enable_inkobj
20516 wine_fn_config_makefile dlls/inseng enable_inseng
20517 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20518 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20519 wine_fn_config_makefile dlls/iprop enable_iprop
20520 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20521 wine_fn_config_makefile dlls/itircl enable_itircl
20522 wine_fn_config_makefile dlls/itss enable_itss
20523 wine_fn_config_makefile dlls/itss/tests enable_tests
20524 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20525 wine_fn_config_makefile dlls/jscript enable_jscript
20526 wine_fn_config_makefile dlls/jscript/tests enable_tests
20527 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20528 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20529 wine_fn_config_makefile dlls/kerberos enable_kerberos
20530 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20531 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20532 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20533 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20534 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20535 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20536 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20537 wine_fn_config_makefile dlls/ksuser enable_ksuser
20538 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20539 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20540 wine_fn_config_makefile dlls/loadperf enable_loadperf
20541 wine_fn_config_makefile dlls/localspl enable_localspl
20542 wine_fn_config_makefile dlls/localspl/tests enable_tests
20543 wine_fn_config_makefile dlls/localui enable_localui
20544 wine_fn_config_makefile dlls/localui/tests enable_tests
20545 wine_fn_config_makefile dlls/lz32 enable_lz32
20546 wine_fn_config_makefile dlls/lz32/tests enable_tests
20547 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20548 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20549 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20550 wine_fn_config_makefile dlls/mapistub enable_mapistub
20551 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20552 wine_fn_config_makefile dlls/mcicda enable_mcicda
20553 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20554 wine_fn_config_makefile dlls/mciseq enable_mciseq
20555 wine_fn_config_makefile dlls/mciwave enable_mciwave
20556 wine_fn_config_makefile dlls/mf enable_mf
20557 wine_fn_config_makefile dlls/mf/tests enable_tests
20558 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20559 wine_fn_config_makefile dlls/mferror enable_mferror
20560 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20561 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20562 wine_fn_config_makefile dlls/mfplat enable_mfplat
20563 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20564 wine_fn_config_makefile dlls/mfplay enable_mfplay
20565 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20566 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20567 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20568 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20569 wine_fn_config_makefile dlls/midimap enable_midimap
20570 wine_fn_config_makefile dlls/mlang enable_mlang
20571 wine_fn_config_makefile dlls/mlang/tests enable_tests
20572 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20573 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20574 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20575 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20576 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20577 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20578 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20579 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20580 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20581 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20582 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20583 wine_fn_config_makefile dlls/mpr enable_mpr
20584 wine_fn_config_makefile dlls/mpr/tests enable_tests
20585 wine_fn_config_makefile dlls/mprapi enable_mprapi
20586 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20587 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20588 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20589 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20590 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20591 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20592 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20593 wine_fn_config_makefile dlls/mscms enable_mscms
20594 wine_fn_config_makefile dlls/mscms/tests enable_tests
20595 wine_fn_config_makefile dlls/mscoree enable_mscoree
20596 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20597 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20598 wine_fn_config_makefile dlls/msctf enable_msctf
20599 wine_fn_config_makefile dlls/msctf/tests enable_tests
20600 wine_fn_config_makefile dlls/msctfp enable_msctfp
20601 wine_fn_config_makefile dlls/msdaps enable_msdaps
20602 wine_fn_config_makefile dlls/msdelta enable_msdelta
20603 wine_fn_config_makefile dlls/msdmo enable_msdmo
20604 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20605 wine_fn_config_makefile dlls/msdrm enable_msdrm
20606 wine_fn_config_makefile dlls/msftedit enable_msftedit
20607 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20608 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20609 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20610 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20611 wine_fn_config_makefile dlls/mshtml enable_mshtml
20612 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20613 wine_fn_config_makefile dlls/msi enable_msi
20614 wine_fn_config_makefile dlls/msi/tests enable_tests
20615 wine_fn_config_makefile dlls/msident enable_msident
20616 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20617 wine_fn_config_makefile dlls/msimsg enable_msimsg
20618 wine_fn_config_makefile dlls/msimtf enable_msimtf
20619 wine_fn_config_makefile dlls/msisip enable_msisip
20620 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20621 wine_fn_config_makefile dlls/msls31 enable_msls31
20622 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20623 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20624 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20625 wine_fn_config_makefile dlls/msports enable_msports
20626 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20627 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20628 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20629 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20630 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20631 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20632 wine_fn_config_makefile dlls/mstask enable_mstask
20633 wine_fn_config_makefile dlls/mstask/tests enable_tests
20634 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20635 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20636 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20637 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20638 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20639 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20640 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20641 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20642 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20643 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20644 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20645 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20646 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20647 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20648 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20649 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20650 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20651 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20652 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20653 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20654 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20655 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20656 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20657 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20659 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20660 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20661 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20662 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20663 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20664 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20665 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20667 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20669 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20670 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20671 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20672 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20673 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20674 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20675 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20676 wine_fn_config_makefile dlls/mswsock enable_mswsock
20677 wine_fn_config_makefile dlls/msxml enable_msxml
20678 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20679 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20680 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20681 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20682 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20683 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20684 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20685 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20686 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20687 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20688 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20689 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20690 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20691 wine_fn_config_makefile dlls/netprofm enable_netprofm
20692 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20693 wine_fn_config_makefile dlls/newdev enable_newdev
20694 wine_fn_config_makefile dlls/ninput enable_ninput
20695 wine_fn_config_makefile dlls/ninput/tests enable_tests
20696 wine_fn_config_makefile dlls/normaliz enable_normaliz
20697 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20698 wine_fn_config_makefile dlls/npptools enable_npptools
20699 wine_fn_config_makefile dlls/ntdll enable_ntdll
20700 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20701 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20702 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20703 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20704 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20705 wine_fn_config_makefile dlls/ntprint enable_ntprint
20706 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20707 wine_fn_config_makefile dlls/objsel enable_objsel
20708 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20709 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20710 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20711 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20712 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20713 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20714 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20715 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20716 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20717 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20718 wine_fn_config_makefile dlls/ole32 enable_ole32
20719 wine_fn_config_makefile dlls/ole32/tests enable_tests
20720 wine_fn_config_makefile dlls/oleacc enable_oleacc
20721 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20722 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20723 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20724 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20725 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20726 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20727 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20728 wine_fn_config_makefile dlls/oledlg enable_oledlg
20729 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20730 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20731 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20732 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20733 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20734 wine_fn_config_makefile dlls/opcservices enable_opcservices
20735 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20736 wine_fn_config_makefile dlls/openal32 enable_openal32
20737 wine_fn_config_makefile dlls/opencl enable_opencl
20738 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20739 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20740 wine_fn_config_makefile dlls/packager enable_packager
20741 wine_fn_config_makefile dlls/packager/tests enable_tests
20742 wine_fn_config_makefile dlls/pdh enable_pdh
20743 wine_fn_config_makefile dlls/pdh/tests enable_tests
20744 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20745 wine_fn_config_makefile dlls/pidgen enable_pidgen
20746 wine_fn_config_makefile dlls/powrprof enable_powrprof
20747 wine_fn_config_makefile dlls/printui enable_printui
20748 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20749 wine_fn_config_makefile dlls/propsys enable_propsys
20750 wine_fn_config_makefile dlls/propsys/tests enable_tests
20751 wine_fn_config_makefile dlls/psapi enable_psapi
20752 wine_fn_config_makefile dlls/psapi/tests enable_tests
20753 wine_fn_config_makefile dlls/pstorec enable_pstorec
20754 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20755 wine_fn_config_makefile dlls/qcap enable_qcap
20756 wine_fn_config_makefile dlls/qcap/tests enable_tests
20757 wine_fn_config_makefile dlls/qedit enable_qedit
20758 wine_fn_config_makefile dlls/qedit/tests enable_tests
20759 wine_fn_config_makefile dlls/qmgr enable_qmgr
20760 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20761 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20762 wine_fn_config_makefile dlls/quartz enable_quartz
20763 wine_fn_config_makefile dlls/quartz/tests enable_tests
20764 wine_fn_config_makefile dlls/query enable_query
20765 wine_fn_config_makefile dlls/qwave enable_qwave
20766 wine_fn_config_makefile dlls/qwave/tests enable_tests
20767 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20768 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20769 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20770 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20771 wine_fn_config_makefile dlls/regapi enable_regapi
20772 wine_fn_config_makefile dlls/resutils enable_resutils
20773 wine_fn_config_makefile dlls/riched20 enable_riched20
20774 wine_fn_config_makefile dlls/riched20/tests enable_tests
20775 wine_fn_config_makefile dlls/riched32 enable_riched32
20776 wine_fn_config_makefile dlls/riched32/tests enable_tests
20777 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20778 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20779 wine_fn_config_makefile dlls/rsabase enable_rsabase
20780 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20781 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20782 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20783 wine_fn_config_makefile dlls/rtutils enable_rtutils
20784 wine_fn_config_makefile dlls/samlib enable_samlib
20785 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20786 wine_fn_config_makefile dlls/sapi enable_sapi
20787 wine_fn_config_makefile dlls/sapi/tests enable_tests
20788 wine_fn_config_makefile dlls/sas enable_sas
20789 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20790 wine_fn_config_makefile dlls/sccbase enable_sccbase
20791 wine_fn_config_makefile dlls/schannel enable_schannel
20792 wine_fn_config_makefile dlls/schannel/tests enable_tests
20793 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20794 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20795 wine_fn_config_makefile dlls/scrobj enable_scrobj
20796 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20797 wine_fn_config_makefile dlls/scrrun enable_scrrun
20798 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20799 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20800 wine_fn_config_makefile dlls/secur32 enable_secur32
20801 wine_fn_config_makefile dlls/secur32/tests enable_tests
20802 wine_fn_config_makefile dlls/security enable_security
20803 wine_fn_config_makefile dlls/sensapi enable_sensapi
20804 wine_fn_config_makefile dlls/serialui enable_serialui
20805 wine_fn_config_makefile dlls/serialui/tests enable_tests
20806 wine_fn_config_makefile dlls/setupapi enable_setupapi
20807 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20808 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20809 wine_fn_config_makefile dlls/sfc enable_sfc
20810 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20811 wine_fn_config_makefile dlls/shcore enable_shcore
20812 wine_fn_config_makefile dlls/shcore/tests enable_tests
20813 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20814 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20815 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20816 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20817 wine_fn_config_makefile dlls/shell32 enable_shell32
20818 wine_fn_config_makefile dlls/shell32/tests enable_tests
20819 wine_fn_config_makefile dlls/shfolder enable_shfolder
20820 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20821 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20822 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20823 wine_fn_config_makefile dlls/slc enable_slc
20824 wine_fn_config_makefile dlls/slc/tests enable_tests
20825 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20826 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20827 wine_fn_config_makefile dlls/softpub enable_softpub
20828 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20829 wine_fn_config_makefile dlls/spoolss enable_spoolss
20830 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20831 wine_fn_config_makefile dlls/srclient enable_srclient
20832 wine_fn_config_makefile dlls/sspicli enable_sspicli
20833 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20834 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20835 wine_fn_config_makefile dlls/sti enable_sti
20836 wine_fn_config_makefile dlls/sti/tests enable_tests
20837 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20838 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20839 wine_fn_config_makefile dlls/strmbase enable_strmbase
20840 wine_fn_config_makefile dlls/strmdll enable_strmdll
20841 wine_fn_config_makefile dlls/strmiids enable_strmiids
20842 wine_fn_config_makefile dlls/svrapi enable_svrapi
20843 wine_fn_config_makefile dlls/sxs enable_sxs
20844 wine_fn_config_makefile dlls/sxs/tests enable_tests
20845 wine_fn_config_makefile dlls/system.drv16 enable_win16
20846 wine_fn_config_makefile dlls/t2embed enable_t2embed
20847 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20848 wine_fn_config_makefile dlls/tapi32 enable_tapi32
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/uiautomationcore enable_uiautomationcore
20864 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20865 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20866 wine_fn_config_makefile dlls/unicows enable_unicows
20867 wine_fn_config_makefile dlls/updspapi enable_updspapi
20868 wine_fn_config_makefile dlls/url enable_url
20869 wine_fn_config_makefile dlls/urlmon enable_urlmon
20870 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20871 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20872 wine_fn_config_makefile dlls/user.exe16 enable_win16
20873 wine_fn_config_makefile dlls/user32 enable_user32
20874 wine_fn_config_makefile dlls/user32/tests enable_tests
20875 wine_fn_config_makefile dlls/userenv enable_userenv
20876 wine_fn_config_makefile dlls/userenv/tests enable_tests
20877 wine_fn_config_makefile dlls/usp10 enable_usp10
20878 wine_fn_config_makefile dlls/usp10/tests enable_tests
20879 wine_fn_config_makefile dlls/utildll enable_utildll
20880 wine_fn_config_makefile dlls/uuid enable_uuid
20881 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20882 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20883 wine_fn_config_makefile dlls/vbscript enable_vbscript
20884 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20885 wine_fn_config_makefile dlls/vcomp enable_vcomp
20886 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20887 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20888 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20889 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20890 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20891 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20892 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20893 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20894 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20895 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20896 wine_fn_config_makefile dlls/version enable_version
20897 wine_fn_config_makefile dlls/version/tests enable_tests
20898 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20899 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20900 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20901 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20902 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20903 wine_fn_config_makefile dlls/vssapi enable_vssapi
20904 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20905 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20906 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20907 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20908 wine_fn_config_makefile dlls/w32skrnl enable_win16
20909 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20910 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20911 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20912 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20913 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20914 wine_fn_config_makefile dlls/wdscore enable_wdscore
20915 wine_fn_config_makefile dlls/webservices enable_webservices
20916 wine_fn_config_makefile dlls/webservices/tests enable_tests
20917 wine_fn_config_makefile dlls/wer enable_wer
20918 wine_fn_config_makefile dlls/wer/tests enable_tests
20919 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20920 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20921 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20922 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20923 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20924 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20925 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20926 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20927 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20928 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20929 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20930 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20931 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20932 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20933 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20934 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20935 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20936 wine_fn_config_makefile dlls/wined3d enable_wined3d
20937 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20938 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20939 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20940 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20941 wine_fn_config_makefile dlls/winemapi enable_winemapi
20942 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20943 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20944 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20945 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20946 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20947 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20948 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20949 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20950 wine_fn_config_makefile dlls/wing32 enable_wing32
20951 wine_fn_config_makefile dlls/winhttp enable_winhttp
20952 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20953 wine_fn_config_makefile dlls/wininet enable_wininet
20954 wine_fn_config_makefile dlls/wininet/tests enable_tests
20955 wine_fn_config_makefile dlls/winmm enable_winmm
20956 wine_fn_config_makefile dlls/winmm/tests enable_tests
20957 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20958 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20959 wine_fn_config_makefile dlls/winscard enable_winscard
20960 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20961 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20962 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20963 wine_fn_config_makefile dlls/winsta enable_winsta
20964 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20965 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20966 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20967 wine_fn_config_makefile dlls/wintrust enable_wintrust
20968 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20969 wine_fn_config_makefile dlls/winusb enable_winusb
20970 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20971 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20972 wine_fn_config_makefile dlls/wlanui enable_wlanui
20973 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20974 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20975 wine_fn_config_makefile dlls/wmasf enable_wmasf
20976 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20977 wine_fn_config_makefile dlls/wmi enable_wmi
20978 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20979 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20980 wine_fn_config_makefile dlls/wmp enable_wmp
20981 wine_fn_config_makefile dlls/wmp/tests enable_tests
20982 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20983 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20984 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20985 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20986 wine_fn_config_makefile dlls/wow32 enable_win16
20987 wine_fn_config_makefile dlls/wpc enable_wpc
20988 wine_fn_config_makefile dlls/wpc/tests enable_tests
20989 wine_fn_config_makefile dlls/wpcap enable_wpcap
20990 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20991 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20992 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20993 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20994 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20995 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20996 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20997 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20998 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20999 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21000 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21001 wine_fn_config_makefile dlls/wuapi enable_wuapi
21002 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21003 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21004 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21005 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21006 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21007 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21008 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21009 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21010 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21011 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21012 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21013 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21014 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21015 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21016 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21017 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21018 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21019 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21020 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21021 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21022 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21023 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21024 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21025 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21026 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21027 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21028 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21029 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21030 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21031 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21032 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21033 wine_fn_config_makefile dlls/xmllite enable_xmllite
21034 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21035 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21036 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21037 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21038 wine_fn_config_makefile fonts enable_fonts
21039 wine_fn_config_makefile include enable_include
21040 wine_fn_config_makefile libs/port enable_port
21041 wine_fn_config_makefile libs/wine enable_wine
21042 wine_fn_config_makefile libs/wpp enable_wpp
21043 wine_fn_config_makefile loader enable_loader
21044 wine_fn_config_makefile po enable_po
21045 wine_fn_config_makefile programs/arp enable_arp
21046 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21047 wine_fn_config_makefile programs/attrib enable_attrib
21048 wine_fn_config_makefile programs/cabarc enable_cabarc
21049 wine_fn_config_makefile programs/cacls enable_cacls
21050 wine_fn_config_makefile programs/clock enable_clock
21051 wine_fn_config_makefile programs/cmd enable_cmd
21052 wine_fn_config_makefile programs/cmd/tests enable_tests
21053 wine_fn_config_makefile programs/conhost enable_conhost
21054 wine_fn_config_makefile programs/control enable_control
21055 wine_fn_config_makefile programs/cscript enable_cscript
21056 wine_fn_config_makefile programs/dism enable_dism
21057 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21058 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21059 wine_fn_config_makefile programs/eject enable_eject
21060 wine_fn_config_makefile programs/expand enable_expand
21061 wine_fn_config_makefile programs/explorer enable_explorer
21062 wine_fn_config_makefile programs/extrac32 enable_extrac32
21063 wine_fn_config_makefile programs/fc enable_fc
21064 wine_fn_config_makefile programs/find enable_find
21065 wine_fn_config_makefile programs/find/tests enable_tests
21066 wine_fn_config_makefile programs/findstr enable_findstr
21067 wine_fn_config_makefile programs/fsutil enable_fsutil
21068 wine_fn_config_makefile programs/hh enable_hh
21069 wine_fn_config_makefile programs/hostname enable_hostname
21070 wine_fn_config_makefile programs/icacls enable_icacls
21071 wine_fn_config_makefile programs/icinfo enable_icinfo
21072 wine_fn_config_makefile programs/iexplore enable_iexplore
21073 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21074 wine_fn_config_makefile programs/lodctr enable_lodctr
21075 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21076 wine_fn_config_makefile programs/mshta enable_mshta
21077 wine_fn_config_makefile programs/msidb enable_msidb
21078 wine_fn_config_makefile programs/msiexec enable_msiexec
21079 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21080 wine_fn_config_makefile programs/net enable_net
21081 wine_fn_config_makefile programs/netsh enable_netsh
21082 wine_fn_config_makefile programs/netstat enable_netstat
21083 wine_fn_config_makefile programs/ngen enable_ngen
21084 wine_fn_config_makefile programs/notepad enable_notepad
21085 wine_fn_config_makefile programs/oleview enable_oleview
21086 wine_fn_config_makefile programs/ping enable_ping
21087 wine_fn_config_makefile programs/plugplay enable_plugplay
21088 wine_fn_config_makefile programs/powershell enable_powershell
21089 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21090 wine_fn_config_makefile programs/progman enable_progman
21091 wine_fn_config_makefile programs/reg enable_reg
21092 wine_fn_config_makefile programs/reg/tests enable_tests
21093 wine_fn_config_makefile programs/regasm enable_regasm
21094 wine_fn_config_makefile programs/regedit enable_regedit
21095 wine_fn_config_makefile programs/regedit/tests enable_tests
21096 wine_fn_config_makefile programs/regini enable_regini
21097 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21098 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21099 wine_fn_config_makefile programs/rpcss enable_rpcss
21100 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21101 wine_fn_config_makefile programs/rundll32 enable_rundll32
21102 wine_fn_config_makefile programs/sc enable_sc
21103 wine_fn_config_makefile programs/schtasks enable_schtasks
21104 wine_fn_config_makefile programs/schtasks/tests enable_tests
21105 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21106 wine_fn_config_makefile programs/secedit enable_secedit
21107 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21108 wine_fn_config_makefile programs/services enable_services
21109 wine_fn_config_makefile programs/services/tests enable_tests
21110 wine_fn_config_makefile programs/shutdown enable_shutdown
21111 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21112 wine_fn_config_makefile programs/start enable_start
21113 wine_fn_config_makefile programs/subst enable_subst
21114 wine_fn_config_makefile programs/svchost enable_svchost
21115 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21116 wine_fn_config_makefile programs/taskkill enable_taskkill
21117 wine_fn_config_makefile programs/tasklist enable_tasklist
21118 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21119 wine_fn_config_makefile programs/termsv enable_termsv
21120 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21121 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21122 wine_fn_config_makefile programs/view enable_view
21123 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21124 wine_fn_config_makefile programs/wineboot enable_wineboot
21125 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21126 wine_fn_config_makefile programs/winecfg enable_winecfg
21127 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21128 wine_fn_config_makefile programs/winedbg enable_winedbg
21129 wine_fn_config_makefile programs/winedevice enable_winedevice
21130 wine_fn_config_makefile programs/winefile enable_winefile
21131 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21132 wine_fn_config_makefile programs/winemine enable_winemine
21133 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21134 wine_fn_config_makefile programs/winepath enable_winepath
21135 wine_fn_config_makefile programs/winetest enable_winetest
21136 wine_fn_config_makefile programs/winevdm enable_win16
21137 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21138 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21139 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21140 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21141 wine_fn_config_makefile programs/winver enable_winver
21142 wine_fn_config_makefile programs/wmic enable_wmic
21143 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21144 wine_fn_config_makefile programs/wordpad enable_wordpad
21145 wine_fn_config_makefile programs/write enable_write
21146 wine_fn_config_makefile programs/wscript enable_wscript
21147 wine_fn_config_makefile programs/wscript/tests enable_tests
21148 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21149 wine_fn_config_makefile programs/wusa enable_wusa
21150 wine_fn_config_makefile programs/xcopy enable_xcopy
21151 wine_fn_config_makefile programs/xcopy/tests enable_tests
21152 wine_fn_config_makefile server enable_server
21153 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21154 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21159 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21160 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21161 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21164 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21165 wine_fn_append_file CONFIGURE_TARGETS "tags"
21166 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21167 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21168 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21169 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21170 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21171 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21173 if test "x$enable_tools" != xno
21174 then
21175 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21176 ac_config_commands="$ac_config_commands tools/makedep"
21180 ac_config_commands="$ac_config_commands Makefile"
21183 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21187 if test "x$enable_maintainer_mode" = xyes
21188 then
21189 wine_fn_append_rule "configure: configure.ac aclocal.m4
21190 autoconf --warnings=all
21191 include/config.h.in: include/stamp-h.in
21192 include/stamp-h.in: configure.ac aclocal.m4
21193 autoheader --warnings=all
21194 @echo timestamp > \$@"
21197 if test "x$enable_tools" != xno
21198 then
21199 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21200 @./config.status tools/makedep
21201 Makefile: tools/makedep$ac_exeext
21202 fonts: tools/sfnt2fon
21203 include: tools tools/widl"
21204 else
21205 wine_fn_append_rule "\$(MAKEDEP):
21206 @echo \"You need to run make in $TOOLSDIR first\" && false"
21209 if test -n "$with_wine64"
21210 then
21211 case "$with_wine64" in
21212 /*) reldir="" ;;
21213 *) reldir="../" ;;
21214 esac
21215 rm -f fonts server 2>/dev/null
21216 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21217 loader/wine64 loader/wine64-preloader:
21218 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21219 $with_wine64/loader/wine:
21220 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21221 $with_wine64/loader/wine-preloader:
21222 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21223 clean::
21224 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21225 else
21226 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21227 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21228 fonts \
21229 loader/l_intl.nls \
21230 loader/wine.inf \
21231 loader/winehid.inf \
21232 programs/msidb/msidb \
21233 programs/msiexec/msiexec \
21234 programs/notepad/notepad \
21235 programs/regedit/regedit \
21236 programs/regsvr32/regsvr32 \
21237 programs/wineboot/wineboot \
21238 programs/winecfg/winecfg \
21239 programs/wineconsole/wineconsole \
21240 programs/winedbg/winedbg \
21241 programs/winefile/winefile \
21242 programs/winemine/winemine \
21243 programs/winepath/winepath \
21244 server/wineserver"
21246 case $host_os in
21247 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21248 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21249 esac
21252 $as_echo " done" >&6
21253 cat >confcache <<\_ACEOF
21254 # This file is a shell script that caches the results of configure
21255 # tests run on this system so they can be shared between configure
21256 # scripts and configure runs, see configure's option --config-cache.
21257 # It is not useful on other systems. If it contains results you don't
21258 # want to keep, you may remove or edit it.
21260 # config.status only pays attention to the cache file if you give it
21261 # the --recheck option to rerun configure.
21263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21265 # following values.
21267 _ACEOF
21269 # The following way of writing the cache mishandles newlines in values,
21270 # but we know of no workaround that is simple, portable, and efficient.
21271 # So, we kill variables containing newlines.
21272 # Ultrix sh set writes to stderr and can't be redirected directly,
21273 # and sets the high bit in the cache file unless we assign to the vars.
21275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21276 eval ac_val=\$$ac_var
21277 case $ac_val in #(
21278 *${as_nl}*)
21279 case $ac_var in #(
21280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21282 esac
21283 case $ac_var in #(
21284 _ | IFS | as_nl) ;; #(
21285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21286 *) { eval $ac_var=; unset $ac_var;} ;;
21287 esac ;;
21288 esac
21289 done
21291 (set) 2>&1 |
21292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21293 *${as_nl}ac_space=\ *)
21294 # `set' does not quote correctly, so add quotes: double-quote
21295 # substitution turns \\\\ into \\, and sed turns \\ into \.
21296 sed -n \
21297 "s/'/'\\\\''/g;
21298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21299 ;; #(
21301 # `set' quotes correctly as required by POSIX, so do not add quotes.
21302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21304 esac |
21305 sort
21307 sed '
21308 /^ac_cv_env_/b end
21309 t clear
21310 :clear
21311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21312 t end
21313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21314 :end' >>confcache
21315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21316 if test -w "$cache_file"; then
21317 if test "x$cache_file" != "x/dev/null"; then
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21319 $as_echo "$as_me: updating cache $cache_file" >&6;}
21320 if test ! -f "$cache_file" || test -h "$cache_file"; then
21321 cat confcache >"$cache_file"
21322 else
21323 case $cache_file in #(
21324 */* | ?:*)
21325 mv -f confcache "$cache_file"$$ &&
21326 mv -f "$cache_file"$$ "$cache_file" ;; #(
21328 mv -f confcache "$cache_file" ;;
21329 esac
21332 else
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21337 rm -f confcache
21339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21340 # Let make expand exec_prefix.
21341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21343 DEFS=-DHAVE_CONFIG_H
21345 ac_libobjs=
21346 ac_ltlibobjs=
21348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21349 # 1. Remove the extension, and $U if already installed.
21350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21353 # will be set to the directory where LIBOBJS objects are built.
21354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21356 done
21357 LIBOBJS=$ac_libobjs
21359 LTLIBOBJS=$ac_ltlibobjs
21363 : "${CONFIG_STATUS=./config.status}"
21364 ac_write_fail=0
21365 ac_clean_files_save=$ac_clean_files
21366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21369 as_write_fail=0
21370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21371 #! $SHELL
21372 # Generated by $as_me.
21373 # Run this file to recreate the current configuration.
21374 # Compiler output produced by configure, useful for debugging
21375 # configure, is in config.log if it exists.
21377 debug=false
21378 ac_cs_recheck=false
21379 ac_cs_silent=false
21381 SHELL=\${CONFIG_SHELL-$SHELL}
21382 export SHELL
21383 _ASEOF
21384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21385 ## -------------------- ##
21386 ## M4sh Initialization. ##
21387 ## -------------------- ##
21389 # Be more Bourne compatible
21390 DUALCASE=1; export DUALCASE # for MKS sh
21391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21392 emulate sh
21393 NULLCMD=:
21394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21395 # is contrary to our usage. Disable this feature.
21396 alias -g '${1+"$@"}'='"$@"'
21397 setopt NO_GLOB_SUBST
21398 else
21399 case `(set -o) 2>/dev/null` in #(
21400 *posix*) :
21401 set -o posix ;; #(
21402 *) :
21404 esac
21408 as_nl='
21410 export as_nl
21411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21415 # Prefer a ksh shell builtin over an external printf program on Solaris,
21416 # but without wasting forks for bash or zsh.
21417 if test -z "$BASH_VERSION$ZSH_VERSION" \
21418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21419 as_echo='print -r --'
21420 as_echo_n='print -rn --'
21421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21422 as_echo='printf %s\n'
21423 as_echo_n='printf %s'
21424 else
21425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21427 as_echo_n='/usr/ucb/echo -n'
21428 else
21429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21430 as_echo_n_body='eval
21431 arg=$1;
21432 case $arg in #(
21433 *"$as_nl"*)
21434 expr "X$arg" : "X\\(.*\\)$as_nl";
21435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21436 esac;
21437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21439 export as_echo_n_body
21440 as_echo_n='sh -c $as_echo_n_body as_echo'
21442 export as_echo_body
21443 as_echo='sh -c $as_echo_body as_echo'
21446 # The user is always right.
21447 if test "${PATH_SEPARATOR+set}" != set; then
21448 PATH_SEPARATOR=:
21449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21451 PATH_SEPARATOR=';'
21456 # IFS
21457 # We need space, tab and new line, in precisely that order. Quoting is
21458 # there to prevent editors from complaining about space-tab.
21459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21460 # splitting by setting IFS to empty value.)
21461 IFS=" "" $as_nl"
21463 # Find who we are. Look in the path if we contain no directory separator.
21464 as_myself=
21465 case $0 in #((
21466 *[\\/]* ) as_myself=$0 ;;
21467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21468 for as_dir in $PATH
21470 IFS=$as_save_IFS
21471 test -z "$as_dir" && as_dir=.
21472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21473 done
21474 IFS=$as_save_IFS
21477 esac
21478 # We did not find ourselves, most probably we were run as `sh COMMAND'
21479 # in which case we are not to be found in the path.
21480 if test "x$as_myself" = x; then
21481 as_myself=$0
21483 if test ! -f "$as_myself"; then
21484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21485 exit 1
21488 # Unset variables that we do not need and which cause bugs (e.g. in
21489 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21490 # suppresses any "Segmentation fault" message there. '((' could
21491 # trigger a bug in pdksh 5.2.14.
21492 for as_var in BASH_ENV ENV MAIL MAILPATH
21493 do eval test x\${$as_var+set} = xset \
21494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21495 done
21496 PS1='$ '
21497 PS2='> '
21498 PS4='+ '
21500 # NLS nuisances.
21501 LC_ALL=C
21502 export LC_ALL
21503 LANGUAGE=C
21504 export LANGUAGE
21506 # CDPATH.
21507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21511 # ----------------------------------------
21512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21514 # script with STATUS, using 1 if that was 0.
21515 as_fn_error ()
21517 as_status=$1; test $as_status -eq 0 && as_status=1
21518 if test "$4"; then
21519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21522 $as_echo "$as_me: error: $2" >&2
21523 as_fn_exit $as_status
21524 } # as_fn_error
21527 # as_fn_set_status STATUS
21528 # -----------------------
21529 # Set $? to STATUS, without forking.
21530 as_fn_set_status ()
21532 return $1
21533 } # as_fn_set_status
21535 # as_fn_exit STATUS
21536 # -----------------
21537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21538 as_fn_exit ()
21540 set +e
21541 as_fn_set_status $1
21542 exit $1
21543 } # as_fn_exit
21545 # as_fn_unset VAR
21546 # ---------------
21547 # Portably unset VAR.
21548 as_fn_unset ()
21550 { eval $1=; unset $1;}
21552 as_unset=as_fn_unset
21553 # as_fn_append VAR VALUE
21554 # ----------------------
21555 # Append the text in VALUE to the end of the definition contained in VAR. Take
21556 # advantage of any shell optimizations that allow amortized linear growth over
21557 # repeated appends, instead of the typical quadratic growth present in naive
21558 # implementations.
21559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21560 eval 'as_fn_append ()
21562 eval $1+=\$2
21564 else
21565 as_fn_append ()
21567 eval $1=\$$1\$2
21569 fi # as_fn_append
21571 # as_fn_arith ARG...
21572 # ------------------
21573 # Perform arithmetic evaluation on the ARGs, and store the result in the
21574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21575 # must be portable across $(()) and expr.
21576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21577 eval 'as_fn_arith ()
21579 as_val=$(( $* ))
21581 else
21582 as_fn_arith ()
21584 as_val=`expr "$@" || test $? -eq 1`
21586 fi # as_fn_arith
21589 if expr a : '\(a\)' >/dev/null 2>&1 &&
21590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21591 as_expr=expr
21592 else
21593 as_expr=false
21596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21597 as_basename=basename
21598 else
21599 as_basename=false
21602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21603 as_dirname=dirname
21604 else
21605 as_dirname=false
21608 as_me=`$as_basename -- "$0" ||
21609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21610 X"$0" : 'X\(//\)$' \| \
21611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21612 $as_echo X/"$0" |
21613 sed '/^.*\/\([^/][^/]*\)\/*$/{
21614 s//\1/
21617 /^X\/\(\/\/\)$/{
21618 s//\1/
21621 /^X\/\(\/\).*/{
21622 s//\1/
21625 s/.*/./; q'`
21627 # Avoid depending upon Character Ranges.
21628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21631 as_cr_digits='0123456789'
21632 as_cr_alnum=$as_cr_Letters$as_cr_digits
21634 ECHO_C= ECHO_N= ECHO_T=
21635 case `echo -n x` in #(((((
21636 -n*)
21637 case `echo 'xy\c'` in
21638 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21639 xy) ECHO_C='\c';;
21640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21641 ECHO_T=' ';;
21642 esac;;
21644 ECHO_N='-n';;
21645 esac
21647 rm -f conf$$ conf$$.exe conf$$.file
21648 if test -d conf$$.dir; then
21649 rm -f conf$$.dir/conf$$.file
21650 else
21651 rm -f conf$$.dir
21652 mkdir conf$$.dir 2>/dev/null
21654 if (echo >conf$$.file) 2>/dev/null; then
21655 if ln -s conf$$.file conf$$ 2>/dev/null; then
21656 as_ln_s='ln -s'
21657 # ... but there are two gotchas:
21658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21660 # In both cases, we have to default to `cp -pR'.
21661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21662 as_ln_s='cp -pR'
21663 elif ln conf$$.file conf$$ 2>/dev/null; then
21664 as_ln_s=ln
21665 else
21666 as_ln_s='cp -pR'
21668 else
21669 as_ln_s='cp -pR'
21671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21672 rmdir conf$$.dir 2>/dev/null
21675 # as_fn_mkdir_p
21676 # -------------
21677 # Create "$as_dir" as a directory, including parents if necessary.
21678 as_fn_mkdir_p ()
21681 case $as_dir in #(
21682 -*) as_dir=./$as_dir;;
21683 esac
21684 test -d "$as_dir" || eval $as_mkdir_p || {
21685 as_dirs=
21686 while :; do
21687 case $as_dir in #(
21688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21689 *) as_qdir=$as_dir;;
21690 esac
21691 as_dirs="'$as_qdir' $as_dirs"
21692 as_dir=`$as_dirname -- "$as_dir" ||
21693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21694 X"$as_dir" : 'X\(//\)[^/]' \| \
21695 X"$as_dir" : 'X\(//\)$' \| \
21696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21697 $as_echo X"$as_dir" |
21698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21699 s//\1/
21702 /^X\(\/\/\)[^/].*/{
21703 s//\1/
21706 /^X\(\/\/\)$/{
21707 s//\1/
21710 /^X\(\/\).*/{
21711 s//\1/
21714 s/.*/./; q'`
21715 test -d "$as_dir" && break
21716 done
21717 test -z "$as_dirs" || eval "mkdir $as_dirs"
21718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21721 } # as_fn_mkdir_p
21722 if mkdir -p . 2>/dev/null; then
21723 as_mkdir_p='mkdir -p "$as_dir"'
21724 else
21725 test -d ./-p && rmdir ./-p
21726 as_mkdir_p=false
21730 # as_fn_executable_p FILE
21731 # -----------------------
21732 # Test if FILE is an executable regular file.
21733 as_fn_executable_p ()
21735 test -f "$1" && test -x "$1"
21736 } # as_fn_executable_p
21737 as_test_x='test -x'
21738 as_executable_p=as_fn_executable_p
21740 # Sed expression to map a string onto a valid CPP name.
21741 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21743 # Sed expression to map a string onto a valid variable name.
21744 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21747 exec 6>&1
21748 ## ----------------------------------- ##
21749 ## Main body of $CONFIG_STATUS script. ##
21750 ## ----------------------------------- ##
21751 _ASEOF
21752 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21755 # Save the log message, to keep $0 and so on meaningful, and to
21756 # report actual input values of CONFIG_FILES etc. instead of their
21757 # values after options handling.
21758 ac_log="
21759 This file was extended by Wine $as_me 4.17, which was
21760 generated by GNU Autoconf 2.69. Invocation command line was
21762 CONFIG_FILES = $CONFIG_FILES
21763 CONFIG_HEADERS = $CONFIG_HEADERS
21764 CONFIG_LINKS = $CONFIG_LINKS
21765 CONFIG_COMMANDS = $CONFIG_COMMANDS
21766 $ $0 $@
21768 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21771 _ACEOF
21773 case $ac_config_files in *"
21774 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21775 esac
21777 case $ac_config_headers in *"
21778 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21779 esac
21782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21783 # Files that config.status was made for.
21784 config_files="$ac_config_files"
21785 config_headers="$ac_config_headers"
21786 config_links="$ac_config_links"
21787 config_commands="$ac_config_commands"
21789 _ACEOF
21791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21792 ac_cs_usage="\
21793 \`$as_me' instantiates files and other configuration actions
21794 from templates according to the current configuration. Unless the files
21795 and actions are specified as TAGs, all are instantiated by default.
21797 Usage: $0 [OPTION]... [TAG]...
21799 -h, --help print this help, then exit
21800 -V, --version print version number and configuration settings, then exit
21801 --config print configuration, then exit
21802 -q, --quiet, --silent
21803 do not print progress messages
21804 -d, --debug don't remove temporary files
21805 --recheck update $as_me by reconfiguring in the same conditions
21806 --file=FILE[:TEMPLATE]
21807 instantiate the configuration file FILE
21808 --header=FILE[:TEMPLATE]
21809 instantiate the configuration header FILE
21811 Configuration files:
21812 $config_files
21814 Configuration headers:
21815 $config_headers
21817 Configuration links:
21818 $config_links
21820 Configuration commands:
21821 $config_commands
21823 Report bugs to <wine-devel@winehq.org>.
21824 Wine home page: <https://www.winehq.org>."
21826 _ACEOF
21827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21828 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21829 ac_cs_version="\\
21830 Wine config.status 4.17
21831 configured by $0, generated by GNU Autoconf 2.69,
21832 with options \\"\$ac_cs_config\\"
21834 Copyright (C) 2012 Free Software Foundation, Inc.
21835 This config.status script is free software; the Free Software Foundation
21836 gives unlimited permission to copy, distribute and modify it."
21838 ac_pwd='$ac_pwd'
21839 srcdir='$srcdir'
21840 test -n "\$AWK" || AWK=awk
21841 _ACEOF
21843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21844 # The default lists apply if the user does not specify any file.
21845 ac_need_defaults=:
21846 while test $# != 0
21848 case $1 in
21849 --*=?*)
21850 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21851 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21852 ac_shift=:
21854 --*=)
21855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21856 ac_optarg=
21857 ac_shift=:
21860 ac_option=$1
21861 ac_optarg=$2
21862 ac_shift=shift
21864 esac
21866 case $ac_option in
21867 # Handling of the options.
21868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21869 ac_cs_recheck=: ;;
21870 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21871 $as_echo "$ac_cs_version"; exit ;;
21872 --config | --confi | --conf | --con | --co | --c )
21873 $as_echo "$ac_cs_config"; exit ;;
21874 --debug | --debu | --deb | --de | --d | -d )
21875 debug=: ;;
21876 --file | --fil | --fi | --f )
21877 $ac_shift
21878 case $ac_optarg in
21879 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21880 '') as_fn_error $? "missing file argument" ;;
21881 esac
21882 as_fn_append CONFIG_FILES " '$ac_optarg'"
21883 ac_need_defaults=false;;
21884 --header | --heade | --head | --hea )
21885 $ac_shift
21886 case $ac_optarg in
21887 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21888 esac
21889 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21890 ac_need_defaults=false;;
21891 --he | --h)
21892 # Conflict between --help and --header
21893 as_fn_error $? "ambiguous option: \`$1'
21894 Try \`$0 --help' for more information.";;
21895 --help | --hel | -h )
21896 $as_echo "$ac_cs_usage"; exit ;;
21897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21898 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21899 ac_cs_silent=: ;;
21901 # This is an error.
21902 -*) as_fn_error $? "unrecognized option: \`$1'
21903 Try \`$0 --help' for more information." ;;
21905 *) as_fn_append ac_config_targets " $1"
21906 ac_need_defaults=false ;;
21908 esac
21909 shift
21910 done
21912 ac_configure_extra_args=
21914 if $ac_cs_silent; then
21915 exec 6>/dev/null
21916 ac_configure_extra_args="$ac_configure_extra_args --silent"
21919 _ACEOF
21920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21921 if \$ac_cs_recheck; then
21922 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21923 shift
21924 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21925 CONFIG_SHELL='$SHELL'
21926 export CONFIG_SHELL
21927 exec "\$@"
21930 _ACEOF
21931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21932 exec 5>>config.log
21934 echo
21935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21936 ## Running $as_me. ##
21937 _ASBOX
21938 $as_echo "$ac_log"
21939 } >&5
21941 _ACEOF
21942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21944 # INIT-COMMANDS
21946 wine_fn_output_makedep ()
21948 as_dir=tools; as_fn_mkdir_p
21949 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21951 wine_fn_output_makefile ()
21953 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21954 `cat $wine_rules_file`
21955 _WINE_EOF
21956 as_fn_error $? "could not create Makefile" "$LINENO" 5
21959 _ACEOF
21961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 # Handling of arguments.
21964 for ac_config_target in $ac_config_targets
21966 case $ac_config_target in
21967 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21968 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21969 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21970 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21971 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21972 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21973 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21974 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21975 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21976 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21977 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21978 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21979 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21981 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21982 esac
21983 done
21986 # If the user did not use the arguments to specify the items to instantiate,
21987 # then the envvar interface is used. Set only those that are not.
21988 # We use the long form for the default assignment because of an extremely
21989 # bizarre bug on SunOS 4.1.3.
21990 if $ac_need_defaults; then
21991 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21992 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21993 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21994 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21997 # Have a temporary directory for convenience. Make it in the build tree
21998 # simply because there is no reason against having it here, and in addition,
21999 # creating and moving files from /tmp can sometimes cause problems.
22000 # Hook for its removal unless debugging.
22001 # Note that there is a small window in which the directory will not be cleaned:
22002 # after its creation but before its name has been assigned to `$tmp'.
22003 $debug ||
22005 tmp= ac_tmp=
22006 trap 'exit_status=$?
22007 : "${ac_tmp:=$tmp}"
22008 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22010 trap 'as_fn_exit 1' 1 2 13 15
22012 # Create a (secure) tmp directory for tmp files.
22015 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22016 test -d "$tmp"
22017 } ||
22019 tmp=./conf$$-$RANDOM
22020 (umask 077 && mkdir "$tmp")
22021 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22022 ac_tmp=$tmp
22024 # Set up the scripts for CONFIG_FILES section.
22025 # No need to generate them if there are no CONFIG_FILES.
22026 # This happens for instance with `./config.status config.h'.
22027 if test -n "$CONFIG_FILES"; then
22030 ac_cr=`echo X | tr X '\015'`
22031 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22032 # But we know of no other shell where ac_cr would be empty at this
22033 # point, so we can use a bashism as a fallback.
22034 if test "x$ac_cr" = x; then
22035 eval ac_cr=\$\'\\r\'
22037 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22038 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22039 ac_cs_awk_cr='\\r'
22040 else
22041 ac_cs_awk_cr=$ac_cr
22044 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22045 _ACEOF
22049 echo "cat >conf$$subs.awk <<_ACEOF" &&
22050 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22051 echo "_ACEOF"
22052 } >conf$$subs.sh ||
22053 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22054 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22055 ac_delim='%!_!# '
22056 for ac_last_try in false false false false false :; do
22057 . ./conf$$subs.sh ||
22058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22060 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22061 if test $ac_delim_n = $ac_delim_num; then
22062 break
22063 elif $ac_last_try; then
22064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22065 else
22066 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22068 done
22069 rm -f conf$$subs.sh
22071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22072 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22073 _ACEOF
22074 sed -n '
22076 s/^/S["/; s/!.*/"]=/
22079 s/^[^!]*!//
22080 :repl
22081 t repl
22082 s/'"$ac_delim"'$//
22083 t delim
22086 s/\(.\{148\}\)..*/\1/
22087 t more1
22088 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22091 b repl
22092 :more1
22093 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22096 s/.\{148\}//
22097 t nl
22098 :delim
22100 s/\(.\{148\}\)..*/\1/
22101 t more2
22102 s/["\\]/\\&/g; s/^/"/; s/$/"/
22105 :more2
22106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22109 s/.\{148\}//
22110 t delim
22111 ' <conf$$subs.awk | sed '
22112 /^[^""]/{
22114 s/\n//
22116 ' >>$CONFIG_STATUS || ac_write_fail=1
22117 rm -f conf$$subs.awk
22118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22119 _ACAWK
22120 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22121 for (key in S) S_is_set[key] = 1
22122 FS = "\a"
22126 line = $ 0
22127 nfields = split(line, field, "@")
22128 substed = 0
22129 len = length(field[1])
22130 for (i = 2; i < nfields; i++) {
22131 key = field[i]
22132 keylen = length(key)
22133 if (S_is_set[key]) {
22134 value = S[key]
22135 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22136 len += length(value) + length(field[++i])
22137 substed = 1
22138 } else
22139 len += 1 + keylen
22142 print line
22145 _ACAWK
22146 _ACEOF
22147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22148 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22149 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22150 else
22152 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22153 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22154 _ACEOF
22156 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22157 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22158 # trailing colons and then remove the whole line if VPATH becomes empty
22159 # (actually we leave an empty line to preserve line numbers).
22160 if test "x$srcdir" = x.; then
22161 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22163 s///
22164 s/^/:/
22165 s/[ ]*$/:/
22166 s/:\$(srcdir):/:/g
22167 s/:\${srcdir}:/:/g
22168 s/:@srcdir@:/:/g
22169 s/^:*//
22170 s/:*$//
22172 s/\(=[ ]*\).*/\1/
22174 s/\n//
22175 s/^[^=]*=[ ]*$//
22179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22180 fi # test -n "$CONFIG_FILES"
22182 # Set up the scripts for CONFIG_HEADERS section.
22183 # No need to generate them if there are no CONFIG_HEADERS.
22184 # This happens for instance with `./config.status Makefile'.
22185 if test -n "$CONFIG_HEADERS"; then
22186 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22187 BEGIN {
22188 _ACEOF
22190 # Transform confdefs.h into an awk script `defines.awk', embedded as
22191 # here-document in config.status, that substitutes the proper values into
22192 # config.h.in to produce config.h.
22194 # Create a delimiter string that does not exist in confdefs.h, to ease
22195 # handling of long lines.
22196 ac_delim='%!_!# '
22197 for ac_last_try in false false :; do
22198 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22199 if test -z "$ac_tt"; then
22200 break
22201 elif $ac_last_try; then
22202 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22203 else
22204 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22206 done
22208 # For the awk script, D is an array of macro values keyed by name,
22209 # likewise P contains macro parameters if any. Preserve backslash
22210 # newline sequences.
22212 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22213 sed -n '
22214 s/.\{148\}/&'"$ac_delim"'/g
22215 t rset
22216 :rset
22217 s/^[ ]*#[ ]*define[ ][ ]*/ /
22218 t def
22220 :def
22221 s/\\$//
22222 t bsnl
22223 s/["\\]/\\&/g
22224 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22225 D["\1"]=" \3"/p
22226 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22228 :bsnl
22229 s/["\\]/\\&/g
22230 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22231 D["\1"]=" \3\\\\\\n"\\/p
22232 t cont
22233 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22234 t cont
22236 :cont
22238 s/.\{148\}/&'"$ac_delim"'/g
22239 t clear
22240 :clear
22241 s/\\$//
22242 t bsnlc
22243 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22245 :bsnlc
22246 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22247 b cont
22248 ' <confdefs.h | sed '
22249 s/'"$ac_delim"'/"\\\
22250 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22253 for (key in D) D_is_set[key] = 1
22254 FS = "\a"
22256 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22257 line = \$ 0
22258 split(line, arg, " ")
22259 if (arg[1] == "#") {
22260 defundef = arg[2]
22261 mac1 = arg[3]
22262 } else {
22263 defundef = substr(arg[1], 2)
22264 mac1 = arg[2]
22266 split(mac1, mac2, "(") #)
22267 macro = mac2[1]
22268 prefix = substr(line, 1, index(line, defundef) - 1)
22269 if (D_is_set[macro]) {
22270 # Preserve the white space surrounding the "#".
22271 print prefix "define", macro P[macro] D[macro]
22272 next
22273 } else {
22274 # Replace #undef with comments. This is necessary, for example,
22275 # in the case of _POSIX_SOURCE, which is predefined and required
22276 # on some systems where configure will not decide to define it.
22277 if (defundef == "undef") {
22278 print "/*", prefix defundef, macro, "*/"
22279 next
22283 { print }
22284 _ACAWK
22285 _ACEOF
22286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22287 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22288 fi # test -n "$CONFIG_HEADERS"
22291 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22292 shift
22293 for ac_tag
22295 case $ac_tag in
22296 :[FHLC]) ac_mode=$ac_tag; continue;;
22297 esac
22298 case $ac_mode$ac_tag in
22299 :[FHL]*:*);;
22300 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22301 :[FH]-) ac_tag=-:-;;
22302 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22303 esac
22304 ac_save_IFS=$IFS
22305 IFS=:
22306 set x $ac_tag
22307 IFS=$ac_save_IFS
22308 shift
22309 ac_file=$1
22310 shift
22312 case $ac_mode in
22313 :L) ac_source=$1;;
22314 :[FH])
22315 ac_file_inputs=
22316 for ac_f
22318 case $ac_f in
22319 -) ac_f="$ac_tmp/stdin";;
22320 *) # Look for the file first in the build tree, then in the source tree
22321 # (if the path is not absolute). The absolute path cannot be DOS-style,
22322 # because $ac_f cannot contain `:'.
22323 test -f "$ac_f" ||
22324 case $ac_f in
22325 [\\/$]*) false;;
22326 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22327 esac ||
22328 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22329 esac
22330 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22331 as_fn_append ac_file_inputs " '$ac_f'"
22332 done
22334 # Let's still pretend it is `configure' which instantiates (i.e., don't
22335 # use $as_me), people would be surprised to read:
22336 # /* config.h. Generated by config.status. */
22337 configure_input='Generated from '`
22338 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22339 `' by configure.'
22340 if test x"$ac_file" != x-; then
22341 configure_input="$ac_file. $configure_input"
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22343 $as_echo "$as_me: creating $ac_file" >&6;}
22345 # Neutralize special characters interpreted by sed in replacement strings.
22346 case $configure_input in #(
22347 *\&* | *\|* | *\\* )
22348 ac_sed_conf_input=`$as_echo "$configure_input" |
22349 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22350 *) ac_sed_conf_input=$configure_input;;
22351 esac
22353 case $ac_tag in
22354 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22356 esac
22358 esac
22360 ac_dir=`$as_dirname -- "$ac_file" ||
22361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22362 X"$ac_file" : 'X\(//\)[^/]' \| \
22363 X"$ac_file" : 'X\(//\)$' \| \
22364 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22365 $as_echo X"$ac_file" |
22366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22367 s//\1/
22370 /^X\(\/\/\)[^/].*/{
22371 s//\1/
22374 /^X\(\/\/\)$/{
22375 s//\1/
22378 /^X\(\/\).*/{
22379 s//\1/
22382 s/.*/./; q'`
22383 as_dir="$ac_dir"; as_fn_mkdir_p
22384 ac_builddir=.
22386 case "$ac_dir" in
22387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22389 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22390 # A ".." for each directory in $ac_dir_suffix.
22391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22392 case $ac_top_builddir_sub in
22393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22395 esac ;;
22396 esac
22397 ac_abs_top_builddir=$ac_pwd
22398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22399 # for backward compatibility:
22400 ac_top_builddir=$ac_top_build_prefix
22402 case $srcdir in
22403 .) # We are building in place.
22404 ac_srcdir=.
22405 ac_top_srcdir=$ac_top_builddir_sub
22406 ac_abs_top_srcdir=$ac_pwd ;;
22407 [\\/]* | ?:[\\/]* ) # Absolute name.
22408 ac_srcdir=$srcdir$ac_dir_suffix;
22409 ac_top_srcdir=$srcdir
22410 ac_abs_top_srcdir=$srcdir ;;
22411 *) # Relative name.
22412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22413 ac_top_srcdir=$ac_top_build_prefix$srcdir
22414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22415 esac
22416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22419 case $ac_mode in
22422 # CONFIG_FILE
22425 _ACEOF
22427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22428 # If the template does not know about datarootdir, expand it.
22429 # FIXME: This hack should be removed a few years after 2.60.
22430 ac_datarootdir_hack=; ac_datarootdir_seen=
22431 ac_sed_dataroot='
22432 /datarootdir/ {
22436 /@datadir@/p
22437 /@docdir@/p
22438 /@infodir@/p
22439 /@localedir@/p
22440 /@mandir@/p'
22441 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22442 *datarootdir*) ac_datarootdir_seen=yes;;
22443 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22445 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22446 _ACEOF
22447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22448 ac_datarootdir_hack='
22449 s&@datadir@&$datadir&g
22450 s&@docdir@&$docdir&g
22451 s&@infodir@&$infodir&g
22452 s&@localedir@&$localedir&g
22453 s&@mandir@&$mandir&g
22454 s&\\\${datarootdir}&$datarootdir&g' ;;
22455 esac
22456 _ACEOF
22458 # Neutralize VPATH when `$srcdir' = `.'.
22459 # Shell code in configure.ac might set extrasub.
22460 # FIXME: do we really want to maintain this feature?
22461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22462 ac_sed_extra="$ac_vpsub
22463 $extrasub
22464 _ACEOF
22465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22467 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22468 s|@configure_input@|$ac_sed_conf_input|;t t
22469 s&@top_builddir@&$ac_top_builddir_sub&;t t
22470 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22471 s&@srcdir@&$ac_srcdir&;t t
22472 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22473 s&@top_srcdir@&$ac_top_srcdir&;t t
22474 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22475 s&@builddir@&$ac_builddir&;t t
22476 s&@abs_builddir@&$ac_abs_builddir&;t t
22477 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22478 $ac_datarootdir_hack
22480 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22481 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22483 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22484 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22485 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22486 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22488 which seems to be undefined. Please make sure it is defined" >&5
22489 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22490 which seems to be undefined. Please make sure it is defined" >&2;}
22492 rm -f "$ac_tmp/stdin"
22493 case $ac_file in
22494 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22495 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22496 esac \
22497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22501 # CONFIG_HEADER
22503 if test x"$ac_file" != x-; then
22505 $as_echo "/* $configure_input */" \
22506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22507 } >"$ac_tmp/config.h" \
22508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22509 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22511 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22512 else
22513 rm -f "$ac_file"
22514 mv "$ac_tmp/config.h" "$ac_file" \
22515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22517 else
22518 $as_echo "/* $configure_input */" \
22519 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22520 || as_fn_error $? "could not create -" "$LINENO" 5
22525 # CONFIG_LINK
22528 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22530 else
22531 # Prefer the file from the source tree if names are identical.
22532 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22533 ac_source=$srcdir/$ac_source
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22537 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22539 if test ! -r "$ac_source"; then
22540 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22542 rm -f "$ac_file"
22544 # Try a relative symlink, then a hard link, then a copy.
22545 case $ac_source in
22546 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22547 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22548 esac
22549 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22550 ln "$ac_source" "$ac_file" 2>/dev/null ||
22551 cp -p "$ac_source" "$ac_file" ||
22552 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22555 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22556 $as_echo "$as_me: executing $ac_file commands" >&6;}
22558 esac
22561 case $ac_file$ac_mode in
22562 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22563 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22564 "Makefile":C) wine_fn_output_makefile Makefile ;;
22566 esac
22567 done # for ac_tag
22570 as_fn_exit 0
22571 _ACEOF
22572 ac_clean_files=$ac_clean_files_save
22574 test $ac_write_fail = 0 ||
22575 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22578 # configure is writing to config.log, and then calls config.status.
22579 # config.status does its own redirection, appending to config.log.
22580 # Unfortunately, on DOS this fails, as config.log is still kept open
22581 # by configure, so config.status won't be able to write to it; its
22582 # output is simply discarded. So we exec the FD to /dev/null,
22583 # effectively closing config.log, so it can be properly (re)opened and
22584 # appended to by config.status. When coming back to configure, we
22585 # need to make the FD available again.
22586 if test "$no_create" != yes; then
22587 ac_cs_success=:
22588 ac_config_status_args=
22589 test "$silent" = yes &&
22590 ac_config_status_args="$ac_config_status_args --quiet"
22591 exec 5>/dev/null
22592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22593 exec 5>>config.log
22594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22595 # would make configure fail if this is the last instruction.
22596 $ac_cs_success || as_fn_exit 1
22598 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22600 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22604 if test "$no_create" = "yes"
22605 then
22606 exit 0
22609 ac_save_IFS="$IFS"
22610 if test "x$wine_notices" != x; then
22611 echo >&6
22612 IFS="|"
22613 for msg in $wine_notices; do
22614 IFS="$ac_save_IFS"
22615 if ${msg:+false} :; then :
22617 else
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22619 $as_echo "$as_me: $msg" >&6;}
22621 done
22623 IFS="|"
22624 for msg in $wine_warnings; do
22625 IFS="$ac_save_IFS"
22626 if ${msg:+false} :; then :
22628 else
22629 echo >&2
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22631 $as_echo "$as_me: WARNING: $msg" >&2;}
22633 done
22634 IFS="$ac_save_IFS"
22636 $as_echo "
22637 $as_me: Finished. Do '${ac_make}' to compile Wine.
22638 " >&6