ntdll: Implement RtlSetUnhandledExceptionFilter().
[wine.git] / configure
blobc2483c851ae4d02e6ba315e2666492cb410e0736
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.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='3.17'
584 PACKAGE_STRING='Wine 3.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 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 VKD3D_LIBS
640 VKD3D_CFLAGS
641 NETAPI_LIBS
642 NETAPI_CFLAGS
643 PROCSTAT_LIBS
644 KSTAT_LIBS
645 MPG123_LIBS
646 MPG123_CFLAGS
647 TIFF_LIBS
648 TIFF_CFLAGS
649 PNG_LIBS
650 PNG_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UDEV_LIBS
666 UDEV_CFLAGS
667 OSS4_CFLAGS
668 ALSA_LIBS
669 GSTREAMER_LIBS
670 GSTREAMER_CFLAGS
671 PULSE_LIBS
672 PULSE_CFLAGS
673 GETTEXTPO_LIBS
674 Z_LIBS
675 FREETYPE_LIBS
676 FREETYPE_CFLAGS
677 LCMS2_LIBS
678 LCMS2_CFLAGS
679 RESOLV_LIBS
680 GPHOTO2_PORT_LIBS
681 GPHOTO2_PORT_CFLAGS
682 GPHOTO2_LIBS
683 GPHOTO2_CFLAGS
684 SANE_LIBS
685 SANE_CFLAGS
686 GNUTLS_LIBS
687 GNUTLS_CFLAGS
688 HAL_LIBS
689 HAL_CFLAGS
690 DBUS_LIBS
691 DBUS_CFLAGS
692 XSLT_LIBS
693 XSLT_CFLAGS
694 XML2_LIBS
695 XML2_CFLAGS
696 PCAP_LIBS
697 X_EXTRA_LIBS
698 X_LIBS
699 X_PRE_LIBS
700 X_CFLAGS
701 XMKMF
702 PTHREAD_LIBS
703 CROSSCFLAGS
704 CROSSCC
705 CROSSTARGET
706 PRELINK
707 WINELOADER_DEPENDS
708 METAL_LIBS
709 CARBON_LIBS
710 QUICKTIME_LIBS
711 OPENCL_LIBS
712 OPENAL_LIBS
713 COREAUDIO_LIBS
714 SECURITY_LIBS
715 DISKARBITRATION_LIBS
716 APPKIT_LIBS
717 CORESERVICES_LIBS
718 APPLICATIONSERVICES_LIBS
719 FORCEFEEDBACK_LIBS
720 IOKIT_LIBS
721 COREFOUNDATION_LIBS
722 OBJCPP
723 ac_ct_OBJC
724 OBJCFLAGS
725 OBJC
726 LIBWINE_DEPENDS
727 LIBWINE_LDFLAGS
728 LIBWINE_INSTALL_DEV
729 LIBWINE_INSTALL_LIB
730 LIBWINE_IMPORTLIB
731 LIBWINE_SHAREDLIB
732 DLLTOOL
733 WINELOADER_PROGRAMS
734 CONFIGURE_TARGETS
735 DISABLED_SUBDIRS
736 SUBDIRS
737 READELF
738 OTOOL
740 WINELOADER_LDFLAGS
741 LDEXECFLAGS
742 LDRPATH_LOCAL
743 LDRPATH_INSTALL
744 DLLFLAGS
746 OPENGL_LIBS
747 ICOTOOL
748 CONVERT
749 RSVG
750 FONTFORGE
751 PKG_CONFIG
752 MSGFMT
753 LDCONFIG
754 EGREP
755 GREP
756 LN_S
757 RANLIB
758 ARFLAGS
759 STRIP
760 ac_ct_AR
762 BISON
763 FLEX
764 TOOLSDIR
765 wine64_disable
766 WIDLFLAGS
767 TARGETFLAGS
769 CPPBIN
770 ac_ct_CXX
771 CXXFLAGS
773 OBJEXT
774 EXEEXT
775 ac_ct_CC
776 CPPFLAGS
777 LDFLAGS
778 CFLAGS
780 SET_MAKE
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 target_alias
790 host_alias
791 build_alias
792 LIBS
793 ECHO_T
794 ECHO_N
795 ECHO_C
796 DEFS
797 mandir
798 localedir
799 libdir
800 psdir
801 pdfdir
802 dvidir
803 htmldir
804 infodir
805 docdir
806 oldincludedir
807 includedir
808 runstatedir
809 localstatedir
810 sharedstatedir
811 sysconfdir
812 datadir
813 datarootdir
814 libexecdir
815 sbindir
816 bindir
817 program_transform_name
818 prefix
819 exec_prefix
820 PACKAGE_URL
821 PACKAGE_BUGREPORT
822 PACKAGE_STRING
823 PACKAGE_VERSION
824 PACKAGE_TARNAME
825 PACKAGE_NAME
826 PATH_SEPARATOR
827 SHELL'
828 ac_subst_files=''
829 ac_user_opts='
830 enable_option_checking
831 enable_win16
832 enable_win64
833 enable_tests
834 enable_maintainer_mode
835 with_alsa
836 with_capi
837 with_cms
838 with_coreaudio
839 with_cups
840 with_curses
841 with_dbus
842 with_float_abi
843 with_fontconfig
844 with_freetype
845 with_gettext
846 with_gettextpo
847 with_gphoto
848 with_glu
849 with_gnutls
850 with_gsm
851 with_gssapi
852 with_gstreamer
853 with_hal
854 with_jpeg
855 with_krb5
856 with_ldap
857 with_mpg123
858 with_netapi
859 with_openal
860 with_opencl
861 with_opengl
862 with_osmesa
863 with_oss
864 with_pcap
865 with_png
866 with_pthread
867 with_pulse
868 with_sane
869 with_sdl
870 with_tiff
871 with_udev
872 with_v4l
873 with_vkd3d
874 with_vulkan
875 with_xcomposite
876 with_xcursor
877 with_xfixes
878 with_xinerama
879 with_xinput
880 with_xinput2
881 with_xml
882 with_xrandr
883 with_xrender
884 with_xshape
885 with_xshm
886 with_xslt
887 with_xxf86vm
888 with_zlib
889 with_wine_tools
890 with_wine64
891 enable_largefile
892 with_x
893 enable_acledit
894 enable_aclui
895 enable_activeds
896 enable_actxprxy
897 enable_adsiid
898 enable_adsldp
899 enable_adsldpc
900 enable_advapi32
901 enable_advpack
902 enable_amstream
903 enable_api_ms_win_appmodel_identity_l1_1_0
904 enable_api_ms_win_appmodel_runtime_l1_1_1
905 enable_api_ms_win_appmodel_runtime_l1_1_2
906 enable_api_ms_win_core_apiquery_l1_1_0
907 enable_api_ms_win_core_appcompat_l1_1_1
908 enable_api_ms_win_core_appinit_l1_1_0
909 enable_api_ms_win_core_atoms_l1_1_0
910 enable_api_ms_win_core_bem_l1_1_0
911 enable_api_ms_win_core_com_l1_1_0
912 enable_api_ms_win_core_com_l1_1_1
913 enable_api_ms_win_core_com_private_l1_1_0
914 enable_api_ms_win_core_comm_l1_1_0
915 enable_api_ms_win_core_console_l1_1_0
916 enable_api_ms_win_core_console_l2_1_0
917 enable_api_ms_win_core_crt_l1_1_0
918 enable_api_ms_win_core_crt_l2_1_0
919 enable_api_ms_win_core_datetime_l1_1_0
920 enable_api_ms_win_core_datetime_l1_1_1
921 enable_api_ms_win_core_debug_l1_1_0
922 enable_api_ms_win_core_debug_l1_1_1
923 enable_api_ms_win_core_delayload_l1_1_0
924 enable_api_ms_win_core_delayload_l1_1_1
925 enable_api_ms_win_core_errorhandling_l1_1_0
926 enable_api_ms_win_core_errorhandling_l1_1_1
927 enable_api_ms_win_core_errorhandling_l1_1_2
928 enable_api_ms_win_core_errorhandling_l1_1_3
929 enable_api_ms_win_core_fibers_l1_1_0
930 enable_api_ms_win_core_fibers_l1_1_1
931 enable_api_ms_win_core_file_l1_1_0
932 enable_api_ms_win_core_file_l1_2_0
933 enable_api_ms_win_core_file_l1_2_1
934 enable_api_ms_win_core_file_l1_2_2
935 enable_api_ms_win_core_file_l2_1_0
936 enable_api_ms_win_core_file_l2_1_1
937 enable_api_ms_win_core_file_l2_1_2
938 enable_api_ms_win_core_handle_l1_1_0
939 enable_api_ms_win_core_heap_l1_1_0
940 enable_api_ms_win_core_heap_l1_2_0
941 enable_api_ms_win_core_heap_l2_1_0
942 enable_api_ms_win_core_heap_obsolete_l1_1_0
943 enable_api_ms_win_core_interlocked_l1_1_0
944 enable_api_ms_win_core_interlocked_l1_2_0
945 enable_api_ms_win_core_io_l1_1_0
946 enable_api_ms_win_core_io_l1_1_1
947 enable_api_ms_win_core_job_l1_1_0
948 enable_api_ms_win_core_job_l2_1_0
949 enable_api_ms_win_core_kernel32_legacy_l1_1_0
950 enable_api_ms_win_core_kernel32_legacy_l1_1_1
951 enable_api_ms_win_core_kernel32_private_l1_1_1
952 enable_api_ms_win_core_largeinteger_l1_1_0
953 enable_api_ms_win_core_libraryloader_l1_1_0
954 enable_api_ms_win_core_libraryloader_l1_1_1
955 enable_api_ms_win_core_libraryloader_l1_2_0
956 enable_api_ms_win_core_libraryloader_l1_2_1
957 enable_api_ms_win_core_libraryloader_l1_2_2
958 enable_api_ms_win_core_localization_l1_1_0
959 enable_api_ms_win_core_localization_l1_2_0
960 enable_api_ms_win_core_localization_l1_2_1
961 enable_api_ms_win_core_localization_l2_1_0
962 enable_api_ms_win_core_localization_obsolete_l1_1_0
963 enable_api_ms_win_core_localization_obsolete_l1_2_0
964 enable_api_ms_win_core_localization_obsolete_l1_3_0
965 enable_api_ms_win_core_localization_private_l1_1_0
966 enable_api_ms_win_core_localregistry_l1_1_0
967 enable_api_ms_win_core_memory_l1_1_0
968 enable_api_ms_win_core_memory_l1_1_1
969 enable_api_ms_win_core_memory_l1_1_2
970 enable_api_ms_win_core_misc_l1_1_0
971 enable_api_ms_win_core_namedpipe_l1_1_0
972 enable_api_ms_win_core_namedpipe_l1_2_0
973 enable_api_ms_win_core_namespace_l1_1_0
974 enable_api_ms_win_core_normalization_l1_1_0
975 enable_api_ms_win_core_path_l1_1_0
976 enable_api_ms_win_core_privateprofile_l1_1_1
977 enable_api_ms_win_core_processenvironment_l1_1_0
978 enable_api_ms_win_core_processenvironment_l1_2_0
979 enable_api_ms_win_core_processthreads_l1_1_0
980 enable_api_ms_win_core_processthreads_l1_1_1
981 enable_api_ms_win_core_processthreads_l1_1_2
982 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
983 enable_api_ms_win_core_profile_l1_1_0
984 enable_api_ms_win_core_psapi_ansi_l1_1_0
985 enable_api_ms_win_core_psapi_l1_1_0
986 enable_api_ms_win_core_psapi_obsolete_l1_1_0
987 enable_api_ms_win_core_quirks_l1_1_0
988 enable_api_ms_win_core_realtime_l1_1_0
989 enable_api_ms_win_core_registry_l1_1_0
990 enable_api_ms_win_core_registry_l2_1_0
991 enable_api_ms_win_core_registryuserspecific_l1_1_0
992 enable_api_ms_win_core_rtlsupport_l1_1_0
993 enable_api_ms_win_core_rtlsupport_l1_2_0
994 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
995 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
996 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
997 enable_api_ms_win_core_shutdown_l1_1_0
998 enable_api_ms_win_core_sidebyside_l1_1_0
999 enable_api_ms_win_core_string_l1_1_0
1000 enable_api_ms_win_core_string_l2_1_0
1001 enable_api_ms_win_core_string_obsolete_l1_1_0
1002 enable_api_ms_win_core_stringansi_l1_1_0
1003 enable_api_ms_win_core_stringloader_l1_1_1
1004 enable_api_ms_win_core_synch_ansi_l1_1_0
1005 enable_api_ms_win_core_synch_l1_1_0
1006 enable_api_ms_win_core_synch_l1_2_0
1007 enable_api_ms_win_core_synch_l1_2_1
1008 enable_api_ms_win_core_sysinfo_l1_1_0
1009 enable_api_ms_win_core_sysinfo_l1_2_0
1010 enable_api_ms_win_core_sysinfo_l1_2_1
1011 enable_api_ms_win_core_threadpool_l1_1_0
1012 enable_api_ms_win_core_threadpool_l1_2_0
1013 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1014 enable_api_ms_win_core_threadpool_private_l1_1_0
1015 enable_api_ms_win_core_timezone_l1_1_0
1016 enable_api_ms_win_core_toolhelp_l1_1_0
1017 enable_api_ms_win_core_url_l1_1_0
1018 enable_api_ms_win_core_util_l1_1_0
1019 enable_api_ms_win_core_version_l1_1_0
1020 enable_api_ms_win_core_version_l1_1_1
1021 enable_api_ms_win_core_version_private_l1_1_0
1022 enable_api_ms_win_core_versionansi_l1_1_0
1023 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1024 enable_api_ms_win_core_winrt_error_l1_1_0
1025 enable_api_ms_win_core_winrt_error_l1_1_1
1026 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1027 enable_api_ms_win_core_winrt_l1_1_0
1028 enable_api_ms_win_core_winrt_registration_l1_1_0
1029 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1030 enable_api_ms_win_core_winrt_string_l1_1_0
1031 enable_api_ms_win_core_wow64_l1_1_0
1032 enable_api_ms_win_core_wow64_l1_1_1
1033 enable_api_ms_win_core_xstate_l1_1_0
1034 enable_api_ms_win_core_xstate_l2_1_0
1035 enable_api_ms_win_crt_conio_l1_1_0
1036 enable_api_ms_win_crt_convert_l1_1_0
1037 enable_api_ms_win_crt_environment_l1_1_0
1038 enable_api_ms_win_crt_filesystem_l1_1_0
1039 enable_api_ms_win_crt_heap_l1_1_0
1040 enable_api_ms_win_crt_locale_l1_1_0
1041 enable_api_ms_win_crt_math_l1_1_0
1042 enable_api_ms_win_crt_multibyte_l1_1_0
1043 enable_api_ms_win_crt_private_l1_1_0
1044 enable_api_ms_win_crt_process_l1_1_0
1045 enable_api_ms_win_crt_runtime_l1_1_0
1046 enable_api_ms_win_crt_stdio_l1_1_0
1047 enable_api_ms_win_crt_string_l1_1_0
1048 enable_api_ms_win_crt_time_l1_1_0
1049 enable_api_ms_win_crt_utility_l1_1_0
1050 enable_api_ms_win_devices_config_l1_1_0
1051 enable_api_ms_win_devices_config_l1_1_1
1052 enable_api_ms_win_devices_query_l1_1_1
1053 enable_api_ms_win_downlevel_advapi32_l1_1_0
1054 enable_api_ms_win_downlevel_advapi32_l2_1_0
1055 enable_api_ms_win_downlevel_normaliz_l1_1_0
1056 enable_api_ms_win_downlevel_ole32_l1_1_0
1057 enable_api_ms_win_downlevel_shell32_l1_1_0
1058 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1059 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1060 enable_api_ms_win_downlevel_user32_l1_1_0
1061 enable_api_ms_win_downlevel_version_l1_1_0
1062 enable_api_ms_win_dx_d3dkmt_l1_1_0
1063 enable_api_ms_win_eventing_classicprovider_l1_1_0
1064 enable_api_ms_win_eventing_consumer_l1_1_0
1065 enable_api_ms_win_eventing_controller_l1_1_0
1066 enable_api_ms_win_eventing_legacy_l1_1_0
1067 enable_api_ms_win_eventing_provider_l1_1_0
1068 enable_api_ms_win_eventlog_legacy_l1_1_0
1069 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1070 enable_api_ms_win_mm_joystick_l1_1_0
1071 enable_api_ms_win_mm_misc_l1_1_1
1072 enable_api_ms_win_mm_mme_l1_1_0
1073 enable_api_ms_win_mm_time_l1_1_0
1074 enable_api_ms_win_ntuser_dc_access_l1_1_0
1075 enable_api_ms_win_ntuser_rectangle_l1_1_0
1076 enable_api_ms_win_perf_legacy_l1_1_0
1077 enable_api_ms_win_power_base_l1_1_0
1078 enable_api_ms_win_power_setting_l1_1_0
1079 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1080 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1081 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1082 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1083 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1084 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1085 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1086 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1087 enable_api_ms_win_security_audit_l1_1_1
1088 enable_api_ms_win_security_base_l1_1_0
1089 enable_api_ms_win_security_base_l1_2_0
1090 enable_api_ms_win_security_base_private_l1_1_1
1091 enable_api_ms_win_security_credentials_l1_1_0
1092 enable_api_ms_win_security_cryptoapi_l1_1_0
1093 enable_api_ms_win_security_grouppolicy_l1_1_0
1094 enable_api_ms_win_security_lsalookup_l1_1_0
1095 enable_api_ms_win_security_lsalookup_l1_1_1
1096 enable_api_ms_win_security_lsalookup_l2_1_0
1097 enable_api_ms_win_security_lsalookup_l2_1_1
1098 enable_api_ms_win_security_lsapolicy_l1_1_0
1099 enable_api_ms_win_security_provider_l1_1_0
1100 enable_api_ms_win_security_sddl_l1_1_0
1101 enable_api_ms_win_security_systemfunctions_l1_1_0
1102 enable_api_ms_win_service_core_l1_1_0
1103 enable_api_ms_win_service_core_l1_1_1
1104 enable_api_ms_win_service_management_l1_1_0
1105 enable_api_ms_win_service_management_l2_1_0
1106 enable_api_ms_win_service_private_l1_1_1
1107 enable_api_ms_win_service_winsvc_l1_1_0
1108 enable_api_ms_win_service_winsvc_l1_2_0
1109 enable_api_ms_win_shcore_obsolete_l1_1_0
1110 enable_api_ms_win_shcore_scaling_l1_1_1
1111 enable_api_ms_win_shcore_stream_l1_1_0
1112 enable_api_ms_win_shcore_thread_l1_1_0
1113 enable_api_ms_win_shell_shellcom_l1_1_0
1114 enable_api_ms_win_shell_shellfolders_l1_1_0
1115 enable_apphelp
1116 enable_appwiz_cpl
1117 enable_atl
1118 enable_atl100
1119 enable_atl110
1120 enable_atl80
1121 enable_atl90
1122 enable_atmlib
1123 enable_authz
1124 enable_avicap32
1125 enable_avifil32
1126 enable_avrt
1127 enable_bcrypt
1128 enable_bluetoothapis
1129 enable_browseui
1130 enable_bthprops_cpl
1131 enable_cabinet
1132 enable_capi2032
1133 enable_cards
1134 enable_cdosys
1135 enable_cfgmgr32
1136 enable_clusapi
1137 enable_combase
1138 enable_comcat
1139 enable_comctl32
1140 enable_comdlg32
1141 enable_compstui
1142 enable_comsvcs
1143 enable_concrt140
1144 enable_connect
1145 enable_credui
1146 enable_crtdll
1147 enable_crypt32
1148 enable_cryptdlg
1149 enable_cryptdll
1150 enable_cryptext
1151 enable_cryptnet
1152 enable_cryptui
1153 enable_ctapi32
1154 enable_ctl3d32
1155 enable_d2d1
1156 enable_d3d10
1157 enable_d3d10_1
1158 enable_d3d10core
1159 enable_d3d11
1160 enable_d3d12
1161 enable_d3d8
1162 enable_d3d9
1163 enable_d3dcompiler_33
1164 enable_d3dcompiler_34
1165 enable_d3dcompiler_35
1166 enable_d3dcompiler_36
1167 enable_d3dcompiler_37
1168 enable_d3dcompiler_38
1169 enable_d3dcompiler_39
1170 enable_d3dcompiler_40
1171 enable_d3dcompiler_41
1172 enable_d3dcompiler_42
1173 enable_d3dcompiler_43
1174 enable_d3dcompiler_46
1175 enable_d3dcompiler_47
1176 enable_d3dim
1177 enable_d3drm
1178 enable_d3dx10_33
1179 enable_d3dx10_34
1180 enable_d3dx10_35
1181 enable_d3dx10_36
1182 enable_d3dx10_37
1183 enable_d3dx10_38
1184 enable_d3dx10_39
1185 enable_d3dx10_40
1186 enable_d3dx10_41
1187 enable_d3dx10_42
1188 enable_d3dx10_43
1189 enable_d3dx11_42
1190 enable_d3dx11_43
1191 enable_d3dx9_24
1192 enable_d3dx9_25
1193 enable_d3dx9_26
1194 enable_d3dx9_27
1195 enable_d3dx9_28
1196 enable_d3dx9_29
1197 enable_d3dx9_30
1198 enable_d3dx9_31
1199 enable_d3dx9_32
1200 enable_d3dx9_33
1201 enable_d3dx9_34
1202 enable_d3dx9_35
1203 enable_d3dx9_36
1204 enable_d3dx9_37
1205 enable_d3dx9_38
1206 enable_d3dx9_39
1207 enable_d3dx9_40
1208 enable_d3dx9_41
1209 enable_d3dx9_42
1210 enable_d3dx9_43
1211 enable_d3dxof
1212 enable_davclnt
1213 enable_dbgeng
1214 enable_dbghelp
1215 enable_dciman32
1216 enable_ddraw
1217 enable_ddrawex
1218 enable_devenum
1219 enable_dhcpcsvc
1220 enable_dhtmled_ocx
1221 enable_difxapi
1222 enable_dinput
1223 enable_dinput8
1224 enable_dispex
1225 enable_dmband
1226 enable_dmcompos
1227 enable_dmime
1228 enable_dmloader
1229 enable_dmoguids
1230 enable_dmscript
1231 enable_dmstyle
1232 enable_dmsynth
1233 enable_dmusic
1234 enable_dmusic32
1235 enable_dnsapi
1236 enable_dplay
1237 enable_dplayx
1238 enable_dpnaddr
1239 enable_dpnet
1240 enable_dpnhpast
1241 enable_dpnlobby
1242 enable_dpvoice
1243 enable_dpwsockx
1244 enable_drmclien
1245 enable_dsound
1246 enable_dsquery
1247 enable_dssenh
1248 enable_dswave
1249 enable_dwmapi
1250 enable_dwrite
1251 enable_dx8vb
1252 enable_dxdiagn
1253 enable_dxerr8
1254 enable_dxerr9
1255 enable_dxgi
1256 enable_dxguid
1257 enable_dxva2
1258 enable_esent
1259 enable_evr
1260 enable_explorerframe
1261 enable_ext_ms_win_authz_context_l1_1_0
1262 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1263 enable_ext_ms_win_dwmapi_ext_l1_1_0
1264 enable_ext_ms_win_gdi_dc_create_l1_1_1
1265 enable_ext_ms_win_gdi_dc_l1_2_0
1266 enable_ext_ms_win_gdi_devcaps_l1_1_0
1267 enable_ext_ms_win_gdi_draw_l1_1_1
1268 enable_ext_ms_win_gdi_render_l1_1_0
1269 enable_ext_ms_win_kernel32_package_current_l1_1_0
1270 enable_ext_ms_win_kernel32_package_l1_1_1
1271 enable_ext_ms_win_ntuser_draw_l1_1_0
1272 enable_ext_ms_win_ntuser_gui_l1_3_0
1273 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1274 enable_ext_ms_win_ntuser_message_l1_1_1
1275 enable_ext_ms_win_ntuser_misc_l1_5_1
1276 enable_ext_ms_win_ntuser_mouse_l1_1_0
1277 enable_ext_ms_win_ntuser_private_l1_1_1
1278 enable_ext_ms_win_ntuser_private_l1_3_1
1279 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1280 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1281 enable_ext_ms_win_ntuser_window_l1_1_1
1282 enable_ext_ms_win_ntuser_window_l1_1_4
1283 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1284 enable_ext_ms_win_oleacc_l1_1_0
1285 enable_ext_ms_win_ras_rasapi32_l1_1_0
1286 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1288 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1289 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1290 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1291 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1292 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1293 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1294 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1295 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1296 enable_ext_ms_win_security_credui_l1_1_0
1297 enable_ext_ms_win_security_cryptui_l1_1_0
1298 enable_ext_ms_win_uxtheme_themes_l1_1_0
1299 enable_faultrep
1300 enable_feclient
1301 enable_fltlib
1302 enable_fltmgr_sys
1303 enable_fntcache
1304 enable_fontsub
1305 enable_fusion
1306 enable_fwpuclnt
1307 enable_gameux
1308 enable_gdi32
1309 enable_gdiplus
1310 enable_glu32
1311 enable_gphoto2_ds
1312 enable_gpkcsp
1313 enable_hal
1314 enable_hhctrl_ocx
1315 enable_hid
1316 enable_hidclass_sys
1317 enable_hlink
1318 enable_hnetcfg
1319 enable_httpapi
1320 enable_iccvid
1321 enable_icmp
1322 enable_ieframe
1323 enable_ieproxy
1324 enable_imaadp32_acm
1325 enable_imagehlp
1326 enable_imm32
1327 enable_inetcomm
1328 enable_inetcpl_cpl
1329 enable_inetmib1
1330 enable_infosoft
1331 enable_initpki
1332 enable_inkobj
1333 enable_inseng
1334 enable_iphlpapi
1335 enable_iprop
1336 enable_irprops_cpl
1337 enable_itircl
1338 enable_itss
1339 enable_joy_cpl
1340 enable_jscript
1341 enable_jsproxy
1342 enable_kerberos
1343 enable_kernel32
1344 enable_kernelbase
1345 enable_ksuser
1346 enable_ktmw32
1347 enable_l3codeca_acm
1348 enable_loadperf
1349 enable_localspl
1350 enable_localui
1351 enable_lz32
1352 enable_mapi32
1353 enable_mapistub
1354 enable_mciavi32
1355 enable_mcicda
1356 enable_mciqtz32
1357 enable_mciseq
1358 enable_mciwave
1359 enable_mf
1360 enable_mf3216
1361 enable_mfplat
1362 enable_mfreadwrite
1363 enable_mfuuid
1364 enable_mgmtapi
1365 enable_midimap
1366 enable_mlang
1367 enable_mmcndmgr
1368 enable_mmdevapi
1369 enable_mountmgr_sys
1370 enable_mp3dmod
1371 enable_mpr
1372 enable_mprapi
1373 enable_msacm32_drv
1374 enable_msacm32
1375 enable_msadp32_acm
1376 enable_msasn1
1377 enable_mscat32
1378 enable_mscms
1379 enable_mscoree
1380 enable_msctf
1381 enable_msctfp
1382 enable_msdaps
1383 enable_msdelta
1384 enable_msdmo
1385 enable_msdrm
1386 enable_msftedit
1387 enable_msg711_acm
1388 enable_msgsm32_acm
1389 enable_mshtml_tlb
1390 enable_mshtml
1391 enable_msi
1392 enable_msident
1393 enable_msimg32
1394 enable_msimsg
1395 enable_msimtf
1396 enable_msisip
1397 enable_msisys_ocx
1398 enable_msls31
1399 enable_msnet32
1400 enable_mspatcha
1401 enable_msports
1402 enable_msrle32
1403 enable_msscript_ocx
1404 enable_mssign32
1405 enable_mssip32
1406 enable_mstask
1407 enable_msvcirt
1408 enable_msvcm80
1409 enable_msvcm90
1410 enable_msvcp100
1411 enable_msvcp110
1412 enable_msvcp120
1413 enable_msvcp120_app
1414 enable_msvcp140
1415 enable_msvcp60
1416 enable_msvcp70
1417 enable_msvcp71
1418 enable_msvcp80
1419 enable_msvcp90
1420 enable_msvcr100
1421 enable_msvcr110
1422 enable_msvcr120
1423 enable_msvcr120_app
1424 enable_msvcr70
1425 enable_msvcr71
1426 enable_msvcr80
1427 enable_msvcr90
1428 enable_msvcrt
1429 enable_msvcrt20
1430 enable_msvcrt40
1431 enable_msvcrtd
1432 enable_msvfw32
1433 enable_msvidc32
1434 enable_mswsock
1435 enable_msxml
1436 enable_msxml2
1437 enable_msxml3
1438 enable_msxml4
1439 enable_msxml6
1440 enable_mtxdm
1441 enable_ncrypt
1442 enable_nddeapi
1443 enable_ndis_sys
1444 enable_netapi32
1445 enable_netcfgx
1446 enable_netprofm
1447 enable_newdev
1448 enable_ninput
1449 enable_normaliz
1450 enable_npmshtml
1451 enable_npptools
1452 enable_ntdll
1453 enable_ntdsapi
1454 enable_ntoskrnl_exe
1455 enable_ntprint
1456 enable_objsel
1457 enable_odbc32
1458 enable_odbccp32
1459 enable_odbccu32
1460 enable_ole32
1461 enable_oleacc
1462 enable_oleaut32
1463 enable_olecli32
1464 enable_oledb32
1465 enable_oledlg
1466 enable_olepro32
1467 enable_olesvr32
1468 enable_olethk32
1469 enable_opcservices
1470 enable_openal32
1471 enable_opencl
1472 enable_opengl32
1473 enable_packager
1474 enable_pdh
1475 enable_photometadatahandler
1476 enable_pidgen
1477 enable_powrprof
1478 enable_printui
1479 enable_prntvpt
1480 enable_propsys
1481 enable_psapi
1482 enable_pstorec
1483 enable_qcap
1484 enable_qedit
1485 enable_qmgr
1486 enable_qmgrprxy
1487 enable_quartz
1488 enable_query
1489 enable_rasapi32
1490 enable_rasdlg
1491 enable_regapi
1492 enable_resutils
1493 enable_riched20
1494 enable_riched32
1495 enable_rpcrt4
1496 enable_rsabase
1497 enable_rsaenh
1498 enable_rstrtmgr
1499 enable_rtutils
1500 enable_samlib
1501 enable_sane_ds
1502 enable_sapi
1503 enable_sas
1504 enable_scarddlg
1505 enable_sccbase
1506 enable_schannel
1507 enable_schedsvc
1508 enable_scrobj
1509 enable_scrrun
1510 enable_scsiport_sys
1511 enable_secur32
1512 enable_security
1513 enable_sensapi
1514 enable_serialui
1515 enable_setupapi
1516 enable_sfc
1517 enable_sfc_os
1518 enable_shcore
1519 enable_shdoclc
1520 enable_shdocvw
1521 enable_shell32
1522 enable_shfolder
1523 enable_shlwapi
1524 enable_slbcsp
1525 enable_slc
1526 enable_snmpapi
1527 enable_softpub
1528 enable_spoolss
1529 enable_srclient
1530 enable_sspicli
1531 enable_stdole2_tlb
1532 enable_stdole32_tlb
1533 enable_sti
1534 enable_strmbase
1535 enable_strmdll
1536 enable_strmiids
1537 enable_svrapi
1538 enable_sxs
1539 enable_t2embed
1540 enable_tapi32
1541 enable_taskschd
1542 enable_tdh
1543 enable_tdi_sys
1544 enable_traffic
1545 enable_twain_32
1546 enable_ucrtbase
1547 enable_uiautomationcore
1548 enable_uiribbon
1549 enable_unicows
1550 enable_updspapi
1551 enable_url
1552 enable_urlmon
1553 enable_usbd_sys
1554 enable_user32
1555 enable_userenv
1556 enable_usp10
1557 enable_uuid
1558 enable_uxtheme
1559 enable_vbscript
1560 enable_vcomp
1561 enable_vcomp100
1562 enable_vcomp110
1563 enable_vcomp120
1564 enable_vcomp140
1565 enable_vcomp90
1566 enable_vcruntime140
1567 enable_vdmdbg
1568 enable_version
1569 enable_virtdisk
1570 enable_vssapi
1571 enable_vulkan_1
1572 enable_wbemdisp
1573 enable_wbemprox
1574 enable_wdscore
1575 enable_webservices
1576 enable_wer
1577 enable_wevtapi
1578 enable_wiaservc
1579 enable_wimgapi
1580 enable_windowscodecs
1581 enable_windowscodecsext
1582 enable_winealsa_drv
1583 enable_wineandroid_drv
1584 enable_winebus_sys
1585 enable_winecoreaudio_drv
1586 enable_winecrt0
1587 enable_wined3d
1588 enable_winegstreamer
1589 enable_winehid_sys
1590 enable_winejoystick_drv
1591 enable_winemac_drv
1592 enable_winemapi
1593 enable_wineoss_drv
1594 enable_wineps_drv
1595 enable_winepulse_drv
1596 enable_wineqtdecoder
1597 enable_winevulkan
1598 enable_winex11_drv
1599 enable_wing32
1600 enable_winhttp
1601 enable_wininet
1602 enable_winmm
1603 enable_winnls32
1604 enable_winscard
1605 enable_winspool_drv
1606 enable_winsta
1607 enable_wintab32
1608 enable_wintrust
1609 enable_winusb
1610 enable_wlanapi
1611 enable_wldap32
1612 enable_wmasf
1613 enable_wmcodecdspuuid
1614 enable_wmi
1615 enable_wmiutils
1616 enable_wmp
1617 enable_wmphoto
1618 enable_wmvcore
1619 enable_wnaspi32
1620 enable_wpc
1621 enable_wpcap
1622 enable_ws2_32
1623 enable_wsdapi
1624 enable_wshom_ocx
1625 enable_wsnmp32
1626 enable_wsock32
1627 enable_wtsapi32
1628 enable_wuapi
1629 enable_wuaueng
1630 enable_x3daudio1_0
1631 enable_x3daudio1_1
1632 enable_x3daudio1_2
1633 enable_x3daudio1_3
1634 enable_x3daudio1_4
1635 enable_x3daudio1_5
1636 enable_x3daudio1_6
1637 enable_x3daudio1_7
1638 enable_xapofx1_1
1639 enable_xapofx1_2
1640 enable_xapofx1_3
1641 enable_xapofx1_4
1642 enable_xapofx1_5
1643 enable_xaudio2_0
1644 enable_xaudio2_1
1645 enable_xaudio2_2
1646 enable_xaudio2_3
1647 enable_xaudio2_4
1648 enable_xaudio2_5
1649 enable_xaudio2_6
1650 enable_xaudio2_7
1651 enable_xaudio2_8
1652 enable_xaudio2_9
1653 enable_xinput1_1
1654 enable_xinput1_2
1655 enable_xinput1_3
1656 enable_xinput1_4
1657 enable_xinput9_1_0
1658 enable_xmllite
1659 enable_xolehlp
1660 enable_xpsprint
1661 enable_xpssvcs
1662 enable_fonts
1663 enable_include
1664 enable_port
1665 enable_wine
1666 enable_wpp
1667 enable_loader
1668 enable_po
1669 enable_arp
1670 enable_aspnet_regiis
1671 enable_attrib
1672 enable_cabarc
1673 enable_cacls
1674 enable_clock
1675 enable_cmd
1676 enable_conhost
1677 enable_control
1678 enable_cscript
1679 enable_dism
1680 enable_dpnsvr
1681 enable_dxdiag
1682 enable_eject
1683 enable_expand
1684 enable_explorer
1685 enable_extrac32
1686 enable_fc
1687 enable_find
1688 enable_findstr
1689 enable_fsutil
1690 enable_hh
1691 enable_hostname
1692 enable_icacls
1693 enable_icinfo
1694 enable_iexplore
1695 enable_ipconfig
1696 enable_lodctr
1697 enable_mofcomp
1698 enable_mshta
1699 enable_msiexec
1700 enable_msinfo32
1701 enable_net
1702 enable_netsh
1703 enable_netstat
1704 enable_ngen
1705 enable_notepad
1706 enable_oleview
1707 enable_ping
1708 enable_plugplay
1709 enable_powershell
1710 enable_presentationfontcache
1711 enable_progman
1712 enable_reg
1713 enable_regasm
1714 enable_regedit
1715 enable_regsvcs
1716 enable_regsvr32
1717 enable_rpcss
1718 enable_rundll32
1719 enable_sc
1720 enable_schtasks
1721 enable_sdbinst
1722 enable_secedit
1723 enable_servicemodelreg
1724 enable_services
1725 enable_shutdown
1726 enable_spoolsv
1727 enable_start
1728 enable_subst
1729 enable_svchost
1730 enable_systeminfo
1731 enable_taskkill
1732 enable_tasklist
1733 enable_taskmgr
1734 enable_termsv
1735 enable_uninstaller
1736 enable_unlodctr
1737 enable_view
1738 enable_wevtutil
1739 enable_wineboot
1740 enable_winebrowser
1741 enable_winecfg
1742 enable_wineconsole
1743 enable_winedbg
1744 enable_winedevice
1745 enable_winefile
1746 enable_winemenubuilder
1747 enable_winemine
1748 enable_winemsibuilder
1749 enable_winepath
1750 enable_winetest
1751 enable_winhlp32
1752 enable_winmgmt
1753 enable_winver
1754 enable_wmic
1755 enable_wmplayer
1756 enable_wordpad
1757 enable_write
1758 enable_wscript
1759 enable_wusa
1760 enable_xcopy
1761 enable_server
1762 enable_tools
1763 enable_sfnt2fon
1764 enable_widl
1765 enable_winebuild
1766 enable_winedump
1767 enable_winegcc
1768 enable_winemaker
1769 enable_wmc
1770 enable_wrc
1772 ac_precious_vars='build_alias
1773 host_alias
1774 target_alias
1776 CFLAGS
1777 LDFLAGS
1778 LIBS
1779 CPPFLAGS
1781 CXXFLAGS
1784 OBJC
1785 OBJCFLAGS
1786 OBJCPP
1787 XMKMF
1788 XML2_CFLAGS
1789 XML2_LIBS
1790 XSLT_CFLAGS
1791 XSLT_LIBS
1792 DBUS_CFLAGS
1793 DBUS_LIBS
1794 HAL_CFLAGS
1795 HAL_LIBS
1796 GNUTLS_CFLAGS
1797 GNUTLS_LIBS
1798 SANE_CFLAGS
1799 SANE_LIBS
1800 GPHOTO2_CFLAGS
1801 GPHOTO2_LIBS
1802 GPHOTO2_PORT_CFLAGS
1803 GPHOTO2_PORT_LIBS
1804 LCMS2_CFLAGS
1805 LCMS2_LIBS
1806 FREETYPE_CFLAGS
1807 FREETYPE_LIBS
1808 PULSE_CFLAGS
1809 PULSE_LIBS
1810 GSTREAMER_CFLAGS
1811 GSTREAMER_LIBS
1812 UDEV_CFLAGS
1813 UDEV_LIBS
1814 SDL2_CFLAGS
1815 SDL2_LIBS
1816 CAPI20_CFLAGS
1817 CAPI20_LIBS
1818 CUPS_CFLAGS
1819 CUPS_LIBS
1820 FONTCONFIG_CFLAGS
1821 FONTCONFIG_LIBS
1822 KRB5_CFLAGS
1823 KRB5_LIBS
1824 GSSAPI_CFLAGS
1825 GSSAPI_LIBS
1826 JPEG_CFLAGS
1827 JPEG_LIBS
1828 PNG_CFLAGS
1829 PNG_LIBS
1830 TIFF_CFLAGS
1831 TIFF_LIBS
1832 MPG123_CFLAGS
1833 MPG123_LIBS
1834 NETAPI_CFLAGS
1835 NETAPI_LIBS
1836 VKD3D_CFLAGS
1837 VKD3D_LIBS
1838 LDAP_CFLAGS
1839 LDAP_LIBS'
1842 # Initialize some variables set by options.
1843 ac_init_help=
1844 ac_init_version=false
1845 ac_unrecognized_opts=
1846 ac_unrecognized_sep=
1847 # The variables have the same names as the options, with
1848 # dashes changed to underlines.
1849 cache_file=/dev/null
1850 exec_prefix=NONE
1851 no_create=
1852 no_recursion=
1853 prefix=NONE
1854 program_prefix=NONE
1855 program_suffix=NONE
1856 program_transform_name=s,x,x,
1857 silent=
1858 site=
1859 srcdir=
1860 verbose=
1861 x_includes=NONE
1862 x_libraries=NONE
1864 # Installation directory options.
1865 # These are left unexpanded so users can "make install exec_prefix=/foo"
1866 # and all the variables that are supposed to be based on exec_prefix
1867 # by default will actually change.
1868 # Use braces instead of parens because sh, perl, etc. also accept them.
1869 # (The list follows the same order as the GNU Coding Standards.)
1870 bindir='${exec_prefix}/bin'
1871 sbindir='${exec_prefix}/sbin'
1872 libexecdir='${exec_prefix}/libexec'
1873 datarootdir='${prefix}/share'
1874 datadir='${datarootdir}'
1875 sysconfdir='${prefix}/etc'
1876 sharedstatedir='${prefix}/com'
1877 localstatedir='${prefix}/var'
1878 runstatedir='${localstatedir}/run'
1879 includedir='${prefix}/include'
1880 oldincludedir='/usr/include'
1881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1882 infodir='${datarootdir}/info'
1883 htmldir='${docdir}'
1884 dvidir='${docdir}'
1885 pdfdir='${docdir}'
1886 psdir='${docdir}'
1887 libdir='${exec_prefix}/lib'
1888 localedir='${datarootdir}/locale'
1889 mandir='${datarootdir}/man'
1891 ac_prev=
1892 ac_dashdash=
1893 for ac_option
1895 # If the previous option needs an argument, assign it.
1896 if test -n "$ac_prev"; then
1897 eval $ac_prev=\$ac_option
1898 ac_prev=
1899 continue
1902 case $ac_option in
1903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1904 *=) ac_optarg= ;;
1905 *) ac_optarg=yes ;;
1906 esac
1908 # Accept the important Cygnus configure options, so we can diagnose typos.
1910 case $ac_dashdash$ac_option in
1912 ac_dashdash=yes ;;
1914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1915 ac_prev=bindir ;;
1916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1917 bindir=$ac_optarg ;;
1919 -build | --build | --buil | --bui | --bu)
1920 ac_prev=build_alias ;;
1921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1922 build_alias=$ac_optarg ;;
1924 -cache-file | --cache-file | --cache-fil | --cache-fi \
1925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1926 ac_prev=cache_file ;;
1927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1929 cache_file=$ac_optarg ;;
1931 --config-cache | -C)
1932 cache_file=config.cache ;;
1934 -datadir | --datadir | --datadi | --datad)
1935 ac_prev=datadir ;;
1936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1937 datadir=$ac_optarg ;;
1939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1940 | --dataroo | --dataro | --datar)
1941 ac_prev=datarootdir ;;
1942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1944 datarootdir=$ac_optarg ;;
1946 -disable-* | --disable-*)
1947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1948 # Reject names that are not valid shell variable names.
1949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1950 as_fn_error $? "invalid feature name: $ac_useropt"
1951 ac_useropt_orig=$ac_useropt
1952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1953 case $ac_user_opts in
1955 "enable_$ac_useropt"
1956 "*) ;;
1957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1958 ac_unrecognized_sep=', ';;
1959 esac
1960 eval enable_$ac_useropt=no ;;
1962 -docdir | --docdir | --docdi | --doc | --do)
1963 ac_prev=docdir ;;
1964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1965 docdir=$ac_optarg ;;
1967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1968 ac_prev=dvidir ;;
1969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1970 dvidir=$ac_optarg ;;
1972 -enable-* | --enable-*)
1973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1974 # Reject names that are not valid shell variable names.
1975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1976 as_fn_error $? "invalid feature name: $ac_useropt"
1977 ac_useropt_orig=$ac_useropt
1978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1979 case $ac_user_opts in
1981 "enable_$ac_useropt"
1982 "*) ;;
1983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1984 ac_unrecognized_sep=', ';;
1985 esac
1986 eval enable_$ac_useropt=\$ac_optarg ;;
1988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1990 | --exec | --exe | --ex)
1991 ac_prev=exec_prefix ;;
1992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1994 | --exec=* | --exe=* | --ex=*)
1995 exec_prefix=$ac_optarg ;;
1997 -gas | --gas | --ga | --g)
1998 # Obsolete; use --with-gas.
1999 with_gas=yes ;;
2001 -help | --help | --hel | --he | -h)
2002 ac_init_help=long ;;
2003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2004 ac_init_help=recursive ;;
2005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2006 ac_init_help=short ;;
2008 -host | --host | --hos | --ho)
2009 ac_prev=host_alias ;;
2010 -host=* | --host=* | --hos=* | --ho=*)
2011 host_alias=$ac_optarg ;;
2013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2014 ac_prev=htmldir ;;
2015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2016 | --ht=*)
2017 htmldir=$ac_optarg ;;
2019 -includedir | --includedir | --includedi | --included | --include \
2020 | --includ | --inclu | --incl | --inc)
2021 ac_prev=includedir ;;
2022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2023 | --includ=* | --inclu=* | --incl=* | --inc=*)
2024 includedir=$ac_optarg ;;
2026 -infodir | --infodir | --infodi | --infod | --info | --inf)
2027 ac_prev=infodir ;;
2028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2029 infodir=$ac_optarg ;;
2031 -libdir | --libdir | --libdi | --libd)
2032 ac_prev=libdir ;;
2033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2034 libdir=$ac_optarg ;;
2036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2037 | --libexe | --libex | --libe)
2038 ac_prev=libexecdir ;;
2039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2040 | --libexe=* | --libex=* | --libe=*)
2041 libexecdir=$ac_optarg ;;
2043 -localedir | --localedir | --localedi | --localed | --locale)
2044 ac_prev=localedir ;;
2045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2046 localedir=$ac_optarg ;;
2048 -localstatedir | --localstatedir | --localstatedi | --localstated \
2049 | --localstate | --localstat | --localsta | --localst | --locals)
2050 ac_prev=localstatedir ;;
2051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2053 localstatedir=$ac_optarg ;;
2055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2056 ac_prev=mandir ;;
2057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2058 mandir=$ac_optarg ;;
2060 -nfp | --nfp | --nf)
2061 # Obsolete; use --without-fp.
2062 with_fp=no ;;
2064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2065 | --no-cr | --no-c | -n)
2066 no_create=yes ;;
2068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2070 no_recursion=yes ;;
2072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2074 | --oldin | --oldi | --old | --ol | --o)
2075 ac_prev=oldincludedir ;;
2076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2079 oldincludedir=$ac_optarg ;;
2081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2082 ac_prev=prefix ;;
2083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2084 prefix=$ac_optarg ;;
2086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2087 | --program-pre | --program-pr | --program-p)
2088 ac_prev=program_prefix ;;
2089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2091 program_prefix=$ac_optarg ;;
2093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2094 | --program-suf | --program-su | --program-s)
2095 ac_prev=program_suffix ;;
2096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2098 program_suffix=$ac_optarg ;;
2100 -program-transform-name | --program-transform-name \
2101 | --program-transform-nam | --program-transform-na \
2102 | --program-transform-n | --program-transform- \
2103 | --program-transform | --program-transfor \
2104 | --program-transfo | --program-transf \
2105 | --program-trans | --program-tran \
2106 | --progr-tra | --program-tr | --program-t)
2107 ac_prev=program_transform_name ;;
2108 -program-transform-name=* | --program-transform-name=* \
2109 | --program-transform-nam=* | --program-transform-na=* \
2110 | --program-transform-n=* | --program-transform-=* \
2111 | --program-transform=* | --program-transfor=* \
2112 | --program-transfo=* | --program-transf=* \
2113 | --program-trans=* | --program-tran=* \
2114 | --progr-tra=* | --program-tr=* | --program-t=*)
2115 program_transform_name=$ac_optarg ;;
2117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2118 ac_prev=pdfdir ;;
2119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2120 pdfdir=$ac_optarg ;;
2122 -psdir | --psdir | --psdi | --psd | --ps)
2123 ac_prev=psdir ;;
2124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2125 psdir=$ac_optarg ;;
2127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2128 | -silent | --silent | --silen | --sile | --sil)
2129 silent=yes ;;
2131 -runstatedir | --runstatedir | --runstatedi | --runstated \
2132 | --runstate | --runstat | --runsta | --runst | --runs \
2133 | --run | --ru | --r)
2134 ac_prev=runstatedir ;;
2135 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2136 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2137 | --run=* | --ru=* | --r=*)
2138 runstatedir=$ac_optarg ;;
2140 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2141 ac_prev=sbindir ;;
2142 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2143 | --sbi=* | --sb=*)
2144 sbindir=$ac_optarg ;;
2146 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2147 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2148 | --sharedst | --shareds | --shared | --share | --shar \
2149 | --sha | --sh)
2150 ac_prev=sharedstatedir ;;
2151 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2152 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2153 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2154 | --sha=* | --sh=*)
2155 sharedstatedir=$ac_optarg ;;
2157 -site | --site | --sit)
2158 ac_prev=site ;;
2159 -site=* | --site=* | --sit=*)
2160 site=$ac_optarg ;;
2162 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2163 ac_prev=srcdir ;;
2164 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2165 srcdir=$ac_optarg ;;
2167 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2168 | --syscon | --sysco | --sysc | --sys | --sy)
2169 ac_prev=sysconfdir ;;
2170 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2171 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2172 sysconfdir=$ac_optarg ;;
2174 -target | --target | --targe | --targ | --tar | --ta | --t)
2175 ac_prev=target_alias ;;
2176 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2177 target_alias=$ac_optarg ;;
2179 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2180 verbose=yes ;;
2182 -version | --version | --versio | --versi | --vers | -V)
2183 ac_init_version=: ;;
2185 -with-* | --with-*)
2186 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2187 # Reject names that are not valid shell variable names.
2188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2189 as_fn_error $? "invalid package name: $ac_useropt"
2190 ac_useropt_orig=$ac_useropt
2191 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2192 case $ac_user_opts in
2194 "with_$ac_useropt"
2195 "*) ;;
2196 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2197 ac_unrecognized_sep=', ';;
2198 esac
2199 eval with_$ac_useropt=\$ac_optarg ;;
2201 -without-* | --without-*)
2202 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2203 # Reject names that are not valid shell variable names.
2204 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2205 as_fn_error $? "invalid package name: $ac_useropt"
2206 ac_useropt_orig=$ac_useropt
2207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2208 case $ac_user_opts in
2210 "with_$ac_useropt"
2211 "*) ;;
2212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2213 ac_unrecognized_sep=', ';;
2214 esac
2215 eval with_$ac_useropt=no ;;
2217 --x)
2218 # Obsolete; use --with-x.
2219 with_x=yes ;;
2221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2222 | --x-incl | --x-inc | --x-in | --x-i)
2223 ac_prev=x_includes ;;
2224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2226 x_includes=$ac_optarg ;;
2228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2230 ac_prev=x_libraries ;;
2231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2233 x_libraries=$ac_optarg ;;
2235 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2236 Try \`$0 --help' for more information"
2239 *=*)
2240 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2241 # Reject names that are not valid shell variable names.
2242 case $ac_envvar in #(
2243 '' | [0-9]* | *[!_$as_cr_alnum]* )
2244 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2245 esac
2246 eval $ac_envvar=\$ac_optarg
2247 export $ac_envvar ;;
2250 # FIXME: should be removed in autoconf 3.0.
2251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2254 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2257 esac
2258 done
2260 if test -n "$ac_prev"; then
2261 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2262 as_fn_error $? "missing argument to $ac_option"
2265 if test -n "$ac_unrecognized_opts"; then
2266 case $enable_option_checking in
2267 no) ;;
2268 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2269 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2270 esac
2273 # Check all directory arguments for consistency.
2274 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2275 datadir sysconfdir sharedstatedir localstatedir includedir \
2276 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2277 libdir localedir mandir runstatedir
2279 eval ac_val=\$$ac_var
2280 # Remove trailing slashes.
2281 case $ac_val in
2282 */ )
2283 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2284 eval $ac_var=\$ac_val;;
2285 esac
2286 # Be sure to have absolute directory names.
2287 case $ac_val in
2288 [\\/$]* | ?:[\\/]* ) continue;;
2289 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2290 esac
2291 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2292 done
2294 # There might be people who depend on the old broken behavior: `$host'
2295 # used to hold the argument of --host etc.
2296 # FIXME: To remove some day.
2297 build=$build_alias
2298 host=$host_alias
2299 target=$target_alias
2301 # FIXME: To remove some day.
2302 if test "x$host_alias" != x; then
2303 if test "x$build_alias" = x; then
2304 cross_compiling=maybe
2305 elif test "x$build_alias" != "x$host_alias"; then
2306 cross_compiling=yes
2310 ac_tool_prefix=
2311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2313 test "$silent" = yes && exec 6>/dev/null
2316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2317 ac_ls_di=`ls -di .` &&
2318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2319 as_fn_error $? "working directory cannot be determined"
2320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2321 as_fn_error $? "pwd does not report name of working directory"
2324 # Find the source files, if location was not specified.
2325 if test -z "$srcdir"; then
2326 ac_srcdir_defaulted=yes
2327 # Try the directory containing this script, then the parent directory.
2328 ac_confdir=`$as_dirname -- "$as_myself" ||
2329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2330 X"$as_myself" : 'X\(//\)[^/]' \| \
2331 X"$as_myself" : 'X\(//\)$' \| \
2332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2333 $as_echo X"$as_myself" |
2334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2335 s//\1/
2338 /^X\(\/\/\)[^/].*/{
2339 s//\1/
2342 /^X\(\/\/\)$/{
2343 s//\1/
2346 /^X\(\/\).*/{
2347 s//\1/
2350 s/.*/./; q'`
2351 srcdir=$ac_confdir
2352 if test ! -r "$srcdir/$ac_unique_file"; then
2353 srcdir=..
2355 else
2356 ac_srcdir_defaulted=no
2358 if test ! -r "$srcdir/$ac_unique_file"; then
2359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2360 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2363 ac_abs_confdir=`(
2364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2365 pwd)`
2366 # When building in place, set srcdir=.
2367 if test "$ac_abs_confdir" = "$ac_pwd"; then
2368 srcdir=.
2370 # Remove unnecessary trailing slashes from srcdir.
2371 # Double slashes in file names in object file debugging info
2372 # mess up M-x gdb in Emacs.
2373 case $srcdir in
2374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2375 esac
2376 for ac_var in $ac_precious_vars; do
2377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2378 eval ac_env_${ac_var}_value=\$${ac_var}
2379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2381 done
2384 # Report the --help message.
2386 if test "$ac_init_help" = "long"; then
2387 # Omit some internal or obsolete options to make the list less imposing.
2388 # This message is too long to be a string in the A/UX 3.1 sh.
2389 cat <<_ACEOF
2390 \`configure' configures Wine 3.17 to adapt to many kinds of systems.
2392 Usage: $0 [OPTION]... [VAR=VALUE]...
2394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2395 VAR=VALUE. See below for descriptions of some of the useful variables.
2397 Defaults for the options are specified in brackets.
2399 Configuration:
2400 -h, --help display this help and exit
2401 --help=short display options specific to this package
2402 --help=recursive display the short help of all the included packages
2403 -V, --version display version information and exit
2404 -q, --quiet, --silent do not print \`checking ...' messages
2405 --cache-file=FILE cache test results in FILE [disabled]
2406 -C, --config-cache alias for \`--cache-file=config.cache'
2407 -n, --no-create do not create output files
2408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2410 Installation directories:
2411 --prefix=PREFIX install architecture-independent files in PREFIX
2412 [$ac_default_prefix]
2413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2414 [PREFIX]
2416 By default, \`make install' will install all the files in
2417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2419 for instance \`--prefix=\$HOME'.
2421 For better control, use the options below.
2423 Fine tuning of the installation directories:
2424 --bindir=DIR user executables [EPREFIX/bin]
2425 --sbindir=DIR system admin executables [EPREFIX/sbin]
2426 --libexecdir=DIR program executables [EPREFIX/libexec]
2427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2430 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2431 --libdir=DIR object code libraries [EPREFIX/lib]
2432 --includedir=DIR C header files [PREFIX/include]
2433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2436 --infodir=DIR info documentation [DATAROOTDIR/info]
2437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2438 --mandir=DIR man documentation [DATAROOTDIR/man]
2439 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2440 --htmldir=DIR html documentation [DOCDIR]
2441 --dvidir=DIR dvi documentation [DOCDIR]
2442 --pdfdir=DIR pdf documentation [DOCDIR]
2443 --psdir=DIR ps documentation [DOCDIR]
2444 _ACEOF
2446 cat <<\_ACEOF
2448 X features:
2449 --x-includes=DIR X include files are in DIR
2450 --x-libraries=DIR X library files are in DIR
2452 System types:
2453 --build=BUILD configure for building on BUILD [guessed]
2454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2455 _ACEOF
2458 if test -n "$ac_init_help"; then
2459 case $ac_init_help in
2460 short | recursive ) echo "Configuration of Wine 3.17:";;
2461 esac
2462 cat <<\_ACEOF
2464 Optional Features:
2465 --disable-option-checking ignore unrecognized --enable/--with options
2466 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2467 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2468 --disable-win16 do not include Win16 support
2469 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2470 binaries)
2471 --disable-tests do not build the regression tests
2472 --enable-maintainer-mode
2473 enable maintainer-specific build rules
2474 --disable-largefile omit support for large files
2476 Optional Packages:
2477 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2478 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2479 --without-alsa do not use the Alsa sound support
2480 --without-capi do not use CAPI (ISDN support)
2481 --without-cms do not use CMS (color management support)
2482 --without-coreaudio do not use the CoreAudio sound support
2483 --without-cups do not use CUPS
2484 --without-curses do not use (n)curses
2485 --without-dbus do not use DBus (dynamic device support)
2486 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2487 --without-fontconfig do not use fontconfig
2488 --without-freetype do not use the FreeType library
2489 --without-gettext do not use gettext
2490 --with-gettextpo use the GetTextPO library to rebuild po files
2491 --without-gphoto do not use gphoto (Digital Camera support)
2492 --without-glu do not use the GLU library
2493 --without-gnutls do not use GnuTLS (schannel support)
2494 --without-gsm do not use libgsm (GSM 06.10 codec support)
2495 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2496 --without-gstreamer do not use GStreamer (codecs support)
2497 --without-hal do not use HAL (dynamic device support)
2498 --without-jpeg do not use JPEG
2499 --without-krb5 do not use krb5 (Kerberos)
2500 --without-ldap do not use LDAP
2501 --without-mpg123 do not use the mpg123 library
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-openal do not use OpenAL
2504 --without-opencl do not use OpenCL
2505 --without-opengl do not use OpenGL
2506 --without-osmesa do not use the OSMesa library
2507 --without-oss do not use the OSS sound support
2508 --without-pcap do not use the Packet Capture library
2509 --without-png do not use PNG
2510 --without-pthread do not use the pthread library
2511 --without-pulse do not use PulseAudio sound support
2512 --without-sane do not use SANE (scanner support)
2513 --without-sdl do not use SDL
2514 --without-tiff do not use TIFF
2515 --without-udev do not use udev (plug and play support)
2516 --without-v4l do not use v4l1 (v4l support)
2517 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2518 --without-vulkan do not use Vulkan
2519 --without-xcomposite do not use the Xcomposite extension
2520 --without-xcursor do not use the Xcursor extension
2521 --without-xfixes do not use Xfixes for clipboard change notifications
2522 --without-xinerama do not use Xinerama (multi-monitor support)
2523 --without-xinput do not use the Xinput extension
2524 --without-xinput2 do not use the Xinput 2 extension
2525 --without-xml do not use XML
2526 --without-xrandr do not use Xrandr (resolution changes)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xslt do not use XSLT
2531 --without-xxf86vm do not use XFree video mode extension
2532 --without-zlib do not use Zlib (data compression)
2533 --with-wine-tools=DIR use Wine tools from directory DIR
2534 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2535 --with-x use the X Window System
2537 Some influential environment variables:
2538 CC C compiler command
2539 CFLAGS C compiler flags
2540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2541 nonstandard directory <lib dir>
2542 LIBS libraries to pass to the linker, e.g. -l<library>
2543 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2544 you have headers in a nonstandard directory <include dir>
2545 CXX C++ compiler command
2546 CXXFLAGS C++ compiler flags
2547 CPP C preprocessor
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2550 OBJCPP Objective C preprocessor
2551 XMKMF Path to xmkmf, Makefile generator for X Window System
2552 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2553 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2554 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2555 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2556 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2557 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2558 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2559 HAL_LIBS Linker flags for hal, overriding pkg-config
2560 GNUTLS_CFLAGS
2561 C compiler flags for gnutls, overriding pkg-config
2562 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2563 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2564 SANE_LIBS Linker flags for libsane, overriding pkg-config
2565 GPHOTO2_CFLAGS
2566 C compiler flags for libgphoto2, overriding pkg-config
2567 GPHOTO2_LIBS
2568 Linker flags for libgphoto2, overriding pkg-config
2569 GPHOTO2_PORT_CFLAGS
2570 C compiler flags for libgphoto2_port, overriding pkg-config
2571 GPHOTO2_PORT_LIBS
2572 Linker flags for libgphoto2_port, overriding pkg-config
2573 LCMS2_CFLAGS
2574 C compiler flags for lcms2, overriding pkg-config
2575 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2576 FREETYPE_CFLAGS
2577 C compiler flags for freetype2, overriding pkg-config
2578 FREETYPE_LIBS
2579 Linker flags for freetype2, overriding pkg-config
2580 PULSE_CFLAGS
2581 C compiler flags for libpulse, overriding pkg-config
2582 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2583 GSTREAMER_CFLAGS
2584 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2585 gstreamer-audio-1.0, overriding pkg-config
2586 GSTREAMER_LIBS
2587 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2588 gstreamer-audio-1.0, overriding pkg-config
2589 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2590 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2591 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2592 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2593 CAPI20_CFLAGS
2594 C compiler flags for capi20, overriding pkg-config
2595 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2596 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2597 CUPS_LIBS Linker flags for cups, overriding pkg-config
2598 FONTCONFIG_CFLAGS
2599 C compiler flags for fontconfig, overriding pkg-config
2600 FONTCONFIG_LIBS
2601 Linker flags for fontconfig, overriding pkg-config
2602 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2603 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2604 GSSAPI_CFLAGS
2605 C compiler flags for krb5-gssapi, overriding pkg-config
2606 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2607 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2608 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2609 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2610 PNG_LIBS Linker flags for libpng, overriding pkg-config
2611 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2612 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2613 MPG123_CFLAGS
2614 C compiler flags for libmpg123, overriding pkg-config
2615 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2616 NETAPI_CFLAGS
2617 C compiler flags for netapi, overriding pkg-config
2618 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2619 VKD3D_CFLAGS
2620 C compiler flags for libvkd3d, overriding pkg-config
2621 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2622 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2623 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2625 Use these variables to override the choices made by `configure' or to help
2626 it to find libraries and programs with nonstandard names/locations.
2628 Report bugs to <wine-devel@winehq.org>.
2629 Wine home page: <https://www.winehq.org>.
2630 _ACEOF
2631 ac_status=$?
2634 if test "$ac_init_help" = "recursive"; then
2635 # If there are subdirs, report their specific --help.
2636 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2637 test -d "$ac_dir" ||
2638 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2639 continue
2640 ac_builddir=.
2642 case "$ac_dir" in
2643 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2645 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2646 # A ".." for each directory in $ac_dir_suffix.
2647 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2648 case $ac_top_builddir_sub in
2649 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2650 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2651 esac ;;
2652 esac
2653 ac_abs_top_builddir=$ac_pwd
2654 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2655 # for backward compatibility:
2656 ac_top_builddir=$ac_top_build_prefix
2658 case $srcdir in
2659 .) # We are building in place.
2660 ac_srcdir=.
2661 ac_top_srcdir=$ac_top_builddir_sub
2662 ac_abs_top_srcdir=$ac_pwd ;;
2663 [\\/]* | ?:[\\/]* ) # Absolute name.
2664 ac_srcdir=$srcdir$ac_dir_suffix;
2665 ac_top_srcdir=$srcdir
2666 ac_abs_top_srcdir=$srcdir ;;
2667 *) # Relative name.
2668 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2669 ac_top_srcdir=$ac_top_build_prefix$srcdir
2670 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2671 esac
2672 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2674 cd "$ac_dir" || { ac_status=$?; continue; }
2675 # Check for guested configure.
2676 if test -f "$ac_srcdir/configure.gnu"; then
2677 echo &&
2678 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2679 elif test -f "$ac_srcdir/configure"; then
2680 echo &&
2681 $SHELL "$ac_srcdir/configure" --help=recursive
2682 else
2683 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2684 fi || ac_status=$?
2685 cd "$ac_pwd" || { ac_status=$?; break; }
2686 done
2689 test -n "$ac_init_help" && exit $ac_status
2690 if $ac_init_version; then
2691 cat <<\_ACEOF
2692 Wine configure 3.17
2693 generated by GNU Autoconf 2.69
2695 Copyright (C) 2012 Free Software Foundation, Inc.
2696 This configure script is free software; the Free Software Foundation
2697 gives unlimited permission to copy, distribute and modify it.
2698 _ACEOF
2699 exit
2702 ## ------------------------ ##
2703 ## Autoconf initialization. ##
2704 ## ------------------------ ##
2706 # ac_fn_c_try_compile LINENO
2707 # --------------------------
2708 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_c_try_compile ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 rm -f conftest.$ac_objext
2713 if { { ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720 (eval "$ac_compile") 2>conftest.err
2721 ac_status=$?
2722 if test -s conftest.err; then
2723 grep -v '^ *+' conftest.err >conftest.er1
2724 cat conftest.er1 >&5
2725 mv -f conftest.er1 conftest.err
2727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2728 test $ac_status = 0; } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then :
2732 ac_retval=0
2733 else
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 ac_retval=1
2739 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2740 as_fn_set_status $ac_retval
2742 } # ac_fn_c_try_compile
2744 # ac_fn_cxx_try_compile LINENO
2745 # ----------------------------
2746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2747 ac_fn_cxx_try_compile ()
2749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2750 rm -f conftest.$ac_objext
2751 if { { ac_try="$ac_compile"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757 $as_echo "$ac_try_echo"; } >&5
2758 (eval "$ac_compile") 2>conftest.err
2759 ac_status=$?
2760 if test -s conftest.err; then
2761 grep -v '^ *+' conftest.err >conftest.er1
2762 cat conftest.er1 >&5
2763 mv -f conftest.er1 conftest.err
2765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2766 test $ac_status = 0; } && {
2767 test -z "$ac_cxx_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext; then :
2770 ac_retval=0
2771 else
2772 $as_echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_retval=1
2777 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 as_fn_set_status $ac_retval
2780 } # ac_fn_cxx_try_compile
2782 # ac_fn_c_try_link LINENO
2783 # -----------------------
2784 # Try to link conftest.$ac_ext, and return whether this succeeded.
2785 ac_fn_c_try_link ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 rm -f conftest.$ac_objext conftest$ac_exeext
2789 if { { ac_try="$ac_link"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>conftest.err
2797 ac_status=$?
2798 if test -s conftest.err; then
2799 grep -v '^ *+' conftest.err >conftest.er1
2800 cat conftest.er1 >&5
2801 mv -f conftest.er1 conftest.err
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest$ac_exeext && {
2808 test "$cross_compiling" = yes ||
2809 test -x conftest$ac_exeext
2810 }; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=1
2818 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2819 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2820 # interfere with the next link command; also delete a directory that is
2821 # left behind by Apple's compiler. We do this before executing the actions.
2822 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 as_fn_set_status $ac_retval
2826 } # ac_fn_c_try_link
2828 # ac_fn_c_try_cpp LINENO
2829 # ----------------------
2830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2831 ac_fn_c_try_cpp ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 if { { ac_try="$ac_cpp conftest.$ac_ext"
2835 case "(($ac_try" in
2836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2838 esac
2839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840 $as_echo "$ac_try_echo"; } >&5
2841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2842 ac_status=$?
2843 if test -s conftest.err; then
2844 grep -v '^ *+' conftest.err >conftest.er1
2845 cat conftest.er1 >&5
2846 mv -f conftest.er1 conftest.err
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; } > conftest.i && {
2850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2851 test ! -s conftest.err
2852 }; then :
2853 ac_retval=0
2854 else
2855 $as_echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2858 ac_retval=1
2860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2861 as_fn_set_status $ac_retval
2863 } # ac_fn_c_try_cpp
2865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2866 # -------------------------------------------------------
2867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2868 # the include files in INCLUDES and setting the cache variable VAR
2869 # accordingly.
2870 ac_fn_c_check_header_mongrel ()
2872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2873 if eval \${$3+:} false; then :
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2875 $as_echo_n "checking for $2... " >&6; }
2876 if eval \${$3+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 eval ac_res=\$$3
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2881 $as_echo "$ac_res" >&6; }
2882 else
2883 # Is the header compilable?
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2885 $as_echo_n "checking $2 usability... " >&6; }
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2889 #include <$2>
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_header_compiler=yes
2893 else
2894 ac_header_compiler=no
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2898 $as_echo "$ac_header_compiler" >&6; }
2900 # Is the header present?
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2902 $as_echo_n "checking $2 presence... " >&6; }
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905 #include <$2>
2906 _ACEOF
2907 if ac_fn_c_try_cpp "$LINENO"; then :
2908 ac_header_preproc=yes
2909 else
2910 ac_header_preproc=no
2912 rm -f conftest.err conftest.i conftest.$ac_ext
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2914 $as_echo "$ac_header_preproc" >&6; }
2916 # So? What about this header?
2917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2918 yes:no: )
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2924 no:yes:* )
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2928 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2932 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2935 ( $as_echo "## ------------------------------------ ##
2936 ## Report this to wine-devel@winehq.org ##
2937 ## ------------------------------------ ##"
2938 ) | sed "s/^/$as_me: WARNING: /" >&2
2940 esac
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2942 $as_echo_n "checking for $2... " >&6; }
2943 if eval \${$3+:} false; then :
2944 $as_echo_n "(cached) " >&6
2945 else
2946 eval "$3=\$ac_header_compiler"
2948 eval ac_res=\$$3
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2950 $as_echo "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_header_mongrel
2956 # ac_fn_c_try_run LINENO
2957 # ----------------------
2958 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2959 # that executables *can* be run.
2960 ac_fn_c_try_run ()
2962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2963 if { { ac_try="$ac_link"
2964 case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2967 esac
2968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2969 $as_echo "$ac_try_echo"; } >&5
2970 (eval "$ac_link") 2>&5
2971 ac_status=$?
2972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2974 { { case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2977 esac
2978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2979 $as_echo "$ac_try_echo"; } >&5
2980 (eval "$ac_try") 2>&5
2981 ac_status=$?
2982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983 test $ac_status = 0; }; }; then :
2984 ac_retval=0
2985 else
2986 $as_echo "$as_me: program exited with status $ac_status" >&5
2987 $as_echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 ac_retval=$ac_status
2992 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2994 as_fn_set_status $ac_retval
2996 } # ac_fn_c_try_run
2998 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2999 # -------------------------------------------------------
3000 # Tests whether HEADER exists and can be compiled using the include files in
3001 # INCLUDES, setting the cache variable VAR accordingly.
3002 ac_fn_c_check_header_compile ()
3004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3006 $as_echo_n "checking for $2... " >&6; }
3007 if eval \${$3+:} false; then :
3008 $as_echo_n "(cached) " >&6
3009 else
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3013 #include <$2>
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 eval "$3=yes"
3017 else
3018 eval "$3=no"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 eval ac_res=\$$3
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3024 $as_echo "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_header_compile
3029 # ac_fn_objc_try_compile LINENO
3030 # -----------------------------
3031 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3032 ac_fn_objc_try_compile ()
3034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3035 rm -f conftest.$ac_objext
3036 if { { ac_try="$ac_compile"
3037 case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3040 esac
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_compile") 2>conftest.err
3044 ac_status=$?
3045 if test -s conftest.err; then
3046 grep -v '^ *+' conftest.err >conftest.er1
3047 cat conftest.er1 >&5
3048 mv -f conftest.er1 conftest.err
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; } && {
3052 test -z "$ac_objc_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then :
3055 ac_retval=0
3056 else
3057 $as_echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 ac_retval=1
3062 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3063 as_fn_set_status $ac_retval
3065 } # ac_fn_objc_try_compile
3067 # ac_fn_objc_try_cpp LINENO
3068 # -------------------------
3069 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3070 ac_fn_objc_try_cpp ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 if { { ac_try="$ac_cpp conftest.$ac_ext"
3074 case "(($ac_try" in
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3077 esac
3078 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3081 ac_status=$?
3082 if test -s conftest.err; then
3083 grep -v '^ *+' conftest.err >conftest.er1
3084 cat conftest.er1 >&5
3085 mv -f conftest.er1 conftest.err
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; } > conftest.i && {
3089 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3090 test ! -s conftest.err
3091 }; then :
3092 ac_retval=0
3093 else
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.$ac_ext >&5
3097 ac_retval=1
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 as_fn_set_status $ac_retval
3102 } # ac_fn_objc_try_cpp
3104 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3105 # ----------------------------------------------------------
3106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3107 # the include files in INCLUDES and setting the cache variable VAR
3108 # accordingly.
3109 ac_fn_objc_check_header_mongrel ()
3111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3112 if eval \${$3+:} false; then :
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \${$3+:} false; then :
3116 $as_echo_n "(cached) " >&6
3118 eval ac_res=\$$3
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 else
3122 # Is the header compilable?
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3124 $as_echo_n "checking $2 usability... " >&6; }
3125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3128 #include <$2>
3129 _ACEOF
3130 if ac_fn_objc_try_compile "$LINENO"; then :
3131 ac_header_compiler=yes
3132 else
3133 ac_header_compiler=no
3135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3137 $as_echo "$ac_header_compiler" >&6; }
3139 # Is the header present?
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3141 $as_echo_n "checking $2 presence... " >&6; }
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3144 #include <$2>
3145 _ACEOF
3146 if ac_fn_objc_try_cpp "$LINENO"; then :
3147 ac_header_preproc=yes
3148 else
3149 ac_header_preproc=no
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3153 $as_echo "$ac_header_preproc" >&6; }
3155 # So? What about this header?
3156 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3157 yes:no: )
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3163 no:yes:* )
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3167 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3171 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3174 ( $as_echo "## ------------------------------------ ##
3175 ## Report this to wine-devel@winehq.org ##
3176 ## ------------------------------------ ##"
3177 ) | sed "s/^/$as_me: WARNING: /" >&2
3179 esac
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3181 $as_echo_n "checking for $2... " >&6; }
3182 if eval \${$3+:} false; then :
3183 $as_echo_n "(cached) " >&6
3184 else
3185 eval "$3=\$ac_header_compiler"
3187 eval ac_res=\$$3
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193 } # ac_fn_objc_check_header_mongrel
3195 # ac_fn_c_check_func LINENO FUNC VAR
3196 # ----------------------------------
3197 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3198 ac_fn_c_check_func ()
3200 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3202 $as_echo_n "checking for $2... " >&6; }
3203 if eval \${$3+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3208 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3210 #define $2 innocuous_$2
3212 /* System header to define __stub macros and hopefully few prototypes,
3213 which can conflict with char $2 (); below.
3214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 <limits.h> exists even on freestanding compilers. */
3217 #ifdef __STDC__
3218 # include <limits.h>
3219 #else
3220 # include <assert.h>
3221 #endif
3223 #undef $2
3225 /* Override any GCC internal prototype to avoid an error.
3226 Use char because int might match the return type of a GCC
3227 builtin and then its argument prototype would still apply. */
3228 #ifdef __cplusplus
3229 extern "C"
3230 #endif
3231 char $2 ();
3232 /* The GNU C library defines this for functions which it implements
3233 to always fail with ENOSYS. Some functions are actually named
3234 something starting with __ and the normal name is an alias. */
3235 #if defined __stub_$2 || defined __stub___$2
3236 choke me
3237 #endif
3240 main ()
3242 return $2 ();
3244 return 0;
3246 _ACEOF
3247 if ac_fn_c_try_link "$LINENO"; then :
3248 eval "$3=yes"
3249 else
3250 eval "$3=no"
3252 rm -f core conftest.err conftest.$ac_objext \
3253 conftest$ac_exeext conftest.$ac_ext
3255 eval ac_res=\$$3
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 } # ac_fn_c_check_func
3262 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3263 # ----------------------------------------------------
3264 # Tries to find if the field MEMBER exists in type AGGR, after including
3265 # INCLUDES, setting cache variable VAR accordingly.
3266 ac_fn_c_check_member ()
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.$3" >&5
3270 $as_echo_n "checking for $2.$3... " >&6; }
3271 if eval \${$4+:} false; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3278 main ()
3280 static $2 ac_aggr;
3281 if (ac_aggr.$3)
3282 return 0;
3284 return 0;
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"; then :
3288 eval "$4=yes"
3289 else
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3294 main ()
3296 static $2 ac_aggr;
3297 if (sizeof ac_aggr.$3)
3298 return 0;
3300 return 0;
3302 _ACEOF
3303 if ac_fn_c_try_compile "$LINENO"; then :
3304 eval "$4=yes"
3305 else
3306 eval "$4=no"
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3312 eval ac_res=\$$4
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3314 $as_echo "$ac_res" >&6; }
3315 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3317 } # ac_fn_c_check_member
3319 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3320 # -------------------------------------------
3321 # Tests whether TYPE exists after having included INCLUDES, setting cache
3322 # variable VAR accordingly.
3323 ac_fn_c_check_type ()
3325 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3327 $as_echo_n "checking for $2... " >&6; }
3328 if eval \${$3+:} false; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 eval "$3=no"
3332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3336 main ()
3338 if (sizeof ($2))
3339 return 0;
3341 return 0;
3343 _ACEOF
3344 if ac_fn_c_try_compile "$LINENO"; then :
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3349 main ()
3351 if (sizeof (($2)))
3352 return 0;
3354 return 0;
3356 _ACEOF
3357 if ac_fn_c_try_compile "$LINENO"; then :
3359 else
3360 eval "$3=yes"
3362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 eval ac_res=\$$3
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3368 $as_echo "$ac_res" >&6; }
3369 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3371 } # ac_fn_c_check_type
3372 cat >config.log <<_ACEOF
3373 This file contains any messages produced by compilers while
3374 running configure, to aid debugging if configure makes a mistake.
3376 It was created by Wine $as_me 3.17, which was
3377 generated by GNU Autoconf 2.69. Invocation command line was
3379 $ $0 $@
3381 _ACEOF
3382 exec 5>>config.log
3384 cat <<_ASUNAME
3385 ## --------- ##
3386 ## Platform. ##
3387 ## --------- ##
3389 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3390 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3391 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3392 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3393 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3395 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3396 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3398 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3399 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3400 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3401 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3402 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3403 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3404 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3406 _ASUNAME
3408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 for as_dir in $PATH
3411 IFS=$as_save_IFS
3412 test -z "$as_dir" && as_dir=.
3413 $as_echo "PATH: $as_dir"
3414 done
3415 IFS=$as_save_IFS
3417 } >&5
3419 cat >&5 <<_ACEOF
3422 ## ----------- ##
3423 ## Core tests. ##
3424 ## ----------- ##
3426 _ACEOF
3429 # Keep a trace of the command line.
3430 # Strip out --no-create and --no-recursion so they do not pile up.
3431 # Strip out --silent because we don't want to record it for future runs.
3432 # Also quote any args containing shell meta-characters.
3433 # Make two passes to allow for proper duplicate-argument suppression.
3434 ac_configure_args=
3435 ac_configure_args0=
3436 ac_configure_args1=
3437 ac_must_keep_next=false
3438 for ac_pass in 1 2
3440 for ac_arg
3442 case $ac_arg in
3443 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3444 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3445 | -silent | --silent | --silen | --sile | --sil)
3446 continue ;;
3447 *\'*)
3448 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3449 esac
3450 case $ac_pass in
3451 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3453 as_fn_append ac_configure_args1 " '$ac_arg'"
3454 if test $ac_must_keep_next = true; then
3455 ac_must_keep_next=false # Got value, back to normal.
3456 else
3457 case $ac_arg in
3458 *=* | --config-cache | -C | -disable-* | --disable-* \
3459 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3460 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3461 | -with-* | --with-* | -without-* | --without-* | --x)
3462 case "$ac_configure_args0 " in
3463 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3464 esac
3466 -* ) ac_must_keep_next=true ;;
3467 esac
3469 as_fn_append ac_configure_args " '$ac_arg'"
3471 esac
3472 done
3473 done
3474 { ac_configure_args0=; unset ac_configure_args0;}
3475 { ac_configure_args1=; unset ac_configure_args1;}
3477 # When interrupted or exit'd, cleanup temporary files, and complete
3478 # config.log. We remove comments because anyway the quotes in there
3479 # would cause problems or look ugly.
3480 # WARNING: Use '\'' to represent an apostrophe within the trap.
3481 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3482 trap 'exit_status=$?
3483 # Save into config.log some information that might help in debugging.
3485 echo
3487 $as_echo "## ---------------- ##
3488 ## Cache variables. ##
3489 ## ---------------- ##"
3490 echo
3491 # The following way of writing the cache mishandles newlines in values,
3493 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3494 eval ac_val=\$$ac_var
3495 case $ac_val in #(
3496 *${as_nl}*)
3497 case $ac_var in #(
3498 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3499 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3500 esac
3501 case $ac_var in #(
3502 _ | IFS | as_nl) ;; #(
3503 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3504 *) { eval $ac_var=; unset $ac_var;} ;;
3505 esac ;;
3506 esac
3507 done
3508 (set) 2>&1 |
3509 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3510 *${as_nl}ac_space=\ *)
3511 sed -n \
3512 "s/'\''/'\''\\\\'\'''\''/g;
3513 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3514 ;; #(
3516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3518 esac |
3519 sort
3521 echo
3523 $as_echo "## ----------------- ##
3524 ## Output variables. ##
3525 ## ----------------- ##"
3526 echo
3527 for ac_var in $ac_subst_vars
3529 eval ac_val=\$$ac_var
3530 case $ac_val in
3531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3532 esac
3533 $as_echo "$ac_var='\''$ac_val'\''"
3534 done | sort
3535 echo
3537 if test -n "$ac_subst_files"; then
3538 $as_echo "## ------------------- ##
3539 ## File substitutions. ##
3540 ## ------------------- ##"
3541 echo
3542 for ac_var in $ac_subst_files
3544 eval ac_val=\$$ac_var
3545 case $ac_val in
3546 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3547 esac
3548 $as_echo "$ac_var='\''$ac_val'\''"
3549 done | sort
3550 echo
3553 if test -s confdefs.h; then
3554 $as_echo "## ----------- ##
3555 ## confdefs.h. ##
3556 ## ----------- ##"
3557 echo
3558 cat confdefs.h
3559 echo
3561 test "$ac_signal" != 0 &&
3562 $as_echo "$as_me: caught signal $ac_signal"
3563 $as_echo "$as_me: exit $exit_status"
3564 } >&5
3565 rm -f core *.core core.conftest.* &&
3566 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3567 exit $exit_status
3569 for ac_signal in 1 2 13 15; do
3570 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3571 done
3572 ac_signal=0
3574 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3575 rm -f -r conftest* confdefs.h
3577 $as_echo "/* confdefs.h */" > confdefs.h
3579 # Predefined preprocessor variables.
3581 cat >>confdefs.h <<_ACEOF
3582 #define PACKAGE_NAME "$PACKAGE_NAME"
3583 _ACEOF
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3587 _ACEOF
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3591 _ACEOF
3593 cat >>confdefs.h <<_ACEOF
3594 #define PACKAGE_STRING "$PACKAGE_STRING"
3595 _ACEOF
3597 cat >>confdefs.h <<_ACEOF
3598 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3599 _ACEOF
3601 cat >>confdefs.h <<_ACEOF
3602 #define PACKAGE_URL "$PACKAGE_URL"
3603 _ACEOF
3606 # Let the site file select an alternate cache file if it wants to.
3607 # Prefer an explicitly selected file to automatically selected ones.
3608 ac_site_file1=NONE
3609 ac_site_file2=NONE
3610 if test -n "$CONFIG_SITE"; then
3611 # We do not want a PATH search for config.site.
3612 case $CONFIG_SITE in #((
3613 -*) ac_site_file1=./$CONFIG_SITE;;
3614 */*) ac_site_file1=$CONFIG_SITE;;
3615 *) ac_site_file1=./$CONFIG_SITE;;
3616 esac
3617 elif test "x$prefix" != xNONE; then
3618 ac_site_file1=$prefix/share/config.site
3619 ac_site_file2=$prefix/etc/config.site
3620 else
3621 ac_site_file1=$ac_default_prefix/share/config.site
3622 ac_site_file2=$ac_default_prefix/etc/config.site
3624 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3626 test "x$ac_site_file" = xNONE && continue
3627 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3629 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3630 sed 's/^/| /' "$ac_site_file" >&5
3631 . "$ac_site_file" \
3632 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "failed to load site script $ac_site_file
3635 See \`config.log' for more details" "$LINENO" 5; }
3637 done
3639 if test -r "$cache_file"; then
3640 # Some versions of bash will fail to source /dev/null (special files
3641 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3642 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3644 $as_echo "$as_me: loading cache $cache_file" >&6;}
3645 case $cache_file in
3646 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3647 *) . "./$cache_file";;
3648 esac
3650 else
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3652 $as_echo "$as_me: creating cache $cache_file" >&6;}
3653 >$cache_file
3656 # Check that the precious variables saved in the cache have kept the same
3657 # value.
3658 ac_cache_corrupted=false
3659 for ac_var in $ac_precious_vars; do
3660 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3661 eval ac_new_set=\$ac_env_${ac_var}_set
3662 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3663 eval ac_new_val=\$ac_env_${ac_var}_value
3664 case $ac_old_set,$ac_new_set in
3665 set,)
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3667 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3668 ac_cache_corrupted=: ;;
3669 ,set)
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3671 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3672 ac_cache_corrupted=: ;;
3673 ,);;
3675 if test "x$ac_old_val" != "x$ac_new_val"; then
3676 # differences in whitespace do not lead to failure.
3677 ac_old_val_w=`echo x $ac_old_val`
3678 ac_new_val_w=`echo x $ac_new_val`
3679 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3681 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3682 ac_cache_corrupted=:
3683 else
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3685 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3686 eval $ac_var=\$ac_old_val
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3689 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3691 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3692 fi;;
3693 esac
3694 # Pass precious variables to config.status.
3695 if test "$ac_new_set" = set; then
3696 case $ac_new_val in
3697 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3698 *) ac_arg=$ac_var=$ac_new_val ;;
3699 esac
3700 case " $ac_configure_args " in
3701 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3702 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3703 esac
3705 done
3706 if $ac_cache_corrupted; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3710 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3711 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3713 ## -------------------- ##
3714 ## Main body of script. ##
3715 ## -------------------- ##
3717 ac_ext=c
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3725 ac_config_headers="$ac_config_headers include/config.h"
3727 ac_aux_dir=
3728 for ac_dir in tools "$srcdir"/tools; do
3729 if test -f "$ac_dir/install-sh"; then
3730 ac_aux_dir=$ac_dir
3731 ac_install_sh="$ac_aux_dir/install-sh -c"
3732 break
3733 elif test -f "$ac_dir/install.sh"; then
3734 ac_aux_dir=$ac_dir
3735 ac_install_sh="$ac_aux_dir/install.sh -c"
3736 break
3737 elif test -f "$ac_dir/shtool"; then
3738 ac_aux_dir=$ac_dir
3739 ac_install_sh="$ac_aux_dir/shtool install -c"
3740 break
3742 done
3743 if test -z "$ac_aux_dir"; then
3744 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3747 # These three variables are undocumented and unsupported,
3748 # and are intended to be withdrawn in a future Autoconf release.
3749 # They can cause serious problems if a builder's source tree is in a directory
3750 # whose full name contains unusual characters.
3751 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3752 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3753 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3757 libwine_version="1.0"
3761 # Check whether --enable-win16 was given.
3762 if test "${enable_win16+set}" = set; then :
3763 enableval=$enable_win16;
3766 # Check whether --enable-win64 was given.
3767 if test "${enable_win64+set}" = set; then :
3768 enableval=$enable_win64;
3771 # Check whether --enable-tests was given.
3772 if test "${enable_tests+set}" = set; then :
3773 enableval=$enable_tests;
3776 # Check whether --enable-maintainer-mode was given.
3777 if test "${enable_maintainer_mode+set}" = set; then :
3778 enableval=$enable_maintainer_mode;
3783 # Check whether --with-alsa was given.
3784 if test "${with_alsa+set}" = set; then :
3785 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3789 # Check whether --with-capi was given.
3790 if test "${with_capi+set}" = set; then :
3791 withval=$with_capi;
3795 # Check whether --with-cms was given.
3796 if test "${with_cms+set}" = set; then :
3797 withval=$with_cms;
3801 # Check whether --with-coreaudio was given.
3802 if test "${with_coreaudio+set}" = set; then :
3803 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3807 # Check whether --with-cups was given.
3808 if test "${with_cups+set}" = set; then :
3809 withval=$with_cups;
3813 # Check whether --with-curses was given.
3814 if test "${with_curses+set}" = set; then :
3815 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3819 # Check whether --with-dbus was given.
3820 if test "${with_dbus+set}" = set; then :
3821 withval=$with_dbus;
3825 # Check whether --with-float-abi was given.
3826 if test "${with_float_abi+set}" = set; then :
3827 withval=$with_float_abi;
3831 # Check whether --with-fontconfig was given.
3832 if test "${with_fontconfig+set}" = set; then :
3833 withval=$with_fontconfig;
3837 # Check whether --with-freetype was given.
3838 if test "${with_freetype+set}" = set; then :
3839 withval=$with_freetype;
3843 # Check whether --with-gettext was given.
3844 if test "${with_gettext+set}" = set; then :
3845 withval=$with_gettext;
3849 # Check whether --with-gettextpo was given.
3850 if test "${with_gettextpo+set}" = set; then :
3851 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3855 # Check whether --with-gphoto was given.
3856 if test "${with_gphoto+set}" = set; then :
3857 withval=$with_gphoto;
3861 # Check whether --with-glu was given.
3862 if test "${with_glu+set}" = set; then :
3863 withval=$with_glu;
3867 # Check whether --with-gnutls was given.
3868 if test "${with_gnutls+set}" = set; then :
3869 withval=$with_gnutls;
3873 # Check whether --with-gsm was given.
3874 if test "${with_gsm+set}" = set; then :
3875 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3879 # Check whether --with-gssapi was given.
3880 if test "${with_gssapi+set}" = set; then :
3881 withval=$with_gssapi;
3885 # Check whether --with-gstreamer was given.
3886 if test "${with_gstreamer+set}" = set; then :
3887 withval=$with_gstreamer;
3891 # Check whether --with-hal was given.
3892 if test "${with_hal+set}" = set; then :
3893 withval=$with_hal;
3897 # Check whether --with-jpeg was given.
3898 if test "${with_jpeg+set}" = set; then :
3899 withval=$with_jpeg;
3903 # Check whether --with-krb5 was given.
3904 if test "${with_krb5+set}" = set; then :
3905 withval=$with_krb5;
3909 # Check whether --with-ldap was given.
3910 if test "${with_ldap+set}" = set; then :
3911 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3915 # Check whether --with-mpg123 was given.
3916 if test "${with_mpg123+set}" = set; then :
3917 withval=$with_mpg123;
3921 # Check whether --with-netapi was given.
3922 if test "${with_netapi+set}" = set; then :
3923 withval=$with_netapi;
3927 # Check whether --with-openal was given.
3928 if test "${with_openal+set}" = set; then :
3929 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3933 # Check whether --with-opencl was given.
3934 if test "${with_opencl+set}" = set; then :
3935 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3939 # Check whether --with-opengl was given.
3940 if test "${with_opengl+set}" = set; then :
3941 withval=$with_opengl;
3945 # Check whether --with-osmesa was given.
3946 if test "${with_osmesa+set}" = set; then :
3947 withval=$with_osmesa;
3951 # Check whether --with-oss was given.
3952 if test "${with_oss+set}" = set; then :
3953 withval=$with_oss;
3957 # Check whether --with-pcap was given.
3958 if test "${with_pcap+set}" = set; then :
3959 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3963 # Check whether --with-png was given.
3964 if test "${with_png+set}" = set; then :
3965 withval=$with_png;
3969 # Check whether --with-pthread was given.
3970 if test "${with_pthread+set}" = set; then :
3971 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3975 # Check whether --with-pulse was given.
3976 if test "${with_pulse+set}" = set; then :
3977 withval=$with_pulse;
3981 # Check whether --with-sane was given.
3982 if test "${with_sane+set}" = set; then :
3983 withval=$with_sane;
3987 # Check whether --with-sdl was given.
3988 if test "${with_sdl+set}" = set; then :
3989 withval=$with_sdl;
3993 # Check whether --with-tiff was given.
3994 if test "${with_tiff+set}" = set; then :
3995 withval=$with_tiff;
3999 # Check whether --with-udev was given.
4000 if test "${with_udev+set}" = set; then :
4001 withval=$with_udev;
4005 # Check whether --with-v4l was given.
4006 if test "${with_v4l+set}" = set; then :
4007 withval=$with_v4l;
4011 # Check whether --with-vkd3d was given.
4012 if test "${with_vkd3d+set}" = set; then :
4013 withval=$with_vkd3d;
4017 # Check whether --with-vulkan was given.
4018 if test "${with_vulkan+set}" = set; then :
4019 withval=$with_vulkan;
4023 # Check whether --with-xcomposite was given.
4024 if test "${with_xcomposite+set}" = set; then :
4025 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4029 # Check whether --with-xcursor was given.
4030 if test "${with_xcursor+set}" = set; then :
4031 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4035 # Check whether --with-xfixes was given.
4036 if test "${with_xfixes+set}" = set; then :
4037 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4041 # Check whether --with-xinerama was given.
4042 if test "${with_xinerama+set}" = set; then :
4043 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4047 # Check whether --with-xinput was given.
4048 if test "${with_xinput+set}" = set; then :
4049 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4053 # Check whether --with-xinput2 was given.
4054 if test "${with_xinput2+set}" = set; then :
4055 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4059 # Check whether --with-xml was given.
4060 if test "${with_xml+set}" = set; then :
4061 withval=$with_xml;
4065 # Check whether --with-xrandr was given.
4066 if test "${with_xrandr+set}" = set; then :
4067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4071 # Check whether --with-xrender was given.
4072 if test "${with_xrender+set}" = set; then :
4073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4077 # Check whether --with-xshape was given.
4078 if test "${with_xshape+set}" = set; then :
4079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4083 # Check whether --with-xshm was given.
4084 if test "${with_xshm+set}" = set; then :
4085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4089 # Check whether --with-xslt was given.
4090 if test "${with_xslt+set}" = set; then :
4091 withval=$with_xslt;
4095 # Check whether --with-xxf86vm was given.
4096 if test "${with_xxf86vm+set}" = set; then :
4097 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
4101 # Check whether --with-zlib was given.
4102 if test "${with_zlib+set}" = set; then :
4103 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
4108 # Check whether --with-wine-tools was given.
4109 if test "${with_wine_tools+set}" = set; then :
4110 withval=$with_wine_tools;
4114 # Check whether --with-wine64 was given.
4115 if test "${with_wine64+set}" = set; then :
4116 withval=$with_wine64;
4120 # Make sure we can run config.sub.
4121 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4122 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4125 $as_echo_n "checking build system type... " >&6; }
4126 if ${ac_cv_build+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 ac_build_alias=$build_alias
4130 test "x$ac_build_alias" = x &&
4131 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4132 test "x$ac_build_alias" = x &&
4133 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4135 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4139 $as_echo "$ac_cv_build" >&6; }
4140 case $ac_cv_build in
4141 *-*-*) ;;
4142 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4143 esac
4144 build=$ac_cv_build
4145 ac_save_IFS=$IFS; IFS='-'
4146 set x $ac_cv_build
4147 shift
4148 build_cpu=$1
4149 build_vendor=$2
4150 shift; shift
4151 # Remember, the first character of IFS is used to create $*,
4152 # except with old shells:
4153 build_os=$*
4154 IFS=$ac_save_IFS
4155 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4159 $as_echo_n "checking host system type... " >&6; }
4160 if ${ac_cv_host+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 if test "x$host_alias" = x; then
4164 ac_cv_host=$ac_cv_build
4165 else
4166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4172 $as_echo "$ac_cv_host" >&6; }
4173 case $ac_cv_host in
4174 *-*-*) ;;
4175 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4176 esac
4177 host=$ac_cv_host
4178 ac_save_IFS=$IFS; IFS='-'
4179 set x $ac_cv_host
4180 shift
4181 host_cpu=$1
4182 host_vendor=$2
4183 shift; shift
4184 # Remember, the first character of IFS is used to create $*,
4185 # except with old shells:
4186 host_os=$*
4187 IFS=$ac_save_IFS
4188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4192 case "$srcdir" in
4193 .) ;;
4194 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4195 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4196 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4197 fi ;;
4198 esac
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4202 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4203 set x ${MAKE-make}
4204 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4205 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4206 $as_echo_n "(cached) " >&6
4207 else
4208 cat >conftest.make <<\_ACEOF
4209 SHELL = /bin/sh
4210 all:
4211 @echo '@@@%%%=$(MAKE)=@@@%%%'
4212 _ACEOF
4213 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4214 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4215 *@@@%%%=?*=@@@%%%*)
4216 eval ac_cv_prog_make_${ac_make}_set=yes;;
4218 eval ac_cv_prog_make_${ac_make}_set=no;;
4219 esac
4220 rm -f conftest.make
4222 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4224 $as_echo "yes" >&6; }
4225 SET_MAKE=
4226 else
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4229 SET_MAKE="MAKE=${MAKE-make}"
4232 ac_ext=c
4233 ac_cpp='$CPP $CPPFLAGS'
4234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237 if test -n "$ac_tool_prefix"; then
4238 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4239 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241 $as_echo_n "checking for $ac_word... " >&6; }
4242 if ${ac_cv_prog_CC+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 if test -n "$CC"; then
4246 ac_cv_prog_CC="$CC" # Let the user override the test.
4247 else
4248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249 for as_dir in $PATH
4251 IFS=$as_save_IFS
4252 test -z "$as_dir" && as_dir=.
4253 for ac_exec_ext in '' $ac_executable_extensions; do
4254 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4255 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 break 2
4259 done
4260 done
4261 IFS=$as_save_IFS
4265 CC=$ac_cv_prog_CC
4266 if test -n "$CC"; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4268 $as_echo "$CC" >&6; }
4269 else
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4276 if test -z "$ac_cv_prog_CC"; then
4277 ac_ct_CC=$CC
4278 # Extract the first word of "gcc", so it can be a program name with args.
4279 set dummy gcc; ac_word=$2
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281 $as_echo_n "checking for $ac_word... " >&6; }
4282 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4283 $as_echo_n "(cached) " >&6
4284 else
4285 if test -n "$ac_ct_CC"; then
4286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4287 else
4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4289 for as_dir in $PATH
4291 IFS=$as_save_IFS
4292 test -z "$as_dir" && as_dir=.
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_ac_ct_CC="gcc"
4296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 break 2
4299 done
4300 done
4301 IFS=$as_save_IFS
4305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4306 if test -n "$ac_ct_CC"; then
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4308 $as_echo "$ac_ct_CC" >&6; }
4309 else
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311 $as_echo "no" >&6; }
4314 if test "x$ac_ct_CC" = x; then
4315 CC=""
4316 else
4317 case $cross_compiling:$ac_tool_warned in
4318 yes:)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321 ac_tool_warned=yes ;;
4322 esac
4323 CC=$ac_ct_CC
4325 else
4326 CC="$ac_cv_prog_CC"
4329 if test -z "$CC"; then
4330 if test -n "$ac_tool_prefix"; then
4331 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4332 set dummy ${ac_tool_prefix}cc; ac_word=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if ${ac_cv_prog_CC+:} false; then :
4336 $as_echo_n "(cached) " >&6
4337 else
4338 if test -n "$CC"; then
4339 ac_cv_prog_CC="$CC" # Let the user override the test.
4340 else
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4344 IFS=$as_save_IFS
4345 test -z "$as_dir" && as_dir=.
4346 for ac_exec_ext in '' $ac_executable_extensions; do
4347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4348 ac_cv_prog_CC="${ac_tool_prefix}cc"
4349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 break 2
4352 done
4353 done
4354 IFS=$as_save_IFS
4358 CC=$ac_cv_prog_CC
4359 if test -n "$CC"; then
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361 $as_echo "$CC" >&6; }
4362 else
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364 $as_echo "no" >&6; }
4370 if test -z "$CC"; then
4371 # Extract the first word of "cc", so it can be a program name with args.
4372 set dummy cc; ac_word=$2
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374 $as_echo_n "checking for $ac_word... " >&6; }
4375 if ${ac_cv_prog_CC+:} false; then :
4376 $as_echo_n "(cached) " >&6
4377 else
4378 if test -n "$CC"; then
4379 ac_cv_prog_CC="$CC" # Let the user override the test.
4380 else
4381 ac_prog_rejected=no
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4390 ac_prog_rejected=yes
4391 continue
4393 ac_cv_prog_CC="cc"
4394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 break 2
4397 done
4398 done
4399 IFS=$as_save_IFS
4401 if test $ac_prog_rejected = yes; then
4402 # We found a bogon in the path, so make sure we never use it.
4403 set dummy $ac_cv_prog_CC
4404 shift
4405 if test $# != 0; then
4406 # We chose a different compiler from the bogus one.
4407 # However, it has the same basename, so the bogon will be chosen
4408 # first if we set CC to just the basename; use the full file name.
4409 shift
4410 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4415 CC=$ac_cv_prog_CC
4416 if test -n "$CC"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4418 $as_echo "$CC" >&6; }
4419 else
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4426 if test -z "$CC"; then
4427 if test -n "$ac_tool_prefix"; then
4428 for ac_prog in cl.exe
4430 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_CC+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC="$CC" # Let the user override the test.
4439 else
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4441 for as_dir in $PATH
4443 IFS=$as_save_IFS
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4447 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 break 2
4451 done
4452 done
4453 IFS=$as_save_IFS
4457 CC=$ac_cv_prog_CC
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4461 else
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 test -n "$CC" && break
4468 done
4470 if test -z "$CC"; then
4471 ac_ct_CC=$CC
4472 for ac_prog in cl.exe
4474 # Extract the first word of "$ac_prog", so it can be a program name with args.
4475 set dummy $ac_prog; ac_word=$2
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4479 $as_echo_n "(cached) " >&6
4480 else
4481 if test -n "$ac_ct_CC"; then
4482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4483 else
4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4485 for as_dir in $PATH
4487 IFS=$as_save_IFS
4488 test -z "$as_dir" && as_dir=.
4489 for ac_exec_ext in '' $ac_executable_extensions; do
4490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4491 ac_cv_prog_ac_ct_CC="$ac_prog"
4492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 break 2
4495 done
4496 done
4497 IFS=$as_save_IFS
4501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4502 if test -n "$ac_ct_CC"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4504 $as_echo "$ac_ct_CC" >&6; }
4505 else
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507 $as_echo "no" >&6; }
4511 test -n "$ac_ct_CC" && break
4512 done
4514 if test "x$ac_ct_CC" = x; then
4515 CC=""
4516 else
4517 case $cross_compiling:$ac_tool_warned in
4518 yes:)
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521 ac_tool_warned=yes ;;
4522 esac
4523 CC=$ac_ct_CC
4530 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4532 as_fn_error $? "no acceptable C compiler found in \$PATH
4533 See \`config.log' for more details" "$LINENO" 5; }
4535 # Provide some information about the compiler.
4536 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4537 set X $ac_compile
4538 ac_compiler=$2
4539 for ac_option in --version -v -V -qversion; do
4540 { { ac_try="$ac_compiler $ac_option >&5"
4541 case "(($ac_try" in
4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543 *) ac_try_echo=$ac_try;;
4544 esac
4545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546 $as_echo "$ac_try_echo"; } >&5
4547 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4548 ac_status=$?
4549 if test -s conftest.err; then
4550 sed '10a\
4551 ... rest of stderr output deleted ...
4552 10q' conftest.err >conftest.er1
4553 cat conftest.er1 >&5
4555 rm -f conftest.er1 conftest.err
4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }
4558 done
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4564 main ()
4568 return 0;
4570 _ACEOF
4571 ac_clean_files_save=$ac_clean_files
4572 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4573 # Try to create an executable without -o first, disregard a.out.
4574 # It will help us diagnose broken compilers, and finding out an intuition
4575 # of exeext.
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4577 $as_echo_n "checking whether the C compiler works... " >&6; }
4578 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4580 # The possible output files:
4581 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4583 ac_rmfiles=
4584 for ac_file in $ac_files
4586 case $ac_file in
4587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4588 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4589 esac
4590 done
4591 rm -f $ac_rmfiles
4593 if { { ac_try="$ac_link_default"
4594 case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4597 esac
4598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4599 $as_echo "$ac_try_echo"; } >&5
4600 (eval "$ac_link_default") 2>&5
4601 ac_status=$?
4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4603 test $ac_status = 0; }; then :
4604 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4605 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4606 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4607 # so that the user can short-circuit this test for compilers unknown to
4608 # Autoconf.
4609 for ac_file in $ac_files ''
4611 test -f "$ac_file" || continue
4612 case $ac_file in
4613 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4615 [ab].out )
4616 # We found the default executable, but exeext='' is most
4617 # certainly right.
4618 break;;
4619 *.* )
4620 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4621 then :; else
4622 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4624 # We set ac_cv_exeext here because the later test for it is not
4625 # safe: cross compilers may not add the suffix if given an `-o'
4626 # argument, so we may need to know it at that point already.
4627 # Even if this section looks crufty: it has the advantage of
4628 # actually working.
4629 break;;
4631 break;;
4632 esac
4633 done
4634 test "$ac_cv_exeext" = no && ac_cv_exeext=
4636 else
4637 ac_file=''
4639 if test -z "$ac_file"; then :
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4642 $as_echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4647 as_fn_error 77 "C compiler cannot create executables
4648 See \`config.log' for more details" "$LINENO" 5; }
4649 else
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4651 $as_echo "yes" >&6; }
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4654 $as_echo_n "checking for C compiler default output file name... " >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4656 $as_echo "$ac_file" >&6; }
4657 ac_exeext=$ac_cv_exeext
4659 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4660 ac_clean_files=$ac_clean_files_save
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4662 $as_echo_n "checking for suffix of executables... " >&6; }
4663 if { { ac_try="$ac_link"
4664 case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4667 esac
4668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4669 $as_echo "$ac_try_echo"; } >&5
4670 (eval "$ac_link") 2>&5
4671 ac_status=$?
4672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4673 test $ac_status = 0; }; then :
4674 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4675 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4676 # work properly (i.e., refer to `conftest.exe'), while it won't with
4677 # `rm'.
4678 for ac_file in conftest.exe conftest conftest.*; do
4679 test -f "$ac_file" || continue
4680 case $ac_file in
4681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4682 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4683 break;;
4684 * ) break;;
4685 esac
4686 done
4687 else
4688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4690 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4691 See \`config.log' for more details" "$LINENO" 5; }
4693 rm -f conftest conftest$ac_cv_exeext
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4695 $as_echo "$ac_cv_exeext" >&6; }
4697 rm -f conftest.$ac_ext
4698 EXEEXT=$ac_cv_exeext
4699 ac_exeext=$EXEEXT
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #include <stdio.h>
4704 main ()
4706 FILE *f = fopen ("conftest.out", "w");
4707 return ferror (f) || fclose (f) != 0;
4710 return 0;
4712 _ACEOF
4713 ac_clean_files="$ac_clean_files conftest.out"
4714 # Check that the compiler produces executables we can run. If not, either
4715 # the compiler is broken, or we cross compile.
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4717 $as_echo_n "checking whether we are cross compiling... " >&6; }
4718 if test "$cross_compiling" != yes; then
4719 { { ac_try="$ac_link"
4720 case "(($ac_try" in
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4723 esac
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726 (eval "$ac_link") 2>&5
4727 ac_status=$?
4728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729 test $ac_status = 0; }
4730 if { ac_try='./conftest$ac_cv_exeext'
4731 { { case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4736 $as_echo "$ac_try_echo"; } >&5
4737 (eval "$ac_try") 2>&5
4738 ac_status=$?
4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4740 test $ac_status = 0; }; }; then
4741 cross_compiling=no
4742 else
4743 if test "$cross_compiling" = maybe; then
4744 cross_compiling=yes
4745 else
4746 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4747 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4748 as_fn_error $? "cannot run C compiled programs.
4749 If you meant to cross compile, use \`--host'.
4750 See \`config.log' for more details" "$LINENO" 5; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4755 $as_echo "$cross_compiling" >&6; }
4757 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4758 ac_clean_files=$ac_clean_files_save
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4760 $as_echo_n "checking for suffix of object files... " >&6; }
4761 if ${ac_cv_objext+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765 /* end confdefs.h. */
4768 main ()
4772 return 0;
4774 _ACEOF
4775 rm -f conftest.o conftest.obj
4776 if { { ac_try="$ac_compile"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4782 $as_echo "$ac_try_echo"; } >&5
4783 (eval "$ac_compile") 2>&5
4784 ac_status=$?
4785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4786 test $ac_status = 0; }; then :
4787 for ac_file in conftest.o conftest.obj conftest.*; do
4788 test -f "$ac_file" || continue;
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4791 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4792 break;;
4793 esac
4794 done
4795 else
4796 $as_echo "$as_me: failed program was:" >&5
4797 sed 's/^/| /' conftest.$ac_ext >&5
4799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4801 as_fn_error $? "cannot compute suffix of object files: cannot compile
4802 See \`config.log' for more details" "$LINENO" 5; }
4804 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4807 $as_echo "$ac_cv_objext" >&6; }
4808 OBJEXT=$ac_cv_objext
4809 ac_objext=$OBJEXT
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4812 if ${ac_cv_c_compiler_gnu+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4819 main ()
4821 #ifndef __GNUC__
4822 choke me
4823 #endif
4826 return 0;
4828 _ACEOF
4829 if ac_fn_c_try_compile "$LINENO"; then :
4830 ac_compiler_gnu=yes
4831 else
4832 ac_compiler_gnu=no
4834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4839 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4841 GCC=yes
4842 else
4843 GCC=
4845 ac_test_CFLAGS=${CFLAGS+set}
4846 ac_save_CFLAGS=$CFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4848 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4849 if ${ac_cv_prog_cc_g+:} false; then :
4850 $as_echo_n "(cached) " >&6
4851 else
4852 ac_save_c_werror_flag=$ac_c_werror_flag
4853 ac_c_werror_flag=yes
4854 ac_cv_prog_cc_g=no
4855 CFLAGS="-g"
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 if ac_fn_c_try_compile "$LINENO"; then :
4868 ac_cv_prog_cc_g=yes
4869 else
4870 CFLAGS=""
4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4875 main ()
4879 return 0;
4881 _ACEOF
4882 if ac_fn_c_try_compile "$LINENO"; then :
4884 else
4885 ac_c_werror_flag=$ac_save_c_werror_flag
4886 CFLAGS="-g"
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4891 main ()
4895 return 0;
4897 _ACEOF
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 ac_cv_prog_cc_g=yes
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4906 ac_c_werror_flag=$ac_save_c_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4909 $as_echo "$ac_cv_prog_cc_g" >&6; }
4910 if test "$ac_test_CFLAGS" = set; then
4911 CFLAGS=$ac_save_CFLAGS
4912 elif test $ac_cv_prog_cc_g = yes; then
4913 if test "$GCC" = yes; then
4914 CFLAGS="-g -O2"
4915 else
4916 CFLAGS="-g"
4918 else
4919 if test "$GCC" = yes; then
4920 CFLAGS="-O2"
4921 else
4922 CFLAGS=
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4926 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4927 if ${ac_cv_prog_cc_c89+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 ac_cv_prog_cc_c89=no
4931 ac_save_CC=$CC
4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4933 /* end confdefs.h. */
4934 #include <stdarg.h>
4935 #include <stdio.h>
4936 struct stat;
4937 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4938 struct buf { int x; };
4939 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4940 static char *e (p, i)
4941 char **p;
4942 int i;
4944 return p[i];
4946 static char *f (char * (*g) (char **, int), char **p, ...)
4948 char *s;
4949 va_list v;
4950 va_start (v,p);
4951 s = g (p, va_arg (v,int));
4952 va_end (v);
4953 return s;
4956 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4957 function prototypes and stuff, but not '\xHH' hex character constants.
4958 These don't provoke an error unfortunately, instead are silently treated
4959 as 'x'. The following induces an error, until -std is added to get
4960 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4961 array size at least. It's necessary to write '\x00'==0 to get something
4962 that's true only with -std. */
4963 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4965 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4966 inside strings and character constants. */
4967 #define FOO(x) 'x'
4968 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4970 int test (int i, double x);
4971 struct s1 {int (*f) (int a);};
4972 struct s2 {int (*f) (double a);};
4973 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4974 int argc;
4975 char **argv;
4977 main ()
4979 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4981 return 0;
4983 _ACEOF
4984 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4985 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4987 CC="$ac_save_CC $ac_arg"
4988 if ac_fn_c_try_compile "$LINENO"; then :
4989 ac_cv_prog_cc_c89=$ac_arg
4991 rm -f core conftest.err conftest.$ac_objext
4992 test "x$ac_cv_prog_cc_c89" != "xno" && break
4993 done
4994 rm -f conftest.$ac_ext
4995 CC=$ac_save_CC
4998 # AC_CACHE_VAL
4999 case "x$ac_cv_prog_cc_c89" in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5002 $as_echo "none needed" >&6; } ;;
5003 xno)
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5005 $as_echo "unsupported" >&6; } ;;
5007 CC="$CC $ac_cv_prog_cc_c89"
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5009 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5010 esac
5011 if test "x$ac_cv_prog_cc_c89" != xno; then :
5015 ac_ext=c
5016 ac_cpp='$CPP $CPPFLAGS'
5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5021 ac_ext=cpp
5022 ac_cpp='$CXXCPP $CPPFLAGS'
5023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5026 if test -z "$CXX"; then
5027 if test -n "$CCC"; then
5028 CXX=$CCC
5029 else
5030 if test -n "$ac_tool_prefix"; then
5031 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036 $as_echo_n "checking for $ac_word... " >&6; }
5037 if ${ac_cv_prog_CXX+:} false; then :
5038 $as_echo_n "(cached) " >&6
5039 else
5040 if test -n "$CXX"; then
5041 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 test -z "$as_dir" && as_dir=.
5048 for ac_exec_ext in '' $ac_executable_extensions; do
5049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 break 2
5054 done
5055 done
5056 IFS=$as_save_IFS
5060 CXX=$ac_cv_prog_CXX
5061 if test -n "$CXX"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5063 $as_echo "$CXX" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066 $as_echo "no" >&6; }
5070 test -n "$CXX" && break
5071 done
5073 if test -z "$CXX"; then
5074 ac_ct_CXX=$CXX
5075 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5077 # Extract the first word of "$ac_prog", so it can be a program name with args.
5078 set dummy $ac_prog; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$ac_ct_CXX"; then
5085 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_CXX="$ac_prog"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5105 if test -n "$ac_ct_CXX"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5107 $as_echo "$ac_ct_CXX" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5114 test -n "$ac_ct_CXX" && break
5115 done
5117 if test "x$ac_ct_CXX" = x; then
5118 CXX="g++"
5119 else
5120 case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126 CXX=$ac_ct_CXX
5132 # Provide some information about the compiler.
5133 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5134 set X $ac_compile
5135 ac_compiler=$2
5136 for ac_option in --version -v -V -qversion; do
5137 { { ac_try="$ac_compiler $ac_option >&5"
5138 case "(($ac_try" in
5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5140 *) ac_try_echo=$ac_try;;
5141 esac
5142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5143 $as_echo "$ac_try_echo"; } >&5
5144 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5145 ac_status=$?
5146 if test -s conftest.err; then
5147 sed '10a\
5148 ... rest of stderr output deleted ...
5149 10q' conftest.err >conftest.er1
5150 cat conftest.er1 >&5
5152 rm -f conftest.er1 conftest.err
5153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5154 test $ac_status = 0; }
5155 done
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5158 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5159 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5160 $as_echo_n "(cached) " >&6
5161 else
5162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5163 /* end confdefs.h. */
5166 main ()
5168 #ifndef __GNUC__
5169 choke me
5170 #endif
5173 return 0;
5175 _ACEOF
5176 if ac_fn_cxx_try_compile "$LINENO"; then :
5177 ac_compiler_gnu=yes
5178 else
5179 ac_compiler_gnu=no
5181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5186 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5187 if test $ac_compiler_gnu = yes; then
5188 GXX=yes
5189 else
5190 GXX=
5192 ac_test_CXXFLAGS=${CXXFLAGS+set}
5193 ac_save_CXXFLAGS=$CXXFLAGS
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5195 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5196 if ${ac_cv_prog_cxx_g+:} false; then :
5197 $as_echo_n "(cached) " >&6
5198 else
5199 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5200 ac_cxx_werror_flag=yes
5201 ac_cv_prog_cxx_g=no
5202 CXXFLAGS="-g"
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5207 main ()
5211 return 0;
5213 _ACEOF
5214 if ac_fn_cxx_try_compile "$LINENO"; then :
5215 ac_cv_prog_cxx_g=yes
5216 else
5217 CXXFLAGS=""
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5222 main ()
5226 return 0;
5228 _ACEOF
5229 if ac_fn_cxx_try_compile "$LINENO"; then :
5231 else
5232 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5233 CXXFLAGS="-g"
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5238 main ()
5242 return 0;
5244 _ACEOF
5245 if ac_fn_cxx_try_compile "$LINENO"; then :
5246 ac_cv_prog_cxx_g=yes
5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5253 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5256 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5257 if test "$ac_test_CXXFLAGS" = set; then
5258 CXXFLAGS=$ac_save_CXXFLAGS
5259 elif test $ac_cv_prog_cxx_g = yes; then
5260 if test "$GXX" = yes; then
5261 CXXFLAGS="-g -O2"
5262 else
5263 CXXFLAGS="-g"
5265 else
5266 if test "$GXX" = yes; then
5267 CXXFLAGS="-O2"
5268 else
5269 CXXFLAGS=
5272 ac_ext=c
5273 ac_cpp='$CPP $CPPFLAGS'
5274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5280 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_CPPBIN+:} false; then :
5284 $as_echo_n "(cached) " >&6
5285 else
5286 if test -n "$CPPBIN"; then
5287 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5292 IFS=$as_save_IFS
5293 test -z "$as_dir" && as_dir=.
5294 for ac_exec_ext in '' $ac_executable_extensions; do
5295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 break 2
5300 done
5301 done
5302 IFS=$as_save_IFS
5306 CPPBIN=$ac_cv_prog_CPPBIN
5307 if test -n "$CPPBIN"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5309 $as_echo "$CPPBIN" >&6; }
5310 else
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5317 if test -z "$ac_cv_prog_CPPBIN"; then
5318 ac_ct_CPPBIN=$CPPBIN
5319 # Extract the first word of "cpp", so it can be a program name with args.
5320 set dummy cpp; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if test -n "$ac_ct_CPPBIN"; then
5327 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_ac_ct_CPPBIN="cpp"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5342 IFS=$as_save_IFS
5346 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5347 if test -n "$ac_ct_CPPBIN"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5349 $as_echo "$ac_ct_CPPBIN" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5355 if test "x$ac_ct_CPPBIN" = x; then
5356 CPPBIN="cpp"
5357 else
5358 case $cross_compiling:$ac_tool_warned in
5359 yes:)
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5362 ac_tool_warned=yes ;;
5363 esac
5364 CPPBIN=$ac_ct_CPPBIN
5366 else
5367 CPPBIN="$ac_cv_prog_CPPBIN"
5371 cat >>confdefs.h <<_ACEOF
5372 #define EXEEXT "$ac_exeext"
5373 _ACEOF
5375 if test -n "$ac_tool_prefix"; then
5376 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5377 set dummy ${ac_tool_prefix}ld; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_LD+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 if test -n "$LD"; then
5384 ac_cv_prog_LD="$LD" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_LD="${ac_tool_prefix}ld"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 LD=$ac_cv_prog_LD
5404 if test -n "$LD"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5406 $as_echo "$LD" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5414 if test -z "$ac_cv_prog_LD"; then
5415 ac_ct_LD=$LD
5416 # Extract the first word of "ld", so it can be a program name with args.
5417 set dummy ld; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_LD"; then
5424 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_LD="ld"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5444 if test -n "$ac_ct_LD"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5446 $as_echo "$ac_ct_LD" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5452 if test "x$ac_ct_LD" = x; then
5453 LD=""
5454 else
5455 case $cross_compiling:$ac_tool_warned in
5456 yes:)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461 LD=$ac_ct_LD
5463 else
5464 LD="$ac_cv_prog_LD"
5468 case $host in
5469 *-darwin*)
5470 with_fontconfig=${with_fontconfig:-no}
5472 *-mingw32*|*-cygwin*)
5473 enable_win16=${enable_win16:-no}
5474 CFLAGS="$CFLAGS -D_WIN32"
5476 esac
5478 case $host in
5479 x86_64*|amd64*)
5480 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5481 then
5482 CC="$CC -m32"
5483 CXX="$CXX -m32"
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5485 $as_echo_n "checking whether $CC works... " >&6; }
5487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5488 /* end confdefs.h. */
5491 main ()
5495 return 0;
5497 _ACEOF
5498 if ac_fn_c_try_link "$LINENO"; then :
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5500 $as_echo "yes" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5504 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5506 rm -f core conftest.err conftest.$ac_objext \
5507 conftest$ac_exeext conftest.$ac_ext
5508 host_cpu="i386"
5509 notice_platform="32-bit "
5510 TARGETFLAGS="-m32"
5512 WIDLFLAGS="--win32"
5514 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5515 export PKG_CONFIG_PATH
5516 enable_win16=${enable_win16:-yes}
5517 else
5518 if test "x${GCC}" = "xyes"
5519 then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5521 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5524 #include <stdarg.h>
5526 main ()
5528 void func(__builtin_ms_va_list *args);
5530 return 0;
5532 _ACEOF
5533 if ac_fn_c_try_compile "$LINENO"; then :
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5538 $as_echo "no" >&6; }
5539 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5543 CC="$CC -m64"
5544 CXX="$CXX -m64"
5545 host_cpu="x86_64"
5546 notice_platform="64-bit "
5547 TARGETFLAGS="-m64"
5549 WIDLFLAGS="--win64"
5553 arm*)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5555 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5558 int ac_test(int i) { return i; }
5560 main ()
5562 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5564 return 0;
5566 _ACEOF
5567 if ac_fn_c_try_link "$LINENO"; then :
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5569 $as_echo "yes" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5573 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5575 rm -f core conftest.err conftest.$ac_objext \
5576 conftest$ac_exeext conftest.$ac_ext
5577 case $with_float_abi in
5578 soft|softfp|hard)
5579 float_abi=$with_float_abi ;;
5581 case $host_os in
5582 *eabihf)
5583 float_abi=hard ;;
5585 float_abi=softfp
5586 saved_CFLAGS=$CFLAGS
5587 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5589 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5594 main ()
5596 asm("vmrs r2,fpscr");
5598 return 0;
5600 _ACEOF
5601 if ac_fn_c_try_link "$LINENO"; then :
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5603 $as_echo "yes" >&6; }
5604 else
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5607 float_abi=soft
5608 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5610 rm -f core conftest.err conftest.$ac_objext \
5611 conftest$ac_exeext conftest.$ac_ext
5612 CFLAGS=$saved_CFLAGS
5613 esac
5615 esac
5616 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5617 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5619 WIDLFLAGS="--win32"
5622 aarch64*)
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5624 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 #include <stdarg.h>
5629 main ()
5631 void func(__builtin_ms_va_list *args);
5633 return 0;
5635 _ACEOF
5636 if ac_fn_c_try_compile "$LINENO"; then :
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5638 $as_echo "yes" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 WIDLFLAGS="--win64"
5648 i[3456789]86*)
5649 enable_win16=${enable_win16:-yes}
5650 WIDLFLAGS="--win32"
5653 esac
5655 enable_win16=${enable_win16:-no}
5656 enable_win64=${enable_win64:-no}
5658 enable_winetest=${enable_winetest:-$enable_tests}
5660 if test -n "$with_wine64"
5661 then
5662 if test "x$enable_win64" = "xyes"
5663 then
5664 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5665 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5667 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5668 You should create a separate build directory and run configure from there." "$LINENO" 5
5669 enable_fonts=${enable_fonts:-no}
5670 enable_server=${enable_server:-no}
5671 wine64_disable=\#
5673 elif test "x$enable_win64" = "xyes"
5674 then
5675 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5679 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5680 if ${wine_cv_toolsdir+:} false; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 wine_cv_toolsdir="$with_wine_tools"
5684 if test -z "$with_wine_tools"; then
5685 if test "$cross_compiling" = "yes"; then
5686 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5687 elif test -n "$with_wine64"; then
5688 wine_cv_toolsdir="$with_wine64"
5691 if test -z "$wine_cv_toolsdir"; then
5692 wine_makedep=tools/makedep
5693 wine_cv_toolsdir="\$(top_builddir)"
5694 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5695 wine_makedep=$wine_cv_toolsdir/tools/makedep
5696 case "$wine_cv_toolsdir" in
5697 /*) ;;
5698 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5699 esac
5700 enable_tools=${enable_tools:-no}
5701 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5702 else
5703 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5707 $as_echo "$wine_cv_toolsdir" >&6; }
5708 TOOLSDIR=$wine_cv_toolsdir
5710 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5711 then
5712 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5716 for ac_prog in flex
5718 # Extract the first word of "$ac_prog", so it can be a program name with args.
5719 set dummy $ac_prog; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if ${ac_cv_prog_FLEX+:} false; then :
5723 $as_echo_n "(cached) " >&6
5724 else
5725 if test -n "$FLEX"; then
5726 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5731 IFS=$as_save_IFS
5732 test -z "$as_dir" && as_dir=.
5733 for ac_exec_ext in '' $ac_executable_extensions; do
5734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5735 ac_cv_prog_FLEX="$ac_prog"
5736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737 break 2
5739 done
5740 done
5741 IFS=$as_save_IFS
5745 FLEX=$ac_cv_prog_FLEX
5746 if test -n "$FLEX"; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5748 $as_echo "$FLEX" >&6; }
5749 else
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5755 test -n "$FLEX" && break
5756 done
5757 test -n "$FLEX" || FLEX="none"
5759 if test "$FLEX" = "none"
5760 then
5761 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5764 $as_echo_n "checking whether flex is recent enough... " >&6; }
5765 cat >conftest.l <<EOF
5766 %top{
5767 #include "prediluvian.h"
5771 if $FLEX -t conftest.l >/dev/null 2>&5
5772 then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5774 $as_echo "yes" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5781 for ac_prog in bison
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if ${ac_cv_prog_BISON+:} false; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$BISON"; then
5791 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5800 ac_cv_prog_BISON="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 BISON=$ac_cv_prog_BISON
5811 if test -n "$BISON"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5813 $as_echo "$BISON" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$BISON" && break
5821 done
5822 test -n "$BISON" || BISON="none"
5824 if test "$BISON" = "none"
5825 then
5826 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5829 if test -n "$ac_tool_prefix"; then
5830 for ac_prog in ar gar
5832 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_AR+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 if test -n "$AR"; then
5840 ac_cv_prog_AR="$AR" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5859 AR=$ac_cv_prog_AR
5860 if test -n "$AR"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5862 $as_echo "$AR" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$AR" && break
5870 done
5872 if test -z "$AR"; then
5873 ac_ct_AR=$AR
5874 for ac_prog in ar gar
5876 # Extract the first word of "$ac_prog", so it can be a program name with args.
5877 set dummy $ac_prog; ac_word=$2
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5879 $as_echo_n "checking for $ac_word... " >&6; }
5880 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5881 $as_echo_n "(cached) " >&6
5882 else
5883 if test -n "$ac_ct_AR"; then
5884 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5885 else
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_ac_ct_AR="$ac_prog"
5894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 IFS=$as_save_IFS
5903 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5904 if test -n "$ac_ct_AR"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5906 $as_echo "$ac_ct_AR" >&6; }
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 test -n "$ac_ct_AR" && break
5914 done
5916 if test "x$ac_ct_AR" = x; then
5917 AR="ar"
5918 else
5919 case $cross_compiling:$ac_tool_warned in
5920 yes:)
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5923 ac_tool_warned=yes ;;
5924 esac
5925 AR=$ac_ct_AR
5929 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5931 set dummy ${ac_tool_prefix}strip; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_STRIP+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 if test -n "$STRIP"; then
5938 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5939 else
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5941 for as_dir in $PATH
5943 IFS=$as_save_IFS
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5949 break 2
5951 done
5952 done
5953 IFS=$as_save_IFS
5957 STRIP=$ac_cv_prog_STRIP
5958 if test -n "$STRIP"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5960 $as_echo "$STRIP" >&6; }
5961 else
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5968 if test -z "$ac_cv_prog_STRIP"; then
5969 ac_ct_STRIP=$STRIP
5970 # Extract the first word of "strip", so it can be a program name with args.
5971 set dummy strip; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 if test -n "$ac_ct_STRIP"; then
5978 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ac_ct_STRIP="strip"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5997 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5998 if test -n "$ac_ct_STRIP"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6000 $as_echo "$ac_ct_STRIP" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6006 if test "x$ac_ct_STRIP" = x; then
6007 STRIP="strip"
6008 else
6009 case $cross_compiling:$ac_tool_warned in
6010 yes:)
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6013 ac_tool_warned=yes ;;
6014 esac
6015 STRIP=$ac_ct_STRIP
6017 else
6018 STRIP="$ac_cv_prog_STRIP"
6021 ARFLAGS=rc
6023 if test -n "$ac_tool_prefix"; then
6024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 $as_echo_n "checking for $ac_word... " >&6; }
6028 if ${ac_cv_prog_RANLIB+:} false; then :
6029 $as_echo_n "(cached) " >&6
6030 else
6031 if test -n "$RANLIB"; then
6032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6033 else
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH
6037 IFS=$as_save_IFS
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 break 2
6045 done
6046 done
6047 IFS=$as_save_IFS
6051 RANLIB=$ac_cv_prog_RANLIB
6052 if test -n "$RANLIB"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6054 $as_echo "$RANLIB" >&6; }
6055 else
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6062 if test -z "$ac_cv_prog_RANLIB"; then
6063 ac_ct_RANLIB=$RANLIB
6064 # Extract the first word of "ranlib", so it can be a program name with args.
6065 set dummy ranlib; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 if test -n "$ac_ct_RANLIB"; then
6072 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_ac_ct_RANLIB="ranlib"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6092 if test -n "$ac_ct_RANLIB"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6094 $as_echo "$ac_ct_RANLIB" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6100 if test "x$ac_ct_RANLIB" = x; then
6101 RANLIB=":"
6102 else
6103 case $cross_compiling:$ac_tool_warned in
6104 yes:)
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6107 ac_tool_warned=yes ;;
6108 esac
6109 RANLIB=$ac_ct_RANLIB
6111 else
6112 RANLIB="$ac_cv_prog_RANLIB"
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6116 $as_echo_n "checking whether ln -s works... " >&6; }
6117 LN_S=$as_ln_s
6118 if test "$LN_S" = "ln -s"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6120 $as_echo "yes" >&6; }
6121 else
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6123 $as_echo "no, using $LN_S" >&6; }
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6127 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6128 if ${ac_cv_path_GREP+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 if test -z "$GREP"; then
6132 ac_path_GREP_found=false
6133 # Loop through the user's path and test for each of PROGNAME-LIST
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6137 IFS=$as_save_IFS
6138 test -z "$as_dir" && as_dir=.
6139 for ac_prog in grep ggrep; do
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6142 as_fn_executable_p "$ac_path_GREP" || continue
6143 # Check for GNU ac_path_GREP and select it if it is found.
6144 # Check for GNU $ac_path_GREP
6145 case `"$ac_path_GREP" --version 2>&1` in
6146 *GNU*)
6147 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6149 ac_count=0
6150 $as_echo_n 0123456789 >"conftest.in"
6151 while :
6153 cat "conftest.in" "conftest.in" >"conftest.tmp"
6154 mv "conftest.tmp" "conftest.in"
6155 cp "conftest.in" "conftest.nl"
6156 $as_echo 'GREP' >> "conftest.nl"
6157 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6158 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6159 as_fn_arith $ac_count + 1 && ac_count=$as_val
6160 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6161 # Best one so far, save it but keep looking for a better one
6162 ac_cv_path_GREP="$ac_path_GREP"
6163 ac_path_GREP_max=$ac_count
6165 # 10*(2^10) chars as input seems more than enough
6166 test $ac_count -gt 10 && break
6167 done
6168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6169 esac
6171 $ac_path_GREP_found && break 3
6172 done
6173 done
6174 done
6175 IFS=$as_save_IFS
6176 if test -z "$ac_cv_path_GREP"; then
6177 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6179 else
6180 ac_cv_path_GREP=$GREP
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6185 $as_echo "$ac_cv_path_GREP" >&6; }
6186 GREP="$ac_cv_path_GREP"
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6190 $as_echo_n "checking for egrep... " >&6; }
6191 if ${ac_cv_path_EGREP+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6195 then ac_cv_path_EGREP="$GREP -E"
6196 else
6197 if test -z "$EGREP"; then
6198 ac_path_EGREP_found=false
6199 # Loop through the user's path and test for each of PROGNAME-LIST
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6203 IFS=$as_save_IFS
6204 test -z "$as_dir" && as_dir=.
6205 for ac_prog in egrep; do
6206 for ac_exec_ext in '' $ac_executable_extensions; do
6207 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6208 as_fn_executable_p "$ac_path_EGREP" || continue
6209 # Check for GNU ac_path_EGREP and select it if it is found.
6210 # Check for GNU $ac_path_EGREP
6211 case `"$ac_path_EGREP" --version 2>&1` in
6212 *GNU*)
6213 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6215 ac_count=0
6216 $as_echo_n 0123456789 >"conftest.in"
6217 while :
6219 cat "conftest.in" "conftest.in" >"conftest.tmp"
6220 mv "conftest.tmp" "conftest.in"
6221 cp "conftest.in" "conftest.nl"
6222 $as_echo 'EGREP' >> "conftest.nl"
6223 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6224 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6225 as_fn_arith $ac_count + 1 && ac_count=$as_val
6226 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6227 # Best one so far, save it but keep looking for a better one
6228 ac_cv_path_EGREP="$ac_path_EGREP"
6229 ac_path_EGREP_max=$ac_count
6231 # 10*(2^10) chars as input seems more than enough
6232 test $ac_count -gt 10 && break
6233 done
6234 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6235 esac
6237 $ac_path_EGREP_found && break 3
6238 done
6239 done
6240 done
6241 IFS=$as_save_IFS
6242 if test -z "$ac_cv_path_EGREP"; then
6243 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6245 else
6246 ac_cv_path_EGREP=$EGREP
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6252 $as_echo "$ac_cv_path_EGREP" >&6; }
6253 EGREP="$ac_cv_path_EGREP"
6256 # Extract the first word of "ldconfig", so it can be a program name with args.
6257 set dummy ldconfig; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_path_LDCONFIG+:} false; then :
6261 $as_echo_n "(cached) " >&6
6262 else
6263 case $LDCONFIG in
6264 [\\/]* | ?:[\\/]*)
6265 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in /sbin /usr/sbin $PATH
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6275 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6279 done
6280 done
6281 IFS=$as_save_IFS
6283 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6285 esac
6287 LDCONFIG=$ac_cv_path_LDCONFIG
6288 if test -n "$LDCONFIG"; then
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6290 $as_echo "$LDCONFIG" >&6; }
6291 else
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6293 $as_echo "no" >&6; }
6297 for ac_prog in msgfmt
6299 # Extract the first word of "$ac_prog", so it can be a program name with args.
6300 set dummy $ac_prog; ac_word=$2
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6302 $as_echo_n "checking for $ac_word... " >&6; }
6303 if ${ac_cv_prog_MSGFMT+:} false; then :
6304 $as_echo_n "(cached) " >&6
6305 else
6306 if test -n "$MSGFMT"; then
6307 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6308 else
6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310 for as_dir in $PATH
6312 IFS=$as_save_IFS
6313 test -z "$as_dir" && as_dir=.
6314 for ac_exec_ext in '' $ac_executable_extensions; do
6315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6316 ac_cv_prog_MSGFMT="$ac_prog"
6317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6318 break 2
6320 done
6321 done
6322 IFS=$as_save_IFS
6326 MSGFMT=$ac_cv_prog_MSGFMT
6327 if test -n "$MSGFMT"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6329 $as_echo "$MSGFMT" >&6; }
6330 else
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6332 $as_echo "no" >&6; }
6336 test -n "$MSGFMT" && break
6337 done
6338 test -n "$MSGFMT" || MSGFMT="false"
6340 if ${ac_tool_prefix+:} false; then :
6341 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6342 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344 $as_echo_n "checking for $ac_word... " >&6; }
6345 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 if test -n "$PKG_CONFIG"; then
6349 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6350 else
6351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 for as_dir in $PATH
6354 IFS=$as_save_IFS
6355 test -z "$as_dir" && as_dir=.
6356 for ac_exec_ext in '' $ac_executable_extensions; do
6357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6358 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6360 break 2
6362 done
6363 done
6364 IFS=$as_save_IFS
6368 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6369 if test -n "$PKG_CONFIG"; then
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6371 $as_echo "$PKG_CONFIG" >&6; }
6372 else
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374 $as_echo "no" >&6; }
6379 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6380 if test "x$cross_compiling" = xyes; then :
6382 else
6383 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6384 # Extract the first word of "pkg-config", so it can be a program name with args.
6385 set dummy pkg-config; ac_word=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 if test -n "$PKG_CONFIG"; then
6392 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_PKG_CONFIG="pkg-config"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6412 if test -n "$PKG_CONFIG"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6414 $as_echo "$PKG_CONFIG" >&6; }
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6422 else
6423 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6426 if test "x$enable_maintainer_mode" != "xyes"
6427 then
6428 FONTFORGE=""
6429 RSVG=""
6430 CONVERT=""
6431 ICOTOOL=""
6432 else
6433 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6434 for ac_prog in fontforge
6436 # Extract the first word of "$ac_prog", so it can be a program name with args.
6437 set dummy $ac_prog; ac_word=$2
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6439 $as_echo_n "checking for $ac_word... " >&6; }
6440 if ${ac_cv_prog_FONTFORGE+:} false; then :
6441 $as_echo_n "(cached) " >&6
6442 else
6443 if test -n "$FONTFORGE"; then
6444 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6445 else
6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6447 for as_dir in $PATH
6449 IFS=$as_save_IFS
6450 test -z "$as_dir" && as_dir=.
6451 for ac_exec_ext in '' $ac_executable_extensions; do
6452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6453 ac_cv_prog_FONTFORGE="$ac_prog"
6454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 break 2
6457 done
6458 done
6459 IFS=$as_save_IFS
6463 FONTFORGE=$ac_cv_prog_FONTFORGE
6464 if test -n "$FONTFORGE"; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6466 $as_echo "$FONTFORGE" >&6; }
6467 else
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6469 $as_echo "no" >&6; }
6473 test -n "$FONTFORGE" && break
6474 done
6475 test -n "$FONTFORGE" || FONTFORGE="false"
6477 for ac_prog in rsvg-convert rsvg
6479 # Extract the first word of "$ac_prog", so it can be a program name with args.
6480 set dummy $ac_prog; ac_word=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_RSVG+:} false; then :
6484 $as_echo_n "(cached) " >&6
6485 else
6486 if test -n "$RSVG"; then
6487 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6488 else
6489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6490 for as_dir in $PATH
6492 IFS=$as_save_IFS
6493 test -z "$as_dir" && as_dir=.
6494 for ac_exec_ext in '' $ac_executable_extensions; do
6495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_RSVG="$ac_prog"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 break 2
6500 done
6501 done
6502 IFS=$as_save_IFS
6506 RSVG=$ac_cv_prog_RSVG
6507 if test -n "$RSVG"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6509 $as_echo "$RSVG" >&6; }
6510 else
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6516 test -n "$RSVG" && break
6517 done
6518 test -n "$RSVG" || RSVG="false"
6520 for ac_prog in convert
6522 # Extract the first word of "$ac_prog", so it can be a program name with args.
6523 set dummy $ac_prog; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_CONVERT+:} false; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$CONVERT"; then
6530 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_CONVERT="$ac_prog"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 CONVERT=$ac_cv_prog_CONVERT
6550 if test -n "$CONVERT"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6552 $as_echo "$CONVERT" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6559 test -n "$CONVERT" && break
6560 done
6561 test -n "$CONVERT" || CONVERT="false"
6563 for ac_prog in icotool
6565 # Extract the first word of "$ac_prog", so it can be a program name with args.
6566 set dummy $ac_prog; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if ${ac_cv_prog_ICOTOOL+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 if test -n "$ICOTOOL"; then
6573 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6574 else
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6578 IFS=$as_save_IFS
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582 ac_cv_prog_ICOTOOL="$ac_prog"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584 break 2
6586 done
6587 done
6588 IFS=$as_save_IFS
6592 ICOTOOL=$ac_cv_prog_ICOTOOL
6593 if test -n "$ICOTOOL"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6595 $as_echo "$ICOTOOL" >&6; }
6596 else
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6602 test -n "$ICOTOOL" && break
6603 done
6604 test -n "$ICOTOOL" || ICOTOOL="false"
6606 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6607 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6609 if test "$CONVERT" = false
6610 then
6611 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6612 else
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6614 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6615 convert_version=`convert --version | head -n1`
6616 if test "x$convert_version" != "x"
6617 then
6618 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6619 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6620 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6621 then
6622 CONVERT=false
6625 if test "$CONVERT" = false
6626 then
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6628 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6629 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6632 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6636 if test "$ICOTOOL" = false
6637 then
6638 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6641 $as_echo_n "checking for recent enough icotool... " >&6; }
6642 icotool_version=`icotool --version | head -n1`
6643 if test "x$icotool_version" != "x"
6644 then
6645 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6646 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6647 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6648 then
6649 ICOTOOL=false
6650 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6653 if test "$ICOTOOL" = false
6654 then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6656 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6657 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6660 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6664 with_gettext=yes
6665 with_gettextpo=yes
6666 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6669 test "x$with_gettext" != xno || MSGFMT=false
6670 if test "$MSGFMT" != "false"
6671 then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6673 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6674 cat >conftest.po <<EOF
6675 # comment
6676 msgctxt "ctxt"
6677 msgid "id"
6678 msgstr "str"
6680 if $MSGFMT -o /dev/null conftest.po 2>&5
6681 then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6683 $as_echo "yes" >&6; }
6684 else
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6687 MSGFMT=false
6690 if test "$MSGFMT" = false; then :
6691 case "x$with_gettext" in
6692 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6693 xno) ;;
6694 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6695 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6696 esac
6697 enable_po=${enable_po:-no}
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6702 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6703 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6704 $as_echo_n "(cached) " >&6
6705 else
6706 ac_check_lib_save_LIBS=$LIBS
6707 LIBS="-li386 $LIBS"
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6711 /* Override any GCC internal prototype to avoid an error.
6712 Use char because int might match the return type of a GCC
6713 builtin and then its argument prototype would still apply. */
6714 #ifdef __cplusplus
6715 extern "C"
6716 #endif
6717 char i386_set_ldt ();
6719 main ()
6721 return i386_set_ldt ();
6723 return 0;
6725 _ACEOF
6726 if ac_fn_c_try_link "$LINENO"; then :
6727 ac_cv_lib_i386_i386_set_ldt=yes
6728 else
6729 ac_cv_lib_i386_i386_set_ldt=no
6731 rm -f core conftest.err conftest.$ac_objext \
6732 conftest$ac_exeext conftest.$ac_ext
6733 LIBS=$ac_check_lib_save_LIBS
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6736 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6737 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6738 cat >>confdefs.h <<_ACEOF
6739 #define HAVE_LIBI386 1
6740 _ACEOF
6742 LIBS="-li386 $LIBS"
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6747 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6748 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 ac_check_lib_save_LIBS=$LIBS
6752 LIBS="-lossaudio $LIBS"
6753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h. */
6756 /* Override any GCC internal prototype to avoid an error.
6757 Use char because int might match the return type of a GCC
6758 builtin and then its argument prototype would still apply. */
6759 #ifdef __cplusplus
6760 extern "C"
6761 #endif
6762 char _oss_ioctl ();
6764 main ()
6766 return _oss_ioctl ();
6768 return 0;
6770 _ACEOF
6771 if ac_fn_c_try_link "$LINENO"; then :
6772 ac_cv_lib_ossaudio__oss_ioctl=yes
6773 else
6774 ac_cv_lib_ossaudio__oss_ioctl=no
6776 rm -f core conftest.err conftest.$ac_objext \
6777 conftest$ac_exeext conftest.$ac_ext
6778 LIBS=$ac_check_lib_save_LIBS
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6781 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6782 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6783 cat >>confdefs.h <<_ACEOF
6784 #define HAVE_LIBOSSAUDIO 1
6785 _ACEOF
6787 LIBS="-lossaudio $LIBS"
6792 OPENGL_LIBS=""
6796 # Check whether --enable-largefile was given.
6797 if test "${enable_largefile+set}" = set; then :
6798 enableval=$enable_largefile;
6801 if test "$enable_largefile" != no; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6804 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6805 if ${ac_cv_sys_largefile_CC+:} false; then :
6806 $as_echo_n "(cached) " >&6
6807 else
6808 ac_cv_sys_largefile_CC=no
6809 if test "$GCC" != yes; then
6810 ac_save_CC=$CC
6811 while :; do
6812 # IRIX 6.2 and later do not support large files by default,
6813 # so use the C compiler's -n32 option if that helps.
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6816 #include <sys/types.h>
6817 /* Check that off_t can represent 2**63 - 1 correctly.
6818 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6819 since some C++ compilers masquerading as C compilers
6820 incorrectly reject 9223372036854775807. */
6821 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6822 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6823 && LARGE_OFF_T % 2147483647 == 1)
6824 ? 1 : -1];
6826 main ()
6830 return 0;
6832 _ACEOF
6833 if ac_fn_c_try_compile "$LINENO"; then :
6834 break
6836 rm -f core conftest.err conftest.$ac_objext
6837 CC="$CC -n32"
6838 if ac_fn_c_try_compile "$LINENO"; then :
6839 ac_cv_sys_largefile_CC=' -n32'; break
6841 rm -f core conftest.err conftest.$ac_objext
6842 break
6843 done
6844 CC=$ac_save_CC
6845 rm -f conftest.$ac_ext
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6849 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6850 if test "$ac_cv_sys_largefile_CC" != no; then
6851 CC=$CC$ac_cv_sys_largefile_CC
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6855 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6856 if ${ac_cv_sys_file_offset_bits+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 while :; do
6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6862 #include <sys/types.h>
6863 /* Check that off_t can represent 2**63 - 1 correctly.
6864 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6865 since some C++ compilers masquerading as C compilers
6866 incorrectly reject 9223372036854775807. */
6867 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6868 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6869 && LARGE_OFF_T % 2147483647 == 1)
6870 ? 1 : -1];
6872 main ()
6876 return 0;
6878 _ACEOF
6879 if ac_fn_c_try_compile "$LINENO"; then :
6880 ac_cv_sys_file_offset_bits=no; break
6882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 #define _FILE_OFFSET_BITS 64
6886 #include <sys/types.h>
6887 /* Check that off_t can represent 2**63 - 1 correctly.
6888 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6889 since some C++ compilers masquerading as C compilers
6890 incorrectly reject 9223372036854775807. */
6891 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6892 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6893 && LARGE_OFF_T % 2147483647 == 1)
6894 ? 1 : -1];
6896 main ()
6900 return 0;
6902 _ACEOF
6903 if ac_fn_c_try_compile "$LINENO"; then :
6904 ac_cv_sys_file_offset_bits=64; break
6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6907 ac_cv_sys_file_offset_bits=unknown
6908 break
6909 done
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6912 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6913 case $ac_cv_sys_file_offset_bits in #(
6914 no | unknown) ;;
6916 cat >>confdefs.h <<_ACEOF
6917 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6918 _ACEOF
6920 esac
6921 rm -rf conftest*
6922 if test $ac_cv_sys_file_offset_bits = unknown; then
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6924 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6925 if ${ac_cv_sys_large_files+:} false; then :
6926 $as_echo_n "(cached) " >&6
6927 else
6928 while :; do
6929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 /* end confdefs.h. */
6931 #include <sys/types.h>
6932 /* Check that off_t can represent 2**63 - 1 correctly.
6933 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6934 since some C++ compilers masquerading as C compilers
6935 incorrectly reject 9223372036854775807. */
6936 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6937 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6938 && LARGE_OFF_T % 2147483647 == 1)
6939 ? 1 : -1];
6941 main ()
6945 return 0;
6947 _ACEOF
6948 if ac_fn_c_try_compile "$LINENO"; then :
6949 ac_cv_sys_large_files=no; break
6951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6954 #define _LARGE_FILES 1
6955 #include <sys/types.h>
6956 /* Check that off_t can represent 2**63 - 1 correctly.
6957 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6958 since some C++ compilers masquerading as C compilers
6959 incorrectly reject 9223372036854775807. */
6960 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6961 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6962 && LARGE_OFF_T % 2147483647 == 1)
6963 ? 1 : -1];
6965 main ()
6969 return 0;
6971 _ACEOF
6972 if ac_fn_c_try_compile "$LINENO"; then :
6973 ac_cv_sys_large_files=1; break
6975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6976 ac_cv_sys_large_files=unknown
6977 break
6978 done
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6981 $as_echo "$ac_cv_sys_large_files" >&6; }
6982 case $ac_cv_sys_large_files in #(
6983 no | unknown) ;;
6985 cat >>confdefs.h <<_ACEOF
6986 #define _LARGE_FILES $ac_cv_sys_large_files
6987 _ACEOF
6989 esac
6990 rm -rf conftest*
6997 ac_ext=c
6998 ac_cpp='$CPP $CPPFLAGS'
6999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7003 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7004 # On Suns, sometimes $CPP names a directory.
7005 if test -n "$CPP" && test -d "$CPP"; then
7006 CPP=
7008 if test -z "$CPP"; then
7009 if ${ac_cv_prog_CPP+:} false; then :
7010 $as_echo_n "(cached) " >&6
7011 else
7012 # Double quotes because CPP needs to be expanded
7013 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7015 ac_preproc_ok=false
7016 for ac_c_preproc_warn_flag in '' yes
7018 # Use a header file that comes with gcc, so configuring glibc
7019 # with a fresh cross-compiler works.
7020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7021 # <limits.h> exists even on freestanding compilers.
7022 # On the NeXT, cc -E runs the code through the compiler's parser,
7023 # not just through cpp. "Syntax error" is here to catch this case.
7024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7026 #ifdef __STDC__
7027 # include <limits.h>
7028 #else
7029 # include <assert.h>
7030 #endif
7031 Syntax error
7032 _ACEOF
7033 if ac_fn_c_try_cpp "$LINENO"; then :
7035 else
7036 # Broken: fails on valid input.
7037 continue
7039 rm -f conftest.err conftest.i conftest.$ac_ext
7041 # OK, works on sane cases. Now check whether nonexistent headers
7042 # can be detected and how.
7043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7044 /* end confdefs.h. */
7045 #include <ac_nonexistent.h>
7046 _ACEOF
7047 if ac_fn_c_try_cpp "$LINENO"; then :
7048 # Broken: success on invalid input.
7049 continue
7050 else
7051 # Passes both tests.
7052 ac_preproc_ok=:
7053 break
7055 rm -f conftest.err conftest.i conftest.$ac_ext
7057 done
7058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7059 rm -f conftest.i conftest.err conftest.$ac_ext
7060 if $ac_preproc_ok; then :
7061 break
7064 done
7065 ac_cv_prog_CPP=$CPP
7068 CPP=$ac_cv_prog_CPP
7069 else
7070 ac_cv_prog_CPP=$CPP
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7073 $as_echo "$CPP" >&6; }
7074 ac_preproc_ok=false
7075 for ac_c_preproc_warn_flag in '' yes
7077 # Use a header file that comes with gcc, so configuring glibc
7078 # with a fresh cross-compiler works.
7079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7080 # <limits.h> exists even on freestanding compilers.
7081 # On the NeXT, cc -E runs the code through the compiler's parser,
7082 # not just through cpp. "Syntax error" is here to catch this case.
7083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7085 #ifdef __STDC__
7086 # include <limits.h>
7087 #else
7088 # include <assert.h>
7089 #endif
7090 Syntax error
7091 _ACEOF
7092 if ac_fn_c_try_cpp "$LINENO"; then :
7094 else
7095 # Broken: fails on valid input.
7096 continue
7098 rm -f conftest.err conftest.i conftest.$ac_ext
7100 # OK, works on sane cases. Now check whether nonexistent headers
7101 # can be detected and how.
7102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 /* end confdefs.h. */
7104 #include <ac_nonexistent.h>
7105 _ACEOF
7106 if ac_fn_c_try_cpp "$LINENO"; then :
7107 # Broken: success on invalid input.
7108 continue
7109 else
7110 # Passes both tests.
7111 ac_preproc_ok=:
7112 break
7114 rm -f conftest.err conftest.i conftest.$ac_ext
7116 done
7117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7118 rm -f conftest.i conftest.err conftest.$ac_ext
7119 if $ac_preproc_ok; then :
7121 else
7122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7124 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7125 See \`config.log' for more details" "$LINENO" 5; }
7128 ac_ext=c
7129 ac_cpp='$CPP $CPPFLAGS'
7130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7136 $as_echo_n "checking for ANSI C header files... " >&6; }
7137 if ${ac_cv_header_stdc+:} false; then :
7138 $as_echo_n "(cached) " >&6
7139 else
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #include <stdlib.h>
7143 #include <stdarg.h>
7144 #include <string.h>
7145 #include <float.h>
7148 main ()
7152 return 0;
7154 _ACEOF
7155 if ac_fn_c_try_compile "$LINENO"; then :
7156 ac_cv_header_stdc=yes
7157 else
7158 ac_cv_header_stdc=no
7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162 if test $ac_cv_header_stdc = yes; then
7163 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7165 /* end confdefs.h. */
7166 #include <string.h>
7168 _ACEOF
7169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7170 $EGREP "memchr" >/dev/null 2>&1; then :
7172 else
7173 ac_cv_header_stdc=no
7175 rm -f conftest*
7179 if test $ac_cv_header_stdc = yes; then
7180 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #include <stdlib.h>
7185 _ACEOF
7186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7187 $EGREP "free" >/dev/null 2>&1; then :
7189 else
7190 ac_cv_header_stdc=no
7192 rm -f conftest*
7196 if test $ac_cv_header_stdc = yes; then
7197 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7198 if test "$cross_compiling" = yes; then :
7200 else
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 #include <ctype.h>
7204 #include <stdlib.h>
7205 #if ((' ' & 0x0FF) == 0x020)
7206 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7207 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7208 #else
7209 # define ISLOWER(c) \
7210 (('a' <= (c) && (c) <= 'i') \
7211 || ('j' <= (c) && (c) <= 'r') \
7212 || ('s' <= (c) && (c) <= 'z'))
7213 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7214 #endif
7216 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7218 main ()
7220 int i;
7221 for (i = 0; i < 256; i++)
7222 if (XOR (islower (i), ISLOWER (i))
7223 || toupper (i) != TOUPPER (i))
7224 return 2;
7225 return 0;
7227 _ACEOF
7228 if ac_fn_c_try_run "$LINENO"; then :
7230 else
7231 ac_cv_header_stdc=no
7233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7234 conftest.$ac_objext conftest.beam conftest.$ac_ext
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7240 $as_echo "$ac_cv_header_stdc" >&6; }
7241 if test $ac_cv_header_stdc = yes; then
7243 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7247 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7248 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7249 inttypes.h stdint.h unistd.h
7250 do :
7251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7252 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7254 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7257 _ACEOF
7261 done
7264 for ac_header in \
7265 AL/al.h \
7266 ApplicationServices/ApplicationServices.h \
7267 AudioToolbox/AudioConverter.h \
7268 AudioUnit/AudioUnit.h \
7269 AudioUnit/AudioComponent.h \
7270 CL/cl.h \
7271 Carbon/Carbon.h \
7272 CommonCrypto/CommonCryptor.h \
7273 CoreAudio/CoreAudio.h \
7274 CoreServices/CoreServices.h \
7275 DiskArbitration/DiskArbitration.h \
7276 EGL/egl.h \
7277 IOKit/IOKitLib.h \
7278 IOKit/hid/IOHIDLib.h \
7279 OpenAL/al.h \
7280 OpenCL/opencl.h \
7281 QuickTime/ImageCompression.h \
7282 Security/Security.h \
7283 alias.h \
7284 alsa/asoundlib.h \
7285 arpa/inet.h \
7286 arpa/nameser.h \
7287 asm/types.h \
7288 asm/user.h \
7289 curses.h \
7290 direct.h \
7291 dirent.h \
7292 dlfcn.h \
7293 elf.h \
7294 float.h \
7295 fnmatch.h \
7296 getopt.h \
7297 gettext-po.h \
7298 grp.h \
7299 gsm.h \
7300 gsm/gsm.h \
7301 ieeefp.h \
7302 inet/mib2.h \
7303 io.h \
7304 kstat.h \
7305 libproc.h \
7306 link.h \
7307 linux/cdrom.h \
7308 linux/compiler.h \
7309 linux/filter.h \
7310 linux/hdreg.h \
7311 linux/hidraw.h \
7312 linux/input.h \
7313 linux/ioctl.h \
7314 linux/joystick.h \
7315 linux/major.h \
7316 linux/param.h \
7317 linux/serial.h \
7318 linux/types.h \
7319 linux/ucdrom.h \
7320 lwp.h \
7321 mach-o/nlist.h \
7322 mach-o/loader.h \
7323 mach/mach.h \
7324 mach/machine.h \
7325 machine/cpu.h \
7326 machine/limits.h \
7327 machine/sysarch.h \
7328 mntent.h \
7329 ncurses.h \
7330 netdb.h \
7331 netinet/in.h \
7332 netinet/in_systm.h \
7333 netinet/tcp.h \
7334 netinet/tcp_fsm.h \
7335 pcap/pcap.h \
7336 poll.h \
7337 port.h \
7338 process.h \
7339 pthread.h \
7340 pwd.h \
7341 sched.h \
7342 scsi/scsi.h \
7343 scsi/scsi_ioctl.h \
7344 scsi/sg.h \
7345 stdbool.h \
7346 stdint.h \
7347 stropts.h \
7348 sys/asoundlib.h \
7349 sys/attr.h \
7350 sys/auxv.h \
7351 sys/cdio.h \
7352 sys/elf32.h \
7353 sys/epoll.h \
7354 sys/event.h \
7355 sys/exec_elf.h \
7356 sys/filio.h \
7357 sys/inotify.h \
7358 sys/ioctl.h \
7359 sys/ipc.h \
7360 sys/limits.h \
7361 sys/link.h \
7362 sys/mman.h \
7363 sys/modem.h \
7364 sys/msg.h \
7365 sys/mtio.h \
7366 sys/param.h \
7367 sys/poll.h \
7368 sys/prctl.h \
7369 sys/protosw.h \
7370 sys/ptrace.h \
7371 sys/queue.h \
7372 sys/resource.h \
7373 sys/scsiio.h \
7374 sys/shm.h \
7375 sys/signal.h \
7376 sys/socket.h \
7377 sys/socketvar.h \
7378 sys/sockio.h \
7379 sys/statvfs.h \
7380 sys/strtio.h \
7381 sys/syscall.h \
7382 sys/sysinfo.h \
7383 sys/tihdr.h \
7384 sys/time.h \
7385 sys/timeout.h \
7386 sys/times.h \
7387 sys/uio.h \
7388 sys/user.h \
7389 sys/utsname.h \
7390 sys/vnode.h \
7391 sys/wait.h \
7392 syscall.h \
7393 termios.h \
7394 unistd.h \
7395 utime.h \
7396 valgrind/memcheck.h \
7397 valgrind/valgrind.h \
7398 zlib.h
7400 do :
7401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7402 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7403 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7404 cat >>confdefs.h <<_ACEOF
7405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 _ACEOF
7410 done
7412 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7413 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7415 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7420 if test $ac_cv_header_sys_mkdev_h = no; then
7421 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7422 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7424 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7431 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7432 if ${ac_cv_header_stat_broken+:} false; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7436 /* end confdefs.h. */
7437 #include <sys/types.h>
7438 #include <sys/stat.h>
7440 #if defined S_ISBLK && defined S_IFDIR
7441 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7442 #endif
7444 #if defined S_ISBLK && defined S_IFCHR
7445 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7446 #endif
7448 #if defined S_ISLNK && defined S_IFREG
7449 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7450 #endif
7452 #if defined S_ISSOCK && defined S_IFREG
7453 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7454 #endif
7456 _ACEOF
7457 if ac_fn_c_try_compile "$LINENO"; then :
7458 ac_cv_header_stat_broken=no
7459 else
7460 ac_cv_header_stat_broken=yes
7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7465 $as_echo "$ac_cv_header_stat_broken" >&6; }
7466 if test $ac_cv_header_stat_broken = yes; then
7468 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7474 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7475 do :
7476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7478 #ifdef HAVE_SYS_PARAM_H
7479 # include <sys/param.h>
7480 #endif
7482 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7483 cat >>confdefs.h <<_ACEOF
7484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 _ACEOF
7489 done
7492 for ac_header in \
7493 netinet/ip.h \
7494 net/if.h \
7495 net/if_arp.h \
7496 net/if_dl.h \
7497 net/if_types.h \
7498 net/route.h \
7499 netinet/if_ether.h \
7500 netinet/if_inarp.h \
7501 netinet/in_pcb.h \
7502 netinet/ip_icmp.h \
7503 netinet/ip_var.h \
7504 netinet/udp.h \
7505 netipx/ipx.h \
7506 sys/un.h \
7508 do :
7509 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7510 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7511 #ifdef HAVE_SYS_SOCKET_H
7512 # include <sys/socket.h>
7513 #endif
7514 #ifdef HAVE_SYS_SOCKETVAR_H
7515 # include <sys/socketvar.h>
7516 #endif
7517 #ifdef HAVE_NET_ROUTE_H
7518 # include <net/route.h>
7519 #endif
7520 #ifdef HAVE_NETINET_IN_H
7521 # include <netinet/in.h>
7522 #endif
7523 #ifdef HAVE_NETINET_IN_SYSTM_H
7524 # include <netinet/in_systm.h>
7525 #endif
7526 #ifdef HAVE_NET_IF_H
7527 # include <net/if.h>
7528 #endif
7529 #ifdef HAVE_NETINET_IP_H
7530 # include <netinet/ip.h>
7531 #endif
7533 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7534 cat >>confdefs.h <<_ACEOF
7535 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7536 _ACEOF
7540 done
7543 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7544 do :
7545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7547 #ifdef HAVE_ALIAS_H
7548 # include <alias.h>
7549 #endif
7550 #ifdef HAVE_SYS_SOCKET_H
7551 # include <sys/socket.h>
7552 #endif
7553 #ifdef HAVE_SYS_SOCKETVAR_H
7554 # include <sys/socketvar.h>
7555 #endif
7556 #ifdef HAVE_SYS_TIMEOUT_H
7557 # include <sys/timeout.h>
7558 #endif
7559 #ifdef HAVE_NETINET_IN_H
7560 # include <netinet/in.h>
7561 #endif
7562 #ifdef HAVE_NETINET_IN_SYSTM_H
7563 # include <netinet/in_systm.h>
7564 #endif
7565 #ifdef HAVE_NETINET_IP_H
7566 # include <netinet/ip.h>
7567 #endif
7568 #ifdef HAVE_NETINET_IP_VAR_H
7569 # include <netinet/ip_var.h>
7570 #endif
7571 #ifdef HAVE_NETINET_IP_ICMP_H
7572 # include <netinet/ip_icmp.h>
7573 #endif
7574 #ifdef HAVE_NETINET_UDP_H
7575 # include <netinet/udp.h>
7576 #endif
7577 #ifdef HAVE_NETINET_TCP_H
7578 # include <netinet/tcp.h>
7579 #endif
7580 #ifdef HAVE_NETINET_TCP_TIMER_H
7581 #include <netinet/tcp_timer.h>
7582 #endif
7584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7585 cat >>confdefs.h <<_ACEOF
7586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7587 _ACEOF
7591 done
7594 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7595 do :
7596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7598 #ifdef HAVE_ASM_TYPES_H
7599 # include <asm/types.h>
7600 #endif
7601 #ifdef HAVE_SYS_SOCKET_H
7602 # include <sys/socket.h>
7603 #endif
7604 #ifdef HAVE_LINUX_TYPES_H
7605 # include <linux/types.h>
7606 #endif
7608 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7609 cat >>confdefs.h <<_ACEOF
7610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7611 _ACEOF
7615 done
7618 for ac_header in mach-o/dyld_images.h
7619 do :
7620 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7621 # include <stdbool.h>
7622 #endif
7623 #ifdef HAVE_STDINT_H
7624 # include <stdint.h>
7625 #endif
7627 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7630 _ACEOF
7634 done
7637 for ac_header in resolv.h
7638 do :
7639 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7640 #ifdef HAVE_SYS_SOCKET_H
7641 # include <sys/socket.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IN_H
7644 # include <netinet/in.h>
7645 #endif
7646 #ifdef HAVE_ARPA_NAMESER_H
7647 # include <arpa/nameser.h>
7648 #endif
7650 if test "x$ac_cv_header_resolv_h" = xyes; then :
7651 cat >>confdefs.h <<_ACEOF
7652 #define HAVE_RESOLV_H 1
7653 _ACEOF
7657 done
7660 for ac_header in ifaddrs.h
7661 do :
7662 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7664 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7665 cat >>confdefs.h <<_ACEOF
7666 #define HAVE_IFADDRS_H 1
7667 _ACEOF
7671 done
7674 for ac_header in sys/ucontext.h
7675 do :
7676 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7678 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7679 cat >>confdefs.h <<_ACEOF
7680 #define HAVE_SYS_UCONTEXT_H 1
7681 _ACEOF
7685 done
7688 for ac_header in sys/thr.h
7689 do :
7690 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7691 #ifdef HAVE_SYS_UCONTEXT_H
7692 #include <sys/ucontext.h>
7693 #endif
7695 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7696 cat >>confdefs.h <<_ACEOF
7697 #define HAVE_SYS_THR_H 1
7698 _ACEOF
7702 done
7705 for ac_header in pthread_np.h
7706 do :
7707 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7708 #include <pthread.h>
7709 #endif
7711 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7712 cat >>confdefs.h <<_ACEOF
7713 #define HAVE_PTHREAD_NP_H 1
7714 _ACEOF
7718 done
7721 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7722 do :
7723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7724 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7725 #include <sys/time.h>
7726 #endif
7727 #include <sys/types.h>
7728 #ifdef HAVE_ASM_TYPES_H
7729 #include <asm/types.h>
7730 #endif
7732 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7733 cat >>confdefs.h <<_ACEOF
7734 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7739 done
7742 for ac_header in libprocstat.h
7743 do :
7744 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7745 #include <sys/param.h>
7746 #endif
7747 #ifdef HAVE_SYS_QUEUE_H
7748 #include <sys/queue.h>
7749 #endif
7750 #ifdef HAVE_SYS_SOCKET_H
7751 #include <sys/socket.h>
7752 #endif
7754 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define HAVE_LIBPROCSTAT_H 1
7757 _ACEOF
7761 done
7765 DLLFLAGS="-D_REENTRANT"
7767 LDRPATH_INSTALL=""
7769 LDRPATH_LOCAL=""
7771 LDEXECFLAGS=""
7773 WINELOADER_LDFLAGS=""
7775 LIBEXT="so"
7776 DLLEXT=".so"
7777 IMPLIBEXT="def"
7778 # Extract the first word of "ldd", so it can be a program name with args.
7779 set dummy ldd; ac_word=$2
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781 $as_echo_n "checking for $ac_word... " >&6; }
7782 if ${ac_cv_path_LDD+:} false; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 case $LDD in
7786 [\\/]* | ?:[\\/]*)
7787 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 as_dummy="/sbin:/usr/sbin:$PATH"
7792 for as_dir in $as_dummy
7794 IFS=$as_save_IFS
7795 test -z "$as_dir" && as_dir=.
7796 for ac_exec_ext in '' $ac_executable_extensions; do
7797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7798 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7800 break 2
7802 done
7803 done
7804 IFS=$as_save_IFS
7806 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7808 esac
7810 LDD=$ac_cv_path_LDD
7811 if test -n "$LDD"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7813 $as_echo "$LDD" >&6; }
7814 else
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7820 if test -n "$ac_tool_prefix"; then
7821 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7822 set dummy ${ac_tool_prefix}otool; ac_word=$2
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7824 $as_echo_n "checking for $ac_word... " >&6; }
7825 if ${ac_cv_prog_OTOOL+:} false; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 if test -n "$OTOOL"; then
7829 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7830 else
7831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 for as_dir in $PATH
7834 IFS=$as_save_IFS
7835 test -z "$as_dir" && as_dir=.
7836 for ac_exec_ext in '' $ac_executable_extensions; do
7837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7838 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840 break 2
7842 done
7843 done
7844 IFS=$as_save_IFS
7848 OTOOL=$ac_cv_prog_OTOOL
7849 if test -n "$OTOOL"; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7851 $as_echo "$OTOOL" >&6; }
7852 else
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7854 $as_echo "no" >&6; }
7859 if test -z "$ac_cv_prog_OTOOL"; then
7860 ac_ct_OTOOL=$OTOOL
7861 # Extract the first word of "otool", so it can be a program name with args.
7862 set dummy otool; ac_word=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7866 $as_echo_n "(cached) " >&6
7867 else
7868 if test -n "$ac_ct_OTOOL"; then
7869 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7870 else
7871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 for as_dir in $PATH
7874 IFS=$as_save_IFS
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_prog_ac_ct_OTOOL="otool"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 break 2
7882 done
7883 done
7884 IFS=$as_save_IFS
7888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7889 if test -n "$ac_ct_OTOOL"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7891 $as_echo "$ac_ct_OTOOL" >&6; }
7892 else
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7897 if test "x$ac_ct_OTOOL" = x; then
7898 OTOOL="otool"
7899 else
7900 case $cross_compiling:$ac_tool_warned in
7901 yes:)
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906 OTOOL=$ac_ct_OTOOL
7908 else
7909 OTOOL="$ac_cv_prog_OTOOL"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_READELF+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$READELF"; then
7921 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 READELF=$ac_cv_prog_READELF
7941 if test -n "$READELF"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7943 $as_echo "$READELF" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7951 if test -z "$ac_cv_prog_READELF"; then
7952 ac_ct_READELF=$READELF
7953 # Extract the first word of "readelf", so it can be a program name with args.
7954 set dummy readelf; ac_word=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7958 $as_echo_n "(cached) " >&6
7959 else
7960 if test -n "$ac_ct_READELF"; then
7961 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970 ac_cv_prog_ac_ct_READELF="readelf"
7971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7980 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7981 if test -n "$ac_ct_READELF"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7983 $as_echo "$ac_ct_READELF" >&6; }
7984 else
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986 $as_echo "no" >&6; }
7989 if test "x$ac_ct_READELF" = x; then
7990 READELF="true"
7991 else
7992 case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7996 ac_tool_warned=yes ;;
7997 esac
7998 READELF=$ac_ct_READELF
8000 else
8001 READELF="$ac_cv_prog_READELF"
8004 wine_rules_file=conf$$rules.make
8005 rm -f $wine_rules_file
8006 SUBDIRS=""
8008 DISABLED_SUBDIRS=""
8010 CONFIGURE_TARGETS=""
8013 wine_fn_append_file ()
8015 as_fn_append $1 " \\$as_nl $2"
8018 wine_fn_append_rule ()
8020 $as_echo "$1" >>$wine_rules_file
8023 wine_fn_config_makefile ()
8025 wine_fn_append_file SUBDIRS $1
8026 if eval test \"x\$"$2"\" = x"no"; then :
8027 wine_fn_append_file DISABLED_SUBDIRS $1
8031 wine_fn_config_symlink ()
8033 ac_links=$@
8034 wine_fn_append_rule \
8035 "$ac_links:
8036 @./config.status \$@"
8037 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8040 wine_binary="wine"
8041 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8042 WINELOADER_PROGRAMS="$wine_binary"
8044 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8046 case $host_os in
8047 cygwin*|mingw32*)
8048 if test -n "$ac_tool_prefix"; then
8049 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8050 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8052 $as_echo_n "checking for $ac_word... " >&6; }
8053 if ${ac_cv_prog_DLLTOOL+:} false; then :
8054 $as_echo_n "(cached) " >&6
8055 else
8056 if test -n "$DLLTOOL"; then
8057 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8058 else
8059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 for as_dir in $PATH
8062 IFS=$as_save_IFS
8063 test -z "$as_dir" && as_dir=.
8064 for ac_exec_ext in '' $ac_executable_extensions; do
8065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8066 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 break 2
8070 done
8071 done
8072 IFS=$as_save_IFS
8076 DLLTOOL=$ac_cv_prog_DLLTOOL
8077 if test -n "$DLLTOOL"; then
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8079 $as_echo "$DLLTOOL" >&6; }
8080 else
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8082 $as_echo "no" >&6; }
8087 if test -z "$ac_cv_prog_DLLTOOL"; then
8088 ac_ct_DLLTOOL=$DLLTOOL
8089 # Extract the first word of "dlltool", so it can be a program name with args.
8090 set dummy dlltool; ac_word=$2
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092 $as_echo_n "checking for $ac_word... " >&6; }
8093 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8094 $as_echo_n "(cached) " >&6
8095 else
8096 if test -n "$ac_ct_DLLTOOL"; then
8097 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8098 else
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 for as_dir in $PATH
8102 IFS=$as_save_IFS
8103 test -z "$as_dir" && as_dir=.
8104 for ac_exec_ext in '' $ac_executable_extensions; do
8105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8106 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8108 break 2
8110 done
8111 done
8112 IFS=$as_save_IFS
8116 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8117 if test -n "$ac_ct_DLLTOOL"; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8119 $as_echo "$ac_ct_DLLTOOL" >&6; }
8120 else
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122 $as_echo "no" >&6; }
8125 if test "x$ac_ct_DLLTOOL" = x; then
8126 DLLTOOL="false"
8127 else
8128 case $cross_compiling:$ac_tool_warned in
8129 yes:)
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8132 ac_tool_warned=yes ;;
8133 esac
8134 DLLTOOL=$ac_ct_DLLTOOL
8136 else
8137 DLLTOOL="$ac_cv_prog_DLLTOOL"
8140 LIBEXT="dll"
8141 DLLEXT=""
8142 IMPLIBEXT="a"
8143 enable_iphlpapi=${enable_iphlpapi:-no}
8144 enable_kernel32=${enable_kernel32:-no}
8145 enable_msvcrt=${enable_msvcrt:-no}
8146 enable_ntdll=${enable_ntdll:-no}
8147 enable_ws2_32=${enable_ws2_32:-no}
8148 enable_loader=${enable_loader:-no}
8149 enable_server=${enable_server:-no}
8150 with_x=${with_x:-no}
8151 with_pthread=${with_pthread:-no}
8153 crtlibs=""
8154 case $host_os in
8155 mingw32*)
8156 crtlibs="-lmsvcrt" ;;
8157 esac
8159 LIBWINE_SHAREDLIB="libwine.dll"
8161 LIBWINE_IMPORTLIB="libwine.a"
8163 LIBWINE_INSTALL_LIB="libwine.dll"
8165 LIBWINE_INSTALL_DEV="libwine.a"
8167 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8169 LIBWINE_DEPENDS="wine.def"
8173 darwin*|macosx*)
8174 for ac_header in libunwind.h
8175 do :
8176 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8177 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8178 cat >>confdefs.h <<_ACEOF
8179 #define HAVE_LIBUNWIND_H 1
8180 _ACEOF
8184 done
8186 ac_ext=m
8187 ac_cpp='$OBJCPP $CPPFLAGS'
8188 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8189 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8190 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8192 ac_ext=m
8193 ac_cpp='$OBJCPP $CPPFLAGS'
8194 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8197 if test -n "$ac_tool_prefix"; then
8198 for ac_prog in gcc objcc objc cc CC
8200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8201 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8203 $as_echo_n "checking for $ac_word... " >&6; }
8204 if ${ac_cv_prog_OBJC+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 if test -n "$OBJC"; then
8208 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8209 else
8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8211 for as_dir in $PATH
8213 IFS=$as_save_IFS
8214 test -z "$as_dir" && as_dir=.
8215 for ac_exec_ext in '' $ac_executable_extensions; do
8216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8217 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 break 2
8221 done
8222 done
8223 IFS=$as_save_IFS
8227 OBJC=$ac_cv_prog_OBJC
8228 if test -n "$OBJC"; then
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8230 $as_echo "$OBJC" >&6; }
8231 else
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8233 $as_echo "no" >&6; }
8237 test -n "$OBJC" && break
8238 done
8240 if test -z "$OBJC"; then
8241 ac_ct_OBJC=$OBJC
8242 for ac_prog in gcc objcc objc cc CC
8244 # Extract the first word of "$ac_prog", so it can be a program name with args.
8245 set dummy $ac_prog; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$ac_ct_OBJC"; then
8252 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8265 done
8266 done
8267 IFS=$as_save_IFS
8271 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8272 if test -n "$ac_ct_OBJC"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8274 $as_echo "$ac_ct_OBJC" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8281 test -n "$ac_ct_OBJC" && break
8282 done
8284 if test "x$ac_ct_OBJC" = x; then
8285 OBJC="gcc"
8286 else
8287 case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291 ac_tool_warned=yes ;;
8292 esac
8293 OBJC=$ac_ct_OBJC
8297 # Provide some information about the compiler.
8298 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8299 set X $ac_compile
8300 ac_compiler=$2
8301 for ac_option in --version -v -V -qversion; do
8302 { { ac_try="$ac_compiler $ac_option >&5"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8308 $as_echo "$ac_try_echo"; } >&5
8309 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8310 ac_status=$?
8311 if test -s conftest.err; then
8312 sed '10a\
8313 ... rest of stderr output deleted ...
8314 10q' conftest.err >conftest.er1
8315 cat conftest.er1 >&5
8317 rm -f conftest.er1 conftest.err
8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8319 test $ac_status = 0; }
8320 done
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8323 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8324 if ${ac_cv_objc_compiler_gnu+:} false; then :
8325 $as_echo_n "(cached) " >&6
8326 else
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8331 main ()
8333 #ifndef __GNUC__
8334 choke me
8335 #endif
8338 return 0;
8340 _ACEOF
8341 if ac_fn_objc_try_compile "$LINENO"; then :
8342 ac_compiler_gnu=yes
8343 else
8344 ac_compiler_gnu=no
8346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8347 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8351 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8352 if test $ac_compiler_gnu = yes; then
8353 GOBJC=yes
8354 else
8355 GOBJC=
8357 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8358 ac_save_OBJCFLAGS=$OBJCFLAGS
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8360 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8361 if ${ac_cv_prog_objc_g+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 ac_save_objc_werror_flag=$ac_objc_werror_flag
8365 ac_objc_werror_flag=yes
8366 ac_cv_prog_objc_g=no
8367 OBJCFLAGS="-g"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8372 main ()
8376 return 0;
8378 _ACEOF
8379 if ac_fn_objc_try_compile "$LINENO"; then :
8380 ac_cv_prog_objc_g=yes
8381 else
8382 OBJCFLAGS=""
8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8384 /* end confdefs.h. */
8387 main ()
8391 return 0;
8393 _ACEOF
8394 if ac_fn_objc_try_compile "$LINENO"; then :
8396 else
8397 ac_objc_werror_flag=$ac_save_objc_werror_flag
8398 OBJCFLAGS="-g"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8403 main ()
8407 return 0;
8409 _ACEOF
8410 if ac_fn_objc_try_compile "$LINENO"; then :
8411 ac_cv_prog_objc_g=yes
8413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8418 ac_objc_werror_flag=$ac_save_objc_werror_flag
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8421 $as_echo "$ac_cv_prog_objc_g" >&6; }
8422 if test "$ac_test_OBJCFLAGS" = set; then
8423 OBJCFLAGS=$ac_save_OBJCFLAGS
8424 elif test $ac_cv_prog_objc_g = yes; then
8425 if test "$GOBJC" = yes; then
8426 OBJCFLAGS="-g -O2"
8427 else
8428 OBJCFLAGS="-g"
8430 else
8431 if test "$GOBJC" = yes; then
8432 OBJCFLAGS="-O2"
8433 else
8434 OBJCFLAGS=
8437 ac_ext=m
8438 ac_cpp='$OBJCPP $CPPFLAGS'
8439 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8440 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8441 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8444 ac_ext=m
8445 ac_cpp='$OBJCPP $CPPFLAGS'
8446 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8450 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8451 if test -z "$OBJCPP"; then
8452 if ${ac_cv_prog_OBJCPP+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 # Double quotes because OBJCPP needs to be expanded
8456 for OBJCPP in "$OBJC -E" "/lib/cpp"
8458 ac_preproc_ok=false
8459 for ac_objc_preproc_warn_flag in '' yes
8461 # Use a header file that comes with gcc, so configuring glibc
8462 # with a fresh cross-compiler works.
8463 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8464 # <limits.h> exists even on freestanding compilers.
8465 # On the NeXT, cc -E runs the code through the compiler's parser,
8466 # not just through cpp. "Syntax error" is here to catch this case.
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 #ifdef __STDC__
8470 # include <limits.h>
8471 #else
8472 # include <assert.h>
8473 #endif
8474 Syntax error
8475 _ACEOF
8476 if ac_fn_objc_try_cpp "$LINENO"; then :
8478 else
8479 # Broken: fails on valid input.
8480 continue
8482 rm -f conftest.err conftest.i conftest.$ac_ext
8484 # OK, works on sane cases. Now check whether nonexistent headers
8485 # can be detected and how.
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 #include <ac_nonexistent.h>
8489 _ACEOF
8490 if ac_fn_objc_try_cpp "$LINENO"; then :
8491 # Broken: success on invalid input.
8492 continue
8493 else
8494 # Passes both tests.
8495 ac_preproc_ok=:
8496 break
8498 rm -f conftest.err conftest.i conftest.$ac_ext
8500 done
8501 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8502 rm -f conftest.i conftest.err conftest.$ac_ext
8503 if $ac_preproc_ok; then :
8504 break
8507 done
8508 ac_cv_prog_OBJCPP=$OBJCPP
8511 OBJCPP=$ac_cv_prog_OBJCPP
8512 else
8513 ac_cv_prog_OBJCPP=$OBJCPP
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8516 $as_echo "$OBJCPP" >&6; }
8517 ac_preproc_ok=false
8518 for ac_objc_preproc_warn_flag in '' yes
8520 # Use a header file that comes with gcc, so configuring glibc
8521 # with a fresh cross-compiler works.
8522 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8523 # <limits.h> exists even on freestanding compilers.
8524 # On the NeXT, cc -E runs the code through the compiler's parser,
8525 # not just through cpp. "Syntax error" is here to catch this case.
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8527 /* end confdefs.h. */
8528 #ifdef __STDC__
8529 # include <limits.h>
8530 #else
8531 # include <assert.h>
8532 #endif
8533 Syntax error
8534 _ACEOF
8535 if ac_fn_objc_try_cpp "$LINENO"; then :
8537 else
8538 # Broken: fails on valid input.
8539 continue
8541 rm -f conftest.err conftest.i conftest.$ac_ext
8543 # OK, works on sane cases. Now check whether nonexistent headers
8544 # can be detected and how.
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8547 #include <ac_nonexistent.h>
8548 _ACEOF
8549 if ac_fn_objc_try_cpp "$LINENO"; then :
8550 # Broken: success on invalid input.
8551 continue
8552 else
8553 # Passes both tests.
8554 ac_preproc_ok=:
8555 break
8557 rm -f conftest.err conftest.i conftest.$ac_ext
8559 done
8560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8561 rm -f conftest.i conftest.err conftest.$ac_ext
8562 if $ac_preproc_ok; then :
8564 else
8565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8567 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8568 See \`config.log' for more details" "$LINENO" 5; }
8571 ac_ext=m
8572 ac_cpp='$OBJCPP $CPPFLAGS'
8573 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8574 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8575 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8578 for ac_header in Metal/Metal.h
8579 do :
8580 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8581 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8582 cat >>confdefs.h <<_ACEOF
8583 #define HAVE_METAL_METAL_H 1
8584 _ACEOF
8588 done
8590 ac_ext=c
8591 ac_cpp='$CPP $CPPFLAGS'
8592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596 LIBEXT="dylib"
8597 DLLFLAGS="$DLLFLAGS -fPIC"
8598 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8599 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8600 COREFOUNDATION_LIBS="-framework CoreFoundation"
8602 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8604 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8606 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8608 CORESERVICES_LIBS="-framework CoreServices"
8610 APPKIT_LIBS="-framework AppKit"
8612 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8614 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8615 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8616 $as_echo_n "(cached) " >&6
8617 else
8618 ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -Wl,-no_pie"
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8622 int main(int argc, char **argv) { return 0; }
8623 _ACEOF
8624 if ac_fn_c_try_link "$LINENO"; then :
8625 ac_cv_cflags__Wl__no_pie=yes
8626 else
8627 ac_cv_cflags__Wl__no_pie=no
8629 rm -f core conftest.err conftest.$ac_objext \
8630 conftest$ac_exeext conftest.$ac_ext
8631 CFLAGS=$ac_wine_try_cflags_saved
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8634 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8635 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8636 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8638 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8639 then
8640 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8643 if test "$ac_cv_header_Security_Security_h" = "yes"
8644 then
8645 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8647 ac_save_LIBS="$LIBS"
8648 LIBS="$LIBS $SECURITY_LIBS"
8649 for ac_func in SSLCopyPeerCertificates
8650 do :
8651 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8652 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8653 cat >>confdefs.h <<_ACEOF
8654 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8655 _ACEOF
8658 done
8660 LIBS="$ac_save_LIBS"
8662 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8663 then
8664 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8665 then
8666 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8668 else
8669 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8672 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8673 ac_save_LIBS="$LIBS"
8674 LIBS="$LIBS $COREAUDIO_LIBS"
8675 for ac_func in AUGraphAddNode
8676 do :
8677 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8678 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8679 cat >>confdefs.h <<_ACEOF
8680 #define HAVE_AUGRAPHADDNODE 1
8681 _ACEOF
8684 done
8686 LIBS="$ac_save_LIBS"
8688 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8689 then
8690 OPENAL_LIBS="-framework OpenAL"
8693 cat >>confdefs.h <<_ACEOF
8694 #define HAVE_OPENAL 1
8695 _ACEOF
8697 ac_cv_lib_openal=yes
8699 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8700 then
8701 OPENCL_LIBS="-framework OpenCL"
8703 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8705 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8706 then
8707 ac_save_LIBS="$LIBS"
8708 LIBS="$LIBS $IOKIT_LIBS"
8709 for ac_func in IOHIDManagerCreate
8710 do :
8711 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8712 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8713 cat >>confdefs.h <<_ACEOF
8714 #define HAVE_IOHIDMANAGERCREATE 1
8715 _ACEOF
8718 done
8720 LIBS="$ac_save_LIBS"
8722 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8723 then
8724 ac_save_LIBS="$LIBS"
8725 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8727 $as_echo_n "checking for the QuickTime framework... " >&6; }
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 #include <QuickTime/ImageCompression.h>
8732 main ()
8734 CodecManagerVersion(NULL);
8736 return 0;
8738 _ACEOF
8739 if ac_fn_c_try_link "$LINENO"; then :
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8741 $as_echo "yes" >&6; }
8742 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8744 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8748 ac_cv_header_QuickTime_ImageCompression_h=no
8750 rm -f core conftest.err conftest.$ac_objext \
8751 conftest$ac_exeext conftest.$ac_ext
8752 LIBS="$ac_save_LIBS"
8754 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8755 then
8756 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8758 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8759 then
8760 CARBON_LIBS="-framework Carbon"
8763 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8764 then
8765 METAL_LIBS="-framework Metal -framework QuartzCore"
8769 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8770 then
8771 ac_save_LIBS="$LIBS"
8772 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8773 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8774 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8775 enable_winemac_drv=${enable_winemac_drv:-yes}
8778 LIBS="$ac_save_LIBS"
8781 if test "x$enable_win16" = "xyes"
8782 then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8784 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8785 if test "$cross_compiling" = yes; then :
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8787 $as_echo "cross-compiling, assuming yes" >&6; }
8788 else
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 asm(".text\n"
8792 "bad:\tnop;nop\n"
8793 "good:\tnop;nop\n\t"
8794 ".globl _testfunc\n"
8795 "_testfunc:\tcallw good");
8796 extern void testfunc();
8798 main ()
8800 unsigned short *p = (unsigned short *)testfunc;
8801 return p[0] != 0xe866 || p[1] != 0xfffa
8803 return 0;
8805 _ACEOF
8806 if ac_fn_c_try_run "$LINENO"; then :
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8808 $as_echo "yes" >&6; }
8809 else
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8811 $as_echo "no" >&6; }
8812 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
8814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8815 conftest.$ac_objext conftest.beam conftest.$ac_ext
8820 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8822 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8824 LIBWINE_INSTALL_DEV="libwine.dylib"
8826 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8828 WINELOADER_DEPENDS="wine_info.plist"
8832 linux-android*)
8833 DLLFLAGS="$DLLFLAGS -fPIC"
8834 LDEXECFLAGS="-Wl,-pie"
8835 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8837 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8838 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8839 $as_echo_n "(cached) " >&6
8840 else
8841 ac_wine_try_cflags_saved=$CFLAGS
8842 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8845 int main(int argc, char **argv) { return 0; }
8846 _ACEOF
8847 if ac_fn_c_try_link "$LINENO"; then :
8848 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8849 else
8850 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8852 rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
8854 CFLAGS=$ac_wine_try_cflags_saved
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8857 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8858 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8859 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8861 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8863 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8864 if eval \${$as_ac_var+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_wine_try_cflags_saved=$CFLAGS
8868 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8871 int main(int argc, char **argv) { return 0; }
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 eval "$as_ac_var=yes"
8875 else
8876 eval "$as_ac_var=no"
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 CFLAGS=$ac_wine_try_cflags_saved
8882 eval ac_res=\$$as_ac_var
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8884 $as_echo "$ac_res" >&6; }
8885 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8886 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8887 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8888 else
8889 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8891 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8892 if eval \${$as_ac_var+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 /* end confdefs.h. */
8899 int main(int argc, char **argv) { return 0; }
8900 _ACEOF
8901 if ac_fn_c_try_link "$LINENO"; then :
8902 eval "$as_ac_var=yes"
8903 else
8904 eval "$as_ac_var=no"
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 CFLAGS=$ac_wine_try_cflags_saved
8910 eval ac_res=\$$as_ac_var
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8912 $as_echo "$ac_res" >&6; }
8913 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8914 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8915 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8919 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8920 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 ac_wine_try_cflags_saved=$CFLAGS
8924 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8927 int main(int argc, char **argv) { return 0; }
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 ac_cv_cflags__Wl___enable_new_dtags=yes
8931 else
8932 ac_cv_cflags__Wl___enable_new_dtags=no
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 CFLAGS=$ac_wine_try_cflags_saved
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8939 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8940 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8941 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8944 LIBWINE_SHAREDLIB="libwine.so"
8946 LIBWINE_INSTALL_LIB="libwine.so"
8948 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8952 $as_echo_n "checking for -lEGL... " >&6; }
8953 if ${ac_cv_lib_soname_EGL+:} false; then :
8954 $as_echo_n "(cached) " >&6
8955 else
8956 ac_check_soname_save_LIBS=$LIBS
8957 LIBS="-lEGL $LIBS"
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8961 /* Override any GCC internal prototype to avoid an error.
8962 Use char because int might match the return type of a GCC
8963 builtin and then its argument prototype would still apply. */
8964 #ifdef __cplusplus
8965 extern "C"
8966 #endif
8967 char eglGetProcAddress ();
8969 main ()
8971 return eglGetProcAddress ();
8973 return 0;
8975 _ACEOF
8976 if ac_fn_c_try_link "$LINENO"; then :
8977 case "$LIBEXT" in
8978 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8979 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'` ;;
8980 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8981 if ${ac_cv_lib_soname_EGL:+false} :; then :
8982 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8983 fi ;;
8984 esac
8986 rm -f core conftest.err conftest.$ac_objext \
8987 conftest$ac_exeext conftest.$ac_ext
8988 LIBS=$ac_check_soname_save_LIBS
8990 if ${ac_cv_lib_soname_EGL:+false} :; then :
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8992 $as_echo "not found" >&6; }
8994 else
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8996 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8998 cat >>confdefs.h <<_ACEOF
8999 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9000 _ACEOF
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9005 $as_echo_n "checking for -lGLESv2... " >&6; }
9006 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9007 $as_echo_n "(cached) " >&6
9008 else
9009 ac_check_soname_save_LIBS=$LIBS
9010 LIBS="-lGLESv2 $LIBS"
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9014 /* Override any GCC internal prototype to avoid an error.
9015 Use char because int might match the return type of a GCC
9016 builtin and then its argument prototype would still apply. */
9017 #ifdef __cplusplus
9018 extern "C"
9019 #endif
9020 char glFlush ();
9022 main ()
9024 return glFlush ();
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 case "$LIBEXT" in
9031 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9032 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'` ;;
9033 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9034 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9035 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9036 fi ;;
9037 esac
9039 rm -f core conftest.err conftest.$ac_objext \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_soname_save_LIBS
9043 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9045 $as_echo "not found" >&6; }
9047 else
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9049 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9051 cat >>confdefs.h <<_ACEOF
9052 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9053 _ACEOF
9058 if test "x$exec_prefix" = xNONE
9059 then
9060 case $host_cpu in
9061 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9062 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9063 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9064 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9065 esac
9070 DLLFLAGS="$DLLFLAGS -fPIC"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9072 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9073 if ${ac_cv_c_dll_gnuelf+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 ac_wine_try_cflags_saved=$CFLAGS
9077 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 void myfunc() {}
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 ac_cv_c_dll_gnuelf="yes"
9084 else
9085 ac_cv_c_dll_gnuelf="no"
9087 rm -f core conftest.err conftest.$ac_objext \
9088 conftest$ac_exeext conftest.$ac_ext
9089 CFLAGS=$ac_wine_try_cflags_saved
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9092 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9093 if test "$ac_cv_c_dll_gnuelf" = "yes"
9094 then
9095 LIBWINE_LDFLAGS="-shared"
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
9097 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
9098 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
9099 $as_echo_n "(cached) " >&6
9100 else
9101 ac_wine_try_cflags_saved=$CFLAGS
9102 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9105 int main(int argc, char **argv) { return 0; }
9106 _ACEOF
9107 if ac_fn_c_try_link "$LINENO"; then :
9108 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
9109 else
9110 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
9112 rm -f core conftest.err conftest.$ac_objext \
9113 conftest$ac_exeext conftest.$ac_ext
9114 CFLAGS=$ac_wine_try_cflags_saved
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
9117 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
9118 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
9119 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9120 else
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
9122 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
9123 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
9124 $as_echo_n "(cached) " >&6
9125 else
9126 ac_wine_try_cflags_saved=$CFLAGS
9127 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9130 int main(int argc, char **argv) { return 0; }
9131 _ACEOF
9132 if ac_fn_c_try_link "$LINENO"; then :
9133 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
9134 else
9135 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
9137 rm -f core conftest.err conftest.$ac_objext \
9138 conftest$ac_exeext conftest.$ac_ext
9139 CFLAGS=$ac_wine_try_cflags_saved
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
9142 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
9143 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
9144 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9148 echo '{ global: *; };' >conftest.map
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
9150 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
9151 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
9152 $as_echo_n "(cached) " >&6
9153 else
9154 ac_wine_try_cflags_saved=$CFLAGS
9155 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
9156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157 /* end confdefs.h. */
9158 int main(int argc, char **argv) { return 0; }
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
9162 else
9163 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 CFLAGS=$ac_wine_try_cflags_saved
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
9170 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
9171 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
9172 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9174 rm -f conftest.map
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9177 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9178 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9179 $as_echo_n "(cached) " >&6
9180 else
9181 ac_wine_try_cflags_saved=$CFLAGS
9182 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9184 /* end confdefs.h. */
9185 int main(int argc, char **argv) { return 0; }
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9189 else
9190 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9192 rm -f core conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 CFLAGS=$ac_wine_try_cflags_saved
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9197 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9198 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9199 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9202 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9204 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9205 if eval \${$as_ac_var+:} false; then :
9206 $as_echo_n "(cached) " >&6
9207 else
9208 ac_wine_try_cflags_saved=$CFLAGS
9209 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9212 int main(int argc, char **argv) { return 0; }
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 eval "$as_ac_var=yes"
9216 else
9217 eval "$as_ac_var=no"
9219 rm -f core conftest.err conftest.$ac_objext \
9220 conftest$ac_exeext conftest.$ac_ext
9221 CFLAGS=$ac_wine_try_cflags_saved
9223 eval ac_res=\$$as_ac_var
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9225 $as_echo "$ac_res" >&6; }
9226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9227 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9228 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9229 else
9230 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9232 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9233 if eval \${$as_ac_var+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_wine_try_cflags_saved=$CFLAGS
9237 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9240 int main(int argc, char **argv) { return 0; }
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 eval "$as_ac_var=yes"
9244 else
9245 eval "$as_ac_var=no"
9247 rm -f core conftest.err conftest.$ac_objext \
9248 conftest$ac_exeext conftest.$ac_ext
9249 CFLAGS=$ac_wine_try_cflags_saved
9251 eval ac_res=\$$as_ac_var
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9253 $as_echo "$ac_res" >&6; }
9254 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9255 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9256 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9261 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9262 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 ac_wine_try_cflags_saved=$CFLAGS
9266 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9268 /* end confdefs.h. */
9269 int main(int argc, char **argv) { return 0; }
9270 _ACEOF
9271 if ac_fn_c_try_link "$LINENO"; then :
9272 ac_cv_cflags__Wl___enable_new_dtags=yes
9273 else
9274 ac_cv_cflags__Wl___enable_new_dtags=no
9276 rm -f core conftest.err conftest.$ac_objext \
9277 conftest$ac_exeext conftest.$ac_ext
9278 CFLAGS=$ac_wine_try_cflags_saved
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9281 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9282 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9283 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9286 case $host_cpu in
9287 *i[3456789]86* | x86_64 | *aarch64*)
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9289 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9290 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292 else
9293 ac_wine_try_cflags_saved=$CFLAGS
9294 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9297 int main(int argc, char **argv) { return 0; }
9298 _ACEOF
9299 if ac_fn_c_try_link "$LINENO"; then :
9300 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9301 else
9302 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 CFLAGS=$ac_wine_try_cflags_saved
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9309 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9310 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9311 case $host_os in
9312 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9313 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9314 esac
9315 else
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9317 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9318 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_wine_try_cflags_saved=$CFLAGS
9322 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9325 int main(int argc, char **argv) { return 0; }
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9329 else
9330 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 CFLAGS=$ac_wine_try_cflags_saved
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9337 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9338 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9339 case $host_os in
9340 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9341 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9342 esac
9344 # Extract the first word of "prelink", so it can be a program name with args.
9345 set dummy prelink; ac_word=$2
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9347 $as_echo_n "checking for $ac_word... " >&6; }
9348 if ${ac_cv_path_PRELINK+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 case $PRELINK in
9352 [\\/]* | ?:[\\/]*)
9353 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9357 for as_dir in /sbin /usr/sbin $PATH
9359 IFS=$as_save_IFS
9360 test -z "$as_dir" && as_dir=.
9361 for ac_exec_ext in '' $ac_executable_extensions; do
9362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9363 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9365 break 2
9367 done
9368 done
9369 IFS=$as_save_IFS
9371 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9373 esac
9375 PRELINK=$ac_cv_path_PRELINK
9376 if test -n "$PRELINK"; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9378 $as_echo "$PRELINK" >&6; }
9379 else
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9381 $as_echo "no" >&6; }
9385 if test "x$PRELINK" = xfalse
9386 then
9387 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9391 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9392 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9393 $as_echo_n "(cached) " >&6
9394 else
9395 ac_wine_try_cflags_saved=$CFLAGS
9396 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9403 else
9404 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 CFLAGS=$ac_wine_try_cflags_saved
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9411 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9412 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9413 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9416 esac
9418 else
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9420 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9421 if ${ac_cv_c_dll_unixware+:} false; then :
9422 $as_echo_n "(cached) " >&6
9423 else
9424 ac_wine_try_cflags_saved=$CFLAGS
9425 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9428 void myfunc() {}
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_c_dll_unixware="yes"
9432 else
9433 ac_cv_c_dll_unixware="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_c_dll_unixware" >&5
9440 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9441 if test "$ac_cv_c_dll_unixware" = "yes"
9442 then
9443 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9446 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9448 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9450 LIBWINE_INSTALL_DEV="libwine.so"
9452 LIBWINE_DEPENDS="wine.map"
9455 esac
9457 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9458 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9459 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9460 enable_winemac_drv=${enable_winemac_drv:-no}
9461 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9463 CROSSTARGET=""
9465 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9466 then
9467 case "$host_cpu" in
9468 aarch64*)
9469 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9470 arm*)
9471 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9472 i[3456789]86*)
9473 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
9474 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9475 mingw32-gcc" ;;
9476 x86_64)
9477 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
9478 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9480 ac_prefix_list="" ;;
9481 esac
9482 for ac_prog in $ac_prefix_list
9484 # Extract the first word of "$ac_prog", so it can be a program name with args.
9485 set dummy $ac_prog; ac_word=$2
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9487 $as_echo_n "checking for $ac_word... " >&6; }
9488 if ${ac_cv_prog_CROSSCC+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 if test -n "$CROSSCC"; then
9492 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9493 else
9494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495 for as_dir in $PATH
9497 IFS=$as_save_IFS
9498 test -z "$as_dir" && as_dir=.
9499 for ac_exec_ext in '' $ac_executable_extensions; do
9500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9501 ac_cv_prog_CROSSCC="$ac_prog"
9502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9503 break 2
9505 done
9506 done
9507 IFS=$as_save_IFS
9511 CROSSCC=$ac_cv_prog_CROSSCC
9512 if test -n "$CROSSCC"; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9514 $as_echo "$CROSSCC" >&6; }
9515 else
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9517 $as_echo "no" >&6; }
9521 test -n "$CROSSCC" && break
9522 done
9523 test -n "$CROSSCC" || CROSSCC="false"
9525 if test "$CROSSCC" != "false"
9526 then
9527 ac_save_CC="$CC"
9528 CC="$CROSSCC"
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9530 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9535 main ()
9539 return 0;
9541 _ACEOF
9542 if ac_fn_c_try_compile "$LINENO"; then :
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9544 $as_echo "yes" >&6; }
9545 set x $CROSSCC
9546 shift
9547 while test $# -ge 1
9549 case "$1" in
9550 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9551 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9552 esac
9553 shift
9554 done
9555 else
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9557 $as_echo "no" >&6; }
9559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9560 CC="$ac_save_CC"
9561 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9567 if test "$ac_cv_header_pthread_h" = "yes"
9568 then
9569 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9570 if test "x$ac_cv_func_pthread_create" = xyes; then :
9572 else
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9574 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9575 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9576 $as_echo_n "(cached) " >&6
9577 else
9578 ac_check_lib_save_LIBS=$LIBS
9579 LIBS="-lpthread $LIBS"
9580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9581 /* end confdefs.h. */
9583 /* Override any GCC internal prototype to avoid an error.
9584 Use char because int might match the return type of a GCC
9585 builtin and then its argument prototype would still apply. */
9586 #ifdef __cplusplus
9587 extern "C"
9588 #endif
9589 char pthread_create ();
9591 main ()
9593 return pthread_create ();
9595 return 0;
9597 _ACEOF
9598 if ac_fn_c_try_link "$LINENO"; then :
9599 ac_cv_lib_pthread_pthread_create=yes
9600 else
9601 ac_cv_lib_pthread_pthread_create=no
9603 rm -f core conftest.err conftest.$ac_objext \
9604 conftest$ac_exeext conftest.$ac_ext
9605 LIBS=$ac_check_lib_save_LIBS
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9608 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9609 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9610 PTHREAD_LIBS="-lpthread"
9617 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9618 case "x$with_pthread" in
9619 xno) ;;
9620 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9621 Wine cannot support threads without libpthread.
9622 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9623 esac
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9629 $as_echo_n "checking for X... " >&6; }
9632 # Check whether --with-x was given.
9633 if test "${with_x+set}" = set; then :
9634 withval=$with_x;
9637 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9638 if test "x$with_x" = xno; then
9639 # The user explicitly disabled X.
9640 have_x=disabled
9641 else
9642 case $x_includes,$x_libraries in #(
9643 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9644 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9645 $as_echo_n "(cached) " >&6
9646 else
9647 # One or both of the vars are not set, and there is no cached value.
9648 ac_x_includes=no ac_x_libraries=no
9649 rm -f -r conftest.dir
9650 if mkdir conftest.dir; then
9651 cd conftest.dir
9652 cat >Imakefile <<'_ACEOF'
9653 incroot:
9654 @echo incroot='${INCROOT}'
9655 usrlibdir:
9656 @echo usrlibdir='${USRLIBDIR}'
9657 libdir:
9658 @echo libdir='${LIBDIR}'
9659 _ACEOF
9660 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9661 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9662 for ac_var in incroot usrlibdir libdir; do
9663 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9664 done
9665 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9666 for ac_extension in a so sl dylib la dll; do
9667 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9668 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9669 ac_im_usrlibdir=$ac_im_libdir; break
9671 done
9672 # Screen out bogus values from the imake configuration. They are
9673 # bogus both because they are the default anyway, and because
9674 # using them would break gcc on systems where it needs fixed includes.
9675 case $ac_im_incroot in
9676 /usr/include) ac_x_includes= ;;
9677 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9678 esac
9679 case $ac_im_usrlibdir in
9680 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9681 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9682 esac
9684 cd ..
9685 rm -f -r conftest.dir
9688 # Standard set of common directories for X headers.
9689 # Check X11 before X11Rn because it is often a symlink to the current release.
9690 ac_x_header_dirs='
9691 /usr/X11/include
9692 /usr/X11R7/include
9693 /usr/X11R6/include
9694 /usr/X11R5/include
9695 /usr/X11R4/include
9697 /usr/include/X11
9698 /usr/include/X11R7
9699 /usr/include/X11R6
9700 /usr/include/X11R5
9701 /usr/include/X11R4
9703 /usr/local/X11/include
9704 /usr/local/X11R7/include
9705 /usr/local/X11R6/include
9706 /usr/local/X11R5/include
9707 /usr/local/X11R4/include
9709 /usr/local/include/X11
9710 /usr/local/include/X11R7
9711 /usr/local/include/X11R6
9712 /usr/local/include/X11R5
9713 /usr/local/include/X11R4
9715 /usr/X386/include
9716 /usr/x386/include
9717 /usr/XFree86/include/X11
9719 /usr/include
9720 /usr/local/include
9721 /usr/unsupported/include
9722 /usr/athena/include
9723 /usr/local/x11r5/include
9724 /usr/lpp/Xamples/include
9726 /usr/openwin/include
9727 /usr/openwin/share/include'
9729 if test "$ac_x_includes" = no; then
9730 # Guess where to find include files, by looking for Xlib.h.
9731 # First, try using that file with no special directory specified.
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9734 #include <X11/Xlib.h>
9735 _ACEOF
9736 if ac_fn_c_try_cpp "$LINENO"; then :
9737 # We can compile using X headers with no special include directory.
9738 ac_x_includes=
9739 else
9740 for ac_dir in $ac_x_header_dirs; do
9741 if test -r "$ac_dir/X11/Xlib.h"; then
9742 ac_x_includes=$ac_dir
9743 break
9745 done
9747 rm -f conftest.err conftest.i conftest.$ac_ext
9748 fi # $ac_x_includes = no
9750 if test "$ac_x_libraries" = no; then
9751 # Check for the libraries.
9752 # See if we find them without any special options.
9753 # Don't add to $LIBS permanently.
9754 ac_save_LIBS=$LIBS
9755 LIBS="-lX11 $LIBS"
9756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 /* end confdefs.h. */
9758 #include <X11/Xlib.h>
9760 main ()
9762 XrmInitialize ()
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 LIBS=$ac_save_LIBS
9769 # We can link X programs with no special library path.
9770 ac_x_libraries=
9771 else
9772 LIBS=$ac_save_LIBS
9773 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9775 # Don't even attempt the hair of trying to link an X program!
9776 for ac_extension in a so sl dylib la dll; do
9777 if test -r "$ac_dir/libX11.$ac_extension"; then
9778 ac_x_libraries=$ac_dir
9779 break 2
9781 done
9782 done
9784 rm -f core conftest.err conftest.$ac_objext \
9785 conftest$ac_exeext conftest.$ac_ext
9786 fi # $ac_x_libraries = no
9788 case $ac_x_includes,$ac_x_libraries in #(
9789 no,* | *,no | *\'*)
9790 # Didn't find X, or a directory has "'" in its name.
9791 ac_cv_have_x="have_x=no";; #(
9793 # Record where we found X for the cache.
9794 ac_cv_have_x="have_x=yes\
9795 ac_x_includes='$ac_x_includes'\
9796 ac_x_libraries='$ac_x_libraries'"
9797 esac
9799 ;; #(
9800 *) have_x=yes;;
9801 esac
9802 eval "$ac_cv_have_x"
9803 fi # $with_x != no
9805 if test "$have_x" != yes; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9807 $as_echo "$have_x" >&6; }
9808 no_x=yes
9809 else
9810 # If each of the values was on the command line, it overrides each guess.
9811 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9812 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9813 # Update the cache value to reflect the command line values.
9814 ac_cv_have_x="have_x=yes\
9815 ac_x_includes='$x_includes'\
9816 ac_x_libraries='$x_libraries'"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9818 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9821 if test "$no_x" = yes; then
9822 # Not all programs may use this symbol, but it does not hurt to define it.
9824 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9826 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9827 else
9828 if test -n "$x_includes"; then
9829 X_CFLAGS="$X_CFLAGS -I$x_includes"
9832 # It would also be nice to do this for all -L options, not just this one.
9833 if test -n "$x_libraries"; then
9834 X_LIBS="$X_LIBS -L$x_libraries"
9835 # For Solaris; some versions of Sun CC require a space after -R and
9836 # others require no space. Words are not sufficient . . . .
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9838 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9839 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9840 ac_xsave_c_werror_flag=$ac_c_werror_flag
9841 ac_c_werror_flag=yes
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9846 main ()
9850 return 0;
9852 _ACEOF
9853 if ac_fn_c_try_link "$LINENO"; then :
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9855 $as_echo "no" >&6; }
9856 X_LIBS="$X_LIBS -R$x_libraries"
9857 else
9858 LIBS="$ac_xsave_LIBS -R $x_libraries"
9859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9860 /* end confdefs.h. */
9863 main ()
9867 return 0;
9869 _ACEOF
9870 if ac_fn_c_try_link "$LINENO"; then :
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9872 $as_echo "yes" >&6; }
9873 X_LIBS="$X_LIBS -R $x_libraries"
9874 else
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9876 $as_echo "neither works" >&6; }
9878 rm -f core conftest.err conftest.$ac_objext \
9879 conftest$ac_exeext conftest.$ac_ext
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 ac_c_werror_flag=$ac_xsave_c_werror_flag
9884 LIBS=$ac_xsave_LIBS
9887 # Check for system-dependent libraries X programs must link with.
9888 # Do this before checking for the system-independent R6 libraries
9889 # (-lICE), since we may need -lsocket or whatever for X linking.
9891 if test "$ISC" = yes; then
9892 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9893 else
9894 # Martyn Johnson says this is needed for Ultrix, if the X
9895 # libraries were built with DECnet support. And Karl Berry says
9896 # the Alpha needs dnet_stub (dnet does not exist).
9897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9901 /* Override any GCC internal prototype to avoid an error.
9902 Use char because int might match the return type of a GCC
9903 builtin and then its argument prototype would still apply. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 char XOpenDisplay ();
9909 main ()
9911 return XOpenDisplay ();
9913 return 0;
9915 _ACEOF
9916 if ac_fn_c_try_link "$LINENO"; then :
9918 else
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9920 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9921 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_check_lib_save_LIBS=$LIBS
9925 LIBS="-ldnet $LIBS"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9929 /* Override any GCC internal prototype to avoid an error.
9930 Use char because int might match the return type of a GCC
9931 builtin and then its argument prototype would still apply. */
9932 #ifdef __cplusplus
9933 extern "C"
9934 #endif
9935 char dnet_ntoa ();
9937 main ()
9939 return dnet_ntoa ();
9941 return 0;
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 ac_cv_lib_dnet_dnet_ntoa=yes
9946 else
9947 ac_cv_lib_dnet_dnet_ntoa=no
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_lib_save_LIBS
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9954 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9955 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9956 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9959 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9961 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9962 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_check_lib_save_LIBS=$LIBS
9966 LIBS="-ldnet_stub $LIBS"
9967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9973 #ifdef __cplusplus
9974 extern "C"
9975 #endif
9976 char dnet_ntoa ();
9978 main ()
9980 return dnet_ntoa ();
9982 return 0;
9984 _ACEOF
9985 if ac_fn_c_try_link "$LINENO"; then :
9986 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9987 else
9988 ac_cv_lib_dnet_stub_dnet_ntoa=no
9990 rm -f core conftest.err conftest.$ac_objext \
9991 conftest$ac_exeext conftest.$ac_ext
9992 LIBS=$ac_check_lib_save_LIBS
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9995 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9996 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9997 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10002 rm -f core conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 LIBS="$ac_xsave_LIBS"
10006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10007 # to get the SysV transport functions.
10008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10009 # needs -lnsl.
10010 # The nsl library prevents programs from opening the X display
10011 # on Irix 5.2, according to T.E. Dickey.
10012 # The functions gethostbyname, getservbyname, and inet_addr are
10013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10014 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10015 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10019 if test $ac_cv_func_gethostbyname = no; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10021 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10022 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10023 $as_echo_n "(cached) " >&6
10024 else
10025 ac_check_lib_save_LIBS=$LIBS
10026 LIBS="-lnsl $LIBS"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10033 #ifdef __cplusplus
10034 extern "C"
10035 #endif
10036 char gethostbyname ();
10038 main ()
10040 return gethostbyname ();
10042 return 0;
10044 _ACEOF
10045 if ac_fn_c_try_link "$LINENO"; then :
10046 ac_cv_lib_nsl_gethostbyname=yes
10047 else
10048 ac_cv_lib_nsl_gethostbyname=no
10050 rm -f core conftest.err conftest.$ac_objext \
10051 conftest$ac_exeext conftest.$ac_ext
10052 LIBS=$ac_check_lib_save_LIBS
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10055 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10056 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10057 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10060 if test $ac_cv_lib_nsl_gethostbyname = no; then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10062 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10063 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10064 $as_echo_n "(cached) " >&6
10065 else
10066 ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-lbsd $LIBS"
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10074 #ifdef __cplusplus
10075 extern "C"
10076 #endif
10077 char gethostbyname ();
10079 main ()
10081 return gethostbyname ();
10083 return 0;
10085 _ACEOF
10086 if ac_fn_c_try_link "$LINENO"; then :
10087 ac_cv_lib_bsd_gethostbyname=yes
10088 else
10089 ac_cv_lib_bsd_gethostbyname=no
10091 rm -f core conftest.err conftest.$ac_objext \
10092 conftest$ac_exeext conftest.$ac_ext
10093 LIBS=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
10096 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
10097 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
10098 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10104 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10105 # socket/setsockopt and other routines are undefined under SCO ODT
10106 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10107 # on later versions), says Simon Leinen: it contains gethostby*
10108 # variants that don't use the name server (or something). -lsocket
10109 # must be given before -lnsl if both are needed. We assume that
10110 # if connect needs -lnsl, so does gethostbyname.
10111 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
10112 if test "x$ac_cv_func_connect" = xyes; then :
10116 if test $ac_cv_func_connect = no; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
10118 $as_echo_n "checking for connect in -lsocket... " >&6; }
10119 if ${ac_cv_lib_socket_connect+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_lib_save_LIBS=$LIBS
10123 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char connect ();
10135 main ()
10137 return connect ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 ac_cv_lib_socket_connect=yes
10144 else
10145 ac_cv_lib_socket_connect=no
10147 rm -f core conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
10152 $as_echo "$ac_cv_lib_socket_connect" >&6; }
10153 if test "x$ac_cv_lib_socket_connect" = xyes; then :
10154 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10159 # Guillermo Gomez says -lposix is necessary on A/UX.
10160 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
10161 if test "x$ac_cv_func_remove" = xyes; then :
10165 if test $ac_cv_func_remove = no; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
10167 $as_echo_n "checking for remove in -lposix... " >&6; }
10168 if ${ac_cv_lib_posix_remove+:} false; then :
10169 $as_echo_n "(cached) " >&6
10170 else
10171 ac_check_lib_save_LIBS=$LIBS
10172 LIBS="-lposix $LIBS"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10176 /* Override any GCC internal prototype to avoid an error.
10177 Use char because int might match the return type of a GCC
10178 builtin and then its argument prototype would still apply. */
10179 #ifdef __cplusplus
10180 extern "C"
10181 #endif
10182 char remove ();
10184 main ()
10186 return remove ();
10188 return 0;
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_lib_posix_remove=yes
10193 else
10194 ac_cv_lib_posix_remove=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
10201 $as_echo "$ac_cv_lib_posix_remove" >&6; }
10202 if test "x$ac_cv_lib_posix_remove" = xyes; then :
10203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10209 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
10210 if test "x$ac_cv_func_shmat" = xyes; then :
10214 if test $ac_cv_func_shmat = no; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
10216 $as_echo_n "checking for shmat in -lipc... " >&6; }
10217 if ${ac_cv_lib_ipc_shmat+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_check_lib_save_LIBS=$LIBS
10221 LIBS="-lipc $LIBS"
10222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 /* end confdefs.h. */
10225 /* Override any GCC internal prototype to avoid an error.
10226 Use char because int might match the return type of a GCC
10227 builtin and then its argument prototype would still apply. */
10228 #ifdef __cplusplus
10229 extern "C"
10230 #endif
10231 char shmat ();
10233 main ()
10235 return shmat ();
10237 return 0;
10239 _ACEOF
10240 if ac_fn_c_try_link "$LINENO"; then :
10241 ac_cv_lib_ipc_shmat=yes
10242 else
10243 ac_cv_lib_ipc_shmat=no
10245 rm -f core conftest.err conftest.$ac_objext \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
10250 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
10251 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
10252 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10258 # Check for libraries that X11R6 Xt/Xaw programs need.
10259 ac_save_LDFLAGS=$LDFLAGS
10260 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10261 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10262 # check for ICE first), but we must link in the order -lSM -lICE or
10263 # we get undefined symbols. So assume we have SM if we have ICE.
10264 # These have to be linked with before -lX11, unlike the other
10265 # libraries we check for below, so use a different variable.
10266 # John Interrante, Karl Berry
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
10268 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
10269 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10277 /* Override any GCC internal prototype to avoid an error.
10278 Use char because int might match the return type of a GCC
10279 builtin and then its argument prototype would still apply. */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char IceConnectionNumber ();
10285 main ()
10287 return IceConnectionNumber ();
10289 return 0;
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_lib_ICE_IceConnectionNumber=yes
10294 else
10295 ac_cv_lib_ICE_IceConnectionNumber=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10302 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
10303 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
10304 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10307 LDFLAGS=$ac_save_LDFLAGS
10312 if test "$have_x" = "yes"
10313 then
10314 ac_save_CPPFLAGS="$CPPFLAGS"
10315 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
10318 $as_echo_n "checking for -lX11... " >&6; }
10319 if ${ac_cv_lib_soname_X11+:} false; then :
10320 $as_echo_n "(cached) " >&6
10321 else
10322 ac_check_soname_save_LIBS=$LIBS
10323 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10327 /* Override any GCC internal prototype to avoid an error.
10328 Use char because int might match the return type of a GCC
10329 builtin and then its argument prototype would still apply. */
10330 #ifdef __cplusplus
10331 extern "C"
10332 #endif
10333 char XCreateWindow ();
10335 main ()
10337 return XCreateWindow ();
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_link "$LINENO"; then :
10343 case "$LIBEXT" in
10344 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10345 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'` ;;
10346 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10347 if ${ac_cv_lib_soname_X11:+false} :; then :
10348 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10349 fi ;;
10350 esac
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_soname_save_LIBS
10356 if ${ac_cv_lib_soname_X11:+false} :; then :
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10358 $as_echo "not found" >&6; }
10360 else
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
10362 $as_echo "$ac_cv_lib_soname_X11" >&6; }
10364 cat >>confdefs.h <<_ACEOF
10365 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
10366 _ACEOF
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
10371 $as_echo_n "checking for -lXext... " >&6; }
10372 if ${ac_cv_lib_soname_Xext+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_check_soname_save_LIBS=$LIBS
10376 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10383 #ifdef __cplusplus
10384 extern "C"
10385 #endif
10386 char XextCreateExtension ();
10388 main ()
10390 return XextCreateExtension ();
10392 return 0;
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 case "$LIBEXT" in
10397 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10398 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'` ;;
10399 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10400 if ${ac_cv_lib_soname_Xext:+false} :; then :
10401 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10402 fi ;;
10403 esac
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 LIBS=$ac_check_soname_save_LIBS
10409 if ${ac_cv_lib_soname_Xext:+false} :; then :
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10411 $as_echo "not found" >&6; }
10413 else
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10415 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10417 cat >>confdefs.h <<_ACEOF
10418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10419 _ACEOF
10421 X_LIBS="$X_LIBS -lXext"
10423 X_LIBS="$X_LIBS -lX11"
10425 for ac_header in X11/Xlib.h \
10426 X11/XKBlib.h \
10427 X11/Xutil.h \
10428 X11/Xcursor/Xcursor.h \
10429 X11/extensions/shape.h \
10430 X11/extensions/XInput.h \
10431 X11/extensions/XInput2.h \
10432 X11/extensions/XShm.h \
10433 X11/extensions/Xcomposite.h \
10434 X11/extensions/Xfixes.h \
10435 X11/extensions/Xinerama.h \
10436 X11/extensions/Xrandr.h \
10437 X11/extensions/Xrender.h \
10438 X11/extensions/xf86vmode.h \
10439 X11/extensions/xf86vmproto.h
10440 do :
10441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10442 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10443 # include <X11/Xlib.h>
10444 #endif
10445 #ifdef HAVE_X11_XUTIL_H
10446 # include <X11/Xutil.h>
10447 #endif
10449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10450 cat >>confdefs.h <<_ACEOF
10451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10452 _ACEOF
10456 done
10459 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10460 then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10462 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10463 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XkbQueryExtension ();
10479 main ()
10481 return XkbQueryExtension ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_lib_X11_XkbQueryExtension=yes
10488 else
10489 ac_cv_lib_X11_XkbQueryExtension=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_lib_save_LIBS
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10496 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10497 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10499 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10505 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10506 then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10508 $as_echo_n "checking for -lXcursor... " >&6; }
10509 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_check_soname_save_LIBS=$LIBS
10513 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 char XcursorImageLoadCursor ();
10525 main ()
10527 return XcursorImageLoadCursor ();
10529 return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 case "$LIBEXT" in
10534 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10535 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'` ;;
10536 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10537 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10538 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10539 fi ;;
10540 esac
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_soname_save_LIBS
10546 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10548 $as_echo "not found" >&6; }
10550 else
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10552 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10554 cat >>confdefs.h <<_ACEOF
10555 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10556 _ACEOF
10561 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10562 case "x$with_xcursor" in
10563 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10564 xno) ;;
10565 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10566 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10567 esac
10571 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10572 then
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10574 $as_echo_n "checking for -lXi... " >&6; }
10575 if ${ac_cv_lib_soname_Xi+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_soname_save_LIBS=$LIBS
10579 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10586 #ifdef __cplusplus
10587 extern "C"
10588 #endif
10589 char XOpenDevice ();
10591 main ()
10593 return XOpenDevice ();
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 case "$LIBEXT" in
10600 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10601 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'` ;;
10602 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10603 if ${ac_cv_lib_soname_Xi:+false} :; then :
10604 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10605 fi ;;
10606 esac
10608 rm -f core conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_soname_save_LIBS
10612 if ${ac_cv_lib_soname_Xi:+false} :; then :
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10614 $as_echo "not found" >&6; }
10616 else
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10618 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10620 cat >>confdefs.h <<_ACEOF
10621 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10622 _ACEOF
10627 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10628 case "x$with_xinput" in
10629 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10630 xno) ;;
10631 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10632 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10633 esac
10637 if test "x$ac_cv_lib_soname_Xi" != x
10638 then
10639 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10640 case "x$with_xinput2" in
10641 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10642 xno) ;;
10643 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10644 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10645 esac
10650 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10653 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10654 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_lib_save_LIBS=$LIBS
10658 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char XShmQueryExtension ();
10670 main ()
10672 return XShmQueryExtension ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 ac_cv_lib_Xext_XShmQueryExtension=yes
10679 else
10680 ac_cv_lib_Xext_XShmQueryExtension=no
10682 rm -f core conftest.err conftest.$ac_objext \
10683 conftest$ac_exeext conftest.$ac_ext
10684 LIBS=$ac_check_lib_save_LIBS
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10687 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10688 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10690 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10695 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10696 case "x$with_xshm" in
10697 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10698 xno) ;;
10699 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10700 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10701 esac
10705 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10706 then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10708 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10709 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10710 $as_echo_n "(cached) " >&6
10711 else
10712 ac_check_lib_save_LIBS=$LIBS
10713 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10717 /* Override any GCC internal prototype to avoid an error.
10718 Use char because int might match the return type of a GCC
10719 builtin and then its argument prototype would still apply. */
10720 #ifdef __cplusplus
10721 extern "C"
10722 #endif
10723 char XShapeQueryExtension ();
10725 main ()
10727 return XShapeQueryExtension ();
10729 return 0;
10731 _ACEOF
10732 if ac_fn_c_try_link "$LINENO"; then :
10733 ac_cv_lib_Xext_XShapeQueryExtension=yes
10734 else
10735 ac_cv_lib_Xext_XShapeQueryExtension=no
10737 rm -f core conftest.err conftest.$ac_objext \
10738 conftest$ac_exeext conftest.$ac_ext
10739 LIBS=$ac_check_lib_save_LIBS
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10742 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10743 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10745 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10750 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10751 case "x$with_xshape" in
10752 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10753 xno) ;;
10754 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10755 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10756 esac
10760 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10761 then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10763 $as_echo_n "checking for -lXxf86vm... " >&6; }
10764 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10765 $as_echo_n "(cached) " >&6
10766 else
10767 ac_check_soname_save_LIBS=$LIBS
10768 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10772 /* Override any GCC internal prototype to avoid an error.
10773 Use char because int might match the return type of a GCC
10774 builtin and then its argument prototype would still apply. */
10775 #ifdef __cplusplus
10776 extern "C"
10777 #endif
10778 char XF86VidModeQueryExtension ();
10780 main ()
10782 return XF86VidModeQueryExtension ();
10784 return 0;
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"; then :
10788 case "$LIBEXT" in
10789 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10790 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'` ;;
10791 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10792 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10793 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10794 fi ;;
10795 esac
10797 rm -f core conftest.err conftest.$ac_objext \
10798 conftest$ac_exeext conftest.$ac_ext
10799 LIBS=$ac_check_soname_save_LIBS
10801 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10803 $as_echo "not found" >&6; }
10805 else
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10807 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10809 cat >>confdefs.h <<_ACEOF
10810 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10811 _ACEOF
10816 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10817 case "x$with_xxf86vm" in
10818 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10819 xno) ;;
10820 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10821 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10822 esac
10826 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10829 $as_echo_n "checking for -lXrender... " >&6; }
10830 if ${ac_cv_lib_soname_Xrender+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_soname_save_LIBS=$LIBS
10834 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char XRenderQueryExtension ();
10846 main ()
10848 return XRenderQueryExtension ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 case "$LIBEXT" in
10855 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10856 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'` ;;
10857 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10858 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10859 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10860 fi ;;
10861 esac
10863 rm -f core conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10869 $as_echo "not found" >&6; }
10871 else
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10873 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10877 _ACEOF
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10880 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10881 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10882 $as_echo_n "(cached) " >&6
10883 else
10884 ac_check_lib_save_LIBS=$LIBS
10885 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char XRenderSetPictureTransform ();
10897 main ()
10899 return XRenderSetPictureTransform ();
10901 return 0;
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"; then :
10905 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10906 else
10907 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10909 rm -f core conftest.err conftest.$ac_objext \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10914 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10915 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10917 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10922 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10923 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10924 $as_echo_n "(cached) " >&6
10925 else
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10934 #ifdef __cplusplus
10935 extern "C"
10936 #endif
10937 char XRenderCreateLinearGradient ();
10939 main ()
10941 return XRenderCreateLinearGradient ();
10943 return 0;
10945 _ACEOF
10946 if ac_fn_c_try_link "$LINENO"; then :
10947 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10948 else
10949 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS=$ac_check_lib_save_LIBS
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10956 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10957 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10959 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10966 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10967 case "x$with_xrender" in
10968 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10969 xno) ;;
10970 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10971 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10972 esac
10976 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10977 then
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10980 #include <X11/Xlib.h>
10981 #include <X11/extensions/Xrandr.h>
10983 main ()
10985 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_compile "$LINENO"; then :
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10992 $as_echo_n "checking for -lXrandr... " >&6; }
10993 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10994 $as_echo_n "(cached) " >&6
10995 else
10996 ac_check_soname_save_LIBS=$LIBS
10997 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11004 #ifdef __cplusplus
11005 extern "C"
11006 #endif
11007 char XRRQueryExtension ();
11009 main ()
11011 return XRRQueryExtension ();
11013 return 0;
11015 _ACEOF
11016 if ac_fn_c_try_link "$LINENO"; then :
11017 case "$LIBEXT" in
11018 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11019 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'` ;;
11020 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11021 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11022 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11023 fi ;;
11024 esac
11026 rm -f core conftest.err conftest.$ac_objext \
11027 conftest$ac_exeext conftest.$ac_ext
11028 LIBS=$ac_check_soname_save_LIBS
11030 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11032 $as_echo "not found" >&6; }
11034 else
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11036 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11038 cat >>confdefs.h <<_ACEOF
11039 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11040 _ACEOF
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11044 #include <X11/Xlib.h>
11045 #include <X11/extensions/Xrandr.h>
11047 main ()
11049 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11051 return 0;
11053 _ACEOF
11054 if ac_fn_c_try_compile "$LINENO"; then :
11056 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
11059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11064 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
11065 case "x$with_xrandr" in
11066 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
11067 xno) ;;
11068 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
11069 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
11070 esac
11074 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
11075 then
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11078 #include <X11/Xlib.h>
11079 #include <X11/extensions/Xfixes.h>
11081 main ()
11083 static typeof(XFixesQueryVersion) * func; if (func) return 0;
11085 return 0;
11087 _ACEOF
11088 if ac_fn_c_try_compile "$LINENO"; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
11090 $as_echo_n "checking for -lXfixes... " >&6; }
11091 if ${ac_cv_lib_soname_Xfixes+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_soname_save_LIBS=$LIBS
11095 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char XFixesQueryVersion ();
11107 main ()
11109 return XFixesQueryVersion ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 case "$LIBEXT" in
11116 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11117 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'` ;;
11118 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11119 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11120 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11121 fi ;;
11122 esac
11124 rm -f core conftest.err conftest.$ac_objext \
11125 conftest$ac_exeext conftest.$ac_ext
11126 LIBS=$ac_check_soname_save_LIBS
11128 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11130 $as_echo "not found" >&6; }
11132 else
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
11134 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
11136 cat >>confdefs.h <<_ACEOF
11137 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
11138 _ACEOF
11143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11145 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
11146 case "x$with_xfixes" in
11147 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
11148 xno) ;;
11149 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
11150 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
11151 esac
11155 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
11156 then
11157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 #include <X11/Xlib.h>
11160 #include <X11/extensions/Xinerama.h>
11162 main ()
11164 static typeof(XineramaQueryScreens) * func; if (func) return 0;
11166 return 0;
11168 _ACEOF
11169 if ac_fn_c_try_compile "$LINENO"; then :
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
11171 $as_echo_n "checking for -lXinerama... " >&6; }
11172 if ${ac_cv_lib_soname_Xinerama+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_soname_save_LIBS=$LIBS
11176 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char XineramaQueryScreens ();
11188 main ()
11190 return XineramaQueryScreens ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 case "$LIBEXT" in
11197 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11198 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'` ;;
11199 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11200 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11201 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11202 fi ;;
11203 esac
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_soname_save_LIBS
11209 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11211 $as_echo "not found" >&6; }
11213 else
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
11215 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
11217 cat >>confdefs.h <<_ACEOF
11218 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
11219 _ACEOF
11224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11226 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
11227 case "x$with_xinerama" in
11228 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
11229 xno) ;;
11230 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
11231 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
11232 esac
11236 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
11237 then
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
11239 $as_echo_n "checking for -lXcomposite... " >&6; }
11240 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_soname_save_LIBS=$LIBS
11244 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11251 #ifdef __cplusplus
11252 extern "C"
11253 #endif
11254 char XCompositeRedirectWindow ();
11256 main ()
11258 return XCompositeRedirectWindow ();
11260 return 0;
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"; then :
11264 case "$LIBEXT" in
11265 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11266 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'` ;;
11267 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11268 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11269 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11270 fi ;;
11271 esac
11273 rm -f core conftest.err conftest.$ac_objext \
11274 conftest$ac_exeext conftest.$ac_ext
11275 LIBS=$ac_check_soname_save_LIBS
11277 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11279 $as_echo "not found" >&6; }
11281 else
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
11283 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
11285 cat >>confdefs.h <<_ACEOF
11286 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
11287 _ACEOF
11292 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
11293 case "x$with_xcomposite" in
11294 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
11295 xno) ;;
11296 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
11297 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
11298 esac
11302 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
11303 #include <X11/Xlib.h>
11304 #endif
11306 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
11308 cat >>confdefs.h <<_ACEOF
11309 #define HAVE_XICCALLBACK_CALLBACK 1
11310 _ACEOF
11314 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
11315 #include <X11/Xlib.h>
11316 #endif
11318 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
11320 cat >>confdefs.h <<_ACEOF
11321 #define HAVE_XEVENT_XCOOKIE 1
11322 _ACEOF
11329 opengl_msg=""
11330 if test "x$with_opengl" != "xno"
11331 then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11333 $as_echo_n "checking for -lGL... " >&6; }
11334 if ${ac_cv_lib_soname_GL+:} false; then :
11335 $as_echo_n "(cached) " >&6
11336 else
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char glXCreateContext ();
11350 main ()
11352 return glXCreateContext ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 case "$LIBEXT" in
11359 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11362 if ${ac_cv_lib_soname_GL:+false} :; then :
11363 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11364 fi ;;
11365 esac
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_soname_save_LIBS
11371 if ${ac_cv_lib_soname_GL:+false} :; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
11375 $as_echo_n "checking for -lGL... " >&6; }
11376 if ${ac_cv_lib_soname_GL+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_soname_save_LIBS=$LIBS
11380 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"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char glXCreateContext ();
11392 main ()
11394 return glXCreateContext ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 case "$LIBEXT" in
11401 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11402 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'` ;;
11403 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11404 if ${ac_cv_lib_soname_GL:+false} :; then :
11405 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11406 fi ;;
11407 esac
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_soname_save_LIBS
11413 if ${ac_cv_lib_soname_GL:+false} :; then :
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11415 $as_echo "not found" >&6; }
11416 if test -f /usr/X11R6/lib/libGL.a
11417 then
11418 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11419 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11420 else
11421 opengl_msg="No OpenGL library found on this system."
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11425 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11427 cat >>confdefs.h <<_ACEOF
11428 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11429 _ACEOF
11431 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"
11433 else
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11435 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11437 cat >>confdefs.h <<_ACEOF
11438 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11439 _ACEOF
11441 OPENGL_LIBS="-lGL"
11443 if test "x$with_glu" != "xno"
11444 then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11446 $as_echo_n "checking for -lGLU... " >&6; }
11447 if ${ac_cv_lib_soname_GLU+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char gluLookAt ();
11463 main ()
11465 return gluLookAt ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_GLU:+false} :; then :
11476 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11480 rm -f core conftest.err conftest.$ac_objext \
11481 conftest$ac_exeext conftest.$ac_ext
11482 LIBS=$ac_check_soname_save_LIBS
11484 if ${ac_cv_lib_soname_GLU:+false} :; then :
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11486 $as_echo "not found" >&6; }
11488 else
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11490 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11492 cat >>confdefs.h <<_ACEOF
11493 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11494 _ACEOF
11498 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11499 case "x$with_glu" in
11500 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11501 xno) ;;
11502 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11503 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11504 esac
11509 if test "x$with_osmesa" != "xno"
11510 then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11512 $as_echo_n "checking for -lOSMesa... " >&6; }
11513 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_soname_save_LIBS=$LIBS
11517 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char OSMesaGetProcAddress ();
11529 main ()
11531 return OSMesaGetProcAddress ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 case "$LIBEXT" in
11538 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11539 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'` ;;
11540 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11541 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11542 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11543 fi ;;
11544 esac
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
11548 LIBS=$ac_check_soname_save_LIBS
11550 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11552 $as_echo "not found" >&6; }
11554 else
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11556 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11558 cat >>confdefs.h <<_ACEOF
11559 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11560 _ACEOF
11564 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11565 case "x$with_osmesa" in
11566 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11567 xno) ;;
11568 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11569 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11570 esac
11575 if test -n "$opengl_msg"; then :
11576 case "x$with_opengl" in
11577 x) as_fn_append wine_warnings "|$opengl_msg
11578 OpenGL and Direct3D won't be supported." ;;
11579 xno) ;;
11580 *) as_fn_error $? "$opengl_msg
11581 OpenGL and Direct3D won't be supported.
11582 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11583 esac
11587 CPPFLAGS="$ac_save_CPPFLAGS"
11588 else
11589 X_CFLAGS=""
11590 X_LIBS=""
11593 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11594 then
11595 if test "x$X_LIBS" = "x"; then :
11596 case "x$with_x" in
11597 xno) ;;
11598 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11599 without X support, which probably isn't what you want. You will need
11600 to install ${notice_platform}development packages of Xlib at the very least.
11601 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11602 esac
11603 enable_winex11_drv=${enable_winex11_drv:-no}
11605 else
11606 if test "x$X_LIBS" = "x"; then :
11607 case "x$with_x" in
11608 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11609 xno) ;;
11610 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11611 This is an error since --with-x was requested." "$LINENO" 5 ;;
11612 esac
11613 enable_winex11_drv=${enable_winex11_drv:-no}
11617 if test "$ac_cv_header_CL_cl_h" = "yes"
11618 then
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11620 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11621 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11622 $as_echo_n "(cached) " >&6
11623 else
11624 ac_check_lib_save_LIBS=$LIBS
11625 LIBS="-lOpenCL $LIBS"
11626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11632 #ifdef __cplusplus
11633 extern "C"
11634 #endif
11635 char clGetPlatformInfo ();
11637 main ()
11639 return clGetPlatformInfo ();
11641 return 0;
11643 _ACEOF
11644 if ac_fn_c_try_link "$LINENO"; then :
11645 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11646 else
11647 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11649 rm -f core conftest.err conftest.$ac_objext \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_lib_save_LIBS
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11654 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11655 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11656 OPENCL_LIBS="-lOpenCL"
11661 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11662 case "x$with_opencl" in
11663 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11664 xno) ;;
11665 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11666 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11667 esac
11668 enable_opencl=${enable_opencl:-no}
11671 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11674 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11675 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lpcap $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char pcap_create ();
11691 main ()
11693 return pcap_create ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_pcap_pcap_create=yes
11700 else
11701 ac_cv_lib_pcap_pcap_create=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11708 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11709 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11710 PCAP_LIBS="-lpcap"
11715 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11716 case "x$with_pcap" in
11717 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11718 xno) ;;
11719 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11720 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11721 esac
11722 enable_wpcap=${enable_wpcap:-no}
11726 if test "x$with_xml" != "xno"
11727 then
11728 if ${XML2_CFLAGS:+false} :; then :
11729 if ${PKG_CONFIG+:} false; then :
11730 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11733 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11734 if ${XML2_LIBS:+false} :; then :
11735 if ${PKG_CONFIG+:} false; then :
11736 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11739 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11740 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11741 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11742 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11743 ac_save_CPPFLAGS=$CPPFLAGS
11744 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11745 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11746 do :
11747 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11748 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11749 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11750 cat >>confdefs.h <<_ACEOF
11751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11752 _ACEOF
11756 done
11758 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"
11759 then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11761 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11762 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11763 $as_echo_n "(cached) " >&6
11764 else
11765 ac_check_lib_save_LIBS=$LIBS
11766 LIBS="-lxml2 $XML2_LIBS $LIBS"
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768 /* end confdefs.h. */
11770 /* Override any GCC internal prototype to avoid an error.
11771 Use char because int might match the return type of a GCC
11772 builtin and then its argument prototype would still apply. */
11773 #ifdef __cplusplus
11774 extern "C"
11775 #endif
11776 char xmlParseMemory ();
11778 main ()
11780 return xmlParseMemory ();
11782 return 0;
11784 _ACEOF
11785 if ac_fn_c_try_link "$LINENO"; then :
11786 ac_cv_lib_xml2_xmlParseMemory=yes
11787 else
11788 ac_cv_lib_xml2_xmlParseMemory=no
11790 rm -f core conftest.err conftest.$ac_objext \
11791 conftest$ac_exeext conftest.$ac_ext
11792 LIBS=$ac_check_lib_save_LIBS
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11795 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11796 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11798 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11800 else
11801 XML2_LIBS=""
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11805 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11806 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lxml2 $XML2_LIBS $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char xmlReadMemory ();
11822 main ()
11824 return xmlReadMemory ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 ac_cv_lib_xml2_xmlReadMemory=yes
11831 else
11832 ac_cv_lib_xml2_xmlReadMemory=no
11834 rm -f core conftest.err conftest.$ac_objext \
11835 conftest$ac_exeext conftest.$ac_ext
11836 LIBS=$ac_check_lib_save_LIBS
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11839 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11840 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11842 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11847 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11848 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11849 $as_echo_n "(cached) " >&6
11850 else
11851 ac_check_lib_save_LIBS=$LIBS
11852 LIBS="-lxml2 $XML2_LIBS $LIBS"
11853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 char xmlNewDocPI ();
11864 main ()
11866 return xmlNewDocPI ();
11868 return 0;
11870 _ACEOF
11871 if ac_fn_c_try_link "$LINENO"; then :
11872 ac_cv_lib_xml2_xmlNewDocPI=yes
11873 else
11874 ac_cv_lib_xml2_xmlNewDocPI=no
11876 rm -f core conftest.err conftest.$ac_objext \
11877 conftest$ac_exeext conftest.$ac_ext
11878 LIBS=$ac_check_lib_save_LIBS
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11881 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11882 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11884 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11889 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11890 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11891 $as_echo_n "(cached) " >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lxml2 $XML2_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 #ifdef __cplusplus
11902 extern "C"
11903 #endif
11904 char xmlSchemaSetParserStructuredErrors ();
11906 main ()
11908 return xmlSchemaSetParserStructuredErrors ();
11910 return 0;
11912 _ACEOF
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11915 else
11916 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11918 rm -f core conftest.err conftest.$ac_objext \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11923 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11924 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11926 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11931 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11932 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11933 $as_echo_n "(cached) " >&6
11934 else
11935 ac_check_lib_save_LIBS=$LIBS
11936 LIBS="-lxml2 $XML2_LIBS $LIBS"
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11940 /* Override any GCC internal prototype to avoid an error.
11941 Use char because int might match the return type of a GCC
11942 builtin and then its argument prototype would still apply. */
11943 #ifdef __cplusplus
11944 extern "C"
11945 #endif
11946 char xmlSchemaSetValidStructuredErrors ();
11948 main ()
11950 return xmlSchemaSetValidStructuredErrors ();
11952 return 0;
11954 _ACEOF
11955 if ac_fn_c_try_link "$LINENO"; then :
11956 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11957 else
11958 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11960 rm -f core conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_lib_save_LIBS
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11965 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11966 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11968 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11973 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11974 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11975 $as_echo_n "(cached) " >&6
11976 else
11977 ac_check_lib_save_LIBS=$LIBS
11978 LIBS="-lxml2 $XML2_LIBS $LIBS"
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11982 /* Override any GCC internal prototype to avoid an error.
11983 Use char because int might match the return type of a GCC
11984 builtin and then its argument prototype would still apply. */
11985 #ifdef __cplusplus
11986 extern "C"
11987 #endif
11988 char xmlFirstElementChild ();
11990 main ()
11992 return xmlFirstElementChild ();
11994 return 0;
11996 _ACEOF
11997 if ac_fn_c_try_link "$LINENO"; then :
11998 ac_cv_lib_xml2_xmlFirstElementChild=yes
11999 else
12000 ac_cv_lib_xml2_xmlFirstElementChild=no
12002 rm -f core conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12007 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12008 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12010 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12014 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12016 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
12018 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
12022 else
12023 XML2_CFLAGS=""
12024 XML2_LIBS=""
12026 CPPFLAGS=$ac_save_CPPFLAGS
12027 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12028 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12031 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
12032 case "x$with_xml" in
12033 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
12036 This is an error since --with-xml was requested." "$LINENO" 5 ;;
12037 esac
12041 if test "x$with_xslt" != "xno"
12042 then
12043 if ${XSLT_CFLAGS:+false} :; then :
12044 if ${PKG_CONFIG+:} false; then :
12045 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
12048 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
12049 if ${XSLT_LIBS:+false} :; then :
12050 if ${PKG_CONFIG+:} false; then :
12051 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
12054 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
12055 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
12056 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
12057 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
12058 ac_save_CPPFLAGS=$CPPFLAGS
12059 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
12060 for ac_header in libxslt/pattern.h libxslt/transform.h
12061 do :
12062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
12064 # include <libxslt/pattern.h>
12065 #endif
12067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12068 cat >>confdefs.h <<_ACEOF
12069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12070 _ACEOF
12074 done
12076 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12077 then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
12079 $as_echo_n "checking for -lxslt... " >&6; }
12080 if ${ac_cv_lib_soname_xslt+:} false; then :
12081 $as_echo_n "(cached) " >&6
12082 else
12083 ac_check_soname_save_LIBS=$LIBS
12084 LIBS="-lxslt $XSLT_LIBS $LIBS"
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12091 #ifdef __cplusplus
12092 extern "C"
12093 #endif
12094 char xsltCompilePattern ();
12096 main ()
12098 return xsltCompilePattern ();
12100 return 0;
12102 _ACEOF
12103 if ac_fn_c_try_link "$LINENO"; then :
12104 case "$LIBEXT" in
12105 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12106 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'` ;;
12107 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12108 if ${ac_cv_lib_soname_xslt:+false} :; then :
12109 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12110 fi ;;
12111 esac
12113 rm -f core conftest.err conftest.$ac_objext \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_soname_save_LIBS
12117 if ${ac_cv_lib_soname_xslt:+false} :; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12119 $as_echo "not found" >&6; }
12121 else
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
12123 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
12125 cat >>confdefs.h <<_ACEOF
12126 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
12127 _ACEOF
12131 else
12132 XSLT_CFLAGS=""
12134 CPPFLAGS=$ac_save_CPPFLAGS
12135 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12136 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12139 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
12140 case "x$with_xslt" in
12141 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
12142 xno) ;;
12143 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
12144 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
12145 esac
12149 if test "x$with_dbus" != "xno"
12150 then
12151 if ${DBUS_CFLAGS:+false} :; then :
12152 if ${PKG_CONFIG+:} false; then :
12153 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
12157 if ${DBUS_LIBS:+false} :; then :
12158 if ${PKG_CONFIG+:} false; then :
12159 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
12164 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
12165 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
12166 ac_save_CPPFLAGS=$CPPFLAGS
12167 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
12168 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
12169 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
12171 $as_echo_n "checking for -ldbus-1... " >&6; }
12172 if ${ac_cv_lib_soname_dbus_1+:} false; then :
12173 $as_echo_n "(cached) " >&6
12174 else
12175 ac_check_soname_save_LIBS=$LIBS
12176 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12183 #ifdef __cplusplus
12184 extern "C"
12185 #endif
12186 char dbus_connection_close ();
12188 main ()
12190 return dbus_connection_close ();
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_link "$LINENO"; then :
12196 case "$LIBEXT" in
12197 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12198 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'` ;;
12199 *) 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'`
12200 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12201 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12202 fi ;;
12203 esac
12205 rm -f core conftest.err conftest.$ac_objext \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_soname_save_LIBS
12209 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12211 $as_echo "not found" >&6; }
12212 DBUS_CFLAGS=""
12213 else
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
12215 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
12217 cat >>confdefs.h <<_ACEOF
12218 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
12219 _ACEOF
12223 else
12224 DBUS_CFLAGS=""
12228 CPPFLAGS=$ac_save_CPPFLAGS
12229 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12230 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12233 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
12234 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12235 case "x$with_dbus" in
12236 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
12237 xno) ;;
12238 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
12239 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
12240 esac
12244 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
12245 then
12246 if ${HAL_CFLAGS:+false} :; then :
12247 if ${PKG_CONFIG+:} false; then :
12248 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
12252 if ${HAL_LIBS:+false} :; then :
12253 if ${PKG_CONFIG+:} false; then :
12254 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
12258 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
12259 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
12260 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
12261 ac_save_CPPFLAGS=$CPPFLAGS
12262 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
12263 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
12264 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
12266 $as_echo_n "checking for -lhal... " >&6; }
12267 if ${ac_cv_lib_soname_hal+:} false; then :
12268 $as_echo_n "(cached) " >&6
12269 else
12270 ac_check_soname_save_LIBS=$LIBS
12271 LIBS="-lhal $HAL_LIBS $LIBS"
12272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h. */
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
12281 char libhal_ctx_new ();
12283 main ()
12285 return libhal_ctx_new ();
12287 return 0;
12289 _ACEOF
12290 if ac_fn_c_try_link "$LINENO"; then :
12291 case "$LIBEXT" in
12292 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12293 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'` ;;
12294 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12295 if ${ac_cv_lib_soname_hal:+false} :; then :
12296 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12297 fi ;;
12298 esac
12300 rm -f core conftest.err conftest.$ac_objext \
12301 conftest$ac_exeext conftest.$ac_ext
12302 LIBS=$ac_check_soname_save_LIBS
12304 if ${ac_cv_lib_soname_hal:+false} :; then :
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12306 $as_echo "not found" >&6; }
12307 HAL_CFLAGS=""
12308 else
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
12310 $as_echo "$ac_cv_lib_soname_hal" >&6; }
12312 cat >>confdefs.h <<_ACEOF
12313 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12314 _ACEOF
12318 else
12319 HAL_CFLAGS=""
12323 CPPFLAGS=$ac_save_CPPFLAGS
12324 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12325 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12327 if test "x$ac_cv_lib_soname_hal" = "x" -a \
12328 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
12329 case "x$with_hal" in
12330 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
12331 xno) ;;
12332 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
12333 This is an error since --with-hal was requested." "$LINENO" 5 ;;
12334 esac
12339 if test "x$with_gnutls" != "xno"
12340 then
12341 if ${GNUTLS_CFLAGS:+false} :; then :
12342 if ${PKG_CONFIG+:} false; then :
12343 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
12347 if ${GNUTLS_LIBS:+false} :; then :
12348 if ${PKG_CONFIG+:} false; then :
12349 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
12354 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
12355 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
12356 ac_save_CPPFLAGS=$CPPFLAGS
12357 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
12358 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
12359 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12362 #include <gnutls/gnutls.h>
12363 #include <gnutls/crypto.h>
12365 main ()
12367 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
12369 return 0;
12371 _ACEOF
12372 if ac_fn_c_try_compile "$LINENO"; then :
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
12374 $as_echo_n "checking for -lgnutls... " >&6; }
12375 if ${ac_cv_lib_soname_gnutls+:} false; then :
12376 $as_echo_n "(cached) " >&6
12377 else
12378 ac_check_soname_save_LIBS=$LIBS
12379 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12386 #ifdef __cplusplus
12387 extern "C"
12388 #endif
12389 char gnutls_global_init ();
12391 main ()
12393 return gnutls_global_init ();
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_link "$LINENO"; then :
12399 case "$LIBEXT" in
12400 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12401 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'` ;;
12402 *) 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'`
12403 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12404 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'`
12405 fi ;;
12406 esac
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_soname_save_LIBS
12412 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12414 $as_echo "not found" >&6; }
12415 GNUTLS_CFLAGS=""
12416 else
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12418 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12420 cat >>confdefs.h <<_ACEOF
12421 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12422 _ACEOF
12426 ac_wine_check_funcs_save_LIBS="$LIBS"
12427 LIBS="$LIBS $GNUTLS_LIBS"
12428 for ac_func in gnutls_cipher_init
12429 do :
12430 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12431 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12432 cat >>confdefs.h <<_ACEOF
12433 #define HAVE_GNUTLS_CIPHER_INIT 1
12434 _ACEOF
12436 else
12437 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12439 done
12441 LIBS="$ac_wine_check_funcs_save_LIBS"
12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 else
12445 GNUTLS_CFLAGS=""
12449 CPPFLAGS=$ac_save_CPPFLAGS
12450 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12451 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12454 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12455 case "x$with_gnutls" in
12456 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12457 xno) ;;
12458 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12459 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12460 esac
12464 CURSES_LIBS=""
12465 if test "$ac_cv_header_ncurses_h" = "yes"
12466 then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12468 $as_echo_n "checking for -lncurses... " >&6; }
12469 if ${ac_cv_lib_soname_ncurses+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_check_soname_save_LIBS=$LIBS
12473 LIBS="-lncurses $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char waddch ();
12485 main ()
12487 return waddch ();
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 case "$LIBEXT" in
12494 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12495 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'` ;;
12496 *) 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'`
12497 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12498 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12499 fi ;;
12500 esac
12502 rm -f core conftest.err conftest.$ac_objext \
12503 conftest$ac_exeext conftest.$ac_ext
12504 LIBS=$ac_check_soname_save_LIBS
12506 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12508 $as_echo "not found" >&6; }
12510 else
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12512 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12514 cat >>confdefs.h <<_ACEOF
12515 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12516 _ACEOF
12518 CURSES_LIBS="-lncurses"
12520 elif test "$ac_cv_header_curses_h" = "yes"
12521 then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12523 $as_echo_n "checking for -lcurses... " >&6; }
12524 if ${ac_cv_lib_soname_curses+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 ac_check_soname_save_LIBS=$LIBS
12528 LIBS="-lcurses $LIBS"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char waddch ();
12540 main ()
12542 return waddch ();
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 case "$LIBEXT" in
12549 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12550 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'` ;;
12551 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12552 if ${ac_cv_lib_soname_curses:+false} :; then :
12553 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12554 fi ;;
12555 esac
12557 rm -f core conftest.err conftest.$ac_objext \
12558 conftest$ac_exeext conftest.$ac_ext
12559 LIBS=$ac_check_soname_save_LIBS
12561 if ${ac_cv_lib_soname_curses:+false} :; then :
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12563 $as_echo "not found" >&6; }
12565 else
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12567 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12569 cat >>confdefs.h <<_ACEOF
12570 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12571 _ACEOF
12573 CURSES_LIBS="-lcurses"
12576 ac_save_LIBS="$LIBS"
12577 LIBS="$LIBS $CURSES_LIBS"
12578 for ac_func in mousemask
12579 do :
12580 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12581 if test "x$ac_cv_func_mousemask" = xyes; then :
12582 cat >>confdefs.h <<_ACEOF
12583 #define HAVE_MOUSEMASK 1
12584 _ACEOF
12587 done
12589 LIBS="$ac_save_LIBS"
12590 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12591 case "x$with_curses" in
12592 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12593 xno) ;;
12594 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12595 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12596 esac
12600 if test "x$with_sane" != "xno"
12601 then
12602 if ${SANE_CFLAGS:+false} :; then :
12603 if ${PKG_CONFIG+:} false; then :
12604 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12607 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12608 if ${SANE_LIBS:+false} :; then :
12609 if ${PKG_CONFIG+:} false; then :
12610 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12613 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12615 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12616 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12617 ac_save_CPPFLAGS=$CPPFLAGS
12618 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12619 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12620 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12622 $as_echo_n "checking for -lsane... " >&6; }
12623 if ${ac_cv_lib_soname_sane+:} false; then :
12624 $as_echo_n "(cached) " >&6
12625 else
12626 ac_check_soname_save_LIBS=$LIBS
12627 LIBS="-lsane $SANE_LIBS $LIBS"
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12634 #ifdef __cplusplus
12635 extern "C"
12636 #endif
12637 char sane_init ();
12639 main ()
12641 return sane_init ();
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_link "$LINENO"; then :
12647 case "$LIBEXT" in
12648 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12649 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'` ;;
12650 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12651 if ${ac_cv_lib_soname_sane:+false} :; then :
12652 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12653 fi ;;
12654 esac
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_soname_save_LIBS
12660 if ${ac_cv_lib_soname_sane:+false} :; then :
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12662 $as_echo "not found" >&6; }
12663 SANE_CFLAGS=""
12664 else
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12666 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12668 cat >>confdefs.h <<_ACEOF
12669 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12670 _ACEOF
12674 else
12675 SANE_CFLAGS=""
12679 CPPFLAGS=$ac_save_CPPFLAGS
12680 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12681 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12684 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12685 case "x$with_sane" in
12686 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12687 xno) ;;
12688 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12689 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12690 esac
12694 if test "x$with_v4l" != "xno"
12695 then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12697 $as_echo_n "checking for -lv4l1... " >&6; }
12698 if ${ac_cv_lib_soname_v4l1+:} false; then :
12699 $as_echo_n "(cached) " >&6
12700 else
12701 ac_check_soname_save_LIBS=$LIBS
12702 LIBS="-lv4l1 $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12709 #ifdef __cplusplus
12710 extern "C"
12711 #endif
12712 char v4l1_open ();
12714 main ()
12716 return v4l1_open ();
12718 return 0;
12720 _ACEOF
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 case "$LIBEXT" in
12723 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12724 dylib) ac_cv_lib_soname_v4l1=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12725 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12726 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12727 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12728 fi ;;
12729 esac
12731 rm -f core conftest.err conftest.$ac_objext \
12732 conftest$ac_exeext conftest.$ac_ext
12733 LIBS=$ac_check_soname_save_LIBS
12735 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12737 $as_echo "not found" >&6; }
12739 else
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12741 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12743 cat >>confdefs.h <<_ACEOF
12744 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12745 _ACEOF
12750 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12751 case "x$with_v4l" in
12752 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12753 xno) ;;
12754 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12755 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12756 esac
12760 if test "x$with_gphoto" != "xno"
12761 then
12762 if ${GPHOTO2_CFLAGS:+false} :; then :
12763 if ${PKG_CONFIG+:} false; then :
12764 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12767 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12768 if ${GPHOTO2_LIBS:+false} :; then :
12769 if ${PKG_CONFIG+:} false; then :
12770 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12773 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12774 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12775 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12776 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12777 ac_save_CPPFLAGS=$CPPFLAGS
12778 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12779 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12780 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12782 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12783 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12784 $as_echo_n "(cached) " >&6
12785 else
12786 ac_check_lib_save_LIBS=$LIBS
12787 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 /* Override any GCC internal prototype to avoid an error.
12792 Use char because int might match the return type of a GCC
12793 builtin and then its argument prototype would still apply. */
12794 #ifdef __cplusplus
12795 extern "C"
12796 #endif
12797 char gp_camera_new ();
12799 main ()
12801 return gp_camera_new ();
12803 return 0;
12805 _ACEOF
12806 if ac_fn_c_try_link "$LINENO"; then :
12807 ac_cv_lib_gphoto2_gp_camera_new=yes
12808 else
12809 ac_cv_lib_gphoto2_gp_camera_new=no
12811 rm -f core conftest.err conftest.$ac_objext \
12812 conftest$ac_exeext conftest.$ac_ext
12813 LIBS=$ac_check_lib_save_LIBS
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12816 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12817 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12819 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12821 else
12822 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12825 else
12826 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12830 CPPFLAGS=$ac_save_CPPFLAGS
12831 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12832 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12834 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12835 if ${PKG_CONFIG+:} false; then :
12836 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12839 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12840 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12841 if ${PKG_CONFIG+:} false; then :
12842 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12845 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12846 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12847 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12848 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12849 ac_save_CPPFLAGS=$CPPFLAGS
12850 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12851 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12852 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12854 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12855 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12856 $as_echo_n "(cached) " >&6
12857 else
12858 ac_check_lib_save_LIBS=$LIBS
12859 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 /* Override any GCC internal prototype to avoid an error.
12864 Use char because int might match the return type of a GCC
12865 builtin and then its argument prototype would still apply. */
12866 #ifdef __cplusplus
12867 extern "C"
12868 #endif
12869 char gp_port_info_list_new ();
12871 main ()
12873 return gp_port_info_list_new ();
12875 return 0;
12877 _ACEOF
12878 if ac_fn_c_try_link "$LINENO"; then :
12879 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12880 else
12881 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12883 rm -f core conftest.err conftest.$ac_objext \
12884 conftest$ac_exeext conftest.$ac_ext
12885 LIBS=$ac_check_lib_save_LIBS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12888 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12889 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12891 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12893 else
12894 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12897 else
12898 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12902 CPPFLAGS=$ac_save_CPPFLAGS
12903 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12904 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12907 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12908 case "x$with_gphoto" in
12909 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12910 xno) ;;
12911 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12912 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12913 esac
12916 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12917 case "x$with_gphoto" in
12918 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12919 xno) ;;
12920 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12921 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12922 esac
12927 if test "$ac_cv_header_resolv_h" = "yes"
12928 then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12930 $as_echo_n "checking for resolver library... " >&6; }
12931 if ${ac_cv_have_resolv+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_save_LIBS="$LIBS"
12935 for lib in '' -lresolv
12937 LIBS="$lib $ac_save_LIBS"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12940 #ifdef HAVE_NETINET_IN_H
12941 #include <netinet/in.h>
12942 #endif
12943 #include <resolv.h>
12945 main ()
12947 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 ac_cv_have_resolv=${lib:-"none required"}
12954 else
12955 ac_cv_have_resolv="not found"
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 test "x$ac_cv_have_resolv" = "xnot found" || break
12960 done
12961 LIBS="$ac_save_LIBS"
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12964 $as_echo "$ac_cv_have_resolv" >&6; }
12966 case "$ac_cv_have_resolv" in
12967 "not found") ;;
12968 "none required")
12970 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12973 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12975 RESOLV_LIBS=$ac_cv_have_resolv
12977 esac
12980 if test "x$with_cms" != "xno"
12981 then
12982 if ${LCMS2_CFLAGS:+false} :; then :
12983 if ${PKG_CONFIG+:} false; then :
12984 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12988 if ${LCMS2_LIBS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12994 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12995 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12996 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12997 ac_save_CPPFLAGS=$CPPFLAGS
12998 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12999 for ac_header in lcms2.h
13000 do :
13001 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
13002 if test "x$ac_cv_header_lcms2_h" = xyes; then :
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_LCMS2_H 1
13005 _ACEOF
13009 done
13011 if test "$ac_cv_header_lcms2_h" = "yes"
13012 then
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
13014 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
13015 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char cmsOpenProfileFromFile ();
13031 main ()
13033 return cmsOpenProfileFromFile ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
13040 else
13041 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
13048 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
13049 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
13051 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
13053 else
13054 LCMS2_LIBS=""
13057 else
13058 LCMS2_CFLAGS=""
13059 LCMS2_LIBS=""
13061 CPPFLAGS=$ac_save_CPPFLAGS
13062 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13063 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13066 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
13067 case "x$with_cms" in
13068 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
13069 xno) ;;
13070 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
13071 This is an error since --with-cms was requested." "$LINENO" 5 ;;
13072 esac
13076 if test "x$with_freetype" != "xno"
13077 then
13078 if ${FREETYPE_CFLAGS:+false} :; then :
13079 if ${PKG_CONFIG+:} false; then :
13080 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
13083 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
13084 if ${FREETYPE_LIBS:+false} :; then :
13085 if ${PKG_CONFIG+:} false; then :
13086 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
13089 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
13090 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
13091 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
13092 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
13093 ac_save_CPPFLAGS=$CPPFLAGS
13094 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
13095 for ac_header in ft2build.h
13096 do :
13097 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
13098 if test "x$ac_cv_header_ft2build_h" = xyes; then :
13099 cat >>confdefs.h <<_ACEOF
13100 #define HAVE_FT2BUILD_H 1
13101 _ACEOF
13105 done
13107 if test "$ac_cv_header_ft2build_h" = "yes"
13108 then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
13110 $as_echo_n "checking for -lfreetype... " >&6; }
13111 if ${ac_cv_lib_soname_freetype+:} false; then :
13112 $as_echo_n "(cached) " >&6
13113 else
13114 ac_check_soname_save_LIBS=$LIBS
13115 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
13116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13122 #ifdef __cplusplus
13123 extern "C"
13124 #endif
13125 char FT_Init_FreeType ();
13127 main ()
13129 return FT_Init_FreeType ();
13131 return 0;
13133 _ACEOF
13134 if ac_fn_c_try_link "$LINENO"; then :
13135 case "$LIBEXT" in
13136 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13137 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'` ;;
13138 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13139 if ${ac_cv_lib_soname_freetype:+false} :; then :
13140 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13141 fi ;;
13142 esac
13144 rm -f core conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_soname_save_LIBS
13148 if ${ac_cv_lib_soname_freetype:+false} :; then :
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13150 $as_echo "not found" >&6; }
13151 FREETYPE_LIBS=""
13152 else
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
13154 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
13156 cat >>confdefs.h <<_ACEOF
13157 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13158 _ACEOF
13161 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
13163 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
13164 #include FT_MODULE_H
13166 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
13168 cat >>confdefs.h <<_ACEOF
13169 #define HAVE_FT_TRUETYPEENGINETYPE 1
13170 _ACEOF
13176 else
13177 FREETYPE_CFLAGS=""
13178 FREETYPE_LIBS=""
13180 CPPFLAGS=$ac_save_CPPFLAGS
13181 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13182 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13185 if test "x$ac_cv_lib_soname_freetype" = x; then :
13186 case "x$with_freetype" in
13187 xno) ;;
13188 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
13189 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
13190 esac
13191 enable_fonts=${enable_fonts:-no}
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
13195 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
13196 if ${ac_cv_c_ppdev+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13201 #ifdef HAVE_SYS_IOCTL_H
13202 # include <sys/ioctl.h>
13203 #endif
13204 #include <linux/ppdev.h>
13206 main ()
13208 ioctl (1,PPCLAIM,0)
13210 return 0;
13212 _ACEOF
13213 if ac_fn_c_try_compile "$LINENO"; then :
13214 ac_cv_c_ppdev="yes"
13215 else
13216 ac_cv_c_ppdev="no"
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
13221 $as_echo "$ac_cv_c_ppdev" >&6; }
13222 if test "$ac_cv_c_ppdev" = "yes"
13223 then
13225 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
13229 ac_wine_check_funcs_save_LIBS="$LIBS"
13230 LIBS="$LIBS $PTHREAD_LIBS"
13231 for ac_func in \
13232 pthread_attr_get_np \
13233 pthread_getattr_np \
13234 pthread_getthreadid_np \
13235 pthread_get_stackaddr_np \
13236 pthread_get_stacksize_np
13237 do :
13238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13241 cat >>confdefs.h <<_ACEOF
13242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13243 _ACEOF
13246 done
13248 LIBS="$ac_wine_check_funcs_save_LIBS"
13250 if test "$ac_cv_header_zlib_h" = "yes"
13251 then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
13253 $as_echo_n "checking for inflate in -lz... " >&6; }
13254 if ${ac_cv_lib_z_inflate+:} false; then :
13255 $as_echo_n "(cached) " >&6
13256 else
13257 ac_check_lib_save_LIBS=$LIBS
13258 LIBS="-lz $LIBS"
13259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260 /* end confdefs.h. */
13262 /* Override any GCC internal prototype to avoid an error.
13263 Use char because int might match the return type of a GCC
13264 builtin and then its argument prototype would still apply. */
13265 #ifdef __cplusplus
13266 extern "C"
13267 #endif
13268 char inflate ();
13270 main ()
13272 return inflate ();
13274 return 0;
13276 _ACEOF
13277 if ac_fn_c_try_link "$LINENO"; then :
13278 ac_cv_lib_z_inflate=yes
13279 else
13280 ac_cv_lib_z_inflate=no
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_lib_save_LIBS
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
13287 $as_echo "$ac_cv_lib_z_inflate" >&6; }
13288 if test "x$ac_cv_lib_z_inflate" = xyes; then :
13290 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
13292 Z_LIBS="-lz"
13297 if test "x$Z_LIBS" = "x"; then :
13298 case "x$with_zlib" in
13299 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
13300 xno) ;;
13301 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
13302 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
13303 esac
13307 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
13308 then
13309 if test "$ac_cv_header_gettext_po_h" = "yes"
13310 then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
13312 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
13313 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
13314 $as_echo_n "(cached) " >&6
13315 else
13316 ac_check_lib_save_LIBS=$LIBS
13317 LIBS="-lgettextpo $LIBS"
13318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13319 /* end confdefs.h. */
13321 /* Override any GCC internal prototype to avoid an error.
13322 Use char because int might match the return type of a GCC
13323 builtin and then its argument prototype would still apply. */
13324 #ifdef __cplusplus
13325 extern "C"
13326 #endif
13327 char po_message_msgctxt ();
13329 main ()
13331 return po_message_msgctxt ();
13333 return 0;
13335 _ACEOF
13336 if ac_fn_c_try_link "$LINENO"; then :
13337 ac_cv_lib_gettextpo_po_message_msgctxt=yes
13338 else
13339 ac_cv_lib_gettextpo_po_message_msgctxt=no
13341 rm -f core conftest.err conftest.$ac_objext \
13342 conftest$ac_exeext conftest.$ac_ext
13343 LIBS=$ac_check_lib_save_LIBS
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
13346 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
13347 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
13349 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
13351 GETTEXTPO_LIBS="-lgettextpo"
13356 if test "x$GETTEXTPO_LIBS" = "x"; then :
13357 case "x$with_gettextpo" in
13358 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
13359 xno) ;;
13360 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
13361 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13362 esac
13365 if test "$srcdir" != .; then :
13366 case "x$with_gettextpo" in
13367 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
13368 xno) ;;
13369 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
13370 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
13371 esac
13376 if test "x$with_pulse" != "xno";
13377 then
13378 if ${PULSE_CFLAGS:+false} :; then :
13379 if ${PKG_CONFIG+:} false; then :
13380 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13384 if ${PULSE_LIBS:+false} :; then :
13385 if ${PKG_CONFIG+:} false; then :
13386 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13391 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13392 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13393 ac_save_CPPFLAGS=$CPPFLAGS
13394 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13395 for ac_header in pulse/pulseaudio.h
13396 do :
13397 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13398 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13399 cat >>confdefs.h <<_ACEOF
13400 #define HAVE_PULSE_PULSEAUDIO_H 1
13401 _ACEOF
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13403 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13404 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13405 $as_echo_n "(cached) " >&6
13406 else
13407 ac_check_lib_save_LIBS=$LIBS
13408 LIBS="-lpulse $PULSE_LIBS $LIBS"
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13415 #ifdef __cplusplus
13416 extern "C"
13417 #endif
13418 char pa_stream_is_corked ();
13420 main ()
13422 return pa_stream_is_corked ();
13424 return 0;
13426 _ACEOF
13427 if ac_fn_c_try_link "$LINENO"; then :
13428 ac_cv_lib_pulse_pa_stream_is_corked=yes
13429 else
13430 ac_cv_lib_pulse_pa_stream_is_corked=no
13432 rm -f core conftest.err conftest.$ac_objext \
13433 conftest$ac_exeext conftest.$ac_ext
13434 LIBS=$ac_check_lib_save_LIBS
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13437 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13438 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13440 else
13441 PULSE_LIBS=""
13444 else
13445 PULSE_LIBS=""
13448 done
13450 CPPFLAGS=$ac_save_CPPFLAGS
13451 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13452 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13455 if test -z "$PULSE_LIBS"; then :
13456 case "x$with_pulse" in
13457 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13458 xno) ;;
13459 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13460 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13461 esac
13462 enable_winepulse_drv=${enable_winepulse_drv:-no}
13465 if test "x$with_gstreamer" != "xno"
13466 then
13467 if ${GSTREAMER_CFLAGS:+false} :; then :
13468 if ${PKG_CONFIG+:} false; then :
13469 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13473 if ${GSTREAMER_LIBS:+false} :; then :
13474 if ${PKG_CONFIG+:} false; then :
13475 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13480 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13481 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13482 ac_save_CPPFLAGS=$CPPFLAGS
13483 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13484 ac_gst_incl=""
13485 for i in $GSTREAMER_CFLAGS
13487 case "$i" in
13488 -I*) ac_gst_incl="$ac_gst_incl $i";;
13489 esac
13490 done
13491 GSTREAMER_CFLAGS=$ac_gst_incl
13492 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13493 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13494 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13496 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13499 #include <gst/gst.h>
13501 main ()
13503 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13505 return 0;
13507 _ACEOF
13508 if ac_fn_c_try_compile "$LINENO"; then :
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13510 $as_echo "yes" >&6; }
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13512 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13513 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13514 $as_echo_n "(cached) " >&6
13515 else
13516 ac_check_lib_save_LIBS=$LIBS
13517 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13524 #ifdef __cplusplus
13525 extern "C"
13526 #endif
13527 char gst_pad_new ();
13529 main ()
13531 return gst_pad_new ();
13533 return 0;
13535 _ACEOF
13536 if ac_fn_c_try_link "$LINENO"; then :
13537 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13538 else
13539 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13541 rm -f core conftest.err conftest.$ac_objext \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_lib_save_LIBS
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13546 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13547 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13551 else
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553 $as_echo "no" >&6; }
13554 ac_glib2_broken=yes
13555 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13561 CPPFLAGS=$ac_save_CPPFLAGS
13562 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13563 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13566 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 :
13567 case "x$with_gstreamer" in
13568 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13569 xno) ;;
13570 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13571 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13572 esac
13575 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13577 ALSA_LIBS=""
13579 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13580 then
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13582 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13583 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13584 $as_echo_n "(cached) " >&6
13585 else
13586 ac_check_lib_save_LIBS=$LIBS
13587 LIBS="-lasound $LIBS"
13588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13589 /* end confdefs.h. */
13591 /* Override any GCC internal prototype to avoid an error.
13592 Use char because int might match the return type of a GCC
13593 builtin and then its argument prototype would still apply. */
13594 #ifdef __cplusplus
13595 extern "C"
13596 #endif
13597 char snd_pcm_hw_params_get_access_mask ();
13599 main ()
13601 return snd_pcm_hw_params_get_access_mask ();
13603 return 0;
13605 _ACEOF
13606 if ac_fn_c_try_link "$LINENO"; then :
13607 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13608 else
13609 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13611 rm -f core conftest.err conftest.$ac_objext \
13612 conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_lib_save_LIBS
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13616 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13617 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #ifdef HAVE_ALSA_ASOUNDLIB_H
13621 #include <alsa/asoundlib.h>
13622 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13623 #include <sys/asoundlib.h>
13624 #endif
13626 main ()
13628 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_compile "$LINENO"; then :
13634 ALSA_LIBS="-lasound"
13636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13640 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13642 if test "x$with_oss" != xno
13643 then
13644 ac_save_CPPFLAGS="$CPPFLAGS"
13645 if test -f /etc/oss.conf
13646 then
13647 . /etc/oss.conf
13649 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13650 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13651 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13652 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13653 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13655 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13657 cat >>confdefs.h <<_ACEOF
13658 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13659 _ACEOF
13661 OSS4_CFLAGS="$ac_oss_incl"
13668 CPPFLAGS="$ac_save_CPPFLAGS"
13670 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13671 case "x$with_oss" in
13672 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13673 xno) ;;
13674 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13675 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13676 esac
13677 enable_wineoss_drv=${enable_wineoss_drv:-no}
13680 if test "x$with_udev" != "xno"
13681 then
13682 if ${UDEV_CFLAGS:+false} :; then :
13683 if ${PKG_CONFIG+:} false; then :
13684 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13688 if ${UDEV_LIBS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13694 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13695 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13697 ac_save_CPPFLAGS=$CPPFLAGS
13698 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13699 for ac_header in libudev.h
13700 do :
13701 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13702 if test "x$ac_cv_header_libudev_h" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_LIBUDEV_H 1
13705 _ACEOF
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13707 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13708 if ${ac_cv_lib_udev_udev_new+:} false; then :
13709 $as_echo_n "(cached) " >&6
13710 else
13711 ac_check_lib_save_LIBS=$LIBS
13712 LIBS="-ludev $UDEV_LIBS $LIBS"
13713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13714 /* end confdefs.h. */
13716 /* Override any GCC internal prototype to avoid an error.
13717 Use char because int might match the return type of a GCC
13718 builtin and then its argument prototype would still apply. */
13719 #ifdef __cplusplus
13720 extern "C"
13721 #endif
13722 char udev_new ();
13724 main ()
13726 return udev_new ();
13728 return 0;
13730 _ACEOF
13731 if ac_fn_c_try_link "$LINENO"; then :
13732 ac_cv_lib_udev_udev_new=yes
13733 else
13734 ac_cv_lib_udev_udev_new=no
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13738 LIBS=$ac_check_lib_save_LIBS
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13741 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13742 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13744 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13746 else
13747 UDEV_LIBS=""
13750 else
13751 UDEV_LIBS=""
13754 done
13756 CPPFLAGS=$ac_save_CPPFLAGS
13757 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13758 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13761 if test "x$UDEV_LIBS" = "x"; then :
13762 case "x$with_udev" in
13763 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13764 xno) ;;
13765 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13766 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13767 esac
13771 if test "x$with_sdl" != "xno"
13772 then
13773 if ${SDL2_CFLAGS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13779 if ${SDL2_LIBS:+false} :; then :
13780 if ${PKG_CONFIG+:} false; then :
13781 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13785 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13786 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13787 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13788 ac_save_CPPFLAGS=$CPPFLAGS
13789 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13790 for ac_header in SDL2/SDL.h
13791 do :
13792 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13793 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13794 cat >>confdefs.h <<_ACEOF
13795 #define HAVE_SDL2_SDL_H 1
13796 _ACEOF
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13798 $as_echo_n "checking for -lSDL2... " >&6; }
13799 if ${ac_cv_lib_soname_SDL2+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 ac_check_soname_save_LIBS=$LIBS
13803 LIBS="-lSDL2 $LIBS"
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13807 /* Override any GCC internal prototype to avoid an error.
13808 Use char because int might match the return type of a GCC
13809 builtin and then its argument prototype would still apply. */
13810 #ifdef __cplusplus
13811 extern "C"
13812 #endif
13813 char SDL_Init ();
13815 main ()
13817 return SDL_Init ();
13819 return 0;
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 case "$LIBEXT" in
13824 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13825 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'` ;;
13826 *) 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'`
13827 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13828 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13829 fi ;;
13830 esac
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_soname_save_LIBS
13836 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13838 $as_echo "not found" >&6; }
13840 else
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13842 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13844 cat >>confdefs.h <<_ACEOF
13845 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13846 _ACEOF
13852 done
13854 CPPFLAGS=$ac_save_CPPFLAGS
13855 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13856 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13859 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13860 case "x$with_sdl" in
13861 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13862 xno) ;;
13863 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13864 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13865 esac
13869 if test "x$with_capi" != "xno"
13870 then
13871 if ${CAPI20_CFLAGS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13877 if ${CAPI20_LIBS:+false} :; then :
13878 if ${PKG_CONFIG+:} false; then :
13879 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13884 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13886 ac_save_CPPFLAGS=$CPPFLAGS
13887 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13888 for ac_header in capi20.h linux/capi.h
13889 do :
13890 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13891 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13893 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13894 cat >>confdefs.h <<_ACEOF
13895 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13896 _ACEOF
13900 done
13902 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13903 then
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13905 $as_echo_n "checking for -lcapi20... " >&6; }
13906 if ${ac_cv_lib_soname_capi20+:} false; then :
13907 $as_echo_n "(cached) " >&6
13908 else
13909 ac_check_soname_save_LIBS=$LIBS
13910 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13914 /* Override any GCC internal prototype to avoid an error.
13915 Use char because int might match the return type of a GCC
13916 builtin and then its argument prototype would still apply. */
13917 #ifdef __cplusplus
13918 extern "C"
13919 #endif
13920 char capi20_register ();
13922 main ()
13924 return capi20_register ();
13926 return 0;
13928 _ACEOF
13929 if ac_fn_c_try_link "$LINENO"; then :
13930 case "$LIBEXT" in
13931 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13932 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'` ;;
13933 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13934 if ${ac_cv_lib_soname_capi20:+false} :; then :
13935 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13936 fi ;;
13937 esac
13939 rm -f core conftest.err conftest.$ac_objext \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_soname_save_LIBS
13943 if ${ac_cv_lib_soname_capi20:+false} :; then :
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13945 $as_echo "not found" >&6; }
13947 else
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13949 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13953 _ACEOF
13958 CPPFLAGS=$ac_save_CPPFLAGS
13959 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13960 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13963 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13964 case "x$with_capi" in
13965 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13966 xno) ;;
13967 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13968 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13969 esac
13973 if test "x$with_cups" != "xno"
13974 then
13975 if ${CUPS_CFLAGS:+false} :; then :
13976 if ${PKG_CONFIG+:} false; then :
13977 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13980 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13981 if ${CUPS_LIBS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13986 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13987 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13988 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13989 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13990 ac_save_CPPFLAGS=$CPPFLAGS
13991 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13992 for ac_header in cups/cups.h cups/ppd.h
13993 do :
13994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13995 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13996 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13997 cat >>confdefs.h <<_ACEOF
13998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13999 _ACEOF
14003 done
14005 if test "$ac_cv_header_cups_cups_h" = "yes"
14006 then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
14008 $as_echo_n "checking for -lcups... " >&6; }
14009 if ${ac_cv_lib_soname_cups+:} false; then :
14010 $as_echo_n "(cached) " >&6
14011 else
14012 ac_check_soname_save_LIBS=$LIBS
14013 LIBS="-lcups $CUPS_LIBS $LIBS"
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14017 /* Override any GCC internal prototype to avoid an error.
14018 Use char because int might match the return type of a GCC
14019 builtin and then its argument prototype would still apply. */
14020 #ifdef __cplusplus
14021 extern "C"
14022 #endif
14023 char cupsGetDefault ();
14025 main ()
14027 return cupsGetDefault ();
14029 return 0;
14031 _ACEOF
14032 if ac_fn_c_try_link "$LINENO"; then :
14033 case "$LIBEXT" in
14034 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14035 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'` ;;
14036 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14037 if ${ac_cv_lib_soname_cups:+false} :; then :
14038 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14039 fi ;;
14040 esac
14042 rm -f core conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 LIBS=$ac_check_soname_save_LIBS
14046 if ${ac_cv_lib_soname_cups:+false} :; then :
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14048 $as_echo "not found" >&6; }
14049 CUPS_LIBS=""
14050 else
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
14052 $as_echo "$ac_cv_lib_soname_cups" >&6; }
14054 cat >>confdefs.h <<_ACEOF
14055 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14056 _ACEOF
14060 else
14061 CUPS_CFLAGS=""
14062 CUPS_LIBS=""
14064 CPPFLAGS=$ac_save_CPPFLAGS
14065 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14066 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14069 if test "x$ac_cv_lib_soname_cups" = "x"; then :
14070 case "x$with_cups" in
14071 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
14072 xno) ;;
14073 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
14074 This is an error since --with-cups was requested." "$LINENO" 5 ;;
14075 esac
14079 if test "x$with_fontconfig" != "xno"
14080 then
14081 if ${FONTCONFIG_CFLAGS:+false} :; then :
14082 if ${PKG_CONFIG+:} false; then :
14083 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
14086 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
14087 if ${FONTCONFIG_LIBS:+false} :; then :
14088 if ${PKG_CONFIG+:} false; then :
14089 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
14092 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
14094 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
14095 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
14096 ac_save_CPPFLAGS=$CPPFLAGS
14097 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
14098 for ac_header in fontconfig/fontconfig.h
14099 do :
14100 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
14101 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
14102 cat >>confdefs.h <<_ACEOF
14103 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
14104 _ACEOF
14108 done
14110 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14111 then
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
14113 $as_echo_n "checking for -lfontconfig... " >&6; }
14114 if ${ac_cv_lib_soname_fontconfig+:} false; then :
14115 $as_echo_n "(cached) " >&6
14116 else
14117 ac_check_soname_save_LIBS=$LIBS
14118 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
14119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14120 /* end confdefs.h. */
14122 /* Override any GCC internal prototype to avoid an error.
14123 Use char because int might match the return type of a GCC
14124 builtin and then its argument prototype would still apply. */
14125 #ifdef __cplusplus
14126 extern "C"
14127 #endif
14128 char FcInit ();
14130 main ()
14132 return FcInit ();
14134 return 0;
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 case "$LIBEXT" in
14139 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14140 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'` ;;
14141 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14142 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14143 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14144 fi ;;
14145 esac
14147 rm -f core conftest.err conftest.$ac_objext \
14148 conftest$ac_exeext conftest.$ac_ext
14149 LIBS=$ac_check_soname_save_LIBS
14151 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14153 $as_echo "not found" >&6; }
14154 FONTCONFIG_CFLAGS=""
14155 else
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
14157 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
14159 cat >>confdefs.h <<_ACEOF
14160 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14161 _ACEOF
14165 else
14166 FONTCONFIG_CFLAGS=""
14168 CPPFLAGS=$ac_save_CPPFLAGS
14169 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14170 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14173 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
14174 case "x$with_fontconfig" in
14175 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
14176 xno) ;;
14177 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
14178 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
14179 esac
14183 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
14184 then
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
14186 $as_echo_n "checking for -lgsm... " >&6; }
14187 if ${ac_cv_lib_soname_gsm+:} false; then :
14188 $as_echo_n "(cached) " >&6
14189 else
14190 ac_check_soname_save_LIBS=$LIBS
14191 LIBS="-lgsm $LIBS"
14192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14193 /* end confdefs.h. */
14195 /* Override any GCC internal prototype to avoid an error.
14196 Use char because int might match the return type of a GCC
14197 builtin and then its argument prototype would still apply. */
14198 #ifdef __cplusplus
14199 extern "C"
14200 #endif
14201 char gsm_create ();
14203 main ()
14205 return gsm_create ();
14207 return 0;
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"; then :
14211 case "$LIBEXT" in
14212 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14213 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'` ;;
14214 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14215 if ${ac_cv_lib_soname_gsm:+false} :; then :
14216 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14217 fi ;;
14218 esac
14220 rm -f core conftest.err conftest.$ac_objext \
14221 conftest$ac_exeext conftest.$ac_ext
14222 LIBS=$ac_check_soname_save_LIBS
14224 if ${ac_cv_lib_soname_gsm:+false} :; then :
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14226 $as_echo "not found" >&6; }
14228 else
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
14230 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
14232 cat >>confdefs.h <<_ACEOF
14233 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
14234 _ACEOF
14239 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
14240 case "x$with_gsm" in
14241 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
14242 xno) ;;
14243 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
14244 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
14245 esac
14249 if test "x$with_krb5" != "xno"
14250 then
14251 if ${KRB5_CFLAGS:+false} :; then :
14252 if ${PKG_CONFIG+:} false; then :
14253 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
14256 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
14257 if ${KRB5_LIBS:+false} :; then :
14258 if ${PKG_CONFIG+:} false; then :
14259 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
14262 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
14264 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
14265 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
14266 ac_save_CPPFLAGS=$CPPFLAGS
14267 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
14268 for ac_header in krb5/krb5.h
14269 do :
14270 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
14271 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
14272 cat >>confdefs.h <<_ACEOF
14273 #define HAVE_KRB5_KRB5_H 1
14274 _ACEOF
14278 done
14280 if test "$ac_cv_header_krb5_krb5_h" = "yes"
14281 then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
14283 $as_echo_n "checking for -lkrb5... " >&6; }
14284 if ${ac_cv_lib_soname_krb5+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_check_soname_save_LIBS=$LIBS
14288 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14292 /* Override any GCC internal prototype to avoid an error.
14293 Use char because int might match the return type of a GCC
14294 builtin and then its argument prototype would still apply. */
14295 #ifdef __cplusplus
14296 extern "C"
14297 #endif
14298 char krb5_is_config_principal ();
14300 main ()
14302 return krb5_is_config_principal ();
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 case "$LIBEXT" in
14309 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14310 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'` ;;
14311 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14312 if ${ac_cv_lib_soname_krb5:+false} :; then :
14313 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14314 fi ;;
14315 esac
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 LIBS=$ac_check_soname_save_LIBS
14321 if ${ac_cv_lib_soname_krb5:+false} :; then :
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14323 $as_echo "not found" >&6; }
14324 KRB5_CFLAGS=""
14325 else
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
14327 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
14329 cat >>confdefs.h <<_ACEOF
14330 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
14331 _ACEOF
14335 else
14336 KRB5_CFLAGS=""
14338 CPPFLAGS=$ac_save_CPPFLAGS
14339 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14340 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14342 else
14343 with_gssapi=${with_gssapi:-no}
14345 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
14346 case "x$with_krb5" in
14347 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
14348 xno) ;;
14349 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
14350 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
14351 esac
14355 if test "x$with_gssapi" != "xno"
14356 then
14357 if ${GSSAPI_CFLAGS:+false} :; then :
14358 if ${PKG_CONFIG+:} false; then :
14359 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
14362 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
14363 if ${GSSAPI_LIBS:+false} :; then :
14364 if ${PKG_CONFIG+:} false; then :
14365 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
14368 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
14370 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
14371 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
14372 ac_save_CPPFLAGS=$CPPFLAGS
14373 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
14374 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
14375 do :
14376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14377 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14378 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14379 cat >>confdefs.h <<_ACEOF
14380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14381 _ACEOF
14385 done
14387 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
14388 then
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
14390 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
14391 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_check_soname_save_LIBS=$LIBS
14395 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 #ifdef __cplusplus
14403 extern "C"
14404 #endif
14405 char gss_init_sec_context ();
14407 main ()
14409 return gss_init_sec_context ();
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 case "$LIBEXT" in
14416 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14417 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'` ;;
14418 *) 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'`
14419 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14420 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14421 fi ;;
14422 esac
14424 rm -f core conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14426 LIBS=$ac_check_soname_save_LIBS
14428 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14430 $as_echo "not found" >&6; }
14431 GSSAPI_CFLAGS=""
14432 else
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
14434 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
14436 cat >>confdefs.h <<_ACEOF
14437 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
14438 _ACEOF
14442 else
14443 GSSAPI_CFLAGS=""
14445 CPPFLAGS=$ac_save_CPPFLAGS
14446 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14447 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14450 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
14451 case "x$with_gssapi" in
14452 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
14453 xno) ;;
14454 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
14455 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
14456 esac
14460 if test "x$with_jpeg" != "xno"
14461 then
14462 if ${JPEG_CFLAGS:+false} :; then :
14463 if ${PKG_CONFIG+:} false; then :
14464 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
14468 if ${JPEG_LIBS:+false} :; then :
14469 if ${PKG_CONFIG+:} false; then :
14470 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
14475 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
14476 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
14477 ac_save_CPPFLAGS=$CPPFLAGS
14478 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
14479 for ac_header in jpeglib.h
14480 do :
14481 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
14482 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
14483 cat >>confdefs.h <<_ACEOF
14484 #define HAVE_JPEGLIB_H 1
14485 _ACEOF
14489 done
14491 if test "$ac_cv_header_jpeglib_h" = "yes"
14492 then
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
14494 $as_echo_n "checking for -ljpeg... " >&6; }
14495 if ${ac_cv_lib_soname_jpeg+:} false; then :
14496 $as_echo_n "(cached) " >&6
14497 else
14498 ac_check_soname_save_LIBS=$LIBS
14499 LIBS="-ljpeg $JPEG_LIBS $LIBS"
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14503 /* Override any GCC internal prototype to avoid an error.
14504 Use char because int might match the return type of a GCC
14505 builtin and then its argument prototype would still apply. */
14506 #ifdef __cplusplus
14507 extern "C"
14508 #endif
14509 char jpeg_start_decompress ();
14511 main ()
14513 return jpeg_start_decompress ();
14515 return 0;
14517 _ACEOF
14518 if ac_fn_c_try_link "$LINENO"; then :
14519 case "$LIBEXT" in
14520 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14521 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'` ;;
14522 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14523 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14524 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14525 fi ;;
14526 esac
14528 rm -f core conftest.err conftest.$ac_objext \
14529 conftest$ac_exeext conftest.$ac_ext
14530 LIBS=$ac_check_soname_save_LIBS
14532 if ${ac_cv_lib_soname_jpeg:+false} :; then :
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14534 $as_echo "not found" >&6; }
14535 JPEG_CFLAGS=""
14536 else
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
14538 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
14540 cat >>confdefs.h <<_ACEOF
14541 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14542 _ACEOF
14546 else
14547 JPEG_CFLAGS=""
14549 CPPFLAGS=$ac_save_CPPFLAGS
14550 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14551 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14554 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
14555 case "x$with_jpeg" in
14556 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
14557 xno) ;;
14558 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
14559 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
14560 esac
14564 if test "x$with_png" != "xno"
14565 then
14566 if ${PNG_CFLAGS:+false} :; then :
14567 if ${PKG_CONFIG+:} false; then :
14568 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
14571 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
14572 if ${PNG_LIBS:+false} :; then :
14573 if ${PKG_CONFIG+:} false; then :
14574 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
14577 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
14579 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
14580 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
14581 ac_save_CPPFLAGS=$CPPFLAGS
14582 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
14583 for ac_header in png.h
14584 do :
14585 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14586 if test "x$ac_cv_header_png_h" = xyes; then :
14587 cat >>confdefs.h <<_ACEOF
14588 #define HAVE_PNG_H 1
14589 _ACEOF
14593 done
14595 if test "$ac_cv_header_png_h" = "yes"
14596 then
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14598 $as_echo_n "checking for -lpng... " >&6; }
14599 if ${ac_cv_lib_soname_png+:} false; then :
14600 $as_echo_n "(cached) " >&6
14601 else
14602 ac_check_soname_save_LIBS=$LIBS
14603 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14605 /* end confdefs.h. */
14607 /* Override any GCC internal prototype to avoid an error.
14608 Use char because int might match the return type of a GCC
14609 builtin and then its argument prototype would still apply. */
14610 #ifdef __cplusplus
14611 extern "C"
14612 #endif
14613 char png_create_read_struct ();
14615 main ()
14617 return png_create_read_struct ();
14619 return 0;
14621 _ACEOF
14622 if ac_fn_c_try_link "$LINENO"; then :
14623 case "$LIBEXT" in
14624 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14625 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'` ;;
14626 *) 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'`
14627 if ${ac_cv_lib_soname_png:+false} :; then :
14628 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14629 fi ;;
14630 esac
14632 rm -f core conftest.err conftest.$ac_objext \
14633 conftest$ac_exeext conftest.$ac_ext
14634 LIBS=$ac_check_soname_save_LIBS
14636 if ${ac_cv_lib_soname_png:+false} :; then :
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14638 $as_echo "not found" >&6; }
14639 PNG_CFLAGS=""
14640 else
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14642 $as_echo "$ac_cv_lib_soname_png" >&6; }
14644 cat >>confdefs.h <<_ACEOF
14645 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14646 _ACEOF
14650 else
14651 PNG_CFLAGS=""
14653 CPPFLAGS=$ac_save_CPPFLAGS
14654 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14655 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14658 if test "x$ac_cv_lib_soname_png" = "x"; then :
14659 case "x$with_png" in
14660 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14661 xno) ;;
14662 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14663 This is an error since --with-png was requested." "$LINENO" 5 ;;
14664 esac
14668 if test "x$with_tiff" != "xno"
14669 then
14670 if ${TIFF_CFLAGS:+false} :; then :
14671 if ${PKG_CONFIG+:} false; then :
14672 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14676 if ${TIFF_LIBS:+false} :; then :
14677 if ${PKG_CONFIG+:} false; then :
14678 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14683 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14684 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14685 ac_save_CPPFLAGS=$CPPFLAGS
14686 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14687 for ac_header in tiffio.h
14688 do :
14689 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14690 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14691 cat >>confdefs.h <<_ACEOF
14692 #define HAVE_TIFFIO_H 1
14693 _ACEOF
14697 done
14699 if test "$ac_cv_header_tiffio_h" = "yes"
14700 then
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14702 $as_echo_n "checking for -ltiff... " >&6; }
14703 if ${ac_cv_lib_soname_tiff+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_check_soname_save_LIBS=$LIBS
14707 LIBS="-ltiff $TIFF_LIBS $LIBS"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14711 /* Override any GCC internal prototype to avoid an error.
14712 Use char because int might match the return type of a GCC
14713 builtin and then its argument prototype would still apply. */
14714 #ifdef __cplusplus
14715 extern "C"
14716 #endif
14717 char TIFFClientOpen ();
14719 main ()
14721 return TIFFClientOpen ();
14723 return 0;
14725 _ACEOF
14726 if ac_fn_c_try_link "$LINENO"; then :
14727 case "$LIBEXT" in
14728 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14729 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'` ;;
14730 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14731 if ${ac_cv_lib_soname_tiff:+false} :; then :
14732 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14733 fi ;;
14734 esac
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_soname_save_LIBS
14740 if ${ac_cv_lib_soname_tiff:+false} :; then :
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14742 $as_echo "not found" >&6; }
14744 else
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14746 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14748 cat >>confdefs.h <<_ACEOF
14749 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14750 _ACEOF
14755 CPPFLAGS=$ac_save_CPPFLAGS
14756 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14757 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14760 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14761 case "x$with_tiff" in
14762 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14763 xno) ;;
14764 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14765 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14766 esac
14770 if test "x$with_mpg123" != "xno"
14771 then
14772 if ${MPG123_CFLAGS:+false} :; then :
14773 if ${PKG_CONFIG+:} false; then :
14774 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14778 if ${MPG123_LIBS:+false} :; then :
14779 if ${PKG_CONFIG+:} false; then :
14780 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14784 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14785 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14786 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14787 ac_save_CPPFLAGS=$CPPFLAGS
14788 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14789 for ac_header in mpg123.h
14790 do :
14791 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14792 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14793 cat >>confdefs.h <<_ACEOF
14794 #define HAVE_MPG123_H 1
14795 _ACEOF
14799 done
14801 if test "$ac_cv_header_mpg123_h" = "yes"
14802 then
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14804 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14805 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14806 $as_echo_n "(cached) " >&6
14807 else
14808 ac_check_lib_save_LIBS=$LIBS
14809 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14813 /* Override any GCC internal prototype to avoid an error.
14814 Use char because int might match the return type of a GCC
14815 builtin and then its argument prototype would still apply. */
14816 #ifdef __cplusplus
14817 extern "C"
14818 #endif
14819 char mpg123_feed ();
14821 main ()
14823 return mpg123_feed ();
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_link "$LINENO"; then :
14829 ac_cv_lib_mpg123_mpg123_feed=yes
14830 else
14831 ac_cv_lib_mpg123_mpg123_feed=no
14833 rm -f core conftest.err conftest.$ac_objext \
14834 conftest$ac_exeext conftest.$ac_ext
14835 LIBS=$ac_check_lib_save_LIBS
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14838 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14839 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14841 else
14842 MPG123_LIBS=""
14845 else
14846 MPG123_CFLAGS=""
14847 MPG123_LIBS=""
14849 CPPFLAGS=$ac_save_CPPFLAGS
14850 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14851 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14854 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14855 case "x$with_mpg123" in
14856 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14857 xno) ;;
14858 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14859 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14860 esac
14861 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14863 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14865 if test "$ac_cv_header_AL_al_h" = "yes"
14866 then
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14868 $as_echo_n "checking for -lopenal... " >&6; }
14869 if ${ac_cv_lib_soname_openal+:} false; then :
14870 $as_echo_n "(cached) " >&6
14871 else
14872 ac_check_soname_save_LIBS=$LIBS
14873 LIBS="-lopenal $LIBS"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h. */
14877 /* Override any GCC internal prototype to avoid an error.
14878 Use char because int might match the return type of a GCC
14879 builtin and then its argument prototype would still apply. */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char alGetSource3i ();
14885 main ()
14887 return alGetSource3i ();
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893 case "$LIBEXT" in
14894 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14895 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'` ;;
14896 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14897 if ${ac_cv_lib_soname_openal:+false} :; then :
14898 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14899 fi ;;
14900 esac
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_soname_save_LIBS
14906 if ${ac_cv_lib_soname_openal:+false} :; then :
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14908 $as_echo "not found" >&6; }
14910 else
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14912 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14914 cat >>confdefs.h <<_ACEOF
14915 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14916 _ACEOF
14918 OPENAL_LIBS="-lopenal"
14920 ac_cv_lib_openal=yes
14922 cat >>confdefs.h <<_ACEOF
14923 #define HAVE_OPENAL 1
14924 _ACEOF
14928 if test "x$ac_cv_lib_openal" != xyes; then :
14929 case "x$with_openal" in
14930 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14931 xno) ;;
14932 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14933 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14934 esac
14935 enable_openal32=${enable_openal32:-no}
14938 if test "x$ac_cv_lib_openal" = xyes
14939 then
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14941 $as_echo_n "checking for openal-soft... " >&6; }
14942 if ${ac_cv_have_openalsoft+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 #include <AL/al.h>
14948 #include <AL/alc.h>
14949 #include <AL/alext.h>
14950 LPALCRENDERSAMPLESSOFT x;
14952 main ()
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_compile "$LINENO"; then :
14960 ac_cv_have_openalsoft=yes
14961 else
14962 ac_cv_have_openalsoft=no
14964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14967 $as_echo "$ac_cv_have_openalsoft" >&6; }
14969 if test "x$ac_cv_have_openalsoft" != xyes
14970 then
14971 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14972 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14973 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14974 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14975 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14976 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14977 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14978 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14979 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14980 enable_xapofx1_1=${enable_xapofx1_1:-no}
14981 enable_xapofx1_2=${enable_xapofx1_2:-no}
14982 enable_xapofx1_3=${enable_xapofx1_3:-no}
14983 enable_xapofx1_4=${enable_xapofx1_4:-no}
14984 enable_xapofx1_5=${enable_xapofx1_5:-no}
14985 enable_xaudio2_0=${enable_xaudio2_0:-no}
14986 enable_xaudio2_1=${enable_xaudio2_1:-no}
14987 enable_xaudio2_2=${enable_xaudio2_2:-no}
14988 enable_xaudio2_3=${enable_xaudio2_3:-no}
14989 enable_xaudio2_4=${enable_xaudio2_4:-no}
14990 enable_xaudio2_5=${enable_xaudio2_5:-no}
14991 enable_xaudio2_6=${enable_xaudio2_6:-no}
14992 enable_xaudio2_7=${enable_xaudio2_7:-no}
14993 enable_xaudio2_8=${enable_xaudio2_8:-no}
14994 enable_xaudio2_9=${enable_xaudio2_9:-no}
14997 if test "$ac_cv_header_kstat_h" = "yes"
14998 then
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
15000 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
15001 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
15002 $as_echo_n "(cached) " >&6
15003 else
15004 ac_check_lib_save_LIBS=$LIBS
15005 LIBS="-lkstat $LIBS"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15012 #ifdef __cplusplus
15013 extern "C"
15014 #endif
15015 char kstat_open ();
15017 main ()
15019 return kstat_open ();
15021 return 0;
15023 _ACEOF
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_lib_kstat_kstat_open=yes
15026 else
15027 ac_cv_lib_kstat_kstat_open=no
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
15034 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
15035 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
15037 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
15039 KSTAT_LIBS="-lkstat"
15045 if test "$ac_cv_header_libprocstat_h" = "yes"
15046 then
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
15048 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
15049 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_check_lib_save_LIBS=$LIBS
15053 LIBS="-lprocstat $LIBS"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15057 /* Override any GCC internal prototype to avoid an error.
15058 Use char because int might match the return type of a GCC
15059 builtin and then its argument prototype would still apply. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 char procstat_open_sysctl ();
15065 main ()
15067 return procstat_open_sysctl ();
15069 return 0;
15071 _ACEOF
15072 if ac_fn_c_try_link "$LINENO"; then :
15073 ac_cv_lib_procstat_procstat_open_sysctl=yes
15074 else
15075 ac_cv_lib_procstat_procstat_open_sysctl=no
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15079 LIBS=$ac_check_lib_save_LIBS
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
15082 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
15083 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
15085 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
15087 PROCSTAT_LIBS="-lprocstat"
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
15094 $as_echo_n "checking for -lodbc... " >&6; }
15095 if ${ac_cv_lib_soname_odbc+:} false; then :
15096 $as_echo_n "(cached) " >&6
15097 else
15098 ac_check_soname_save_LIBS=$LIBS
15099 LIBS="-lodbc $LIBS"
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15103 /* Override any GCC internal prototype to avoid an error.
15104 Use char because int might match the return type of a GCC
15105 builtin and then its argument prototype would still apply. */
15106 #ifdef __cplusplus
15107 extern "C"
15108 #endif
15109 char SQLConnect ();
15111 main ()
15113 return SQLConnect ();
15115 return 0;
15117 _ACEOF
15118 if ac_fn_c_try_link "$LINENO"; then :
15119 case "$LIBEXT" in
15120 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15121 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'` ;;
15122 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15123 if ${ac_cv_lib_soname_odbc:+false} :; then :
15124 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15125 fi ;;
15126 esac
15128 rm -f core conftest.err conftest.$ac_objext \
15129 conftest$ac_exeext conftest.$ac_ext
15130 LIBS=$ac_check_soname_save_LIBS
15132 if ${ac_cv_lib_soname_odbc:+false} :; then :
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15134 $as_echo "not found" >&6; }
15135 cat >>confdefs.h <<_ACEOF
15136 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15137 _ACEOF
15139 else
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
15141 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
15143 cat >>confdefs.h <<_ACEOF
15144 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15145 _ACEOF
15150 if test "x$with_netapi" != "xno"
15151 then
15152 if ${NETAPI_CFLAGS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
15158 if ${NETAPI_LIBS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
15165 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
15166 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
15167 ac_save_CPPFLAGS=$CPPFLAGS
15168 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
15170 $as_echo_n "checking for -lnetapi... " >&6; }
15171 if ${ac_cv_lib_soname_netapi+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_check_soname_save_LIBS=$LIBS
15175 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15182 #ifdef __cplusplus
15183 extern "C"
15184 #endif
15185 char libnetapi_init ();
15187 main ()
15189 return libnetapi_init ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"; then :
15195 case "$LIBEXT" in
15196 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_netapi:+false} :; then :
15200 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15201 fi ;;
15202 esac
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_check_soname_save_LIBS
15208 if ${ac_cv_lib_soname_netapi:+false} :; then :
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15210 $as_echo "not found" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
15213 _ACEOF
15215 else
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
15217 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
15219 cat >>confdefs.h <<_ACEOF
15220 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
15221 _ACEOF
15225 CPPFLAGS=$ac_save_CPPFLAGS
15226 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15227 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15231 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
15232 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
15233 then
15234 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
15237 if test "x$with_vulkan" != "xno"
15238 then
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
15240 $as_echo_n "checking for -lvulkan... " >&6; }
15241 if ${ac_cv_lib_soname_vulkan+:} false; then :
15242 $as_echo_n "(cached) " >&6
15243 else
15244 ac_check_soname_save_LIBS=$LIBS
15245 LIBS="-lvulkan $LIBS"
15246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15252 #ifdef __cplusplus
15253 extern "C"
15254 #endif
15255 char vkGetInstanceProcAddr ();
15257 main ()
15259 return vkGetInstanceProcAddr ();
15261 return 0;
15263 _ACEOF
15264 if ac_fn_c_try_link "$LINENO"; then :
15265 case "$LIBEXT" in
15266 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15267 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'` ;;
15268 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15269 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15270 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15271 fi ;;
15272 esac
15274 rm -f core conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276 LIBS=$ac_check_soname_save_LIBS
15278 if ${ac_cv_lib_soname_vulkan:+false} :; then :
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15280 $as_echo "not found" >&6; }
15282 else
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
15284 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
15286 cat >>confdefs.h <<_ACEOF
15287 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
15288 _ACEOF
15292 if test "x$ac_cv_lib_soname_vulkan" = "x"
15293 then
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
15295 $as_echo_n "checking for -lMoltenVK... " >&6; }
15296 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
15297 $as_echo_n "(cached) " >&6
15298 else
15299 ac_check_soname_save_LIBS=$LIBS
15300 LIBS="-lMoltenVK $LIBS"
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15304 /* Override any GCC internal prototype to avoid an error.
15305 Use char because int might match the return type of a GCC
15306 builtin and then its argument prototype would still apply. */
15307 #ifdef __cplusplus
15308 extern "C"
15309 #endif
15310 char vkGetInstanceProcAddr ();
15312 main ()
15314 return vkGetInstanceProcAddr ();
15316 return 0;
15318 _ACEOF
15319 if ac_fn_c_try_link "$LINENO"; then :
15320 case "$LIBEXT" in
15321 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15322 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'` ;;
15323 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15324 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15325 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15326 fi ;;
15327 esac
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_check_soname_save_LIBS
15333 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15335 $as_echo "not found" >&6; }
15337 else
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
15339 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
15341 cat >>confdefs.h <<_ACEOF
15342 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
15343 _ACEOF
15349 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
15350 case "x$with_vulkan" in
15351 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
15354 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "x$with_vkd3d" != "xno"
15360 then
15361 if ${VKD3D_CFLAGS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
15367 if ${VKD3D_LIBS:+false} :; then :
15368 if ${PKG_CONFIG+:} false; then :
15369 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
15374 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
15376 ac_save_CPPFLAGS=$CPPFLAGS
15377 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
15379 $as_echo_n "checking for -lvkd3d... " >&6; }
15380 if ${ac_cv_lib_soname_vkd3d+:} false; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 ac_check_soname_save_LIBS=$LIBS
15384 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 #ifdef __cplusplus
15392 extern "C"
15393 #endif
15394 char vkd3d_create_device ();
15396 main ()
15398 return vkd3d_create_device ();
15400 return 0;
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"; then :
15404 case "$LIBEXT" in
15405 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15406 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'` ;;
15407 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15408 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15409 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15410 fi ;;
15411 esac
15413 rm -f core conftest.err conftest.$ac_objext \
15414 conftest$ac_exeext conftest.$ac_ext
15415 LIBS=$ac_check_soname_save_LIBS
15417 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15419 $as_echo "not found" >&6; }
15421 else
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
15423 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
15425 cat >>confdefs.h <<_ACEOF
15426 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
15427 _ACEOF
15431 CPPFLAGS=$ac_save_CPPFLAGS
15432 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15433 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15436 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
15437 case "x$with_vkd3d" in
15438 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported." ;;
15439 xno) ;;
15440 *) as_fn_error $? "vkd3d ${notice_platform}development files not found, Direct3D 12 won't be supported.
15441 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
15442 esac
15445 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
15448 EXTRACFLAGS=""
15450 if test "x${GCC}" = "xyes"
15451 then
15452 EXTRACFLAGS="-Wall -pipe"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
15455 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
15456 if ${ac_cv_c_gcc_strength_bug+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 if test "$cross_compiling" = yes; then :
15460 ac_cv_c_gcc_strength_bug="no"
15461 else
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15463 /* end confdefs.h. */
15464 int L[4] = {0,1,2,3};
15466 main ()
15468 static int Array[3];
15469 unsigned int B = 3;
15470 int i;
15471 for(i=0; i<B; i++) Array[i] = i - 3;
15472 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15473 L[i] = 4;
15474 return (Array[1] != -2 || L[2] != 3)
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_run "$LINENO"; then :
15480 ac_cv_c_gcc_strength_bug="no"
15481 else
15482 ac_cv_c_gcc_strength_bug="yes"
15484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15485 conftest.$ac_objext conftest.beam conftest.$ac_ext
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
15490 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
15491 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15492 then
15493 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
15497 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
15498 if ${ac_cv_cflags__fno_builtin+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_wine_try_cflags_saved=$CFLAGS
15502 CFLAGS="$CFLAGS -fno-builtin"
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15505 int main(int argc, char **argv) { return 0; }
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_cflags__fno_builtin=yes
15509 else
15510 ac_cv_cflags__fno_builtin=no
15512 rm -f core conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15514 CFLAGS=$ac_wine_try_cflags_saved
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
15517 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
15518 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
15519 BUILTINFLAG="-fno-builtin"
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
15523 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
15524 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
15525 $as_echo_n "(cached) " >&6
15526 else
15527 ac_wine_try_cflags_saved=$CFLAGS
15528 CFLAGS="$CFLAGS -fno-strict-aliasing"
15529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15530 /* end confdefs.h. */
15531 int main(int argc, char **argv) { return 0; }
15532 _ACEOF
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 ac_cv_cflags__fno_strict_aliasing=yes
15535 else
15536 ac_cv_cflags__fno_strict_aliasing=no
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540 CFLAGS=$ac_wine_try_cflags_saved
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15543 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
15544 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
15545 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
15548 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
15549 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552 ac_wine_try_cflags_saved=$CFLAGS
15553 CFLAGS="$CFLAGS -fexcess-precision=standard"
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15556 int main(int argc, char **argv) { return 0; }
15557 _ACEOF
15558 if ac_fn_c_try_link "$LINENO"; then :
15559 ac_cv_cflags__fexcess_precision_standard=yes
15560 else
15561 ac_cv_cflags__fexcess_precision_standard=no
15563 rm -f core conftest.err conftest.$ac_objext \
15564 conftest$ac_exeext conftest.$ac_ext
15565 CFLAGS=$ac_wine_try_cflags_saved
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
15568 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
15569 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
15570 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
15573 saved_CFLAGS=$CFLAGS
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
15575 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
15576 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 ac_wine_try_cflags_saved=$CFLAGS
15580 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15583 int main(int argc, char **argv) { return 0; }
15584 _ACEOF
15585 if ac_fn_c_try_link "$LINENO"; then :
15586 ac_cv_cflags__Werror_unknown_warning_option=yes
15587 else
15588 ac_cv_cflags__Werror_unknown_warning_option=no
15590 rm -f core conftest.err conftest.$ac_objext \
15591 conftest$ac_exeext conftest.$ac_ext
15592 CFLAGS=$ac_wine_try_cflags_saved
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
15595 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
15596 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
15597 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15600 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
15601 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
15602 $as_echo_n "(cached) " >&6
15603 else
15604 ac_wine_try_cflags_saved=$CFLAGS
15605 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15608 int main(int argc, char **argv) { return 0; }
15609 _ACEOF
15610 if ac_fn_c_try_link "$LINENO"; then :
15611 ac_cv_cflags__Wdeclaration_after_statement=yes
15612 else
15613 ac_cv_cflags__Wdeclaration_after_statement=no
15615 rm -f core conftest.err conftest.$ac_objext \
15616 conftest$ac_exeext conftest.$ac_ext
15617 CFLAGS=$ac_wine_try_cflags_saved
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15620 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15621 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
15622 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
15625 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
15626 if ${ac_cv_cflags__Wempty_body+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 ac_wine_try_cflags_saved=$CFLAGS
15630 CFLAGS="$CFLAGS -Wempty-body"
15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15633 int main(int argc, char **argv) { return 0; }
15634 _ACEOF
15635 if ac_fn_c_try_link "$LINENO"; then :
15636 ac_cv_cflags__Wempty_body=yes
15637 else
15638 ac_cv_cflags__Wempty_body=no
15640 rm -f core conftest.err conftest.$ac_objext \
15641 conftest$ac_exeext conftest.$ac_ext
15642 CFLAGS=$ac_wine_try_cflags_saved
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
15645 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
15646 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
15647 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
15650 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
15651 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
15652 $as_echo_n "(cached) " >&6
15653 else
15654 ac_wine_try_cflags_saved=$CFLAGS
15655 CFLAGS="$CFLAGS -Wignored-qualifiers"
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15658 int main(int argc, char **argv) { return 0; }
15659 _ACEOF
15660 if ac_fn_c_try_link "$LINENO"; then :
15661 ac_cv_cflags__Wignored_qualifiers=yes
15662 else
15663 ac_cv_cflags__Wignored_qualifiers=no
15665 rm -f core conftest.err conftest.$ac_objext \
15666 conftest$ac_exeext conftest.$ac_ext
15667 CFLAGS=$ac_wine_try_cflags_saved
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
15670 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
15671 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
15672 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
15675 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
15676 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
15677 $as_echo_n "(cached) " >&6
15678 else
15679 ac_wine_try_cflags_saved=$CFLAGS
15680 CFLAGS="$CFLAGS -Wpacked-not-aligned"
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15683 int main(int argc, char **argv) { return 0; }
15684 _ACEOF
15685 if ac_fn_c_try_link "$LINENO"; then :
15686 ac_cv_cflags__Wpacked_not_aligned=yes
15687 else
15688 ac_cv_cflags__Wpacked_not_aligned=no
15690 rm -f core conftest.err conftest.$ac_objext \
15691 conftest$ac_exeext conftest.$ac_ext
15692 CFLAGS=$ac_wine_try_cflags_saved
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
15695 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
15696 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
15697 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
15700 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
15701 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
15702 $as_echo_n "(cached) " >&6
15703 else
15704 ac_wine_try_cflags_saved=$CFLAGS
15705 CFLAGS="$CFLAGS -Wpragma-pack"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 /* end confdefs.h. */
15708 int main(int argc, char **argv) { return 0; }
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 ac_cv_cflags__Wpragma_pack=yes
15712 else
15713 ac_cv_cflags__Wpragma_pack=no
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15717 CFLAGS=$ac_wine_try_cflags_saved
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
15720 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
15721 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
15722 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
15725 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
15726 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
15727 $as_echo_n "(cached) " >&6
15728 else
15729 ac_wine_try_cflags_saved=$CFLAGS
15730 CFLAGS="$CFLAGS -Wshift-overflow=2"
15731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h. */
15733 int main(int argc, char **argv) { return 0; }
15734 _ACEOF
15735 if ac_fn_c_try_link "$LINENO"; then :
15736 ac_cv_cflags__Wshift_overflow_2=yes
15737 else
15738 ac_cv_cflags__Wshift_overflow_2=no
15740 rm -f core conftest.err conftest.$ac_objext \
15741 conftest$ac_exeext conftest.$ac_ext
15742 CFLAGS=$ac_wine_try_cflags_saved
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
15745 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
15746 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
15747 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
15750 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
15751 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_wine_try_cflags_saved=$CFLAGS
15755 CFLAGS="$CFLAGS -Wstrict-prototypes"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 int main(int argc, char **argv) { return 0; }
15759 _ACEOF
15760 if ac_fn_c_try_link "$LINENO"; then :
15761 ac_cv_cflags__Wstrict_prototypes=yes
15762 else
15763 ac_cv_cflags__Wstrict_prototypes=no
15765 rm -f core conftest.err conftest.$ac_objext \
15766 conftest$ac_exeext conftest.$ac_ext
15767 CFLAGS=$ac_wine_try_cflags_saved
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15770 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15771 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15772 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15775 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15776 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_wine_try_cflags_saved=$CFLAGS
15780 CFLAGS="$CFLAGS -Wtype-limits"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 int main(int argc, char **argv) { return 0; }
15784 _ACEOF
15785 if ac_fn_c_try_link "$LINENO"; then :
15786 ac_cv_cflags__Wtype_limits=yes
15787 else
15788 ac_cv_cflags__Wtype_limits=no
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 CFLAGS=$ac_wine_try_cflags_saved
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15795 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15796 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15797 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15800 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15801 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15802 $as_echo_n "(cached) " >&6
15803 else
15804 ac_wine_try_cflags_saved=$CFLAGS
15805 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15807 /* end confdefs.h. */
15808 int main(int argc, char **argv) { return 0; }
15809 _ACEOF
15810 if ac_fn_c_try_link "$LINENO"; then :
15811 ac_cv_cflags__Wunused_but_set_parameter=yes
15812 else
15813 ac_cv_cflags__Wunused_but_set_parameter=no
15815 rm -f core conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 CFLAGS=$ac_wine_try_cflags_saved
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15820 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15821 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15822 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15825 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15826 if ${ac_cv_cflags__Wvla+:} false; then :
15827 $as_echo_n "(cached) " >&6
15828 else
15829 ac_wine_try_cflags_saved=$CFLAGS
15830 CFLAGS="$CFLAGS -Wvla"
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h. */
15833 int main(int argc, char **argv) { return 0; }
15834 _ACEOF
15835 if ac_fn_c_try_link "$LINENO"; then :
15836 ac_cv_cflags__Wvla=yes
15837 else
15838 ac_cv_cflags__Wvla=no
15840 rm -f core conftest.err conftest.$ac_objext \
15841 conftest$ac_exeext conftest.$ac_ext
15842 CFLAGS=$ac_wine_try_cflags_saved
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15845 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15846 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15847 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15850 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15851 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15852 $as_echo_n "(cached) " >&6
15853 else
15854 ac_wine_try_cflags_saved=$CFLAGS
15855 CFLAGS="$CFLAGS -Wwrite-strings"
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 /* end confdefs.h. */
15858 int main(int argc, char **argv) { return 0; }
15859 _ACEOF
15860 if ac_fn_c_try_link "$LINENO"; then :
15861 ac_cv_cflags__Wwrite_strings=yes
15862 else
15863 ac_cv_cflags__Wwrite_strings=no
15865 rm -f core conftest.err conftest.$ac_objext \
15866 conftest$ac_exeext conftest.$ac_ext
15867 CFLAGS=$ac_wine_try_cflags_saved
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15870 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15871 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15872 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15876 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15877 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15878 $as_echo_n "(cached) " >&6
15879 else
15880 ac_wine_try_cflags_saved=$CFLAGS
15881 CFLAGS="$CFLAGS -Wpointer-arith"
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 int main(int argc, char **argv) { return 0; }
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"; then :
15887 ac_cv_cflags__Wpointer_arith=yes
15888 else
15889 ac_cv_cflags__Wpointer_arith=no
15891 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext
15893 CFLAGS=$ac_wine_try_cflags_saved
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15896 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15897 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15898 saved_string_h_CFLAGS=$CFLAGS
15899 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15901 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15902 if ${ac_cv_c_string_h_warnings+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #include <string.h>
15909 main ()
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15917 ac_cv_c_string_h_warnings=no
15918 else
15919 ac_cv_c_string_h_warnings=yes
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15924 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15925 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15926 CFLAGS=$saved_string_h_CFLAGS
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15930 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15931 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 ac_wine_try_cflags_saved=$CFLAGS
15935 CFLAGS="$CFLAGS -Wlogical-op"
15936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15937 /* end confdefs.h. */
15938 int main(int argc, char **argv) { return 0; }
15939 _ACEOF
15940 if ac_fn_c_try_link "$LINENO"; then :
15941 ac_cv_cflags__Wlogical_op=yes
15942 else
15943 ac_cv_cflags__Wlogical_op=no
15945 rm -f core conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext conftest.$ac_ext
15947 CFLAGS=$ac_wine_try_cflags_saved
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15950 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15951 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15952 saved_string_h_CFLAGS=$CFLAGS
15953 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15955 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15956 if ${ac_cv_c_logicalop_noisy+:} false; then :
15957 $as_echo_n "(cached) " >&6
15958 else
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <string.h>
15962 char*f(const char *h,char n) {return strchr(h,n);}
15964 main ()
15968 return 0;
15970 _ACEOF
15971 if ac_fn_c_try_compile "$LINENO"; then :
15972 ac_cv_c_logicalop_noisy=no
15973 else
15974 ac_cv_c_logicalop_noisy=yes
15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15979 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15980 CFLAGS=$saved_string_h_CFLAGS
15981 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15984 CFLAGS=$saved_CFLAGS
15986 for ac_flag in $CFLAGS; do
15987 case $ac_flag in
15988 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15989 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15990 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 ac_wine_try_cflags_saved=$CFLAGS
15994 CFLAGS="$CFLAGS -gdwarf-2"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15997 int main(int argc, char **argv) { return 0; }
15998 _ACEOF
15999 if ac_fn_c_try_link "$LINENO"; then :
16000 ac_cv_cflags__gdwarf_2=yes
16001 else
16002 ac_cv_cflags__gdwarf_2=no
16004 rm -f core conftest.err conftest.$ac_objext \
16005 conftest$ac_exeext conftest.$ac_ext
16006 CFLAGS=$ac_wine_try_cflags_saved
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
16009 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
16010 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
16011 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
16014 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
16015 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
16016 $as_echo_n "(cached) " >&6
16017 else
16018 ac_wine_try_cflags_saved=$CFLAGS
16019 CFLAGS="$CFLAGS -gstrict-dwarf"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16022 int main(int argc, char **argv) { return 0; }
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 ac_cv_cflags__gstrict_dwarf=yes
16026 else
16027 ac_cv_cflags__gstrict_dwarf=no
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16031 CFLAGS=$ac_wine_try_cflags_saved
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
16034 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
16035 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
16036 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
16037 fi ;;
16038 esac
16039 done
16041 case $host_cpu in
16042 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
16043 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
16044 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
16045 $as_echo_n "(cached) " >&6
16046 else
16047 ac_wine_try_cflags_saved=$CFLAGS
16048 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
16049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16050 /* end confdefs.h. */
16051 int main(int argc, char **argv) { return 0; }
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054 ac_cv_cflags__fno_omit_frame_pointer=yes
16055 else
16056 ac_cv_cflags__fno_omit_frame_pointer=no
16058 rm -f core conftest.err conftest.$ac_objext \
16059 conftest$ac_exeext conftest.$ac_ext
16060 CFLAGS=$ac_wine_try_cflags_saved
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
16063 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
16064 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
16065 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
16066 fi ;;
16067 esac
16069 case $host in
16070 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
16071 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
16072 if ${ac_cv_cflags__Wno_format+:} false; then :
16073 $as_echo_n "(cached) " >&6
16074 else
16075 ac_wine_try_cflags_saved=$CFLAGS
16076 CFLAGS="$CFLAGS -Wno-format"
16077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16078 /* end confdefs.h. */
16079 int main(int argc, char **argv) { return 0; }
16080 _ACEOF
16081 if ac_fn_c_try_link "$LINENO"; then :
16082 ac_cv_cflags__Wno_format=yes
16083 else
16084 ac_cv_cflags__Wno_format=no
16086 rm -f core conftest.err conftest.$ac_objext \
16087 conftest$ac_exeext conftest.$ac_ext
16088 CFLAGS=$ac_wine_try_cflags_saved
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
16091 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
16092 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
16093 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
16094 fi ;;
16095 esac
16097 if test "x$enable_maintainer_mode" = "xyes"
16098 then
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
16100 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
16101 if ${ac_cv_cflags__Werror+:} false; then :
16102 $as_echo_n "(cached) " >&6
16103 else
16104 ac_wine_try_cflags_saved=$CFLAGS
16105 CFLAGS="$CFLAGS -Werror"
16106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16107 /* end confdefs.h. */
16108 int main(int argc, char **argv) { return 0; }
16109 _ACEOF
16110 if ac_fn_c_try_link "$LINENO"; then :
16111 ac_cv_cflags__Werror=yes
16112 else
16113 ac_cv_cflags__Werror=no
16115 rm -f core conftest.err conftest.$ac_objext \
16116 conftest$ac_exeext conftest.$ac_ext
16117 CFLAGS=$ac_wine_try_cflags_saved
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
16120 $as_echo "$ac_cv_cflags__Werror" >&6; }
16121 if test "x$ac_cv_cflags__Werror" = xyes; then :
16122 EXTRACFLAGS="$EXTRACFLAGS -Werror"
16126 saved_CFLAGS="$CFLAGS"
16127 CFLAGS="$CFLAGS -Werror"
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
16129 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
16130 if ${ac_cv_have_ms_hook_prologue+:} false; then :
16131 $as_echo_n "(cached) " >&6
16132 else
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16134 /* end confdefs.h. */
16135 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
16137 main ()
16141 return 0;
16143 _ACEOF
16144 if ac_fn_c_try_compile "$LINENO"; then :
16145 ac_cv_have_ms_hook_prologue="yes"
16146 else
16147 ac_cv_have_ms_hook_prologue="no"
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
16152 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
16153 CFLAGS="$saved_CFLAGS"
16154 if test "$ac_cv_have_ms_hook_prologue" = "yes"
16155 then
16157 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
16159 else
16160 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
16167 $as_echo_n "checking for the need to disable Fortify... " >&6; }
16168 if ${ac_cv_c_fortify_enabled+:} false; then :
16169 $as_echo_n "(cached) " >&6
16170 else
16171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16173 #include <string.h>
16175 main ()
16177 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
16178 #error Fortify enabled
16179 #endif
16181 return 0;
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185 ac_cv_c_fortify_enabled=no
16186 else
16187 ac_cv_c_fortify_enabled=yes
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
16192 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
16193 if test "$ac_cv_c_fortify_enabled" = yes
16194 then
16195 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
16200 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
16201 if ${ac_cv_c_extern_prefix+:} false; then :
16202 $as_echo_n "(cached) " >&6
16203 else
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16206 extern int ac_test;
16208 main ()
16210 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16212 return 0;
16214 _ACEOF
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 ac_cv_c_extern_prefix="yes"
16217 else
16218 ac_cv_c_extern_prefix="no"
16220 rm -f core conftest.err conftest.$ac_objext \
16221 conftest$ac_exeext conftest.$ac_ext
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
16224 $as_echo "$ac_cv_c_extern_prefix" >&6; }
16226 case $host_cpu in
16227 *i[3456789]86*)
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
16229 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
16230 if ${ac_cv_c_stdcall_suffix+:} false; then :
16231 $as_echo_n "(cached) " >&6
16232 else
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 #ifndef _MSC_VER
16236 #define __stdcall __attribute__((__stdcall__))
16237 #endif
16238 int __stdcall ac_test(int i) { return i; }
16240 main ()
16242 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_link "$LINENO"; then :
16248 ac_cv_c_stdcall_suffix="yes"
16249 else
16250 ac_cv_c_stdcall_suffix="no"
16252 rm -f core conftest.err conftest.$ac_objext \
16253 conftest$ac_exeext conftest.$ac_ext
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
16256 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
16257 *) ac_cv_c_stdcall_suffix="no" ;;
16258 esac
16261 if test "$ac_cv_c_extern_prefix" = "yes"
16262 then
16263 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
16265 asm_name_prefix="_"
16266 else
16267 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
16269 asm_name_prefix=""
16273 if test "$ac_cv_c_stdcall_suffix" = "yes"
16274 then
16275 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
16277 else
16278 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
16284 $as_echo_n "checking how to define a function in assembly code... " >&6; }
16285 if ${ac_cv_asm_func_def+:} false; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16292 main ()
16294 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16296 return 0;
16298 _ACEOF
16299 if ac_fn_c_try_link "$LINENO"; then :
16300 ac_cv_asm_func_def=".def"
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16306 main ()
16308 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16310 return 0;
16312 _ACEOF
16313 if ac_fn_c_try_link "$LINENO"; then :
16314 ac_cv_asm_func_def=".type @function"
16315 else
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16320 main ()
16322 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16324 return 0;
16326 _ACEOF
16327 if ac_fn_c_try_link "$LINENO"; then :
16328 ac_cv_asm_func_def=".type 2"
16329 else
16330 ac_cv_asm_func_def="unknown"
16332 rm -f core conftest.err conftest.$ac_objext \
16333 conftest$ac_exeext conftest.$ac_ext
16335 rm -f core conftest.err conftest.$ac_objext \
16336 conftest$ac_exeext conftest.$ac_ext
16338 rm -f core conftest.err conftest.$ac_objext \
16339 conftest$ac_exeext conftest.$ac_ext
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
16342 $as_echo "$ac_cv_asm_func_def" >&6; }
16345 case "$ac_cv_asm_func_def" in
16346 ".def")
16347 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
16349 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
16350 ".type @function")
16351 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
16353 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
16354 ".type 2")
16355 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
16357 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
16359 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
16361 asm_func_header="" ;;
16362 esac
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
16365 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
16366 if ${ac_cv_c_asm_outside_funcs+:} false; then :
16367 $as_echo_n "(cached) " >&6
16368 else
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16371 asm(".text\n\t.long 0");
16373 main ()
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_compile "$LINENO"; then :
16381 ac_cv_c_asm_outside_funcs="yes"
16382 else
16383 ac_cv_c_asm_outside_funcs="no"
16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
16388 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
16391 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
16392 if ${ac_cv_c_dot_previous+:} false; then :
16393 $as_echo_n "(cached) " >&6
16394 else
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h. */
16399 main ()
16401 asm(".text\nac_test:\t.long 0\n\t.previous");
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_link "$LINENO"; then :
16407 ac_cv_c_dot_previous="yes"
16408 else
16409 ac_cv_c_dot_previous="no"
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
16415 $as_echo "$ac_cv_c_dot_previous" >&6; }
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
16418 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
16419 if ${ac_cv_c_cfi_support+:} false; then :
16420 $as_echo_n "(cached) " >&6
16421 else
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
16426 main ()
16430 return 0;
16432 _ACEOF
16433 if ac_fn_c_try_compile "$LINENO"; then :
16434 ac_cv_c_cfi_support="yes"
16435 else
16436 ac_cv_c_cfi_support="no"
16438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
16441 $as_echo "$ac_cv_c_cfi_support" >&6; }
16443 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
16444 asm_func_trailer=""
16445 if test "$ac_cv_c_dot_previous" = "yes"
16446 then
16447 asm_func_trailer="\\n\\t.previous"
16449 if test "$ac_cv_c_cfi_support" = "yes"
16450 then
16451 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
16452 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
16454 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
16456 UNWINDFLAGS=-fasynchronous-unwind-tables
16458 else
16459 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
16461 if test "x$enable_win64" = "xyes"
16462 then
16463 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
16467 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
16470 if test "$ac_cv_c_asm_outside_funcs" = "yes"
16471 then
16472 cat >>confdefs.h <<_ACEOF
16473 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
16474 _ACEOF
16476 else
16477 cat >>confdefs.h <<_ACEOF
16478 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
16479 _ACEOF
16483 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
16486 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
16490 case $build_os in
16491 cygwin*|mingw32*) TOOLSEXT=".exe"
16493 esac
16495 case $host_os in
16496 linux*)
16497 case $host_cpu in
16498 *i[3456789]86*|x86_64*|*aarch64*)
16499 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
16500 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
16502 esac
16504 esac
16507 ac_save_CFLAGS="$CFLAGS"
16508 CFLAGS="$CFLAGS $BUILTINFLAG"
16509 for ac_func in \
16510 __res_get_state \
16511 __res_getservers \
16512 _finite \
16513 _isnan \
16514 _pclose \
16515 _popen \
16516 _snprintf \
16517 _spawnvp \
16518 _strdup \
16519 _stricmp \
16520 _strnicmp \
16521 _strtoi64 \
16522 _strtoui64 \
16523 _vsnprintf \
16524 asctime_r \
16525 chsize \
16526 dlopen \
16527 epoll_create \
16528 ffs \
16529 finitef \
16530 fnmatch \
16531 fork \
16532 fpclass \
16533 fstatfs \
16534 fstatvfs \
16535 ftruncate \
16536 futimens \
16537 futimes \
16538 futimesat \
16539 getattrlist \
16540 getauxval \
16541 getifaddrs \
16542 getopt_long_only \
16543 getpwuid \
16544 gettimeofday \
16545 getuid \
16546 kqueue \
16547 lstat \
16548 memmove \
16549 mmap \
16550 pclose \
16551 pipe2 \
16552 poll \
16553 popen \
16554 port_create \
16555 prctl \
16556 pread \
16557 proc_pidinfo \
16558 pwrite \
16559 readdir \
16560 readlink \
16561 sched_yield \
16562 select \
16563 setproctitle \
16564 setprogname \
16565 setrlimit \
16566 settimeofday \
16567 sigaltstack \
16568 sigprocmask \
16569 snprintf \
16570 statfs \
16571 statvfs \
16572 strcasecmp \
16573 strdup \
16574 strerror \
16575 strncasecmp \
16576 strnlen \
16577 strtold \
16578 strtoll \
16579 strtoull \
16580 symlink \
16581 sysinfo \
16582 tcdrain \
16583 thr_kill2 \
16584 timegm \
16585 usleep \
16586 vsnprintf
16588 do :
16589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16594 _ACEOF
16597 done
16599 CFLAGS="$ac_save_CFLAGS"
16601 if test "$ac_cv_func_dlopen" = no
16602 then
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16604 $as_echo_n "checking for dlopen in -ldl... " >&6; }
16605 if ${ac_cv_lib_dl_dlopen+:} false; then :
16606 $as_echo_n "(cached) " >&6
16607 else
16608 ac_check_lib_save_LIBS=$LIBS
16609 LIBS="-ldl $LIBS"
16610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16611 /* end confdefs.h. */
16613 /* Override any GCC internal prototype to avoid an error.
16614 Use char because int might match the return type of a GCC
16615 builtin and then its argument prototype would still apply. */
16616 #ifdef __cplusplus
16617 extern "C"
16618 #endif
16619 char dlopen ();
16621 main ()
16623 return dlopen ();
16625 return 0;
16627 _ACEOF
16628 if ac_fn_c_try_link "$LINENO"; then :
16629 ac_cv_lib_dl_dlopen=yes
16630 else
16631 ac_cv_lib_dl_dlopen=no
16633 rm -f core conftest.err conftest.$ac_objext \
16634 conftest$ac_exeext conftest.$ac_ext
16635 LIBS=$ac_check_lib_save_LIBS
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16639 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16640 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
16641 DL_LIBS="-ldl"
16646 ac_wine_check_funcs_save_LIBS="$LIBS"
16647 LIBS="$LIBS $DL_LIBS"
16648 for ac_func in dladdr
16649 do :
16650 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
16651 if test "x$ac_cv_func_dladdr" = xyes; then :
16652 cat >>confdefs.h <<_ACEOF
16653 #define HAVE_DLADDR 1
16654 _ACEOF
16657 done
16659 LIBS="$ac_wine_check_funcs_save_LIBS"
16661 if test "$ac_cv_func_poll" = no
16662 then
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
16664 $as_echo_n "checking for poll in -lpoll... " >&6; }
16665 if ${ac_cv_lib_poll_poll+:} false; then :
16666 $as_echo_n "(cached) " >&6
16667 else
16668 ac_check_lib_save_LIBS=$LIBS
16669 LIBS="-lpoll $LIBS"
16670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16671 /* end confdefs.h. */
16673 /* Override any GCC internal prototype to avoid an error.
16674 Use char because int might match the return type of a GCC
16675 builtin and then its argument prototype would still apply. */
16676 #ifdef __cplusplus
16677 extern "C"
16678 #endif
16679 char poll ();
16681 main ()
16683 return poll ();
16685 return 0;
16687 _ACEOF
16688 if ac_fn_c_try_link "$LINENO"; then :
16689 ac_cv_lib_poll_poll=yes
16690 else
16691 ac_cv_lib_poll_poll=no
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16695 LIBS=$ac_check_lib_save_LIBS
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
16698 $as_echo "$ac_cv_lib_poll_poll" >&6; }
16699 if test "x$ac_cv_lib_poll_poll" = xyes; then :
16700 $as_echo "#define HAVE_POLL 1" >>confdefs.h
16701 POLL_LIBS="-lpoll"
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16708 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16709 if ${ac_cv_search_gethostbyname+:} false; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16712 ac_func_search_save_LIBS=$LIBS
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 #ifdef __cplusplus
16720 extern "C"
16721 #endif
16722 char gethostbyname ();
16724 main ()
16726 return gethostbyname ();
16728 return 0;
16730 _ACEOF
16731 for ac_lib in '' nsl; do
16732 if test -z "$ac_lib"; then
16733 ac_res="none required"
16734 else
16735 ac_res=-l$ac_lib
16736 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16738 if ac_fn_c_try_link "$LINENO"; then :
16739 ac_cv_search_gethostbyname=$ac_res
16741 rm -f core conftest.err conftest.$ac_objext \
16742 conftest$ac_exeext
16743 if ${ac_cv_search_gethostbyname+:} false; then :
16744 break
16746 done
16747 if ${ac_cv_search_gethostbyname+:} false; then :
16749 else
16750 ac_cv_search_gethostbyname=no
16752 rm conftest.$ac_ext
16753 LIBS=$ac_func_search_save_LIBS
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16756 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16757 ac_res=$ac_cv_search_gethostbyname
16758 if test "$ac_res" != no; then :
16759 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16765 $as_echo_n "checking for library containing connect... " >&6; }
16766 if ${ac_cv_search_connect+:} false; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16769 ac_func_search_save_LIBS=$LIBS
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16773 /* Override any GCC internal prototype to avoid an error.
16774 Use char because int might match the return type of a GCC
16775 builtin and then its argument prototype would still apply. */
16776 #ifdef __cplusplus
16777 extern "C"
16778 #endif
16779 char connect ();
16781 main ()
16783 return connect ();
16785 return 0;
16787 _ACEOF
16788 for ac_lib in '' socket; do
16789 if test -z "$ac_lib"; then
16790 ac_res="none required"
16791 else
16792 ac_res=-l$ac_lib
16793 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16795 if ac_fn_c_try_link "$LINENO"; then :
16796 ac_cv_search_connect=$ac_res
16798 rm -f core conftest.err conftest.$ac_objext \
16799 conftest$ac_exeext
16800 if ${ac_cv_search_connect+:} false; then :
16801 break
16803 done
16804 if ${ac_cv_search_connect+:} false; then :
16806 else
16807 ac_cv_search_connect=no
16809 rm conftest.$ac_ext
16810 LIBS=$ac_func_search_save_LIBS
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16813 $as_echo "$ac_cv_search_connect" >&6; }
16814 ac_res=$ac_cv_search_connect
16815 if test "$ac_res" != no; then :
16816 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16822 $as_echo_n "checking for library containing inet_aton... " >&6; }
16823 if ${ac_cv_search_inet_aton+:} false; then :
16824 $as_echo_n "(cached) " >&6
16825 else
16826 ac_func_search_save_LIBS=$LIBS
16827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16828 /* end confdefs.h. */
16830 /* Override any GCC internal prototype to avoid an error.
16831 Use char because int might match the return type of a GCC
16832 builtin and then its argument prototype would still apply. */
16833 #ifdef __cplusplus
16834 extern "C"
16835 #endif
16836 char inet_aton ();
16838 main ()
16840 return inet_aton ();
16842 return 0;
16844 _ACEOF
16845 for ac_lib in '' resolv; do
16846 if test -z "$ac_lib"; then
16847 ac_res="none required"
16848 else
16849 ac_res=-l$ac_lib
16850 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16852 if ac_fn_c_try_link "$LINENO"; then :
16853 ac_cv_search_inet_aton=$ac_res
16855 rm -f core conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext
16857 if ${ac_cv_search_inet_aton+:} false; then :
16858 break
16860 done
16861 if ${ac_cv_search_inet_aton+:} false; then :
16863 else
16864 ac_cv_search_inet_aton=no
16866 rm conftest.$ac_ext
16867 LIBS=$ac_func_search_save_LIBS
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16870 $as_echo "$ac_cv_search_inet_aton" >&6; }
16871 ac_res=$ac_cv_search_inet_aton
16872 if test "$ac_res" != no; then :
16873 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16878 for ac_func in \
16879 getaddrinfo \
16880 getnameinfo \
16881 getnetbyname \
16882 getprotobyname \
16883 getprotobynumber \
16884 getservbyport \
16885 inet_addr \
16886 inet_network \
16887 inet_ntop \
16888 inet_pton \
16889 sendmsg \
16890 socketpair \
16892 do :
16893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16895 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16898 _ACEOF
16901 done
16904 ac_save_LIBS=$LIBS
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16906 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16907 if ${ac_cv_search_clock_gettime+:} false; then :
16908 $as_echo_n "(cached) " >&6
16909 else
16910 ac_func_search_save_LIBS=$LIBS
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16914 /* Override any GCC internal prototype to avoid an error.
16915 Use char because int might match the return type of a GCC
16916 builtin and then its argument prototype would still apply. */
16917 #ifdef __cplusplus
16918 extern "C"
16919 #endif
16920 char clock_gettime ();
16922 main ()
16924 return clock_gettime ();
16926 return 0;
16928 _ACEOF
16929 for ac_lib in '' rt; do
16930 if test -z "$ac_lib"; then
16931 ac_res="none required"
16932 else
16933 ac_res=-l$ac_lib
16934 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16936 if ac_fn_c_try_link "$LINENO"; then :
16937 ac_cv_search_clock_gettime=$ac_res
16939 rm -f core conftest.err conftest.$ac_objext \
16940 conftest$ac_exeext
16941 if ${ac_cv_search_clock_gettime+:} false; then :
16942 break
16944 done
16945 if ${ac_cv_search_clock_gettime+:} false; then :
16947 else
16948 ac_cv_search_clock_gettime=no
16950 rm conftest.$ac_ext
16951 LIBS=$ac_func_search_save_LIBS
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16954 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16955 ac_res=$ac_cv_search_clock_gettime
16956 if test "$ac_res" != no; then :
16957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16959 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16961 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16965 LIBS=$ac_save_LIBS
16967 if test "x$with_ldap" != "xno"
16968 then
16969 if ${LDAP_CFLAGS:+false} :; then :
16970 if ${PKG_CONFIG+:} false; then :
16971 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16975 if ${LDAP_LIBS:+false} :; then :
16976 if ${PKG_CONFIG+:} false; then :
16977 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16981 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16982 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16983 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16984 ac_save_CPPFLAGS=$CPPFLAGS
16985 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16986 for ac_header in ldap.h lber.h
16987 do :
16988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16989 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16990 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16991 cat >>confdefs.h <<_ACEOF
16992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16993 _ACEOF
16997 done
16999 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17000 then
17001 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
17003 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
17005 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
17006 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
17007 $as_echo_n "(cached) " >&6
17008 else
17009 ac_check_lib_save_LIBS=$LIBS
17010 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17014 /* Override any GCC internal prototype to avoid an error.
17015 Use char because int might match the return type of a GCC
17016 builtin and then its argument prototype would still apply. */
17017 #ifdef __cplusplus
17018 extern "C"
17019 #endif
17020 char ldap_initialize ();
17022 main ()
17024 return ldap_initialize ();
17026 return 0;
17028 _ACEOF
17029 if ac_fn_c_try_link "$LINENO"; then :
17030 ac_cv_lib_ldap_r_ldap_initialize=yes
17031 else
17032 ac_cv_lib_ldap_r_ldap_initialize=no
17034 rm -f core conftest.err conftest.$ac_objext \
17035 conftest$ac_exeext conftest.$ac_ext
17036 LIBS=$ac_check_lib_save_LIBS
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17039 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17040 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
17042 $as_echo_n "checking for ber_init in -llber... " >&6; }
17043 if ${ac_cv_lib_lber_ber_init+:} false; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 ac_check_lib_save_LIBS=$LIBS
17047 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17051 /* Override any GCC internal prototype to avoid an error.
17052 Use char because int might match the return type of a GCC
17053 builtin and then its argument prototype would still apply. */
17054 #ifdef __cplusplus
17055 extern "C"
17056 #endif
17057 char ber_init ();
17059 main ()
17061 return ber_init ();
17063 return 0;
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067 ac_cv_lib_lber_ber_init=yes
17068 else
17069 ac_cv_lib_lber_ber_init=no
17071 rm -f core conftest.err conftest.$ac_objext \
17072 conftest$ac_exeext conftest.$ac_ext
17073 LIBS=$ac_check_lib_save_LIBS
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
17076 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
17077 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
17079 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
17081 else
17082 LDAP_LIBS=""
17085 else
17086 LDAP_LIBS=""
17089 else
17090 LDAP_LIBS=""
17093 ac_wine_check_funcs_save_LIBS="$LIBS"
17094 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
17095 for ac_func in \
17096 ldap_count_references \
17097 ldap_first_reference \
17098 ldap_next_reference \
17099 ldap_parse_reference \
17100 ldap_parse_sort_control \
17101 ldap_parse_sortresponse_control \
17102 ldap_parse_vlv_control \
17103 ldap_parse_vlvresponse_control
17104 do :
17105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17108 cat >>confdefs.h <<_ACEOF
17109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17110 _ACEOF
17113 done
17115 LIBS="$ac_wine_check_funcs_save_LIBS"
17116 else
17117 LDAP_LIBS=""
17119 CPPFLAGS=$ac_save_CPPFLAGS
17120 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
17121 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
17124 if test "x$LDAP_LIBS" = "x"; then :
17125 case "x$with_ldap" in
17126 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
17127 xno) ;;
17128 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
17129 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
17130 esac
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
17135 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
17136 if ${wine_cv_one_arg_mkdir+:} false; then :
17137 $as_echo_n "(cached) " >&6
17138 else
17139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 /* end confdefs.h. */
17141 #include <sys/stat.h>
17143 main ()
17145 mkdir("foo");
17147 return 0;
17149 _ACEOF
17150 if ac_fn_c_try_compile "$LINENO"; then :
17151 wine_cv_one_arg_mkdir=yes
17152 else
17153 wine_cv_one_arg_mkdir=no
17155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
17158 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
17159 if test "$wine_cv_one_arg_mkdir" = "yes"
17160 then
17162 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
17167 $as_echo_n "checking for sched_setaffinity... " >&6; }
17168 if ${wine_cv_have_sched_setaffinity+:} false; then :
17169 $as_echo_n "(cached) " >&6
17170 else
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #define _GNU_SOURCE
17174 #include <sched.h>
17176 main ()
17178 sched_setaffinity(0, 0, 0);
17180 return 0;
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184 wine_cv_have_sched_setaffinity=yes
17185 else
17186 wine_cv_have_sched_setaffinity=no
17188 rm -f core conftest.err conftest.$ac_objext \
17189 conftest$ac_exeext conftest.$ac_ext
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
17192 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
17193 if test "$wine_cv_have_sched_setaffinity" = "yes"
17194 then
17196 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
17201 $as_echo_n "checking for fallocate... " >&6; }
17202 if ${wine_cv_have_fallocate+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 #define _GNU_SOURCE
17208 #include <fcntl.h>
17210 main ()
17212 fallocate(-1, 0, 0, 0);
17214 return 0;
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 wine_cv_have_fallocate=yes
17219 else
17220 wine_cv_have_fallocate=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
17226 $as_echo "$wine_cv_have_fallocate" >&6; }
17227 if test "$wine_cv_have_fallocate" = "yes"
17228 then
17230 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17236 $as_echo_n "checking for inline... " >&6; }
17237 if ${ac_cv_c_inline+:} false; then :
17238 $as_echo_n "(cached) " >&6
17239 else
17240 ac_cv_c_inline=no
17241 for ac_kw in inline __inline__ __inline; do
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244 #ifndef __cplusplus
17245 typedef int foo_t;
17246 static $ac_kw foo_t static_foo () {return 0; }
17247 $ac_kw foo_t foo () {return 0; }
17248 #endif
17250 _ACEOF
17251 if ac_fn_c_try_compile "$LINENO"; then :
17252 ac_cv_c_inline=$ac_kw
17254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 test "$ac_cv_c_inline" != no && break
17256 done
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17260 $as_echo "$ac_cv_c_inline" >&6; }
17262 case $ac_cv_c_inline in
17263 inline | yes) ;;
17265 case $ac_cv_c_inline in
17266 no) ac_val=;;
17267 *) ac_val=$ac_cv_c_inline;;
17268 esac
17269 cat >>confdefs.h <<_ACEOF
17270 #ifndef __cplusplus
17271 #define inline $ac_val
17272 #endif
17273 _ACEOF
17275 esac
17277 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
17278 if test "x$ac_cv_type_mode_t" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_MODE_T 1
17282 _ACEOF
17286 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
17287 if test "x$ac_cv_type_off_t" = xyes; then :
17289 cat >>confdefs.h <<_ACEOF
17290 #define HAVE_OFF_T 1
17291 _ACEOF
17295 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
17296 if test "x$ac_cv_type_pid_t" = xyes; then :
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_PID_T 1
17300 _ACEOF
17304 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
17305 if test "x$ac_cv_type_size_t" = xyes; then :
17307 cat >>confdefs.h <<_ACEOF
17308 #define HAVE_SIZE_T 1
17309 _ACEOF
17313 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
17314 if test "x$ac_cv_type_ssize_t" = xyes; then :
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_SSIZE_T 1
17318 _ACEOF
17322 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
17323 if test "x$ac_cv_type_long_long" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_LONG_LONG 1
17327 _ACEOF
17331 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
17332 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
17334 cat >>confdefs.h <<_ACEOF
17335 #define HAVE_FSBLKCNT_T 1
17336 _ACEOF
17340 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
17341 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_FSFILCNT_T 1
17345 _ACEOF
17350 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
17351 #include <signal.h>
17353 if test "x$ac_cv_type_sigset_t" = xyes; then :
17355 cat >>confdefs.h <<_ACEOF
17356 #define HAVE_SIGSET_T 1
17357 _ACEOF
17362 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
17364 if test "x$ac_cv_type_request_sense" = xyes; then :
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_REQUEST_SENSE 1
17368 _ACEOF
17374 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
17375 #ifdef HAVE_SYS_SOCKET_H
17376 #include <sys/socket.h>
17377 #endif
17378 #ifdef HAVE_SYS_SOCKETVAR_H
17379 #include <sys/socketvar.h>
17380 #endif
17381 #ifdef HAVE_NET_ROUTE_H
17382 #include <net/route.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IN_H
17385 #include <netinet/in.h>
17386 #endif
17387 #ifdef HAVE_NETINET_IN_SYSTM_H
17388 #include <netinet/in_systm.h>
17389 #endif
17390 #ifdef HAVE_NETINET_IP_H
17391 #include <netinet/ip.h>
17392 #endif
17393 #ifdef HAVE_NETINET_IN_PCB_H
17394 #include <netinet/in_pcb.h>
17395 #endif
17397 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
17399 cat >>confdefs.h <<_ACEOF
17400 #define HAVE_STRUCT_XINPGEN 1
17401 _ACEOF
17407 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
17408 #include <link.h>
17409 #endif
17410 #ifdef HAVE_SYS_LINK_H
17411 #include <sys/link.h>
17412 #endif
17414 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_STRUCT_R_DEBUG 1
17418 _ACEOF
17422 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
17423 #include <link.h>
17424 #endif
17425 #ifdef HAVE_SYS_LINK_H
17426 #include <sys/link.h>
17427 #endif
17429 if test "x$ac_cv_type_struct_link_map" = xyes; then :
17431 cat >>confdefs.h <<_ACEOF
17432 #define HAVE_STRUCT_LINK_MAP 1
17433 _ACEOF
17439 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
17440 #include <linux/input.h>
17441 #endif
17443 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
17445 cat >>confdefs.h <<_ACEOF
17446 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17447 _ACEOF
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
17454 $as_echo_n "checking for if_nameindex... " >&6; }
17455 if ${wine_cv_have_if_nameindex+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #ifdef HAVE_SYS_TYPES_H
17461 #include <sys/types.h>
17462 #endif
17463 #ifdef HAVE_SYS_SOCKET_H
17464 #include <sys/socket.h>
17465 #endif
17466 #ifdef HAVE_NET_IF_H
17467 # include <net/if.h>
17468 #endif
17470 main ()
17472 struct if_nameindex *p = if_nameindex(); return p->if_index;
17474 return 0;
17476 _ACEOF
17477 if ac_fn_c_try_link "$LINENO"; then :
17478 wine_cv_have_if_nameindex=yes
17479 else
17480 wine_cv_have_if_nameindex=no
17482 rm -f core conftest.err conftest.$ac_objext \
17483 conftest$ac_exeext conftest.$ac_ext
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
17486 $as_echo "$wine_cv_have_if_nameindex" >&6; }
17487 if test "$wine_cv_have_if_nameindex" = "yes"
17488 then
17490 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
17495 $as_echo_n "checking for sigaddset... " >&6; }
17496 if ${wine_cv_have_sigaddset+:} false; then :
17497 $as_echo_n "(cached) " >&6
17498 else
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <signal.h>
17503 main ()
17505 sigset_t set; sigaddset(&set,SIGTERM);
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_link "$LINENO"; then :
17511 wine_cv_have_sigaddset=yes
17512 else
17513 wine_cv_have_sigaddset=no
17515 rm -f core conftest.err conftest.$ac_objext \
17516 conftest$ac_exeext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
17519 $as_echo "$wine_cv_have_sigaddset" >&6; }
17520 if test "$wine_cv_have_sigaddset" = "yes"
17521 then
17523 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17529 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
17530 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17535 #include <netdb.h>
17537 main ()
17540 char *name=0;
17541 struct hostent he;
17542 struct hostent *result;
17543 char *buf=0;
17544 int bufsize=0;
17545 int errnr;
17546 char *addr=0;
17547 int addrlen=0;
17548 int addrtype=0;
17549 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17550 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17553 return 0;
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"; then :
17557 wine_cv_linux_gethostbyname_r_6=yes
17558 else
17559 wine_cv_linux_gethostbyname_r_6=no
17562 rm -f core conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
17567 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
17568 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17569 then
17571 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
17575 if test "$ac_cv_header_linux_joystick_h" = "yes"
17576 then
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17578 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
17579 if ${wine_cv_linux_joystick_22_api+:} false; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h. */
17585 #include <sys/ioctl.h>
17586 #include <sys/types.h>
17587 #include <linux/joystick.h>
17589 struct js_event blub;
17590 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17591 #error "no 2.2 header"
17592 #endif
17595 main ()
17597 /*empty*/
17599 return 0;
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603 wine_cv_linux_joystick_22_api=yes
17604 else
17605 wine_cv_linux_joystick_22_api=no
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
17611 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
17612 if test "$wine_cv_linux_joystick_22_api" = "yes"
17613 then
17615 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
17621 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
17622 #ifdef HAVE_SYS_PARAM_H
17623 # include <sys/param.h>
17624 #endif
17625 #ifdef HAVE_SYS_MOUNT_H
17626 # include <sys/mount.h>
17627 #endif
17628 #ifdef HAVE_SYS_VFS_H
17629 # include <sys/vfs.h>
17630 #endif
17631 #ifdef HAVE_SYS_STATFS_H
17632 # include <sys/statfs.h>
17633 #endif
17635 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
17637 cat >>confdefs.h <<_ACEOF
17638 #define HAVE_STRUCT_STATFS_F_BFREE 1
17639 _ACEOF
17643 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
17644 #ifdef HAVE_SYS_PARAM_H
17645 # include <sys/param.h>
17646 #endif
17647 #ifdef HAVE_SYS_MOUNT_H
17648 # include <sys/mount.h>
17649 #endif
17650 #ifdef HAVE_SYS_VFS_H
17651 # include <sys/vfs.h>
17652 #endif
17653 #ifdef HAVE_SYS_STATFS_H
17654 # include <sys/statfs.h>
17655 #endif
17657 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
17659 cat >>confdefs.h <<_ACEOF
17660 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17661 _ACEOF
17665 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
17666 #ifdef HAVE_SYS_PARAM_H
17667 # include <sys/param.h>
17668 #endif
17669 #ifdef HAVE_SYS_MOUNT_H
17670 # include <sys/mount.h>
17671 #endif
17672 #ifdef HAVE_SYS_VFS_H
17673 # include <sys/vfs.h>
17674 #endif
17675 #ifdef HAVE_SYS_STATFS_H
17676 # include <sys/statfs.h>
17677 #endif
17679 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
17681 cat >>confdefs.h <<_ACEOF
17682 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17683 _ACEOF
17687 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
17688 #ifdef HAVE_SYS_PARAM_H
17689 # include <sys/param.h>
17690 #endif
17691 #ifdef HAVE_SYS_MOUNT_H
17692 # include <sys/mount.h>
17693 #endif
17694 #ifdef HAVE_SYS_VFS_H
17695 # include <sys/vfs.h>
17696 #endif
17697 #ifdef HAVE_SYS_STATFS_H
17698 # include <sys/statfs.h>
17699 #endif
17701 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
17703 cat >>confdefs.h <<_ACEOF
17704 #define HAVE_STRUCT_STATFS_F_FFREE 1
17705 _ACEOF
17709 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
17710 #ifdef HAVE_SYS_PARAM_H
17711 # include <sys/param.h>
17712 #endif
17713 #ifdef HAVE_SYS_MOUNT_H
17714 # include <sys/mount.h>
17715 #endif
17716 #ifdef HAVE_SYS_VFS_H
17717 # include <sys/vfs.h>
17718 #endif
17719 #ifdef HAVE_SYS_STATFS_H
17720 # include <sys/statfs.h>
17721 #endif
17723 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
17725 cat >>confdefs.h <<_ACEOF
17726 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17727 _ACEOF
17731 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
17732 #ifdef HAVE_SYS_PARAM_H
17733 # include <sys/param.h>
17734 #endif
17735 #ifdef HAVE_SYS_MOUNT_H
17736 # include <sys/mount.h>
17737 #endif
17738 #ifdef HAVE_SYS_VFS_H
17739 # include <sys/vfs.h>
17740 #endif
17741 #ifdef HAVE_SYS_STATFS_H
17742 # include <sys/statfs.h>
17743 #endif
17745 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
17747 cat >>confdefs.h <<_ACEOF
17748 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
17749 _ACEOF
17755 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
17756 #include <sys/statvfs.h>
17757 #endif
17759 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
17761 cat >>confdefs.h <<_ACEOF
17762 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
17763 _ACEOF
17769 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17770 #include <dirent.h>
17771 #endif
17773 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17775 cat >>confdefs.h <<_ACEOF
17776 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17777 _ACEOF
17783 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17784 #ifdef HAVE_SYS_SOCKET_H
17785 # include <sys/socket.h>
17786 #endif
17787 #ifdef HAVE_SYS_UN_H
17788 # include <sys/un.h>
17789 #endif
17791 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17793 cat >>confdefs.h <<_ACEOF
17794 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17795 _ACEOF
17799 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17800 #ifdef HAVE_SYS_SOCKET_H
17801 # include <sys/socket.h>
17802 #endif
17803 #ifdef HAVE_SYS_UN_H
17804 # include <sys/un.h>
17805 #endif
17807 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17809 cat >>confdefs.h <<_ACEOF
17810 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17811 _ACEOF
17815 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17816 #ifdef HAVE_SYS_SOCKET_H
17817 # include <sys/socket.h>
17818 #endif
17819 #ifdef HAVE_SYS_UN_H
17820 # include <sys/un.h>
17821 #endif
17823 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17825 cat >>confdefs.h <<_ACEOF
17826 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17827 _ACEOF
17833 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17834 #ifdef HAVE_SCSI_SG_H
17835 #include <scsi/sg.h>
17836 #endif
17838 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_SCSIREQ_T_CMD 1
17842 _ACEOF
17846 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>
17847 #ifdef HAVE_SCSI_SG_H
17848 #include <scsi/sg.h>
17849 #endif
17851 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17853 cat >>confdefs.h <<_ACEOF
17854 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17855 _ACEOF
17861 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17863 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17865 cat >>confdefs.h <<_ACEOF
17866 #define HAVE_SIGINFO_T_SI_FD 1
17867 _ACEOF
17873 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17874 #ifdef HAVE_SYS_MTIO_H
17875 #include <sys/mtio.h>
17876 #endif
17878 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17880 cat >>confdefs.h <<_ACEOF
17881 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17882 _ACEOF
17886 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17887 #ifdef HAVE_SYS_MTIO_H
17888 #include <sys/mtio.h>
17889 #endif
17891 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17893 cat >>confdefs.h <<_ACEOF
17894 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17895 _ACEOF
17899 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17900 #ifdef HAVE_SYS_MTIO_H
17901 #include <sys/mtio.h>
17902 #endif
17904 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17906 cat >>confdefs.h <<_ACEOF
17907 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17908 _ACEOF
17914 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17915 #include <getopt.h>
17916 #endif
17918 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17920 cat >>confdefs.h <<_ACEOF
17921 #define HAVE_STRUCT_OPTION_NAME 1
17922 _ACEOF
17928 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17929 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17931 cat >>confdefs.h <<_ACEOF
17932 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17933 _ACEOF
17937 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17938 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17940 cat >>confdefs.h <<_ACEOF
17941 #define HAVE_STRUCT_STAT_ST_MTIM 1
17942 _ACEOF
17946 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17947 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17949 cat >>confdefs.h <<_ACEOF
17950 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17951 _ACEOF
17955 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17956 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_STRUCT_STAT_ST_CTIM 1
17960 _ACEOF
17964 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17965 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17969 _ACEOF
17973 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17974 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17976 cat >>confdefs.h <<_ACEOF
17977 #define HAVE_STRUCT_STAT_ST_ATIM 1
17978 _ACEOF
17982 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17983 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17985 cat >>confdefs.h <<_ACEOF
17986 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17987 _ACEOF
17991 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17992 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17994 cat >>confdefs.h <<_ACEOF
17995 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17996 _ACEOF
18000 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
18001 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
18003 cat >>confdefs.h <<_ACEOF
18004 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
18005 _ACEOF
18009 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
18010 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
18012 cat >>confdefs.h <<_ACEOF
18013 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
18014 _ACEOF
18018 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
18019 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
18021 cat >>confdefs.h <<_ACEOF
18022 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
18023 _ACEOF
18027 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
18028 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
18030 cat >>confdefs.h <<_ACEOF
18031 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
18032 _ACEOF
18038 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
18039 #include <sys/types.h>
18040 #endif
18041 #ifdef HAVE_NETINET_IN_H
18042 #include <netinet/in.h>
18043 #endif
18045 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
18047 cat >>confdefs.h <<_ACEOF
18048 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
18049 _ACEOF
18055 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
18056 #include <sys/types.h>
18057 #endif
18058 #ifdef HAVE_NETINET_IN_H
18059 #include <netinet/in.h>
18060 #endif
18061 #ifdef HAVE_RESOLV_H
18062 #include <resolv.h>
18063 #endif
18065 if test "x$ac_cv_type_struct___res_state" = xyes; then :
18067 cat >>confdefs.h <<_ACEOF
18068 #define HAVE_STRUCT___RES_STATE 1
18069 _ACEOF
18075 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
18076 #include <resolv.h>
18077 #endif
18079 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
18081 cat >>confdefs.h <<_ACEOF
18082 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
18083 _ACEOF
18089 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
18090 #include <sys/types.h>
18091 #endif
18092 #ifdef HAVE_NETINET_IN_H
18093 # include <netinet/in.h>
18094 #endif
18095 #ifdef HAVE_ARPA_NAMESER_H
18096 # include <arpa/nameser.h>
18097 #endif
18099 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
18101 cat >>confdefs.h <<_ACEOF
18102 #define HAVE_NS_MSG__MSG_PTR 1
18103 _ACEOF
18109 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
18110 #include <sys/types.h>
18111 #endif
18112 #ifdef HAVE_NETINET_IN_H
18113 #include <netinet/in.h>
18114 #endif
18115 #ifdef HAVE_NETINET_IP_H
18116 #include <netinet/ip.h>
18117 #endif
18118 #ifdef HAVE_NETINET_IP_ICMP_H
18119 #include <netinet/ip_icmp.h>
18120 #endif
18121 #ifdef HAVE_NETINET_ICMP_VAR_H
18122 #include <netinet/icmp_var.h>
18123 #endif
18125 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
18127 cat >>confdefs.h <<_ACEOF
18128 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
18129 _ACEOF
18135 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
18136 #include <sys/types.h>
18137 #endif
18138 #ifdef HAVE_ALIAS_H
18139 #include <alias.h>
18140 #endif
18141 #ifdef HAVE_SYS_SOCKET_H
18142 #include <sys/socket.h>
18143 #endif
18144 #ifdef HAVE_SYS_SOCKETVAR_H
18145 #include <sys/socketvar.h>
18146 #endif
18147 #ifdef HAVE_SYS_TIMEOUT_H
18148 #include <sys/timeout.h>
18149 #endif
18150 #ifdef HAVE_NETINET_IN_H
18151 #include <netinet/in.h>
18152 #endif
18153 #ifdef HAVE_NETINET_IN_SYSTM_H
18154 #include <netinet/in_systm.h>
18155 #endif
18156 #ifdef HAVE_NETINET_IP_H
18157 #include <netinet/ip.h>
18158 #endif
18159 #ifdef HAVE_NETINET_IP_VAR_H
18160 #include <netinet/ip_var.h>
18161 #endif
18162 #ifdef HAVE_NETINET_IP_ICMP_H
18163 #include <netinet/ip_icmp.h>
18164 #endif
18165 #ifdef HAVE_NETINET_ICMP_VAR_H
18166 #include <netinet/icmp_var.h>
18167 #endif
18169 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
18171 cat >>confdefs.h <<_ACEOF
18172 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
18173 _ACEOF
18179 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
18180 #include <sys/types.h>
18181 #endif
18182 #ifdef HAVE_SYS_SOCKETVAR_H
18183 #include <sys/socketvar.h>
18184 #endif
18185 #ifdef HAVE_NETINET_IN_H
18186 #include <netinet/in.h>
18187 #endif
18188 #ifdef HAVE_NETINET_IP_VAR_H
18189 #include <netinet/ip_var.h>
18190 #endif
18192 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
18194 cat >>confdefs.h <<_ACEOF
18195 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
18196 _ACEOF
18202 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
18203 #include <netinet/ip_var.h>
18204 #endif
18206 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
18208 cat >>confdefs.h <<_ACEOF
18209 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
18210 _ACEOF
18216 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
18217 #include <sys/types.h>
18218 #endif
18219 #ifdef HAVE_SYS_SOCKETVAR_H
18220 #include <sys/socketvar.h>
18221 #endif
18222 #ifdef HAVE_NETINET_IN_H
18223 #include <netinet/in.h>
18224 #endif
18225 #ifdef HAVE_NETINET_TCP_H
18226 #include <netinet/tcp.h>
18227 #endif
18228 #ifdef HAVE_NETINET_TCP_VAR_H
18229 #include <netinet/tcp_var.h>
18230 #endif
18232 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
18234 cat >>confdefs.h <<_ACEOF
18235 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
18236 _ACEOF
18242 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
18243 #include <netinet/tcp_var.h>
18244 #endif
18246 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
18248 cat >>confdefs.h <<_ACEOF
18249 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
18250 _ACEOF
18256 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
18257 #include <sys/types.h>
18258 #endif
18259 #ifdef HAVE_NETINET_IN_H
18260 #include <netinet/in.h>
18261 #endif
18262 #ifdef HAVE_NETINET_IP_VAR_H
18263 #include <netinet/ip_var.h>
18264 #endif
18265 #ifdef HAVE_NETINET_UDP_H
18266 #include <netinet/udp.h>
18267 #endif
18268 #ifdef HAVE_NETINET_UDP_VAR_H
18269 #include <netinet/udp_var.h>
18270 #endif
18272 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
18274 cat >>confdefs.h <<_ACEOF
18275 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
18276 _ACEOF
18282 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
18283 #include <sys/types.h>
18284 #endif
18285 #ifdef HAVE_NET_IF_H
18286 # include <net/if.h>
18287 #endif
18289 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
18291 cat >>confdefs.h <<_ACEOF
18292 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
18293 _ACEOF
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
18300 $as_echo_n "checking for timezone variable... " >&6; }
18301 if ${ac_cv_have_timezone+:} false; then :
18302 $as_echo_n "(cached) " >&6
18303 else
18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18306 #include <time.h>
18308 main ()
18310 timezone = 1
18312 return 0;
18314 _ACEOF
18315 if ac_fn_c_try_link "$LINENO"; then :
18316 ac_cv_have_timezone="yes"
18317 else
18318 ac_cv_have_timezone="no"
18320 rm -f core conftest.err conftest.$ac_objext \
18321 conftest$ac_exeext conftest.$ac_ext
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
18324 $as_echo "$ac_cv_have_timezone" >&6; }
18325 if test "$ac_cv_have_timezone" = "yes"
18326 then
18328 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
18332 $as_echo_n "checking for daylight variable... " >&6; }
18333 if ${ac_cv_have_daylight+:} false; then :
18334 $as_echo_n "(cached) " >&6
18335 else
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18337 /* end confdefs.h. */
18338 #include <time.h>
18340 main ()
18342 daylight = 1
18344 return 0;
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"; then :
18348 ac_cv_have_daylight="yes"
18349 else
18350 ac_cv_have_daylight="no"
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
18356 $as_echo "$ac_cv_have_daylight" >&6; }
18357 if test "$ac_cv_have_daylight" = "yes"
18358 then
18360 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
18364 ac_save_LIBS="$LIBS"
18365 LIBS="$LIBS -lm"
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
18367 $as_echo_n "checking for isfinite... " >&6; }
18368 if ${ac_cv_have_isfinite+:} false; then :
18369 $as_echo_n "(cached) " >&6
18370 else
18371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18373 #define _GNU_SOURCE
18374 #include <math.h>
18376 main ()
18378 float f = 0.0; return isfinite(f)
18380 return 0;
18382 _ACEOF
18383 if ac_fn_c_try_link "$LINENO"; then :
18384 ac_cv_have_isfinite="yes"
18385 else
18386 ac_cv_have_isfinite="no"
18388 rm -f core conftest.err conftest.$ac_objext \
18389 conftest$ac_exeext conftest.$ac_ext
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
18392 $as_echo "$ac_cv_have_isfinite" >&6; }
18393 if test "$ac_cv_have_isfinite" = "yes"
18394 then
18396 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
18401 $as_echo_n "checking for isinf... " >&6; }
18402 if ${ac_cv_have_isinf+:} false; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #include <math.h>
18409 main ()
18411 float f = 0.0; return isinf(f)
18413 return 0;
18415 _ACEOF
18416 if ac_fn_c_try_link "$LINENO"; then :
18417 ac_cv_have_isinf="yes"
18418 else
18419 ac_cv_have_isinf="no"
18421 rm -f core conftest.err conftest.$ac_objext \
18422 conftest$ac_exeext conftest.$ac_ext
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
18425 $as_echo "$ac_cv_have_isinf" >&6; }
18426 if test "$ac_cv_have_isinf" = "yes"
18427 then
18429 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
18434 $as_echo_n "checking for isnan... " >&6; }
18435 if ${ac_cv_have_isnan+:} false; then :
18436 $as_echo_n "(cached) " >&6
18437 else
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18440 #include <math.h>
18442 main ()
18444 float f = 0.0; return isnan(f)
18446 return 0;
18448 _ACEOF
18449 if ac_fn_c_try_link "$LINENO"; then :
18450 ac_cv_have_isnan="yes"
18451 else
18452 ac_cv_have_isnan="no"
18454 rm -f core conftest.err conftest.$ac_objext \
18455 conftest$ac_exeext conftest.$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
18458 $as_echo "$ac_cv_have_isnan" >&6; }
18459 if test "$ac_cv_have_isnan" = "yes"
18460 then
18462 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
18466 for ac_func in \
18467 acosh \
18468 acoshf \
18469 asinh \
18470 asinhf \
18471 atanh \
18472 atanhf \
18473 cbrt \
18474 cbrtf \
18475 erf \
18476 erfc \
18477 erfcf \
18478 erff \
18479 exp2 \
18480 exp2f \
18481 expm1 \
18482 expm1f \
18483 j0 \
18484 j1 \
18485 jn \
18486 lgamma \
18487 lgammaf \
18488 llrint \
18489 llrintf \
18490 llround \
18491 llroundf \
18492 log1p \
18493 log1pf \
18494 log2 \
18495 log2f \
18496 lrint \
18497 lrintf \
18498 lround \
18499 lroundf \
18500 nearbyint \
18501 nearbyintf \
18502 powl \
18503 remainder \
18504 remainderf \
18505 rint \
18506 rintf \
18507 round \
18508 roundf \
18509 trunc \
18510 truncf \
18511 y0 \
18512 y1 \
18515 do :
18516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18519 cat >>confdefs.h <<_ACEOF
18520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18521 _ACEOF
18524 done
18526 LIBS="$ac_save_LIBS"
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
18529 $as_echo_n "checking for __builtin_clz... " >&6; }
18530 if ${ac_cv_have___builtin_clz+:} false; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h. */
18537 main ()
18539 return __builtin_clz(1)
18541 return 0;
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 ac_cv_have___builtin_clz="yes"
18546 else
18547 ac_cv_have___builtin_clz="no"
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
18553 $as_echo "$ac_cv_have___builtin_clz" >&6; }
18554 if test "$ac_cv_have___builtin_clz" = "yes"
18555 then
18557 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
18562 $as_echo_n "checking for __builtin_popcount... " >&6; }
18563 if ${ac_cv_have___builtin_popcount+:} false; then :
18564 $as_echo_n "(cached) " >&6
18565 else
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18570 main ()
18572 return __builtin_popcount(1)
18574 return 0;
18576 _ACEOF
18577 if ac_fn_c_try_link "$LINENO"; then :
18578 ac_cv_have___builtin_popcount="yes"
18579 else
18580 ac_cv_have___builtin_popcount="no"
18582 rm -f core conftest.err conftest.$ac_objext \
18583 conftest$ac_exeext conftest.$ac_ext
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
18586 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
18587 if test "$ac_cv_have___builtin_popcount" = "yes"
18588 then
18590 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
18595 $as_echo_n "checking for __clear_cache... " >&6; }
18596 if ${ac_cv_have___clear_cache+:} false; then :
18597 $as_echo_n "(cached) " >&6
18598 else
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18603 main ()
18605 __clear_cache((void*)0, (void*)0); return 0;
18607 return 0;
18609 _ACEOF
18610 if ac_fn_c_try_link "$LINENO"; then :
18611 ac_cv_have___clear_cache="yes"
18612 else
18613 ac_cv_have___clear_cache="no"
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
18619 $as_echo "$ac_cv_have___clear_cache" >&6; }
18620 if test "$ac_cv_have___clear_cache" = "yes"
18621 then
18623 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
18628 case $host_cpu in
18629 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
18630 $as_echo_n "checking whether we need to define __i386__... " >&6; }
18631 if ${ac_cv_cpp_def___i386__+:} false; then :
18632 $as_echo_n "(cached) " >&6
18633 else
18634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18635 /* end confdefs.h. */
18636 #ifndef __i386__
18638 #endif
18639 _ACEOF
18640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18641 $EGREP "yes" >/dev/null 2>&1; then :
18642 ac_cv_cpp_def___i386__=yes
18643 else
18644 ac_cv_cpp_def___i386__=no
18646 rm -f conftest*
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
18650 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
18651 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
18652 CFLAGS="$CFLAGS -D__i386__"
18653 LINTFLAGS="$LINTFLAGS -D__i386__"
18654 fi ;;
18655 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
18656 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
18657 if ${ac_cv_cpp_def___x86_64__+:} false; then :
18658 $as_echo_n "(cached) " >&6
18659 else
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #ifndef __x86_64__
18664 #endif
18665 _ACEOF
18666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18667 $EGREP "yes" >/dev/null 2>&1; then :
18668 ac_cv_cpp_def___x86_64__=yes
18669 else
18670 ac_cv_cpp_def___x86_64__=no
18672 rm -f conftest*
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
18676 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
18677 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
18678 CFLAGS="$CFLAGS -D__x86_64__"
18679 LINTFLAGS="$LINTFLAGS -D__x86_64__"
18680 fi ;;
18681 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
18682 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
18683 if ${ac_cv_cpp_def___sparc64__+:} false; then :
18684 $as_echo_n "(cached) " >&6
18685 else
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #ifndef __sparc64__
18690 #endif
18691 _ACEOF
18692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18693 $EGREP "yes" >/dev/null 2>&1; then :
18694 ac_cv_cpp_def___sparc64__=yes
18695 else
18696 ac_cv_cpp_def___sparc64__=no
18698 rm -f conftest*
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
18702 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
18703 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
18704 CFLAGS="$CFLAGS -D__sparc64__"
18705 LINTFLAGS="$LINTFLAGS -D__sparc64__"
18706 fi ;;
18707 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
18708 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
18709 if ${ac_cv_cpp_def___sparc__+:} false; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18714 #ifndef __sparc__
18716 #endif
18717 _ACEOF
18718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18719 $EGREP "yes" >/dev/null 2>&1; then :
18720 ac_cv_cpp_def___sparc__=yes
18721 else
18722 ac_cv_cpp_def___sparc__=no
18724 rm -f conftest*
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
18728 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
18729 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
18730 CFLAGS="$CFLAGS -D__sparc__"
18731 LINTFLAGS="$LINTFLAGS -D__sparc__"
18732 fi ;;
18733 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
18734 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
18735 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
18736 $as_echo_n "(cached) " >&6
18737 else
18738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18739 /* end confdefs.h. */
18740 #ifndef __powerpc64__
18742 #endif
18743 _ACEOF
18744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18745 $EGREP "yes" >/dev/null 2>&1; then :
18746 ac_cv_cpp_def___powerpc64__=yes
18747 else
18748 ac_cv_cpp_def___powerpc64__=no
18750 rm -f conftest*
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
18754 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
18755 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
18756 CFLAGS="$CFLAGS -D__powerpc64__"
18757 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
18758 fi ;;
18759 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
18760 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
18761 if ${ac_cv_cpp_def___powerpc__+:} false; then :
18762 $as_echo_n "(cached) " >&6
18763 else
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 #ifndef __powerpc__
18768 #endif
18769 _ACEOF
18770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18771 $EGREP "yes" >/dev/null 2>&1; then :
18772 ac_cv_cpp_def___powerpc__=yes
18773 else
18774 ac_cv_cpp_def___powerpc__=no
18776 rm -f conftest*
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18780 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18781 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18782 CFLAGS="$CFLAGS -D__powerpc__"
18783 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18784 fi ;;
18785 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18786 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18787 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18788 $as_echo_n "(cached) " >&6
18789 else
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #ifndef __aarch64__
18794 #endif
18795 _ACEOF
18796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18797 $EGREP "yes" >/dev/null 2>&1; then :
18798 ac_cv_cpp_def___aarch64__=yes
18799 else
18800 ac_cv_cpp_def___aarch64__=no
18802 rm -f conftest*
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18806 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18807 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18808 CFLAGS="$CFLAGS -D__aarch64__"
18809 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18810 fi ;;
18811 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18812 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18813 if ${ac_cv_cpp_def___arm__+:} false; then :
18814 $as_echo_n "(cached) " >&6
18815 else
18816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18817 /* end confdefs.h. */
18818 #ifndef __arm__
18820 #endif
18821 _ACEOF
18822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18823 $EGREP "yes" >/dev/null 2>&1; then :
18824 ac_cv_cpp_def___arm__=yes
18825 else
18826 ac_cv_cpp_def___arm__=no
18828 rm -f conftest*
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18832 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18833 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18834 CFLAGS="$CFLAGS -D__arm__"
18835 LINTFLAGS="$LINTFLAGS -D__arm__"
18836 fi ;;
18837 esac
18839 case $host_vendor in
18840 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18841 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18842 if ${ac_cv_cpp_def___sun__+:} false; then :
18843 $as_echo_n "(cached) " >&6
18844 else
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #ifndef __sun__
18849 #endif
18850 _ACEOF
18851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18852 $EGREP "yes" >/dev/null 2>&1; then :
18853 ac_cv_cpp_def___sun__=yes
18854 else
18855 ac_cv_cpp_def___sun__=no
18857 rm -f conftest*
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18861 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18862 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18863 CFLAGS="$CFLAGS -D__sun__"
18864 LINTFLAGS="$LINTFLAGS -D__sun__"
18865 fi ;;
18866 esac
18872 ac_config_commands="$ac_config_commands include/stamp-h"
18874 $as_echo_n "creating Makefile rules..." >&6
18876 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18877 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18878 IOKIT_LIBS = $IOKIT_LIBS
18879 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18880 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18881 CORESERVICES_LIBS = $CORESERVICES_LIBS
18882 APPKIT_LIBS = $APPKIT_LIBS
18883 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18884 SECURITY_LIBS = $SECURITY_LIBS
18885 COREAUDIO_LIBS = $COREAUDIO_LIBS
18886 OPENAL_LIBS = $OPENAL_LIBS
18887 OPENCL_LIBS = $OPENCL_LIBS
18888 QUICKTIME_LIBS = $QUICKTIME_LIBS
18889 CARBON_LIBS = $CARBON_LIBS
18890 METAL_LIBS = $METAL_LIBS
18891 PTHREAD_LIBS = $PTHREAD_LIBS
18892 X_CFLAGS = $X_CFLAGS
18893 X_PRE_LIBS = $X_PRE_LIBS
18894 X_LIBS = $X_LIBS
18895 X_EXTRA_LIBS = $X_EXTRA_LIBS
18896 PCAP_LIBS = $PCAP_LIBS
18897 XML2_CFLAGS = $XML2_CFLAGS
18898 XML2_LIBS = $XML2_LIBS
18899 XSLT_CFLAGS = $XSLT_CFLAGS
18900 XSLT_LIBS = $XSLT_LIBS
18901 DBUS_CFLAGS = $DBUS_CFLAGS
18902 DBUS_LIBS = $DBUS_LIBS
18903 HAL_CFLAGS = $HAL_CFLAGS
18904 HAL_LIBS = $HAL_LIBS
18905 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18906 GNUTLS_LIBS = $GNUTLS_LIBS
18907 SANE_CFLAGS = $SANE_CFLAGS
18908 SANE_LIBS = $SANE_LIBS
18909 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18910 GPHOTO2_LIBS = $GPHOTO2_LIBS
18911 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18912 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18913 RESOLV_LIBS = $RESOLV_LIBS
18914 LCMS2_CFLAGS = $LCMS2_CFLAGS
18915 LCMS2_LIBS = $LCMS2_LIBS
18916 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18917 FREETYPE_LIBS = $FREETYPE_LIBS
18918 Z_LIBS = $Z_LIBS
18919 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18920 PULSE_CFLAGS = $PULSE_CFLAGS
18921 PULSE_LIBS = $PULSE_LIBS
18922 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18923 GSTREAMER_LIBS = $GSTREAMER_LIBS
18924 ALSA_LIBS = $ALSA_LIBS
18925 OSS4_CFLAGS = $OSS4_CFLAGS
18926 UDEV_CFLAGS = $UDEV_CFLAGS
18927 UDEV_LIBS = $UDEV_LIBS
18928 SDL2_CFLAGS = $SDL2_CFLAGS
18929 SDL2_LIBS = $SDL2_LIBS
18930 CAPI20_CFLAGS = $CAPI20_CFLAGS
18931 CAPI20_LIBS = $CAPI20_LIBS
18932 CUPS_CFLAGS = $CUPS_CFLAGS
18933 CUPS_LIBS = $CUPS_LIBS
18934 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18935 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18936 KRB5_CFLAGS = $KRB5_CFLAGS
18937 KRB5_LIBS = $KRB5_LIBS
18938 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18939 GSSAPI_LIBS = $GSSAPI_LIBS
18940 JPEG_CFLAGS = $JPEG_CFLAGS
18941 JPEG_LIBS = $JPEG_LIBS
18942 PNG_CFLAGS = $PNG_CFLAGS
18943 PNG_LIBS = $PNG_LIBS
18944 TIFF_CFLAGS = $TIFF_CFLAGS
18945 TIFF_LIBS = $TIFF_LIBS
18946 MPG123_CFLAGS = $MPG123_CFLAGS
18947 MPG123_LIBS = $MPG123_LIBS
18948 KSTAT_LIBS = $KSTAT_LIBS
18949 PROCSTAT_LIBS = $PROCSTAT_LIBS
18950 NETAPI_CFLAGS = $NETAPI_CFLAGS
18951 NETAPI_LIBS = $NETAPI_LIBS
18952 VKD3D_CFLAGS = $VKD3D_CFLAGS
18953 VKD3D_LIBS = $VKD3D_LIBS
18954 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18955 DL_LIBS = $DL_LIBS
18956 POLL_LIBS = $POLL_LIBS
18957 RT_LIBS = $RT_LIBS
18958 LDAP_CFLAGS = $LDAP_CFLAGS
18959 LDAP_LIBS = $LDAP_LIBS
18964 wine_fn_append_rule "
18965 # Rules automatically generated by configure
18967 .INIT: Makefile
18968 .MAKEFILEDEPS:
18969 all: Makefile
18970 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18971 @./config.status Make.tmp Makefile
18972 depend: \$(MAKEDEP) dummy
18973 \$(MAKEDEP)"
18975 if test "x$enable_fonts" != xno; then
18976 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18977 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18978 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18979 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18980 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18981 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18983 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18984 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18985 ac_config_links="$ac_config_links wine:tools/winewrapper"
18986 wine_fn_config_symlink wine
18987 if test "x$enable_win64" != xno; then
18988 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18989 wine_fn_config_symlink wine64
18992 wine_fn_config_makefile dlls/acledit enable_acledit
18993 wine_fn_config_makefile dlls/aclui enable_aclui
18994 wine_fn_config_makefile dlls/activeds enable_activeds
18995 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18996 wine_fn_config_makefile dlls/adsiid enable_adsiid
18997 wine_fn_config_makefile dlls/adsldp enable_adsldp
18998 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18999 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19000 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19001 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19002 wine_fn_config_makefile dlls/advpack enable_advpack
19003 wine_fn_config_makefile dlls/advpack/tests enable_tests
19004 wine_fn_config_makefile dlls/amstream enable_amstream
19005 wine_fn_config_makefile dlls/amstream/tests enable_tests
19006 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19007 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19008 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19009 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19010 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19011 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19012 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19013 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19014 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19015 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19016 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19017 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19018 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19019 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19020 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19021 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19022 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19023 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19024 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19025 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19026 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19027 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19028 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19029 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19030 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19031 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19032 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19033 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
19034 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
19035 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
19036 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
19037 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
19038 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
19039 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
19040 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
19041 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
19042 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
19043 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
19044 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
19045 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
19046 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
19047 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
19048 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
19049 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
19050 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
19051 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
19052 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
19053 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
19054 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
19055 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
19056 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
19057 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
19058 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
19059 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
19060 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
19061 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
19062 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
19063 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
19064 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
19065 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
19066 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
19067 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
19068 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
19069 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
19070 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
19071 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
19072 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
19073 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
19074 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
19075 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
19076 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
19077 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
19078 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
19079 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
19080 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
19081 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
19082 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
19083 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
19084 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
19085 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
19086 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
19087 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
19088 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
19089 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
19090 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
19091 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
19092 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
19093 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
19094 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
19095 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
19096 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
19097 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
19098 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
19099 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
19100 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
19101 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
19102 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
19103 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
19104 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
19105 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
19106 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
19107 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
19108 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
19109 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
19110 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
19111 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
19112 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
19113 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
19114 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
19115 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
19116 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
19117 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
19118 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
19119 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
19120 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
19121 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
19122 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
19123 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
19124 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
19125 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
19126 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
19127 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
19128 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
19129 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
19130 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
19131 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
19132 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
19133 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
19134 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
19135 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
19136 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
19137 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
19138 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
19139 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
19140 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
19141 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
19142 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
19143 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
19144 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
19145 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
19146 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
19147 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
19148 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
19149 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
19150 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
19151 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
19152 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
19153 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
19154 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
19155 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
19156 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
19157 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
19158 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
19159 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
19160 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
19161 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
19162 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
19163 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
19164 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
19165 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
19166 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
19167 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
19168 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
19169 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
19170 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
19171 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
19172 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
19173 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
19174 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
19175 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
19176 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
19177 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
19178 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
19179 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
19180 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
19181 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
19182 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
19183 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
19184 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
19185 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
19186 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
19187 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
19188 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
19189 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
19190 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
19191 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
19192 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
19193 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
19194 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
19195 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
19196 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
19197 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
19198 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
19199 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
19200 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
19201 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
19202 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
19203 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
19204 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
19205 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
19206 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
19207 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
19208 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
19209 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
19210 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
19211 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
19212 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
19213 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
19214 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
19215 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
19216 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
19217 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
19218 wine_fn_config_makefile dlls/apphelp enable_apphelp
19219 wine_fn_config_makefile dlls/apphelp/tests enable_tests
19220 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
19221 wine_fn_config_makefile dlls/atl enable_atl
19222 wine_fn_config_makefile dlls/atl/tests enable_tests
19223 wine_fn_config_makefile dlls/atl100 enable_atl100
19224 wine_fn_config_makefile dlls/atl100/tests enable_tests
19225 wine_fn_config_makefile dlls/atl110 enable_atl110
19226 wine_fn_config_makefile dlls/atl80 enable_atl80
19227 wine_fn_config_makefile dlls/atl80/tests enable_tests
19228 wine_fn_config_makefile dlls/atl90 enable_atl90
19229 wine_fn_config_makefile dlls/atmlib enable_atmlib
19230 wine_fn_config_makefile dlls/authz enable_authz
19231 wine_fn_config_makefile dlls/avicap32 enable_avicap32
19232 wine_fn_config_makefile dlls/avifil32 enable_avifil32
19233 wine_fn_config_makefile dlls/avifil32/tests enable_tests
19234 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
19235 wine_fn_config_makefile dlls/avrt enable_avrt
19236 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
19237 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
19238 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
19239 wine_fn_config_makefile dlls/browseui enable_browseui
19240 wine_fn_config_makefile dlls/browseui/tests enable_tests
19241 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
19242 wine_fn_config_makefile dlls/cabinet enable_cabinet
19243 wine_fn_config_makefile dlls/cabinet/tests enable_tests
19244 wine_fn_config_makefile dlls/capi2032 enable_capi2032
19245 wine_fn_config_makefile dlls/cards enable_cards
19246 wine_fn_config_makefile dlls/cdosys enable_cdosys
19247 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
19248 wine_fn_config_makefile dlls/clusapi enable_clusapi
19249 wine_fn_config_makefile dlls/combase enable_combase
19250 wine_fn_config_makefile dlls/combase/tests enable_tests
19251 wine_fn_config_makefile dlls/comcat enable_comcat
19252 wine_fn_config_makefile dlls/comcat/tests enable_tests
19253 wine_fn_config_makefile dlls/comctl32 enable_comctl32
19254 wine_fn_config_makefile dlls/comctl32/tests enable_tests
19255 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
19256 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
19257 wine_fn_config_makefile dlls/comm.drv16 enable_win16
19258 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
19259 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
19260 wine_fn_config_makefile dlls/compstui enable_compstui
19261 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
19262 wine_fn_config_makefile dlls/concrt140 enable_concrt140
19263 wine_fn_config_makefile dlls/connect enable_connect
19264 wine_fn_config_makefile dlls/credui enable_credui
19265 wine_fn_config_makefile dlls/credui/tests enable_tests
19266 wine_fn_config_makefile dlls/crtdll enable_crtdll
19267 wine_fn_config_makefile dlls/crypt32 enable_crypt32
19268 wine_fn_config_makefile dlls/crypt32/tests enable_tests
19269 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
19270 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
19271 wine_fn_config_makefile dlls/cryptext enable_cryptext
19272 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
19273 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
19274 wine_fn_config_makefile dlls/cryptui enable_cryptui
19275 wine_fn_config_makefile dlls/cryptui/tests enable_tests
19276 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
19277 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
19278 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
19279 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
19280 wine_fn_config_makefile dlls/d2d1 enable_d2d1
19281 wine_fn_config_makefile dlls/d2d1/tests enable_tests
19282 wine_fn_config_makefile dlls/d3d10 enable_d3d10
19283 wine_fn_config_makefile dlls/d3d10/tests enable_tests
19284 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
19285 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
19286 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
19287 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
19288 wine_fn_config_makefile dlls/d3d11 enable_d3d11
19289 wine_fn_config_makefile dlls/d3d11/tests enable_tests
19290 wine_fn_config_makefile dlls/d3d12 enable_d3d12
19291 wine_fn_config_makefile dlls/d3d12/tests enable_tests
19292 wine_fn_config_makefile dlls/d3d8 enable_d3d8
19293 wine_fn_config_makefile dlls/d3d8/tests enable_tests
19294 wine_fn_config_makefile dlls/d3d9 enable_d3d9
19295 wine_fn_config_makefile dlls/d3d9/tests enable_tests
19296 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
19297 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
19298 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
19299 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
19300 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
19301 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
19302 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
19303 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
19304 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
19305 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
19306 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
19307 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
19308 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
19309 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
19310 wine_fn_config_makefile dlls/d3dim enable_d3dim
19311 wine_fn_config_makefile dlls/d3drm enable_d3drm
19312 wine_fn_config_makefile dlls/d3drm/tests enable_tests
19313 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
19314 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
19315 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
19316 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
19317 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
19318 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
19319 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
19320 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
19321 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
19322 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
19323 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
19324 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
19325 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
19326 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
19327 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
19328 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
19329 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
19330 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
19331 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
19332 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
19333 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
19334 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
19335 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
19336 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
19337 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
19338 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
19339 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
19340 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
19341 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
19342 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
19343 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
19344 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
19345 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
19346 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
19347 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
19348 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
19349 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
19350 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
19351 wine_fn_config_makefile dlls/davclnt enable_davclnt
19352 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
19353 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
19354 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
19355 wine_fn_config_makefile dlls/dciman32 enable_dciman32
19356 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
19357 wine_fn_config_makefile dlls/ddraw enable_ddraw
19358 wine_fn_config_makefile dlls/ddraw/tests enable_tests
19359 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
19360 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
19361 wine_fn_config_makefile dlls/devenum enable_devenum
19362 wine_fn_config_makefile dlls/devenum/tests enable_tests
19363 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
19364 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
19365 wine_fn_config_makefile dlls/difxapi enable_difxapi
19366 wine_fn_config_makefile dlls/dinput enable_dinput
19367 wine_fn_config_makefile dlls/dinput/tests enable_tests
19368 wine_fn_config_makefile dlls/dinput8 enable_dinput8
19369 wine_fn_config_makefile dlls/dinput8/tests enable_tests
19370 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
19371 wine_fn_config_makefile dlls/dispex enable_dispex
19372 wine_fn_config_makefile dlls/dispex/tests enable_tests
19373 wine_fn_config_makefile dlls/display.drv16 enable_win16
19374 wine_fn_config_makefile dlls/dmband enable_dmband
19375 wine_fn_config_makefile dlls/dmband/tests enable_tests
19376 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
19377 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
19378 wine_fn_config_makefile dlls/dmime enable_dmime
19379 wine_fn_config_makefile dlls/dmime/tests enable_tests
19380 wine_fn_config_makefile dlls/dmloader enable_dmloader
19381 wine_fn_config_makefile dlls/dmloader/tests enable_tests
19382 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
19383 wine_fn_config_makefile dlls/dmscript enable_dmscript
19384 wine_fn_config_makefile dlls/dmscript/tests enable_tests
19385 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
19386 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
19387 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
19388 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
19389 wine_fn_config_makefile dlls/dmusic enable_dmusic
19390 wine_fn_config_makefile dlls/dmusic/tests enable_tests
19391 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
19392 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
19393 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
19394 wine_fn_config_makefile dlls/dplay enable_dplay
19395 wine_fn_config_makefile dlls/dplayx enable_dplayx
19396 wine_fn_config_makefile dlls/dplayx/tests enable_tests
19397 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
19398 wine_fn_config_makefile dlls/dpnet enable_dpnet
19399 wine_fn_config_makefile dlls/dpnet/tests enable_tests
19400 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
19401 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
19402 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
19403 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
19404 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
19405 wine_fn_config_makefile dlls/drmclien enable_drmclien
19406 wine_fn_config_makefile dlls/dsound enable_dsound
19407 wine_fn_config_makefile dlls/dsound/tests enable_tests
19408 wine_fn_config_makefile dlls/dsquery enable_dsquery
19409 wine_fn_config_makefile dlls/dssenh enable_dssenh
19410 wine_fn_config_makefile dlls/dssenh/tests enable_tests
19411 wine_fn_config_makefile dlls/dswave enable_dswave
19412 wine_fn_config_makefile dlls/dswave/tests enable_tests
19413 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
19414 wine_fn_config_makefile dlls/dwrite enable_dwrite
19415 wine_fn_config_makefile dlls/dwrite/tests enable_tests
19416 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
19417 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
19418 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
19419 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
19420 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
19421 wine_fn_config_makefile dlls/dxgi enable_dxgi
19422 wine_fn_config_makefile dlls/dxgi/tests enable_tests
19423 wine_fn_config_makefile dlls/dxguid enable_dxguid
19424 wine_fn_config_makefile dlls/dxva2 enable_dxva2
19425 wine_fn_config_makefile dlls/esent enable_esent
19426 wine_fn_config_makefile dlls/evr enable_evr
19427 wine_fn_config_makefile dlls/evr/tests enable_tests
19428 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
19429 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
19430 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
19431 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
19432 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
19433 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
19434 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
19435 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
19436 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
19437 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
19438 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
19439 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
19440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
19441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
19442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
19443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
19444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
19445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
19446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
19447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
19448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
19449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
19450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
19451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
19452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
19453 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
19454 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
19455 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
19456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
19457 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
19458 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
19459 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
19460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
19461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
19462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
19463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
19464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
19465 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
19466 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
19467 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
19468 wine_fn_config_makefile dlls/faultrep enable_faultrep
19469 wine_fn_config_makefile dlls/faultrep/tests enable_tests
19470 wine_fn_config_makefile dlls/feclient enable_feclient
19471 wine_fn_config_makefile dlls/fltlib enable_fltlib
19472 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
19473 wine_fn_config_makefile dlls/fntcache enable_fntcache
19474 wine_fn_config_makefile dlls/fontsub enable_fontsub
19475 wine_fn_config_makefile dlls/fusion enable_fusion
19476 wine_fn_config_makefile dlls/fusion/tests enable_tests
19477 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
19478 wine_fn_config_makefile dlls/gameux enable_gameux
19479 wine_fn_config_makefile dlls/gameux/tests enable_tests
19480 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
19481 wine_fn_config_makefile dlls/gdi32 enable_gdi32
19482 wine_fn_config_makefile dlls/gdi32/tests enable_tests
19483 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
19484 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
19485 wine_fn_config_makefile dlls/glu32 enable_glu32
19486 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
19487 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
19488 wine_fn_config_makefile dlls/hal enable_hal
19489 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
19490 wine_fn_config_makefile dlls/hid enable_hid
19491 wine_fn_config_makefile dlls/hid/tests enable_tests
19492 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
19493 wine_fn_config_makefile dlls/hlink enable_hlink
19494 wine_fn_config_makefile dlls/hlink/tests enable_tests
19495 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
19496 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
19497 wine_fn_config_makefile dlls/httpapi enable_httpapi
19498 wine_fn_config_makefile dlls/httpapi/tests enable_tests
19499 wine_fn_config_makefile dlls/iccvid enable_iccvid
19500 wine_fn_config_makefile dlls/icmp enable_icmp
19501 wine_fn_config_makefile dlls/ieframe enable_ieframe
19502 wine_fn_config_makefile dlls/ieframe/tests enable_tests
19503 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
19504 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
19505 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
19506 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
19507 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
19508 wine_fn_config_makefile dlls/imm.dll16 enable_win16
19509 wine_fn_config_makefile dlls/imm32 enable_imm32
19510 wine_fn_config_makefile dlls/imm32/tests enable_tests
19511 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
19512 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
19513 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
19514 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
19515 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
19516 wine_fn_config_makefile dlls/infosoft enable_infosoft
19517 wine_fn_config_makefile dlls/infosoft/tests enable_tests
19518 wine_fn_config_makefile dlls/initpki enable_initpki
19519 wine_fn_config_makefile dlls/inkobj enable_inkobj
19520 wine_fn_config_makefile dlls/inseng enable_inseng
19521 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
19522 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
19523 wine_fn_config_makefile dlls/iprop enable_iprop
19524 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
19525 wine_fn_config_makefile dlls/itircl enable_itircl
19526 wine_fn_config_makefile dlls/itss enable_itss
19527 wine_fn_config_makefile dlls/itss/tests enable_tests
19528 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
19529 wine_fn_config_makefile dlls/jscript enable_jscript
19530 wine_fn_config_makefile dlls/jscript/tests enable_tests
19531 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
19532 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
19533 wine_fn_config_makefile dlls/kerberos enable_kerberos
19534 wine_fn_config_makefile dlls/kernel32 enable_kernel32
19535 wine_fn_config_makefile dlls/kernel32/tests enable_tests
19536 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
19537 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
19538 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
19539 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
19540 wine_fn_config_makefile dlls/ksuser enable_ksuser
19541 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
19542 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
19543 wine_fn_config_makefile dlls/loadperf enable_loadperf
19544 wine_fn_config_makefile dlls/localspl enable_localspl
19545 wine_fn_config_makefile dlls/localspl/tests enable_tests
19546 wine_fn_config_makefile dlls/localui enable_localui
19547 wine_fn_config_makefile dlls/localui/tests enable_tests
19548 wine_fn_config_makefile dlls/lz32 enable_lz32
19549 wine_fn_config_makefile dlls/lz32/tests enable_tests
19550 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
19551 wine_fn_config_makefile dlls/mapi32 enable_mapi32
19552 wine_fn_config_makefile dlls/mapi32/tests enable_tests
19553 wine_fn_config_makefile dlls/mapistub enable_mapistub
19554 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
19555 wine_fn_config_makefile dlls/mcicda enable_mcicda
19556 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
19557 wine_fn_config_makefile dlls/mciseq enable_mciseq
19558 wine_fn_config_makefile dlls/mciwave enable_mciwave
19559 wine_fn_config_makefile dlls/mf enable_mf
19560 wine_fn_config_makefile dlls/mf/tests enable_tests
19561 wine_fn_config_makefile dlls/mf3216 enable_mf3216
19562 wine_fn_config_makefile dlls/mfplat enable_mfplat
19563 wine_fn_config_makefile dlls/mfplat/tests enable_tests
19564 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
19565 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
19566 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
19567 wine_fn_config_makefile dlls/midimap enable_midimap
19568 wine_fn_config_makefile dlls/mlang enable_mlang
19569 wine_fn_config_makefile dlls/mlang/tests enable_tests
19570 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
19571 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
19572 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
19573 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
19574 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
19575 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
19576 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
19577 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
19578 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
19579 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
19580 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
19581 wine_fn_config_makefile dlls/mpr enable_mpr
19582 wine_fn_config_makefile dlls/mpr/tests enable_tests
19583 wine_fn_config_makefile dlls/mprapi enable_mprapi
19584 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
19585 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
19586 wine_fn_config_makefile dlls/msacm32 enable_msacm32
19587 wine_fn_config_makefile dlls/msacm32/tests enable_tests
19588 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
19589 wine_fn_config_makefile dlls/msasn1 enable_msasn1
19590 wine_fn_config_makefile dlls/mscat32 enable_mscat32
19591 wine_fn_config_makefile dlls/mscms enable_mscms
19592 wine_fn_config_makefile dlls/mscms/tests enable_tests
19593 wine_fn_config_makefile dlls/mscoree enable_mscoree
19594 wine_fn_config_makefile dlls/mscoree/tests enable_tests
19595 wine_fn_config_makefile dlls/msctf enable_msctf
19596 wine_fn_config_makefile dlls/msctf/tests enable_tests
19597 wine_fn_config_makefile dlls/msctfp enable_msctfp
19598 wine_fn_config_makefile dlls/msdaps enable_msdaps
19599 wine_fn_config_makefile dlls/msdelta enable_msdelta
19600 wine_fn_config_makefile dlls/msdmo enable_msdmo
19601 wine_fn_config_makefile dlls/msdmo/tests enable_tests
19602 wine_fn_config_makefile dlls/msdrm enable_msdrm
19603 wine_fn_config_makefile dlls/msftedit enable_msftedit
19604 wine_fn_config_makefile dlls/msftedit/tests enable_tests
19605 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
19606 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
19607 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
19608 wine_fn_config_makefile dlls/mshtml enable_mshtml
19609 wine_fn_config_makefile dlls/mshtml/tests enable_tests
19610 wine_fn_config_makefile dlls/msi enable_msi
19611 wine_fn_config_makefile dlls/msi/tests enable_tests
19612 wine_fn_config_makefile dlls/msident enable_msident
19613 wine_fn_config_makefile dlls/msimg32 enable_msimg32
19614 wine_fn_config_makefile dlls/msimsg enable_msimsg
19615 wine_fn_config_makefile dlls/msimtf enable_msimtf
19616 wine_fn_config_makefile dlls/msisip enable_msisip
19617 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
19618 wine_fn_config_makefile dlls/msls31 enable_msls31
19619 wine_fn_config_makefile dlls/msnet32 enable_msnet32
19620 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
19621 wine_fn_config_makefile dlls/msports enable_msports
19622 wine_fn_config_makefile dlls/msrle32 enable_msrle32
19623 wine_fn_config_makefile dlls/msrle32/tests enable_tests
19624 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
19625 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
19626 wine_fn_config_makefile dlls/mssign32 enable_mssign32
19627 wine_fn_config_makefile dlls/mssip32 enable_mssip32
19628 wine_fn_config_makefile dlls/mstask enable_mstask
19629 wine_fn_config_makefile dlls/mstask/tests enable_tests
19630 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
19631 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
19632 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
19633 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
19634 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
19635 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
19636 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
19637 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
19638 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
19639 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
19640 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
19641 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
19642 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
19643 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
19644 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
19645 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
19646 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
19647 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
19648 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
19649 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
19650 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
19651 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
19652 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
19653 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
19654 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
19655 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
19656 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
19657 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
19658 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
19659 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
19660 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
19661 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
19662 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
19663 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
19664 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
19665 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
19666 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
19667 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
19668 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
19669 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
19670 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
19671 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
19672 wine_fn_config_makefile dlls/mswsock enable_mswsock
19673 wine_fn_config_makefile dlls/msxml enable_msxml
19674 wine_fn_config_makefile dlls/msxml2 enable_msxml2
19675 wine_fn_config_makefile dlls/msxml3 enable_msxml3
19676 wine_fn_config_makefile dlls/msxml3/tests enable_tests
19677 wine_fn_config_makefile dlls/msxml4 enable_msxml4
19678 wine_fn_config_makefile dlls/msxml6 enable_msxml6
19679 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
19680 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
19681 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
19682 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
19683 wine_fn_config_makefile dlls/netapi32 enable_netapi32
19684 wine_fn_config_makefile dlls/netapi32/tests enable_tests
19685 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
19686 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
19687 wine_fn_config_makefile dlls/netprofm enable_netprofm
19688 wine_fn_config_makefile dlls/netprofm/tests enable_tests
19689 wine_fn_config_makefile dlls/newdev enable_newdev
19690 wine_fn_config_makefile dlls/ninput enable_ninput
19691 wine_fn_config_makefile dlls/ninput/tests enable_tests
19692 wine_fn_config_makefile dlls/normaliz enable_normaliz
19693 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
19694 wine_fn_config_makefile dlls/npptools enable_npptools
19695 wine_fn_config_makefile dlls/ntdll enable_ntdll
19696 wine_fn_config_makefile dlls/ntdll/tests enable_tests
19697 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
19698 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
19699 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
19700 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
19701 wine_fn_config_makefile dlls/ntprint enable_ntprint
19702 wine_fn_config_makefile dlls/ntprint/tests enable_tests
19703 wine_fn_config_makefile dlls/objsel enable_objsel
19704 wine_fn_config_makefile dlls/odbc32 enable_odbc32
19705 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
19706 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
19707 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
19708 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
19709 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
19710 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
19711 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
19712 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
19713 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
19714 wine_fn_config_makefile dlls/ole32 enable_ole32
19715 wine_fn_config_makefile dlls/ole32/tests enable_tests
19716 wine_fn_config_makefile dlls/oleacc enable_oleacc
19717 wine_fn_config_makefile dlls/oleacc/tests enable_tests
19718 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
19719 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
19720 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
19721 wine_fn_config_makefile dlls/olecli32 enable_olecli32
19722 wine_fn_config_makefile dlls/oledb32 enable_oledb32
19723 wine_fn_config_makefile dlls/oledb32/tests enable_tests
19724 wine_fn_config_makefile dlls/oledlg enable_oledlg
19725 wine_fn_config_makefile dlls/oledlg/tests enable_tests
19726 wine_fn_config_makefile dlls/olepro32 enable_olepro32
19727 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
19728 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
19729 wine_fn_config_makefile dlls/olethk32 enable_olethk32
19730 wine_fn_config_makefile dlls/opcservices enable_opcservices
19731 wine_fn_config_makefile dlls/opcservices/tests enable_tests
19732 wine_fn_config_makefile dlls/openal32 enable_openal32
19733 wine_fn_config_makefile dlls/opencl enable_opencl
19734 wine_fn_config_makefile dlls/opengl32 enable_opengl32
19735 wine_fn_config_makefile dlls/opengl32/tests enable_tests
19736 wine_fn_config_makefile dlls/packager enable_packager
19737 wine_fn_config_makefile dlls/packager/tests enable_tests
19738 wine_fn_config_makefile dlls/pdh enable_pdh
19739 wine_fn_config_makefile dlls/pdh/tests enable_tests
19740 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
19741 wine_fn_config_makefile dlls/pidgen enable_pidgen
19742 wine_fn_config_makefile dlls/powrprof enable_powrprof
19743 wine_fn_config_makefile dlls/printui enable_printui
19744 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
19745 wine_fn_config_makefile dlls/propsys enable_propsys
19746 wine_fn_config_makefile dlls/propsys/tests enable_tests
19747 wine_fn_config_makefile dlls/psapi enable_psapi
19748 wine_fn_config_makefile dlls/psapi/tests enable_tests
19749 wine_fn_config_makefile dlls/pstorec enable_pstorec
19750 wine_fn_config_makefile dlls/pstorec/tests enable_tests
19751 wine_fn_config_makefile dlls/qcap enable_qcap
19752 wine_fn_config_makefile dlls/qcap/tests enable_tests
19753 wine_fn_config_makefile dlls/qedit enable_qedit
19754 wine_fn_config_makefile dlls/qedit/tests enable_tests
19755 wine_fn_config_makefile dlls/qmgr enable_qmgr
19756 wine_fn_config_makefile dlls/qmgr/tests enable_tests
19757 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
19758 wine_fn_config_makefile dlls/quartz enable_quartz
19759 wine_fn_config_makefile dlls/quartz/tests enable_tests
19760 wine_fn_config_makefile dlls/query enable_query
19761 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
19762 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
19763 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
19764 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
19765 wine_fn_config_makefile dlls/regapi enable_regapi
19766 wine_fn_config_makefile dlls/resutils enable_resutils
19767 wine_fn_config_makefile dlls/riched20 enable_riched20
19768 wine_fn_config_makefile dlls/riched20/tests enable_tests
19769 wine_fn_config_makefile dlls/riched32 enable_riched32
19770 wine_fn_config_makefile dlls/riched32/tests enable_tests
19771 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
19772 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
19773 wine_fn_config_makefile dlls/rsabase enable_rsabase
19774 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
19775 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19776 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19777 wine_fn_config_makefile dlls/rtutils enable_rtutils
19778 wine_fn_config_makefile dlls/samlib enable_samlib
19779 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19780 wine_fn_config_makefile dlls/sapi enable_sapi
19781 wine_fn_config_makefile dlls/sapi/tests enable_tests
19782 wine_fn_config_makefile dlls/sas enable_sas
19783 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19784 wine_fn_config_makefile dlls/sccbase enable_sccbase
19785 wine_fn_config_makefile dlls/schannel enable_schannel
19786 wine_fn_config_makefile dlls/schannel/tests enable_tests
19787 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19788 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19789 wine_fn_config_makefile dlls/scrobj enable_scrobj
19790 wine_fn_config_makefile dlls/scrrun enable_scrrun
19791 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19792 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19793 wine_fn_config_makefile dlls/secur32 enable_secur32
19794 wine_fn_config_makefile dlls/secur32/tests enable_tests
19795 wine_fn_config_makefile dlls/security enable_security
19796 wine_fn_config_makefile dlls/sensapi enable_sensapi
19797 wine_fn_config_makefile dlls/serialui enable_serialui
19798 wine_fn_config_makefile dlls/serialui/tests enable_tests
19799 wine_fn_config_makefile dlls/setupapi enable_setupapi
19800 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19801 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19802 wine_fn_config_makefile dlls/sfc enable_sfc
19803 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19804 wine_fn_config_makefile dlls/shcore enable_shcore
19805 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19806 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19807 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19808 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19809 wine_fn_config_makefile dlls/shell32 enable_shell32
19810 wine_fn_config_makefile dlls/shell32/tests enable_tests
19811 wine_fn_config_makefile dlls/shfolder enable_shfolder
19812 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19813 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19814 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19815 wine_fn_config_makefile dlls/slc enable_slc
19816 wine_fn_config_makefile dlls/slc/tests enable_tests
19817 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19818 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19819 wine_fn_config_makefile dlls/softpub enable_softpub
19820 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19821 wine_fn_config_makefile dlls/spoolss enable_spoolss
19822 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19823 wine_fn_config_makefile dlls/srclient enable_srclient
19824 wine_fn_config_makefile dlls/sspicli enable_sspicli
19825 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19826 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19827 wine_fn_config_makefile dlls/sti enable_sti
19828 wine_fn_config_makefile dlls/sti/tests enable_tests
19829 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19830 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19831 wine_fn_config_makefile dlls/strmbase enable_strmbase
19832 wine_fn_config_makefile dlls/strmdll enable_strmdll
19833 wine_fn_config_makefile dlls/strmiids enable_strmiids
19834 wine_fn_config_makefile dlls/svrapi enable_svrapi
19835 wine_fn_config_makefile dlls/sxs enable_sxs
19836 wine_fn_config_makefile dlls/sxs/tests enable_tests
19837 wine_fn_config_makefile dlls/system.drv16 enable_win16
19838 wine_fn_config_makefile dlls/t2embed enable_t2embed
19839 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19840 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19841 wine_fn_config_makefile dlls/taskschd enable_taskschd
19842 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19843 wine_fn_config_makefile dlls/tdh enable_tdh
19844 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19845 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19846 wine_fn_config_makefile dlls/traffic enable_traffic
19847 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19848 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19849 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19850 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19851 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19852 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19853 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19854 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19855 wine_fn_config_makefile dlls/unicows enable_unicows
19856 wine_fn_config_makefile dlls/updspapi enable_updspapi
19857 wine_fn_config_makefile dlls/url enable_url
19858 wine_fn_config_makefile dlls/urlmon enable_urlmon
19859 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19860 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19861 wine_fn_config_makefile dlls/user.exe16 enable_win16
19862 wine_fn_config_makefile dlls/user32 enable_user32
19863 wine_fn_config_makefile dlls/user32/tests enable_tests
19864 wine_fn_config_makefile dlls/userenv enable_userenv
19865 wine_fn_config_makefile dlls/userenv/tests enable_tests
19866 wine_fn_config_makefile dlls/usp10 enable_usp10
19867 wine_fn_config_makefile dlls/usp10/tests enable_tests
19868 wine_fn_config_makefile dlls/uuid enable_uuid
19869 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19870 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19871 wine_fn_config_makefile dlls/vbscript enable_vbscript
19872 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19873 wine_fn_config_makefile dlls/vcomp enable_vcomp
19874 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19875 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19876 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19877 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19878 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19879 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19880 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19881 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19882 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19883 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19884 wine_fn_config_makefile dlls/version enable_version
19885 wine_fn_config_makefile dlls/version/tests enable_tests
19886 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19887 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
19888 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19889 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19890 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19891 wine_fn_config_makefile dlls/vssapi enable_vssapi
19892 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19893 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19894 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
19895 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19896 wine_fn_config_makefile dlls/w32skrnl enable_win16
19897 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19898 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19899 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19900 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19901 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19902 wine_fn_config_makefile dlls/wdscore enable_wdscore
19903 wine_fn_config_makefile dlls/webservices enable_webservices
19904 wine_fn_config_makefile dlls/webservices/tests enable_tests
19905 wine_fn_config_makefile dlls/wer enable_wer
19906 wine_fn_config_makefile dlls/wer/tests enable_tests
19907 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19908 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19909 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19910 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19911 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19912 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19913 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19914 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19915 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19916 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19917 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19918 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19919 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19920 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19921 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19922 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19923 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19924 wine_fn_config_makefile dlls/wined3d enable_wined3d
19925 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19926 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19927 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19928 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19929 wine_fn_config_makefile dlls/winemapi enable_winemapi
19930 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19931 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19932 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19933 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19934 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19935 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19936 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19937 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19938 wine_fn_config_makefile dlls/wing32 enable_wing32
19939 wine_fn_config_makefile dlls/winhttp enable_winhttp
19940 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19941 wine_fn_config_makefile dlls/wininet enable_wininet
19942 wine_fn_config_makefile dlls/wininet/tests enable_tests
19943 wine_fn_config_makefile dlls/winmm enable_winmm
19944 wine_fn_config_makefile dlls/winmm/tests enable_tests
19945 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19946 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19947 wine_fn_config_makefile dlls/winscard enable_winscard
19948 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19949 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19950 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19951 wine_fn_config_makefile dlls/winsta enable_winsta
19952 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19953 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19954 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19955 wine_fn_config_makefile dlls/wintrust enable_wintrust
19956 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19957 wine_fn_config_makefile dlls/winusb enable_winusb
19958 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19959 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19960 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19961 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19962 wine_fn_config_makefile dlls/wmasf enable_wmasf
19963 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19964 wine_fn_config_makefile dlls/wmi enable_wmi
19965 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19966 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19967 wine_fn_config_makefile dlls/wmp enable_wmp
19968 wine_fn_config_makefile dlls/wmp/tests enable_tests
19969 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19970 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19971 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19972 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19973 wine_fn_config_makefile dlls/wow32 enable_win16
19974 wine_fn_config_makefile dlls/wpc enable_wpc
19975 wine_fn_config_makefile dlls/wpc/tests enable_tests
19976 wine_fn_config_makefile dlls/wpcap enable_wpcap
19977 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19978 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19979 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19980 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19981 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19982 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19983 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19984 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19985 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19986 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19987 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19988 wine_fn_config_makefile dlls/wuapi enable_wuapi
19989 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19990 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19991 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19992 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19993 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19994 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19995 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19996 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19997 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19998 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19999 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
20000 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
20001 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
20002 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
20003 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
20004 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
20005 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
20006 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
20007 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
20008 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
20009 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
20010 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
20011 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
20012 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
20013 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
20014 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
20015 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
20016 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
20017 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
20018 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
20019 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
20020 wine_fn_config_makefile dlls/xmllite enable_xmllite
20021 wine_fn_config_makefile dlls/xmllite/tests enable_tests
20022 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
20023 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
20024 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
20025 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
20026 wine_fn_config_makefile include enable_include
20027 wine_fn_config_makefile libs/port enable_port
20028 wine_fn_config_makefile libs/wine enable_wine
20029 wine_fn_config_makefile libs/wpp enable_wpp
20030 wine_fn_config_makefile loader enable_loader
20031 wine_fn_config_makefile po enable_po
20032 wine_fn_config_makefile programs/arp enable_arp
20033 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
20034 wine_fn_config_makefile programs/attrib enable_attrib
20035 wine_fn_config_makefile programs/cabarc enable_cabarc
20036 wine_fn_config_makefile programs/cacls enable_cacls
20037 wine_fn_config_makefile programs/clock enable_clock
20038 wine_fn_config_makefile programs/cmd enable_cmd
20039 wine_fn_config_makefile programs/cmd/tests enable_tests
20040 wine_fn_config_makefile programs/conhost enable_conhost
20041 wine_fn_config_makefile programs/control enable_control
20042 wine_fn_config_makefile programs/cscript enable_cscript
20043 wine_fn_config_makefile programs/dism enable_dism
20044 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
20045 wine_fn_config_makefile programs/dxdiag enable_dxdiag
20046 wine_fn_config_makefile programs/eject enable_eject
20047 wine_fn_config_makefile programs/expand enable_expand
20048 wine_fn_config_makefile programs/explorer enable_explorer
20049 wine_fn_config_makefile programs/extrac32 enable_extrac32
20050 wine_fn_config_makefile programs/fc enable_fc
20051 wine_fn_config_makefile programs/find enable_find
20052 wine_fn_config_makefile programs/findstr enable_findstr
20053 wine_fn_config_makefile programs/fsutil enable_fsutil
20054 wine_fn_config_makefile programs/hh enable_hh
20055 wine_fn_config_makefile programs/hostname enable_hostname
20056 wine_fn_config_makefile programs/icacls enable_icacls
20057 wine_fn_config_makefile programs/icinfo enable_icinfo
20058 wine_fn_config_makefile programs/iexplore enable_iexplore
20059 wine_fn_config_makefile programs/ipconfig enable_ipconfig
20060 wine_fn_config_makefile programs/lodctr enable_lodctr
20061 wine_fn_config_makefile programs/mofcomp enable_mofcomp
20062 wine_fn_config_makefile programs/mshta enable_mshta
20063 wine_fn_config_makefile programs/msiexec enable_msiexec
20064 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
20065 wine_fn_config_makefile programs/net enable_net
20066 wine_fn_config_makefile programs/netsh enable_netsh
20067 wine_fn_config_makefile programs/netstat enable_netstat
20068 wine_fn_config_makefile programs/ngen enable_ngen
20069 wine_fn_config_makefile programs/notepad enable_notepad
20070 wine_fn_config_makefile programs/oleview enable_oleview
20071 wine_fn_config_makefile programs/ping enable_ping
20072 wine_fn_config_makefile programs/plugplay enable_plugplay
20073 wine_fn_config_makefile programs/powershell enable_powershell
20074 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
20075 wine_fn_config_makefile programs/progman enable_progman
20076 wine_fn_config_makefile programs/reg enable_reg
20077 wine_fn_config_makefile programs/reg/tests enable_tests
20078 wine_fn_config_makefile programs/regasm enable_regasm
20079 wine_fn_config_makefile programs/regedit enable_regedit
20080 wine_fn_config_makefile programs/regedit/tests enable_tests
20081 wine_fn_config_makefile programs/regsvcs enable_regsvcs
20082 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
20083 wine_fn_config_makefile programs/rpcss enable_rpcss
20084 wine_fn_config_makefile programs/rundll.exe16 enable_win16
20085 wine_fn_config_makefile programs/rundll32 enable_rundll32
20086 wine_fn_config_makefile programs/sc enable_sc
20087 wine_fn_config_makefile programs/schtasks enable_schtasks
20088 wine_fn_config_makefile programs/schtasks/tests enable_tests
20089 wine_fn_config_makefile programs/sdbinst enable_sdbinst
20090 wine_fn_config_makefile programs/secedit enable_secedit
20091 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
20092 wine_fn_config_makefile programs/services enable_services
20093 wine_fn_config_makefile programs/services/tests enable_tests
20094 wine_fn_config_makefile programs/shutdown enable_shutdown
20095 wine_fn_config_makefile programs/spoolsv enable_spoolsv
20096 wine_fn_config_makefile programs/start enable_start
20097 wine_fn_config_makefile programs/subst enable_subst
20098 wine_fn_config_makefile programs/svchost enable_svchost
20099 wine_fn_config_makefile programs/systeminfo enable_systeminfo
20100 wine_fn_config_makefile programs/taskkill enable_taskkill
20101 wine_fn_config_makefile programs/tasklist enable_tasklist
20102 wine_fn_config_makefile programs/taskmgr enable_taskmgr
20103 wine_fn_config_makefile programs/termsv enable_termsv
20104 wine_fn_config_makefile programs/uninstaller enable_uninstaller
20105 wine_fn_config_makefile programs/unlodctr enable_unlodctr
20106 wine_fn_config_makefile programs/view enable_view
20107 wine_fn_config_makefile programs/wevtutil enable_wevtutil
20108 wine_fn_config_makefile programs/wineboot enable_wineboot
20109 wine_fn_config_makefile programs/winebrowser enable_winebrowser
20110 wine_fn_config_makefile programs/winecfg enable_winecfg
20111 wine_fn_config_makefile programs/wineconsole enable_wineconsole
20112 wine_fn_config_makefile programs/winedbg enable_winedbg
20113 wine_fn_config_makefile programs/winedevice enable_winedevice
20114 wine_fn_config_makefile programs/winefile enable_winefile
20115 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
20116 wine_fn_config_makefile programs/winemine enable_winemine
20117 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
20118 wine_fn_config_makefile programs/winepath enable_winepath
20119 wine_fn_config_makefile programs/winetest enable_winetest
20120 wine_fn_config_makefile programs/winevdm enable_win16
20121 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
20122 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
20123 wine_fn_config_makefile programs/winmgmt enable_winmgmt
20124 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
20125 wine_fn_config_makefile programs/winver enable_winver
20126 wine_fn_config_makefile programs/wmic enable_wmic
20127 wine_fn_config_makefile programs/wmplayer enable_wmplayer
20128 wine_fn_config_makefile programs/wordpad enable_wordpad
20129 wine_fn_config_makefile programs/write enable_write
20130 wine_fn_config_makefile programs/wscript enable_wscript
20131 wine_fn_config_makefile programs/wscript/tests enable_tests
20132 wine_fn_config_makefile programs/wusa enable_wusa
20133 wine_fn_config_makefile programs/xcopy enable_xcopy
20134 wine_fn_config_makefile programs/xcopy/tests enable_tests
20135 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
20136 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
20137 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
20138 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
20139 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
20140 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
20141 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
20142 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
20143 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
20144 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
20147 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
20148 wine_fn_append_file CONFIGURE_TARGETS "tags"
20149 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
20150 wine_fn_append_file CONFIGURE_TARGETS "config.log"
20151 wine_fn_append_file CONFIGURE_TARGETS "config.status"
20152 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
20153 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
20154 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
20156 if test "x$enable_tools" != xno
20157 then
20158 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
20159 ac_config_commands="$ac_config_commands tools/makedep"
20163 ac_config_commands="$ac_config_commands Makefile"
20166 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
20170 if test "x$enable_maintainer_mode" = xyes
20171 then
20172 wine_fn_append_rule "configure: configure.ac aclocal.m4
20173 autoconf --warnings=all
20174 include/config.h.in: include/stamp-h.in
20175 include/stamp-h.in: configure.ac aclocal.m4
20176 autoheader --warnings=all
20177 @echo timestamp > \$@"
20180 if test "x$enable_tools" != xno
20181 then
20182 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
20183 @./config.status tools/makedep
20184 Makefile: tools/makedep$ac_exeext
20185 fonts: tools/sfnt2fon
20186 include: tools tools/widl"
20187 else
20188 wine_fn_append_rule "\$(MAKEDEP):
20189 @echo \"You need to run make in $TOOLSDIR first\" && false"
20192 if test -n "$with_wine64"
20193 then
20194 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
20195 fonts server:
20196 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
20197 $with_wine64/loader/wine:
20198 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
20199 $with_wine64/loader/wine-preloader:
20200 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
20201 clean::
20202 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
20203 else
20204 WINELOADER_INSTALL="wine.inf l_intl.nls"
20206 case $host_os in
20207 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
20208 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
20209 esac
20212 $as_echo " done" >&6
20213 cat >confcache <<\_ACEOF
20214 # This file is a shell script that caches the results of configure
20215 # tests run on this system so they can be shared between configure
20216 # scripts and configure runs, see configure's option --config-cache.
20217 # It is not useful on other systems. If it contains results you don't
20218 # want to keep, you may remove or edit it.
20220 # config.status only pays attention to the cache file if you give it
20221 # the --recheck option to rerun configure.
20223 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20224 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20225 # following values.
20227 _ACEOF
20229 # The following way of writing the cache mishandles newlines in values,
20230 # but we know of no workaround that is simple, portable, and efficient.
20231 # So, we kill variables containing newlines.
20232 # Ultrix sh set writes to stderr and can't be redirected directly,
20233 # and sets the high bit in the cache file unless we assign to the vars.
20235 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20236 eval ac_val=\$$ac_var
20237 case $ac_val in #(
20238 *${as_nl}*)
20239 case $ac_var in #(
20240 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20241 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20242 esac
20243 case $ac_var in #(
20244 _ | IFS | as_nl) ;; #(
20245 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20246 *) { eval $ac_var=; unset $ac_var;} ;;
20247 esac ;;
20248 esac
20249 done
20251 (set) 2>&1 |
20252 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20253 *${as_nl}ac_space=\ *)
20254 # `set' does not quote correctly, so add quotes: double-quote
20255 # substitution turns \\\\ into \\, and sed turns \\ into \.
20256 sed -n \
20257 "s/'/'\\\\''/g;
20258 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20259 ;; #(
20261 # `set' quotes correctly as required by POSIX, so do not add quotes.
20262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20264 esac |
20265 sort
20267 sed '
20268 /^ac_cv_env_/b end
20269 t clear
20270 :clear
20271 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20272 t end
20273 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20274 :end' >>confcache
20275 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20276 if test -w "$cache_file"; then
20277 if test "x$cache_file" != "x/dev/null"; then
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20279 $as_echo "$as_me: updating cache $cache_file" >&6;}
20280 if test ! -f "$cache_file" || test -h "$cache_file"; then
20281 cat confcache >"$cache_file"
20282 else
20283 case $cache_file in #(
20284 */* | ?:*)
20285 mv -f confcache "$cache_file"$$ &&
20286 mv -f "$cache_file"$$ "$cache_file" ;; #(
20288 mv -f confcache "$cache_file" ;;
20289 esac
20292 else
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20294 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20297 rm -f confcache
20299 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20300 # Let make expand exec_prefix.
20301 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20303 DEFS=-DHAVE_CONFIG_H
20305 ac_libobjs=
20306 ac_ltlibobjs=
20308 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20309 # 1. Remove the extension, and $U if already installed.
20310 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20311 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20312 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20313 # will be set to the directory where LIBOBJS objects are built.
20314 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20315 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20316 done
20317 LIBOBJS=$ac_libobjs
20319 LTLIBOBJS=$ac_ltlibobjs
20323 : "${CONFIG_STATUS=./config.status}"
20324 ac_write_fail=0
20325 ac_clean_files_save=$ac_clean_files
20326 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20328 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20329 as_write_fail=0
20330 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20331 #! $SHELL
20332 # Generated by $as_me.
20333 # Run this file to recreate the current configuration.
20334 # Compiler output produced by configure, useful for debugging
20335 # configure, is in config.log if it exists.
20337 debug=false
20338 ac_cs_recheck=false
20339 ac_cs_silent=false
20341 SHELL=\${CONFIG_SHELL-$SHELL}
20342 export SHELL
20343 _ASEOF
20344 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20345 ## -------------------- ##
20346 ## M4sh Initialization. ##
20347 ## -------------------- ##
20349 # Be more Bourne compatible
20350 DUALCASE=1; export DUALCASE # for MKS sh
20351 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20352 emulate sh
20353 NULLCMD=:
20354 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20355 # is contrary to our usage. Disable this feature.
20356 alias -g '${1+"$@"}'='"$@"'
20357 setopt NO_GLOB_SUBST
20358 else
20359 case `(set -o) 2>/dev/null` in #(
20360 *posix*) :
20361 set -o posix ;; #(
20362 *) :
20364 esac
20368 as_nl='
20370 export as_nl
20371 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20372 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20373 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20374 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20375 # Prefer a ksh shell builtin over an external printf program on Solaris,
20376 # but without wasting forks for bash or zsh.
20377 if test -z "$BASH_VERSION$ZSH_VERSION" \
20378 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20379 as_echo='print -r --'
20380 as_echo_n='print -rn --'
20381 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20382 as_echo='printf %s\n'
20383 as_echo_n='printf %s'
20384 else
20385 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20386 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20387 as_echo_n='/usr/ucb/echo -n'
20388 else
20389 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20390 as_echo_n_body='eval
20391 arg=$1;
20392 case $arg in #(
20393 *"$as_nl"*)
20394 expr "X$arg" : "X\\(.*\\)$as_nl";
20395 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20396 esac;
20397 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20399 export as_echo_n_body
20400 as_echo_n='sh -c $as_echo_n_body as_echo'
20402 export as_echo_body
20403 as_echo='sh -c $as_echo_body as_echo'
20406 # The user is always right.
20407 if test "${PATH_SEPARATOR+set}" != set; then
20408 PATH_SEPARATOR=:
20409 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20410 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20411 PATH_SEPARATOR=';'
20416 # IFS
20417 # We need space, tab and new line, in precisely that order. Quoting is
20418 # there to prevent editors from complaining about space-tab.
20419 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20420 # splitting by setting IFS to empty value.)
20421 IFS=" "" $as_nl"
20423 # Find who we are. Look in the path if we contain no directory separator.
20424 as_myself=
20425 case $0 in #((
20426 *[\\/]* ) as_myself=$0 ;;
20427 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20428 for as_dir in $PATH
20430 IFS=$as_save_IFS
20431 test -z "$as_dir" && as_dir=.
20432 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20433 done
20434 IFS=$as_save_IFS
20437 esac
20438 # We did not find ourselves, most probably we were run as `sh COMMAND'
20439 # in which case we are not to be found in the path.
20440 if test "x$as_myself" = x; then
20441 as_myself=$0
20443 if test ! -f "$as_myself"; then
20444 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20445 exit 1
20448 # Unset variables that we do not need and which cause bugs (e.g. in
20449 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20450 # suppresses any "Segmentation fault" message there. '((' could
20451 # trigger a bug in pdksh 5.2.14.
20452 for as_var in BASH_ENV ENV MAIL MAILPATH
20453 do eval test x\${$as_var+set} = xset \
20454 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20455 done
20456 PS1='$ '
20457 PS2='> '
20458 PS4='+ '
20460 # NLS nuisances.
20461 LC_ALL=C
20462 export LC_ALL
20463 LANGUAGE=C
20464 export LANGUAGE
20466 # CDPATH.
20467 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20470 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20471 # ----------------------------------------
20472 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20473 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20474 # script with STATUS, using 1 if that was 0.
20475 as_fn_error ()
20477 as_status=$1; test $as_status -eq 0 && as_status=1
20478 if test "$4"; then
20479 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20480 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20482 $as_echo "$as_me: error: $2" >&2
20483 as_fn_exit $as_status
20484 } # as_fn_error
20487 # as_fn_set_status STATUS
20488 # -----------------------
20489 # Set $? to STATUS, without forking.
20490 as_fn_set_status ()
20492 return $1
20493 } # as_fn_set_status
20495 # as_fn_exit STATUS
20496 # -----------------
20497 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20498 as_fn_exit ()
20500 set +e
20501 as_fn_set_status $1
20502 exit $1
20503 } # as_fn_exit
20505 # as_fn_unset VAR
20506 # ---------------
20507 # Portably unset VAR.
20508 as_fn_unset ()
20510 { eval $1=; unset $1;}
20512 as_unset=as_fn_unset
20513 # as_fn_append VAR VALUE
20514 # ----------------------
20515 # Append the text in VALUE to the end of the definition contained in VAR. Take
20516 # advantage of any shell optimizations that allow amortized linear growth over
20517 # repeated appends, instead of the typical quadratic growth present in naive
20518 # implementations.
20519 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20520 eval 'as_fn_append ()
20522 eval $1+=\$2
20524 else
20525 as_fn_append ()
20527 eval $1=\$$1\$2
20529 fi # as_fn_append
20531 # as_fn_arith ARG...
20532 # ------------------
20533 # Perform arithmetic evaluation on the ARGs, and store the result in the
20534 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20535 # must be portable across $(()) and expr.
20536 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20537 eval 'as_fn_arith ()
20539 as_val=$(( $* ))
20541 else
20542 as_fn_arith ()
20544 as_val=`expr "$@" || test $? -eq 1`
20546 fi # as_fn_arith
20549 if expr a : '\(a\)' >/dev/null 2>&1 &&
20550 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20551 as_expr=expr
20552 else
20553 as_expr=false
20556 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20557 as_basename=basename
20558 else
20559 as_basename=false
20562 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20563 as_dirname=dirname
20564 else
20565 as_dirname=false
20568 as_me=`$as_basename -- "$0" ||
20569 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20570 X"$0" : 'X\(//\)$' \| \
20571 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20572 $as_echo X/"$0" |
20573 sed '/^.*\/\([^/][^/]*\)\/*$/{
20574 s//\1/
20577 /^X\/\(\/\/\)$/{
20578 s//\1/
20581 /^X\/\(\/\).*/{
20582 s//\1/
20585 s/.*/./; q'`
20587 # Avoid depending upon Character Ranges.
20588 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20589 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20590 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20591 as_cr_digits='0123456789'
20592 as_cr_alnum=$as_cr_Letters$as_cr_digits
20594 ECHO_C= ECHO_N= ECHO_T=
20595 case `echo -n x` in #(((((
20596 -n*)
20597 case `echo 'xy\c'` in
20598 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20599 xy) ECHO_C='\c';;
20600 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20601 ECHO_T=' ';;
20602 esac;;
20604 ECHO_N='-n';;
20605 esac
20607 rm -f conf$$ conf$$.exe conf$$.file
20608 if test -d conf$$.dir; then
20609 rm -f conf$$.dir/conf$$.file
20610 else
20611 rm -f conf$$.dir
20612 mkdir conf$$.dir 2>/dev/null
20614 if (echo >conf$$.file) 2>/dev/null; then
20615 if ln -s conf$$.file conf$$ 2>/dev/null; then
20616 as_ln_s='ln -s'
20617 # ... but there are two gotchas:
20618 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20619 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20620 # In both cases, we have to default to `cp -pR'.
20621 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20622 as_ln_s='cp -pR'
20623 elif ln conf$$.file conf$$ 2>/dev/null; then
20624 as_ln_s=ln
20625 else
20626 as_ln_s='cp -pR'
20628 else
20629 as_ln_s='cp -pR'
20631 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20632 rmdir conf$$.dir 2>/dev/null
20635 # as_fn_mkdir_p
20636 # -------------
20637 # Create "$as_dir" as a directory, including parents if necessary.
20638 as_fn_mkdir_p ()
20641 case $as_dir in #(
20642 -*) as_dir=./$as_dir;;
20643 esac
20644 test -d "$as_dir" || eval $as_mkdir_p || {
20645 as_dirs=
20646 while :; do
20647 case $as_dir in #(
20648 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20649 *) as_qdir=$as_dir;;
20650 esac
20651 as_dirs="'$as_qdir' $as_dirs"
20652 as_dir=`$as_dirname -- "$as_dir" ||
20653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20654 X"$as_dir" : 'X\(//\)[^/]' \| \
20655 X"$as_dir" : 'X\(//\)$' \| \
20656 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20657 $as_echo X"$as_dir" |
20658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20659 s//\1/
20662 /^X\(\/\/\)[^/].*/{
20663 s//\1/
20666 /^X\(\/\/\)$/{
20667 s//\1/
20670 /^X\(\/\).*/{
20671 s//\1/
20674 s/.*/./; q'`
20675 test -d "$as_dir" && break
20676 done
20677 test -z "$as_dirs" || eval "mkdir $as_dirs"
20678 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20681 } # as_fn_mkdir_p
20682 if mkdir -p . 2>/dev/null; then
20683 as_mkdir_p='mkdir -p "$as_dir"'
20684 else
20685 test -d ./-p && rmdir ./-p
20686 as_mkdir_p=false
20690 # as_fn_executable_p FILE
20691 # -----------------------
20692 # Test if FILE is an executable regular file.
20693 as_fn_executable_p ()
20695 test -f "$1" && test -x "$1"
20696 } # as_fn_executable_p
20697 as_test_x='test -x'
20698 as_executable_p=as_fn_executable_p
20700 # Sed expression to map a string onto a valid CPP name.
20701 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20703 # Sed expression to map a string onto a valid variable name.
20704 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20707 exec 6>&1
20708 ## ----------------------------------- ##
20709 ## Main body of $CONFIG_STATUS script. ##
20710 ## ----------------------------------- ##
20711 _ASEOF
20712 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20715 # Save the log message, to keep $0 and so on meaningful, and to
20716 # report actual input values of CONFIG_FILES etc. instead of their
20717 # values after options handling.
20718 ac_log="
20719 This file was extended by Wine $as_me 3.17, which was
20720 generated by GNU Autoconf 2.69. Invocation command line was
20722 CONFIG_FILES = $CONFIG_FILES
20723 CONFIG_HEADERS = $CONFIG_HEADERS
20724 CONFIG_LINKS = $CONFIG_LINKS
20725 CONFIG_COMMANDS = $CONFIG_COMMANDS
20726 $ $0 $@
20728 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20731 _ACEOF
20733 case $ac_config_files in *"
20734 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20735 esac
20737 case $ac_config_headers in *"
20738 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20739 esac
20742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20743 # Files that config.status was made for.
20744 config_files="$ac_config_files"
20745 config_headers="$ac_config_headers"
20746 config_links="$ac_config_links"
20747 config_commands="$ac_config_commands"
20749 _ACEOF
20751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20752 ac_cs_usage="\
20753 \`$as_me' instantiates files and other configuration actions
20754 from templates according to the current configuration. Unless the files
20755 and actions are specified as TAGs, all are instantiated by default.
20757 Usage: $0 [OPTION]... [TAG]...
20759 -h, --help print this help, then exit
20760 -V, --version print version number and configuration settings, then exit
20761 --config print configuration, then exit
20762 -q, --quiet, --silent
20763 do not print progress messages
20764 -d, --debug don't remove temporary files
20765 --recheck update $as_me by reconfiguring in the same conditions
20766 --file=FILE[:TEMPLATE]
20767 instantiate the configuration file FILE
20768 --header=FILE[:TEMPLATE]
20769 instantiate the configuration header FILE
20771 Configuration files:
20772 $config_files
20774 Configuration headers:
20775 $config_headers
20777 Configuration links:
20778 $config_links
20780 Configuration commands:
20781 $config_commands
20783 Report bugs to <wine-devel@winehq.org>.
20784 Wine home page: <https://www.winehq.org>."
20786 _ACEOF
20787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20788 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20789 ac_cs_version="\\
20790 Wine config.status 3.17
20791 configured by $0, generated by GNU Autoconf 2.69,
20792 with options \\"\$ac_cs_config\\"
20794 Copyright (C) 2012 Free Software Foundation, Inc.
20795 This config.status script is free software; the Free Software Foundation
20796 gives unlimited permission to copy, distribute and modify it."
20798 ac_pwd='$ac_pwd'
20799 srcdir='$srcdir'
20800 test -n "\$AWK" || AWK=awk
20801 _ACEOF
20803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20804 # The default lists apply if the user does not specify any file.
20805 ac_need_defaults=:
20806 while test $# != 0
20808 case $1 in
20809 --*=?*)
20810 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20811 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20812 ac_shift=:
20814 --*=)
20815 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20816 ac_optarg=
20817 ac_shift=:
20820 ac_option=$1
20821 ac_optarg=$2
20822 ac_shift=shift
20824 esac
20826 case $ac_option in
20827 # Handling of the options.
20828 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20829 ac_cs_recheck=: ;;
20830 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20831 $as_echo "$ac_cs_version"; exit ;;
20832 --config | --confi | --conf | --con | --co | --c )
20833 $as_echo "$ac_cs_config"; exit ;;
20834 --debug | --debu | --deb | --de | --d | -d )
20835 debug=: ;;
20836 --file | --fil | --fi | --f )
20837 $ac_shift
20838 case $ac_optarg in
20839 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20840 '') as_fn_error $? "missing file argument" ;;
20841 esac
20842 as_fn_append CONFIG_FILES " '$ac_optarg'"
20843 ac_need_defaults=false;;
20844 --header | --heade | --head | --hea )
20845 $ac_shift
20846 case $ac_optarg in
20847 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20848 esac
20849 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20850 ac_need_defaults=false;;
20851 --he | --h)
20852 # Conflict between --help and --header
20853 as_fn_error $? "ambiguous option: \`$1'
20854 Try \`$0 --help' for more information.";;
20855 --help | --hel | -h )
20856 $as_echo "$ac_cs_usage"; exit ;;
20857 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20858 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20859 ac_cs_silent=: ;;
20861 # This is an error.
20862 -*) as_fn_error $? "unrecognized option: \`$1'
20863 Try \`$0 --help' for more information." ;;
20865 *) as_fn_append ac_config_targets " $1"
20866 ac_need_defaults=false ;;
20868 esac
20869 shift
20870 done
20872 ac_configure_extra_args=
20874 if $ac_cs_silent; then
20875 exec 6>/dev/null
20876 ac_configure_extra_args="$ac_configure_extra_args --silent"
20879 _ACEOF
20880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20881 if \$ac_cs_recheck; then
20882 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20883 shift
20884 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20885 CONFIG_SHELL='$SHELL'
20886 export CONFIG_SHELL
20887 exec "\$@"
20890 _ACEOF
20891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20892 exec 5>>config.log
20894 echo
20895 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20896 ## Running $as_me. ##
20897 _ASBOX
20898 $as_echo "$ac_log"
20899 } >&5
20901 _ACEOF
20902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20904 # INIT-COMMANDS
20906 wine_fn_output_makedep ()
20908 as_dir=tools; as_fn_mkdir_p
20909 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20911 wine_fn_output_makefile ()
20913 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20914 `cat $wine_rules_file`
20915 _WINE_EOF
20916 as_fn_error $? "could not create Makefile" "$LINENO" 5
20919 _ACEOF
20921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20923 # Handling of arguments.
20924 for ac_config_target in $ac_config_targets
20926 case $ac_config_target in
20927 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20928 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20929 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20930 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20931 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20932 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20933 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20934 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20935 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20936 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20937 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20938 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20939 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20941 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20942 esac
20943 done
20946 # If the user did not use the arguments to specify the items to instantiate,
20947 # then the envvar interface is used. Set only those that are not.
20948 # We use the long form for the default assignment because of an extremely
20949 # bizarre bug on SunOS 4.1.3.
20950 if $ac_need_defaults; then
20951 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20952 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20953 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20957 # Have a temporary directory for convenience. Make it in the build tree
20958 # simply because there is no reason against having it here, and in addition,
20959 # creating and moving files from /tmp can sometimes cause problems.
20960 # Hook for its removal unless debugging.
20961 # Note that there is a small window in which the directory will not be cleaned:
20962 # after its creation but before its name has been assigned to `$tmp'.
20963 $debug ||
20965 tmp= ac_tmp=
20966 trap 'exit_status=$?
20967 : "${ac_tmp:=$tmp}"
20968 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20970 trap 'as_fn_exit 1' 1 2 13 15
20972 # Create a (secure) tmp directory for tmp files.
20975 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20976 test -d "$tmp"
20977 } ||
20979 tmp=./conf$$-$RANDOM
20980 (umask 077 && mkdir "$tmp")
20981 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20982 ac_tmp=$tmp
20984 # Set up the scripts for CONFIG_FILES section.
20985 # No need to generate them if there are no CONFIG_FILES.
20986 # This happens for instance with `./config.status config.h'.
20987 if test -n "$CONFIG_FILES"; then
20990 ac_cr=`echo X | tr X '\015'`
20991 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20992 # But we know of no other shell where ac_cr would be empty at this
20993 # point, so we can use a bashism as a fallback.
20994 if test "x$ac_cr" = x; then
20995 eval ac_cr=\$\'\\r\'
20997 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20998 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20999 ac_cs_awk_cr='\\r'
21000 else
21001 ac_cs_awk_cr=$ac_cr
21004 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21005 _ACEOF
21009 echo "cat >conf$$subs.awk <<_ACEOF" &&
21010 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21011 echo "_ACEOF"
21012 } >conf$$subs.sh ||
21013 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21014 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21015 ac_delim='%!_!# '
21016 for ac_last_try in false false false false false :; do
21017 . ./conf$$subs.sh ||
21018 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21020 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21021 if test $ac_delim_n = $ac_delim_num; then
21022 break
21023 elif $ac_last_try; then
21024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21025 else
21026 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21028 done
21029 rm -f conf$$subs.sh
21031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21032 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21033 _ACEOF
21034 sed -n '
21036 s/^/S["/; s/!.*/"]=/
21039 s/^[^!]*!//
21040 :repl
21041 t repl
21042 s/'"$ac_delim"'$//
21043 t delim
21046 s/\(.\{148\}\)..*/\1/
21047 t more1
21048 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21051 b repl
21052 :more1
21053 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21056 s/.\{148\}//
21057 t nl
21058 :delim
21060 s/\(.\{148\}\)..*/\1/
21061 t more2
21062 s/["\\]/\\&/g; s/^/"/; s/$/"/
21065 :more2
21066 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21069 s/.\{148\}//
21070 t delim
21071 ' <conf$$subs.awk | sed '
21072 /^[^""]/{
21074 s/\n//
21076 ' >>$CONFIG_STATUS || ac_write_fail=1
21077 rm -f conf$$subs.awk
21078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21079 _ACAWK
21080 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21081 for (key in S) S_is_set[key] = 1
21082 FS = "\a"
21086 line = $ 0
21087 nfields = split(line, field, "@")
21088 substed = 0
21089 len = length(field[1])
21090 for (i = 2; i < nfields; i++) {
21091 key = field[i]
21092 keylen = length(key)
21093 if (S_is_set[key]) {
21094 value = S[key]
21095 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21096 len += length(value) + length(field[++i])
21097 substed = 1
21098 } else
21099 len += 1 + keylen
21102 print line
21105 _ACAWK
21106 _ACEOF
21107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21108 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21109 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21110 else
21112 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21113 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21114 _ACEOF
21116 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21117 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21118 # trailing colons and then remove the whole line if VPATH becomes empty
21119 # (actually we leave an empty line to preserve line numbers).
21120 if test "x$srcdir" = x.; then
21121 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21123 s///
21124 s/^/:/
21125 s/[ ]*$/:/
21126 s/:\$(srcdir):/:/g
21127 s/:\${srcdir}:/:/g
21128 s/:@srcdir@:/:/g
21129 s/^:*//
21130 s/:*$//
21132 s/\(=[ ]*\).*/\1/
21134 s/\n//
21135 s/^[^=]*=[ ]*$//
21139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21140 fi # test -n "$CONFIG_FILES"
21142 # Set up the scripts for CONFIG_HEADERS section.
21143 # No need to generate them if there are no CONFIG_HEADERS.
21144 # This happens for instance with `./config.status Makefile'.
21145 if test -n "$CONFIG_HEADERS"; then
21146 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21147 BEGIN {
21148 _ACEOF
21150 # Transform confdefs.h into an awk script `defines.awk', embedded as
21151 # here-document in config.status, that substitutes the proper values into
21152 # config.h.in to produce config.h.
21154 # Create a delimiter string that does not exist in confdefs.h, to ease
21155 # handling of long lines.
21156 ac_delim='%!_!# '
21157 for ac_last_try in false false :; do
21158 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21159 if test -z "$ac_tt"; then
21160 break
21161 elif $ac_last_try; then
21162 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21163 else
21164 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21166 done
21168 # For the awk script, D is an array of macro values keyed by name,
21169 # likewise P contains macro parameters if any. Preserve backslash
21170 # newline sequences.
21172 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21173 sed -n '
21174 s/.\{148\}/&'"$ac_delim"'/g
21175 t rset
21176 :rset
21177 s/^[ ]*#[ ]*define[ ][ ]*/ /
21178 t def
21180 :def
21181 s/\\$//
21182 t bsnl
21183 s/["\\]/\\&/g
21184 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21185 D["\1"]=" \3"/p
21186 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21188 :bsnl
21189 s/["\\]/\\&/g
21190 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21191 D["\1"]=" \3\\\\\\n"\\/p
21192 t cont
21193 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21194 t cont
21196 :cont
21198 s/.\{148\}/&'"$ac_delim"'/g
21199 t clear
21200 :clear
21201 s/\\$//
21202 t bsnlc
21203 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21205 :bsnlc
21206 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21207 b cont
21208 ' <confdefs.h | sed '
21209 s/'"$ac_delim"'/"\\\
21210 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21213 for (key in D) D_is_set[key] = 1
21214 FS = "\a"
21216 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21217 line = \$ 0
21218 split(line, arg, " ")
21219 if (arg[1] == "#") {
21220 defundef = arg[2]
21221 mac1 = arg[3]
21222 } else {
21223 defundef = substr(arg[1], 2)
21224 mac1 = arg[2]
21226 split(mac1, mac2, "(") #)
21227 macro = mac2[1]
21228 prefix = substr(line, 1, index(line, defundef) - 1)
21229 if (D_is_set[macro]) {
21230 # Preserve the white space surrounding the "#".
21231 print prefix "define", macro P[macro] D[macro]
21232 next
21233 } else {
21234 # Replace #undef with comments. This is necessary, for example,
21235 # in the case of _POSIX_SOURCE, which is predefined and required
21236 # on some systems where configure will not decide to define it.
21237 if (defundef == "undef") {
21238 print "/*", prefix defundef, macro, "*/"
21239 next
21243 { print }
21244 _ACAWK
21245 _ACEOF
21246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21247 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21248 fi # test -n "$CONFIG_HEADERS"
21251 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
21252 shift
21253 for ac_tag
21255 case $ac_tag in
21256 :[FHLC]) ac_mode=$ac_tag; continue;;
21257 esac
21258 case $ac_mode$ac_tag in
21259 :[FHL]*:*);;
21260 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21261 :[FH]-) ac_tag=-:-;;
21262 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21263 esac
21264 ac_save_IFS=$IFS
21265 IFS=:
21266 set x $ac_tag
21267 IFS=$ac_save_IFS
21268 shift
21269 ac_file=$1
21270 shift
21272 case $ac_mode in
21273 :L) ac_source=$1;;
21274 :[FH])
21275 ac_file_inputs=
21276 for ac_f
21278 case $ac_f in
21279 -) ac_f="$ac_tmp/stdin";;
21280 *) # Look for the file first in the build tree, then in the source tree
21281 # (if the path is not absolute). The absolute path cannot be DOS-style,
21282 # because $ac_f cannot contain `:'.
21283 test -f "$ac_f" ||
21284 case $ac_f in
21285 [\\/$]*) false;;
21286 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21287 esac ||
21288 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21289 esac
21290 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21291 as_fn_append ac_file_inputs " '$ac_f'"
21292 done
21294 # Let's still pretend it is `configure' which instantiates (i.e., don't
21295 # use $as_me), people would be surprised to read:
21296 # /* config.h. Generated by config.status. */
21297 configure_input='Generated from '`
21298 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21299 `' by configure.'
21300 if test x"$ac_file" != x-; then
21301 configure_input="$ac_file. $configure_input"
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21303 $as_echo "$as_me: creating $ac_file" >&6;}
21305 # Neutralize special characters interpreted by sed in replacement strings.
21306 case $configure_input in #(
21307 *\&* | *\|* | *\\* )
21308 ac_sed_conf_input=`$as_echo "$configure_input" |
21309 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21310 *) ac_sed_conf_input=$configure_input;;
21311 esac
21313 case $ac_tag in
21314 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21316 esac
21318 esac
21320 ac_dir=`$as_dirname -- "$ac_file" ||
21321 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21322 X"$ac_file" : 'X\(//\)[^/]' \| \
21323 X"$ac_file" : 'X\(//\)$' \| \
21324 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21325 $as_echo X"$ac_file" |
21326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21327 s//\1/
21330 /^X\(\/\/\)[^/].*/{
21331 s//\1/
21334 /^X\(\/\/\)$/{
21335 s//\1/
21338 /^X\(\/\).*/{
21339 s//\1/
21342 s/.*/./; q'`
21343 as_dir="$ac_dir"; as_fn_mkdir_p
21344 ac_builddir=.
21346 case "$ac_dir" in
21347 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21349 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21350 # A ".." for each directory in $ac_dir_suffix.
21351 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21352 case $ac_top_builddir_sub in
21353 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21354 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21355 esac ;;
21356 esac
21357 ac_abs_top_builddir=$ac_pwd
21358 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21359 # for backward compatibility:
21360 ac_top_builddir=$ac_top_build_prefix
21362 case $srcdir in
21363 .) # We are building in place.
21364 ac_srcdir=.
21365 ac_top_srcdir=$ac_top_builddir_sub
21366 ac_abs_top_srcdir=$ac_pwd ;;
21367 [\\/]* | ?:[\\/]* ) # Absolute name.
21368 ac_srcdir=$srcdir$ac_dir_suffix;
21369 ac_top_srcdir=$srcdir
21370 ac_abs_top_srcdir=$srcdir ;;
21371 *) # Relative name.
21372 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21373 ac_top_srcdir=$ac_top_build_prefix$srcdir
21374 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21375 esac
21376 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21379 case $ac_mode in
21382 # CONFIG_FILE
21385 _ACEOF
21387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21388 # If the template does not know about datarootdir, expand it.
21389 # FIXME: This hack should be removed a few years after 2.60.
21390 ac_datarootdir_hack=; ac_datarootdir_seen=
21391 ac_sed_dataroot='
21392 /datarootdir/ {
21396 /@datadir@/p
21397 /@docdir@/p
21398 /@infodir@/p
21399 /@localedir@/p
21400 /@mandir@/p'
21401 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21402 *datarootdir*) ac_datarootdir_seen=yes;;
21403 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21405 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21406 _ACEOF
21407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21408 ac_datarootdir_hack='
21409 s&@datadir@&$datadir&g
21410 s&@docdir@&$docdir&g
21411 s&@infodir@&$infodir&g
21412 s&@localedir@&$localedir&g
21413 s&@mandir@&$mandir&g
21414 s&\\\${datarootdir}&$datarootdir&g' ;;
21415 esac
21416 _ACEOF
21418 # Neutralize VPATH when `$srcdir' = `.'.
21419 # Shell code in configure.ac might set extrasub.
21420 # FIXME: do we really want to maintain this feature?
21421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21422 ac_sed_extra="$ac_vpsub
21423 $extrasub
21424 _ACEOF
21425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21428 s|@configure_input@|$ac_sed_conf_input|;t t
21429 s&@top_builddir@&$ac_top_builddir_sub&;t t
21430 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21431 s&@srcdir@&$ac_srcdir&;t t
21432 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21433 s&@top_srcdir@&$ac_top_srcdir&;t t
21434 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21435 s&@builddir@&$ac_builddir&;t t
21436 s&@abs_builddir@&$ac_abs_builddir&;t t
21437 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21438 $ac_datarootdir_hack
21440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21441 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21444 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21446 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21448 which seems to be undefined. Please make sure it is defined" >&5
21449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21450 which seems to be undefined. Please make sure it is defined" >&2;}
21452 rm -f "$ac_tmp/stdin"
21453 case $ac_file in
21454 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21455 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21456 esac \
21457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21461 # CONFIG_HEADER
21463 if test x"$ac_file" != x-; then
21465 $as_echo "/* $configure_input */" \
21466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21467 } >"$ac_tmp/config.h" \
21468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21469 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21472 else
21473 rm -f "$ac_file"
21474 mv "$ac_tmp/config.h" "$ac_file" \
21475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21477 else
21478 $as_echo "/* $configure_input */" \
21479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21480 || as_fn_error $? "could not create -" "$LINENO" 5
21485 # CONFIG_LINK
21488 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
21490 else
21491 # Prefer the file from the source tree if names are identical.
21492 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
21493 ac_source=$srcdir/$ac_source
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
21497 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
21499 if test ! -r "$ac_source"; then
21500 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
21502 rm -f "$ac_file"
21504 # Try a relative symlink, then a hard link, then a copy.
21505 case $ac_source in
21506 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
21507 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
21508 esac
21509 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
21510 ln "$ac_source" "$ac_file" 2>/dev/null ||
21511 cp -p "$ac_source" "$ac_file" ||
21512 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
21515 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21516 $as_echo "$as_me: executing $ac_file commands" >&6;}
21518 esac
21521 case $ac_file$ac_mode in
21522 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21523 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
21524 "Makefile":C) wine_fn_output_makefile Makefile ;;
21526 esac
21527 done # for ac_tag
21530 as_fn_exit 0
21531 _ACEOF
21532 ac_clean_files=$ac_clean_files_save
21534 test $ac_write_fail = 0 ||
21535 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21538 # configure is writing to config.log, and then calls config.status.
21539 # config.status does its own redirection, appending to config.log.
21540 # Unfortunately, on DOS this fails, as config.log is still kept open
21541 # by configure, so config.status won't be able to write to it; its
21542 # output is simply discarded. So we exec the FD to /dev/null,
21543 # effectively closing config.log, so it can be properly (re)opened and
21544 # appended to by config.status. When coming back to configure, we
21545 # need to make the FD available again.
21546 if test "$no_create" != yes; then
21547 ac_cs_success=:
21548 ac_config_status_args=
21549 test "$silent" = yes &&
21550 ac_config_status_args="$ac_config_status_args --quiet"
21551 exec 5>/dev/null
21552 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21553 exec 5>>config.log
21554 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21555 # would make configure fail if this is the last instruction.
21556 $ac_cs_success || as_fn_exit 1
21558 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21560 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21564 if test "$no_create" = "yes"
21565 then
21566 exit 0
21569 ac_save_IFS="$IFS"
21570 if test "x$wine_notices" != x; then
21571 echo >&6
21572 IFS="|"
21573 for msg in $wine_notices; do
21574 IFS="$ac_save_IFS"
21575 if ${msg:+false} :; then :
21577 else
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
21579 $as_echo "$as_me: $msg" >&6;}
21581 done
21583 IFS="|"
21584 for msg in $wine_warnings; do
21585 IFS="$ac_save_IFS"
21586 if ${msg:+false} :; then :
21588 else
21589 echo >&2
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
21591 $as_echo "$as_me: WARNING: $msg" >&2;}
21593 done
21594 IFS="$ac_save_IFS"
21596 $as_echo "
21597 $as_me: Finished. Do '${ac_make}' to compile Wine.
21598 " >&6